Chn.util not found?

I know this is only a question that I a new person to java will ask but.
I cant seem to run my program cause the chn.util is not found?
Isnt it supposed to come with netbean. I found the .jar file but i dont know where to put it
change.java [4:1] package chn.util does not exist
import chn.util.*;
Heres the problem i found.
P.S.
whats a javadoc?
I know its supposed to be like helpers but i cant find any javadocs to compile/execute/mount

If you need to use it in Netbeans (NB), putting it in your classpath will not work. NB, like most Integrated Development Environments (IDE) does not use the externally set classpath. For NB to recognize it, you need to mount it in NB. Click the File menu and select mount. NB help has extensive information about this.
These are JavaDocs, also called Java Application Program Interface (API) Specifications
http://java.sun.com/j2se/1.4.2/docs/api/index.html
They can be downloaded to your machine from here as part of the Java Documentation
http://java.sun.com/j2se/1.4.2/download.html

Similar Messages

  • JAI installation problem, javax/media/jai/util/ not found?

    Hi,
    I am trying to use the JAI instllation in executing a class. However, I keep getting the following message.
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/util/
    I have added some jars from the JAI instllation to my classpath. However, I still get this message.
    What jar file do I have to reference so I do not get this message?

    Even more strange, I deploy it under Unix, there is no problem. The previous one is deployed
    under Windowns XP. Anyone has same experience?

  • Wrapper Utility not found

    I am trying to run the Wrapper Utility but I get the following error message
    SQL> wrap test_pkg
    SP2-0734: unknown command beginning "wrap test_..." - rest of line ignored.
    Do I need to install the wrapper utility or something?

    If you have a full client installed (not the instant) you should be able to go to a cmd prompt and type:
    wrap iname=test_pkgit will create an 'encrypted' version named test_pkg.plb which can then be compiled using sql*plus.

  • Orion primer: javax.rmi.CORBA.Util not found

    Hi,
    I have been trying to run the orion primer (hello-planet) on the most recent release (9.0.3.0.0), but I am getting this error when trying to access the app:
    java.lang.NoClassDefFoundError: javax/rmi/CORBA/Util
    I have followed the directions on the orion web site. I am running on jdk1.2 so I had to add jndi.jar as an extension so I am wondering if I need to do something similar for this class, but I can't find info on where this class may be stored (which jar). I have manually looked through the different jars that came with oc4j, but can't find this class (it is possible that I overlooked...so many jars).
    ***While writing this I decided to run on previous release (9.0.2.0.0) and it worked.......
    but why does the default-web-site.xml work on this release, and the http-web-site.xml work on (9.0.3.0.0)?
    so I guess my question is now, Why doesn't this app work on newest release, and should I continue to test apps on 9.0.3.0.0, or go back to previous?

    Linda,
    I just tested this app with 9.0.3.0.0 and it works fine. Please try with JDK 1.3.1 and above. From 9.0.2.0.0 we decided to have http-web-site
    as the default web site instead of default-web-site. In the prior versions i.e. 1.0.2.2 and 1.0.2.2.1 we had default web-site. However if you
    want to create more websites e.g. default-web-site then you can do so.
    regards
    Debu Panda
    Oracle

  • Error:Class java.util.date not found

    i have installed 9iAS on my computer.And i want to develop program on JSP.i tried the url below
    http://eyuksel/servlet/IsItWorking
    and i got "it is working" message.when i try to execute my first jsp file i get the error:
    Errors compiling:d:\ias\apache\apache\htdocs\_pages\\_first.java
    d:\ias\apache\apache\htdocs\_pages\_first.java:55: Class java.util.date not found.
    out.print( new java.util.date() );
    ^
    1 error
    what must i do or how can i install the java classes.
    kind regards...
    null

    Thank you very much.It worked:)
    Java is case-sensitive.
    try
    java.util.Date
    instead of
    java.util.date
    null

  • [solved] error: gnome-doc-utils = 0.3.2 not found during configuring

    When configuring libdbusmenu after downloading the PKGBUILD from AUR, I get the following error:
    [tharriso@localhost libdbusmenu]$ makepkg
    ==> Making package: libdbusmenu 12.10.2-1 (Tue Feb 26 21:04:56 CST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found libdbusmenu-12.10.2.tar.gz
    ==> Validating source files with md5sums...
    libdbusmenu-12.10.2.tar.gz ... Passed
    ==> Extracting Sources...
    -> Extracting libdbusmenu-12.10.2.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether NLS is requested... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for intltool >= 0.35.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.2
    checking for XML::Parser... ok
    checking for library containing strerror... none required
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking whether make supports nested variables... yes
    checking for glib-mkenums... /usr/bin/glib-mkenums
    checking for pkg-config... /home/tharriso/ApeInstalled/External/pkg-config/0.22/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
    checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
    checking whether to build gtk-doc documentation... no
    checking gnome-doc-utils >= 0.3.2... no
    configure: error: gnome-doc-utils >= 0.3.2 not found
    ==> ERROR: A failure occurred in build().
    Aborting...
    Some things I've tried -
    [tharriso@localhost libdbusmenu]$ pkg-config --modversion gnome-doc-utils
    Package gnome-doc-utils was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gnome-doc-utils.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gnome-doc-utils' found
    [tharriso@localhost libdbusmenu]$ pacman -Q gnome-doc-utils
    gnome-doc-utils 0.20.10-1
    Found a few results on Google where people mention the same error with a different package, but haven't found any solutions.
    Last edited by harro112 (2013-02-26 12:37:33)

    checking for pkg-config... /home/tharriso/ApeInstalled/External/pkg-config/0.22/bin/pkg-config
    current pkg-config version in arch is 0.28-1 , and should be found as /usr/bin/pkg-config .

  • Class not found com/sun/java/util/collections/list

    hi
              i am trying to execute the following:
              java weblogic.jspc -d c:\weblogic\classes -keepgenerated
              printAllParameters
              and get the follwoing message:
              class not found com/sun/java/util/collections/list
              any suggestions?
              thanx
              

    Try it like this:
              java weblogic.jspc -d c:\weblogic\classes;c:\weblogic\lib\weblogicaux.jar ...
              Melrose Public Library <[email protected]> wrote:
              > hi
              > i am trying to execute the following:
              > java weblogic.jspc -d c:\weblogic\classes -keepgenerated
              > printAllParameters
              > and get the follwoing message:
              > class not found com/sun/java/util/collections/list
              > any suggestions?
              > thanx
              Dimitri
              

  • The java class is not found:  oracle/aurora/util/Wrapper

    When I try and load my Java class file using 'loadjava' into Oracle I'm getting the error:
    The java class is not found: oracle/aurora/util/Wrapper
    What is causing this?

    On which machine should ORACLE_SID be set to solve this problem, server or client. I run into this error when run loadjava

  • Weblogic.utils.StackTraceUtils not found

    Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
              I have an application that contains some JSPs and Servlets. I'm using
              SilkPerformer to simulate multiple users. It was fine if I used only 200
              virtual users, but I ran into the following problem when I used 250 (240
              too).
              It complained some kind of NullPointerException (see below) which never
              happened for under 200 users. And then it complained this
              weblogic.utils.StackTraceUtils not found. This class belongs to
              /weblogic/classes which is in my weblogic.class.path when the server is
              started.
              I'm guess weblogic server ran into some unexpected exception and the
              logger wanted to call this class to report the error. So I need to find
              out 2 things:
              1. how to reveal the real exception/error.
              2. what to do to avoid the exception (since it worked fine for 200
              virtual users).
              For 1, I have no clue. Hope someone out there can help me.
              For 2, I remember seeing "Too many opened files" at some run which may
              indicating that, when handling too many users (250) at one time, WL
              server has opened one copy of certain file (JSP/html) for each user and
              used up system allowed file handles. If this is true, I may be able to
              get rid of this problem by increasing the allowed number of file
              handles. But I'd like to see a better solution (say, configure the
              server certain way to share the files). By the way, this is not
              happening on NT. Maybe NT has more allowed file handles and I can only
              run as many as 250 users.
              Anyway comments are appreciated.
              -Wayne
              ----------------------- extract of server output --------------------
              The errorIndices is currently: []
              Hints validated.java.lang.NullPointerException
              at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
              Code)
              at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
              at java.lang.ClassLoader.loadClass(Compiled Code)
              at java.lang.ClassLoader.loadClassInternal(Compiled Code)
              at
              weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
              at weblogic.logging.LogManager.log(Compiled Code)
              at weblogic.logging.LogOutputStream.error(Compiled Code)
              at weblogic.t3.srvr.ListenThread.run(Compiled Code)
              java.lang.NullPointerException
              at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
              Code)
              at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
              at java.lang.ClassLoader.loadClass(Compiled Code)
              at java.lang.ClassLoader.loadClassInternal(Compiled Code)
              at
              weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
              at weblogic.logging.LogManager.log(Compiled Code)
              at weblogic.logging.LogOutputStream.alert(Compiled Code)
              at weblogic.t3.srvr.ListenThread.run(Compiled Code)
              Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
              is n\
              o longer listening for connections.
              Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
              rest\
              art it.
              Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
              system
              Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
              commencing \
              NOW
              Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
              failed:\
              java.lang.ThreadDeath
              Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
              Server i\
              s no longer listening for connections.
              Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
              probably r\
              estart it.
              Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
              system
              java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
              at
              weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
              at weblogic.logging.LogManager.log(Compiled Code)
              at weblogic.logging.LogOutputStream.alert(Compiled Code)
              at weblogic.t3.srvr.ListenThread.run(Compiled Code)
              hints are: [Ljava.lang.String;@1646d1e
              hints are: [Ljava.lang.String;@ef3ad1
              hints are: [Ljava.lang.String;@a43826
              

    Thanks Sumanth and Cameron. I have 64 descriptors when I do "limit". I'm
              not sure if that's my limit coz I could successfully simulate 200 users
              at a time. I only have a few JSPs and a couple of HTMLs. Maybe Weblogic
              is already sharing the files. Or maybe even for 200 users, at one time
              no more than 64 descriptors are used.
              I don't have super-user privileges. But I'll ask the admins to increase
              the limit for me and see how that affects my results.
              Appreciate your help.
              -Wayne
              Sumanth Yamala wrote:
              >
              > lsof gives the number of file descriptors open
              >
              > A common setting for high-load systems is a soft limit of 1024 and a hard
              > limit of 4096.
              >
              > On Solaris, add the following to /etc/system:
              >
              > set rlim_fd_max=4096
              > set rlim_fd_cur=1024
              >
              > And reboot with -r.
              >
              > You should not raise it past 1024 without first finding some
              > documentation that confirms that it is safe to do so. Any number
              > below that is safe.
              >
              > To add to the above Weblogic documentation has to say this:
              >
              > We have seen this situation when the user account runs out of file
              > descriptors. On Solaris, each user account has a certain limited number of
              > file descriptors. You can find out how many file descriptors you have with
              > the limit command in csh.
              >
              > You can increase file descriptors if you have enough privileges with the
              > unlimit command in the csh. Otherwise, you'll need to ask your system
              > administrator to increase the file descriptors available to your processes.
              >
              > Another solution is to create a .zip file with all of the WebLogic classes,
              > since a .zip file only requires a single file descriptor. If you do this,
              > please note that there may be other problems associated with loading files
              > from a .zip file, particularly with versions of the JDK before 1.1.3.
              > (Previous to version 2.5, WebLogic has not distributed its classes in .zip
              > format because of limitations in the JVM
              >
              > -Sumanth
              >
              > Wayne Xin wrote:
              >
              > > Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
              > >
              > > I have an application that contains some JSPs and Servlets. I'm using
              > > SilkPerformer to simulate multiple users. It was fine if I used only 200
              > > virtual users, but I ran into the following problem when I used 250 (240
              > > too).
              > >
              > > It complained some kind of NullPointerException (see below) which never
              > > happened for under 200 users. And then it complained this
              > > weblogic.utils.StackTraceUtils not found. This class belongs to
              > > /weblogic/classes which is in my weblogic.class.path when the server is
              > > started.
              > >
              > > I'm guess weblogic server ran into some unexpected exception and the
              > > logger wanted to call this class to report the error. So I need to find
              > > out 2 things:
              > >
              > > 1. how to reveal the real exception/error.
              > > 2. what to do to avoid the exception (since it worked fine for 200
              > > virtual users).
              > >
              > > For 1, I have no clue. Hope someone out there can help me.
              > >
              > > For 2, I remember seeing "Too many opened files" at some run which may
              > > indicating that, when handling too many users (250) at one time, WL
              > > server has opened one copy of certain file (JSP/html) for each user and
              > > used up system allowed file handles. If this is true, I may be able to
              > > get rid of this problem by increasing the allowed number of file
              > > handles. But I'd like to see a better solution (say, configure the
              > > server certain way to share the files). By the way, this is not
              > > happening on NT. Maybe NT has more allowed file handles and I can only
              > > run as many as 250 users.
              > >
              > > Anyway comments are appreciated.
              > >
              > > -Wayne
              > >
              > > ----------------------- extract of server output --------------------
              > > ...
              > > The errorIndices is currently: []
              > > Hints validated.java.lang.NullPointerException
              > > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
              > > Code)
              > > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
              > > at java.lang.ClassLoader.loadClass(Compiled Code)
              > > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
              > > at
              > > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
              > > at weblogic.logging.LogManager.log(Compiled Code)
              > > at weblogic.logging.LogOutputStream.error(Compiled Code)
              > > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
              > > java.lang.NullPointerException
              > > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
              > > Code)
              > > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
              > > at java.lang.ClassLoader.loadClass(Compiled Code)
              > > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
              > > at
              > > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
              > > at weblogic.logging.LogManager.log(Compiled Code)
              > > at weblogic.logging.LogOutputStream.alert(Compiled Code)
              > > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
              > > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
              > > is n\
              > > o longer listening for connections.
              > > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
              > > rest\
              > > art it.
              > > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
              > > system
              > > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
              > > commencing \
              > > NOW
              > > Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
              > > failed:\
              > >
              > > java.lang.ThreadDeath
              > >
              > > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
              > > Server i\
              > > s no longer listening for connections.
              > > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
              > > probably r\
              > > estart it.
              > > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
              > > system
              > > java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
              > > at
              > > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
              > > at weblogic.logging.LogManager.log(Compiled Code)
              > > at weblogic.logging.LogOutputStream.alert(Compiled Code)
              > > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
              > > hints are: [Ljava.lang.String;@1646d1e
              > > hints are: [Ljava.lang.String;@ef3ad1
              > > hints are: [Ljava.lang.String;@a43826
              > > ....
              

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]

              Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
              is what's being thrown. I've been told it's a known bug that has not been patched
              yet, but I figured I would still ask.
              weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
              on thread ]
                   at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:150)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
                   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
                   at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
                   at java.lang.Class.newInstance0(Class.java:306)
                   at java.lang.Class.newInstance(Class.java:259)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:98)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
                   at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:384)
                   at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
                   at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:116)
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:324)
                   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
                   at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
                   at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:430)
                   at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
                   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
                   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
                   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
                   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
                   at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:115)
                   at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
                   at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
                   at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub.dispatchSyncNoTranFuture(Unknown
              Source)
                   at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:463)
                   at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1961)
                   at weblogic.jms.client.JMSSession.createTopic(JMSSession.java:1353)
                   at JMSProvider.getTopic(JMSProvider.java:127)
                   at JMSPub.startJMSPubs(JMSPub.java:229)
                   at JMSPub.main(JMSPub.java:138)
              

    I'm not familiar with this problem - but I can make
              a guess at some work-arounds:
              (1) Lookup the destination via a standard JNDI
              context lookup rather than "createTopic()".
              (2) Make sure that the thread calling "createTopic()"
              also previously created a JNDI context.
              Matt Dickens wrote:
              > Using 8.12 server. Trying to connect using weblogic.jms.ConnectionFactory, this
              > is what's being thrown. I've been told it's a known bug that has not been patched
              > yet, but I figured I would still ask.
              > -------------------------
              > weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found
              > on thread ]
              >      at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:150)
              >      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              >      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              >      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              >      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
              >      at java.lang.Class.newInstance0(Class.java:306)
              >      at java.lang.Class.newInstance(Class.java:259)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:98)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
              >      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
              >      at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:384)
              >      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
              >      at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:116)
              >      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              >      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              >      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              >      at java.lang.reflect.Method.invoke(Method.java:324)
              >      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:167)
              >      at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
              >      at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:430)
              >      at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
              >      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
              >      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
              >      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
              >      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
              >      at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:119)
              >      at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:115)
              >      at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
              >      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
              >      at weblogic.jms.dispatcher.DispatcherImpl_811_WLStub.dispatchSyncNoTranFuture(Unknown
              > Source)
              >      at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:463)
              >      at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1961)
              >      at weblogic.jms.client.JMSSession.createTopic(JMSSession.java:1353)
              >      at JMSProvider.getTopic(JMSProvider.java:127)
              >      at JMSPub.startJMSPubs(JMSPub.java:229)
              >      at JMSPub.main(JMSPub.java:138)
              

  • Deployment utility gives file not found warning, but build completes succesfully.

    When running the deployment utility, I am able to analyze source files successfully; no problems there.  When I go to build, all appears to go well until I click the popup that has the message: "The build is finished."  After closing the popup, I get the following warning:
    "Warning: This problem will cause an error when building a deployable image or an installer. The following file(s) were not found:"
    It's followed by a list of dozens of files.  However, I verified that all files are included in the search directories.
    I installed the deployment as-is and it seems to run ok; it finds the files it's supposed to.  However, I'm going to have a hard time selling this procedure off to QA if the deployment shows a 'file not found' message.
    My question is: why do I get the 'file not found' warning during the deployment build process, yet the 'analyze source file' step finishes ok and the deployed files work ok?

      These files are all relative and are part of the workspace.  I did find a
    workaround to the problem.
    In the search directories selection box, the top-level entry is "Current
    sequence file" with subdir search enabled.  The next entry is the workspace
    directory with subdir search enabled; all files are in subdirs of the
    workspace directory.  The remaining entries are unchecked or not
    user-defined (ie.: other NI directories on my computer).  In order for the
    deployment to work, I had to enable the third entry on the list: "Initial
    directory" along with subdir enabled.  However, the initial directory is
    the same as the workspace directory (since I opened teststand by
    double-clicking on my .tsw file).  What I don't understand is why should it
    matter that I have initial directory on the path if it's the same as the
    entry before it?

  • Brand new airport extreme not found on utility on iPad

    I Just purchased the AirPort Extreme.  My first Apple router but all of our devices are apple products with the exception of our pc.  Extreme is flashing Amber light and is not found in the airport utility app.  I want to enjoy this apple product as much as the others but it's becoming difficul.

    OK, thanks for clarifying that for me.
    If you have the Setup Guide handy that came with your AirPort Extreme,  please head for page 12 and locate the heading to......
    Setting Up AirPort Extreme Using an iOS Device.........To Set It Up
    The steps here are pretty clear, and we rarely get a question about this but, we'll go through this in case you might have missed something.
    1. Tap Settings on the iPad home screen.  Settings is the gear looking icon there.  Then, tap WiFi.  WiFi is on the left side of the screen.
    2. Tap the name of the AirPort Extreme. AirPort Extreme is located just under the heading of SET UP NEW AIRPORT BASE STATION there.
    In the example below from an iPhone screen, I am setting up a new AirPort Express.  So, I would tap on AirPort Express.  You will see AirPort Extreme on your iPad screen, so you would tap on AirPort Extreme.
    When you do this, that will start up the setup wizard.
    3. Follow the onscreen instructions to create a new network or extend an existing network.  The setup wizard will analyze the network and suggest the correct setup for you.
    Once the AirPort Extreme has been set up, then you can use AirPort Utility to edit or modify any of the settings that you might need to adjust.

  • Import export utility user not found

    I'm getting the following error when running the 9.3.1 ImportExportUtility on a 9.2.0.2 version of Shared Services. NTLM is used as the authentication provider.
    2009-06-19 08:49:30,642 Export : Exception encountered while retrieving user ntlm://SID=S-1-5-21-2134593322-327503246-231145771-21130?USER
    2009-06-19 08:49:30,642 Export : Root cause : User not found with identity = ntlm://SID=S-1-5-21-2134593322-327503246-231145771-21130?USER
    2009-06-19 08:49:30,658 Export : Silently ignoring the last error
    There were 99 users extracted and this message appeared for 36 of the 99. Could someone tell me where the users are not in sync. Is it between Open Ldap and NTLM, Open Ldap and the application repository, etc. Also, is there a way of identifying the user Id. from the message.
    Thanks,
    Tom

    I finally found a real solution to this problem and I wish I had found it sooner.......
    Starting sometime around 9.2, Oracle started including a tool called : UpdateNativeDir
    The primary purpose of the tool (as I understand it) is to allow you to do a refresh between your external provider (i.e. Active Directory) and the native (OpenLDAP) directory in the event you moved directories around. This tool will also purge any invalid entries that are in the local (LDAP) directory that are not in the external provider.
    The tool is pretty straight forward and the readme file explains the details of how to use it.
    I've tested this tool in our dev and production environments now and it does exactly what I need. The additional benefit is that I can schedule this to run periodically to ensure the directories are sync'd.
    The tool is going to be on your Shared Services machine and comes zipped in a file called UpdateNativeDir.zip
    According to the documention (9.2.0.3) it is located at :
    <Hyperion_Home>/common/utilities/nativedirectoryupdateutility
    On our 9.3.1 Shared Services box, I located it at :
    <Hyperion_Home>/common/utilities/SyncOpenLdapUtility

  • Itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    Can you start QuickTime on your computer?
    You'll probably have to search for the Windows Installer Cleanup Utility and use it to remove QuickTime Player and iTunes. Then download and install the iTunes again.

  • File not found error

    I get the following error, but don't know why it can't find the file. Is there anything in this script that would call "\" instead of "/"? Is there any line of code that will switch a wayward "\" back?
    01-09-24 09:37:02 - path="" :jsp: init
    2001-09-24 09:43:42 - path="" :LoginServlet: init
    2001-09-24 09:44:15 - path="" :CourseServlet: init
    2001-09-24 09:46:48 - path="" :LessonServlet: init
    2001-09-24 09:46:54 - path="" :Error: /usr/local/apache/sites/tesco.spinweb.net/htdocs/cmi/courses\Food Service/Intro/AU00.html (No such file or directory)
    The script is below. Thanks for any help anyone can provide me.
    import cmi.xml.AU;
    import cmi.xml.Block;
    import cmi.xml.CourseReader;
    import cmi.xml.CSFElement;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.PrintWriter;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Enumeration;
    import java.util.Hashtable;
    import java.util.Vector;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.servlet.http.HttpServlet;
    import org.jdom.JDOMException;
    public class LessonServlet extends HttpServlet
    public void init (ServletConfig config) throws ServletException
    super.init (config);
    try {
                   Class.forName (GlobalData.DatabaseDriverName);
                   _jdbcConnection = DriverManager.getConnection (GlobalData.DatabaseName, "tesco", "scorm");
    _jdbcConnection.setAutoCommit (true);
    //should I do this?
    //_jdbcConnection.setAutoCommit (false);
    //load serialized course data
    loadCourseData();
              catch (Exception xcp) {
                   xcp.printStackTrace();     
                   getServletContext().log("Error: " + xcp.getMessage());     
    public void doGet( HttpServletRequest request,
                             HttpServletResponse response)
              throws ServletException, IOException
    boolean normalMode = true;
    try {
    HttpSession session = request.getSession (true);
    //can I load the session given the id??
    //System.out.println ("Lesson.valid session " + session.getId() + ": " + request.isRequestedSessionIdValid());
    response.setContentType ("text/html");
    JDBCHelper dbHelper = new JDBCHelper (_jdbcConnection);
    //get student ID
    Integer studentID = (Integer) session.getAttribute ("studentID");
    //get course ID
    Integer courseID = (Integer) session.getAttribute ("courseID");
    //get lesson ID
    String lessonID = request.getParameter ("lessonID");
    if (lessonID == null) {
    lessonID = (String) session.getAttribute ("lessonID");
    if (studentID == null || courseID == null || lessonID == null) {
    //reset session data by re-logging the user
    sendProfileError (response.getOutputStream());
    return;
    //store lesson ID in session
    session.setAttribute ("lessonID", lessonID);
    String auID = request.getParameter ("auID");
    String mode = request.getParameter ("mode");
    if (mode != null) {
    session.setAttribute ("mode", mode);
    else {
    mode = (String) session.getAttribute ("mode");
    if (mode.equalsIgnoreCase ("review")) {
    normalMode = false;
    else {
    normalMode = true;
    //synchronize access to course hash table
    synchronized (_courseHash)
    //make sure _courseHash is in tact
    if (_courseHash == null) {
    //try reloading it....
    loadCourseData();
    if (_courseHash == null) {
    //error
    response.getOutputStream().close();
    throw new IOException ("Corrupt course data");
    if (! _courseHash.containsKey (courseID.toString())) {
    //try reloading it....
    loadCourseData();
    if (! _courseHash.containsKey (courseID.toString())) {
    //error
    response.getOutputStream().close();
    throw new IOException ("Corrupt course data (course not found)");
    if (auID == null) {
    //show course menu
    Hashtable hash = (Hashtable) _courseHash.get (courseID.toString());
    sendAvailableAUs (hash, studentID.intValue(), courseID.intValue(), lessonID, response.getOutputStream(), response, dbHelper);
    return;
    //if AU has not been attempted, initialize it
    Integer auDataID = new Integer (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper));
    //if (getAUDataID (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper) == -1) {
    if (auDataID.intValue() == -1) {
    int newID = initializeAUData (studentID.intValue(), courseID.intValue(), lessonID, auID, dbHelper);
    dbHelper.addAUToPath (studentID.intValue(), courseID.intValue(), lessonID, auID);
    auDataID = new Integer (newID);
    session.setAttribute ("AUID", auID);
    session.setAttribute ("AUDataID", auDataID);
    sendAU (studentID.intValue(), courseID.intValue(), lessonID, auID, auDataID.intValue(), normalMode, response.getOutputStream(), dbHelper);
    //to do: detailed messages should be sent to the client depending on which
    // exception was thrown. Don't have one try/catch....have one for each situation
    catch (Exception e) {
    e.printStackTrace();
                   getServletContext().log("Error: " + e.getMessage());
    public void destroy()
              try {
                   if (_jdbcConnection != null) {
                        _jdbcConnection.close();
              catch (Exception ignored) {}
    private int initializeAUData (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
    String sqlQuery = null;
    ResultSet results = null;
    try {
    //get student's name
    sqlQuery = "SELECT Full_Name" +
    " FROM " + GlobalData.StudentTable +
    " WHERE Student_ID = " + studentID;
    results = dbHelper.doQuery (sqlQuery);
    if (! results.next()) {
    //error
    return -1;
    String studentName = results.getString (1);
    results.close();
    //the lock prevents CMIServlet from reading AU_ID before it's committed
    //sqlQuery = "LOCK TABLES " + GlobalData.AUDataTable + " WRITE;";
    //System.out.println (sqlQuery);
    //dbHelper.executeUpdate (sqlQuery);
    sqlQuery = "Insert Into " + GlobalData.AUDataTable +
    "(Course_ID, Lesson_ID, AU_ID, student_id, student_name, lesson_location, credit," +
    " lesson_status, entry, exit, score_raw, score_max, score_min, total_time," +
    " session_time, lesson_mode, suspend_data, launch_data, Evaluation_ID, Objective_ID)" +
    " Values (" + courseID + ", '" + lessonID + "', '" + auID + "', " + studentID + ", '" + studentName + "'," +
    " 'NA', 'credit'," + " 'not attempted', 'ab-initio', " + "'NA', " + 0 + ", " + 0 + ", " + 0 +
    ", '00:00:00.0', '00:00:00.0', " + " 'normal'" + ", 'NA', " + "'NA', " + 0 + ", " + 0 + ");";
    dbHelper.executeUpdate (sqlQuery);
    return getAUDataID (studentID, courseID, lessonID,auID, dbHelper);
    //sqlQuery = "UNLOCK TABLES;";
    //System.out.println (sqlQuery);
    //dbHelper.executeUpdate (sqlQuery);
    catch (Exception e) {
    e.printStackTrace();
                   getServletContext().log("Error: " + e.getMessage());
    return -1;
    private int getAUDataID (int studentID, int courseID, String lessonID, String auID, JDBCHelper dbHelper)
    throws SQLException
    String sqlQuery = "SELECT AUData_ID, lesson_status, lesson_mode, exit" +
                                  " FROM " + GlobalData.AUDataTable +
                                  " WHERE student_id = " + studentID +
                                  " AND Course_ID = " + courseID +
    " AND Lesson_ID = " + "'" + lessonID + "'" +
    " AND AU_ID = '" + auID + "';";
    ResultSet results = dbHelper.doQuery (sqlQuery);
    if (results.next()) {
    return results.getInt ("AUData_ID");
    return -1;
    private void sendAU (int studentID, int courseID, String lessonID, String auID, int auDataID, boolean normalMode, ServletOutputStream htmlOut, JDBCHelper dbHelper)
    throws IOException, ClassNotFoundException
    Hashtable hash = null;
    synchronized (_courseHash)
    hash = (Hashtable) _courseHash.get (String.valueOf (courseID));       
    if (hash == null) {
    loadCourseData();
    hash = (Hashtable) _courseHash.get (String.valueOf (courseID));
    if (hash == null) {
    throw new IOException ("Corrupt course data (course not found)");
    AU au = (AU) hash.get (auID);
    try {
    if (! normalMode) {
    dbHelper.setReviewMode (auDataID);
    String courseFileName = getFileName (String.valueOf (courseID), dbHelper);
    File file = new File (courseFileName);
    //create absolute path to file so we can resolve relative URLs
    String newFileName = file.getParent() + "\\" + au.getLaunchParams();
                   BufferedReader buf = new BufferedReader (new FileReader (newFileName));
    PrintWriter htmlWriter = new PrintWriter (htmlOut);
                   String temp;
    htmlWriter.write (getAUHtml (au.getLaunchParams()));
    htmlWriter.flush();
    htmlWriter.close();
    catch (Exception e) {
    e.printStackTrace();
                   getServletContext().log("Error: " + e.getMessage());
    private String getAUHtml (String path){
    path = path.replace ('\\','/');
    String response;
    response = "<html>\n" +
                        "<head>\n" +
    "</head>\n" +
    "<body>\n" +
    "<script language=\"JavaScript\">\n" +
    "document.location = \"/cmi/courses/" + path + "\"\n" +
    //"win = window.open ('','displayWindow','menubar=yes,scrollbars=yes,status=yes,width=300,height=300');\n" +
    //"window.onload = \"win.close();\"" +
    "</script>\n" +
    "</body>\n" +
    "</html>\n";
    return response;
    private void sendAvailableAUs (Hashtable hash, int studentID, int courseID, String lessonID, ServletOutputStream out, HttpServletResponse response, JDBCHelper dbHelper)
    StringBuffer buf = new StringBuffer (200);
    Block block = (Block) hash.get (lessonID);
    AU au = null;
    try {
    Vector completedAUs = dbHelper.getCompletedAUs (studentID, courseID, lessonID);
    buf.append ("<html>\n" +
                        "<head>\n" +
    "<title>" + block.getTitle() + " units</title>\n" +
    "<script language=\"JavaScript\">\n" +
    "function go() {\n" +
    " var form = document.goForm;\n" +
    " var index = form.gotoSelect.selectedIndex;\n" +
    " if (index == 0) {\n" +
    " document.location = \"/servlet/CourseServlet?courseID=" + courseID + "\";\n" +
    " }\n" +
    " else if (index == 1) {\n" +
    " top.restart();\n" +
    " }\n" +
    "}\n" +
    "</script>\n" +
    "</head>\n" +
    "<body background=\"/cmi/images/marble.jpg\">\n" +
    "<center><h1><b><u>" + block.getTitle() + "</u></b></h1></center>\n" +
    "<p></p>\n<p></p>\n" +
    "<b>" + block.getTitle() + " contains the following units: </b>\n" +
    "<dl>\n");
    Enumeration enum = block.getChildren();
    while (enum.hasMoreElements()) {
    String temp = (String) enum.nextElement();
    CSFElement element = (CSFElement) hash.get (temp);
    if (element.getType().equals ("au")) {
    au = (AU) element;
    if (completedAUs.contains (au.getID())) {
    buf.append ("<dt><p><img src=\"/cmi/images/node2.gif\"><a href=\"/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=review\">" + au.getTitle() + " (<i>review</i>) </a></p></dt>\n");
    else {
    buf.append ("<dt><p><img src=\"/cmi/images/node.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + block.getID() + "&auID=" + au.getID() + "&mode=normal") + "\">" + au.getTitle() + "</a></p></dt>\n");
    else if (element.getType().equals ("block")) {
    buf.append ("<dt><p><img src=\"/cmi/images/folder.gif\"><a href=\"" + response.encodeURL ("/servlet/LessonServlet?lessonID=" + element.getID() + "&mode=normal") + "\">" + element.getTitle() + "</a></p></dt>\n");
    buf.append ("</dl>\n" +
    "<br><br>\n" +
    "<form name=\"goForm\">\n" +
    "<select name=\"gotoSelect\">\n" +
    " <option value=\"lesson\">Lesson Menu</option>\n" +
    " <option value=\"exit\">Exit LMS</option>\n" +
    "</select>\n" +
    "<input type=\"button\" value=\"Go\" onClick=\"go()\">\n" +
    "</form>\n" +
    "</body>\n" +
    "</html>");
    PrintWriter writer = new PrintWriter (out);
    writer.write (buf.toString());
    writer.flush();
    writer.close();
    catch (Exception e) {
    e.printStackTrace();
                   getServletContext().log("Error: " + e.getMessage());
    private String getFileName (String courseID, JDBCHelper dbHelper)
    throws ClassNotFoundException, SQLException
              ResultSet results = null;
              String fileName = null;
    String sqlQuery = "SELECT CourseFile" +
                                  " FROM Course" +
                                  " WHERE Course_ID = " + Integer.parseInt (courseID) + ";";
    results = dbHelper.doQuery (sqlQuery);
              if (results.next()) {
                   fileName = results.getString (1);
              else {
    //need to do more than this :)
                   System.out.println("crap");
    results.close();
    return fileName;
    private void loadCourseData()
    throws IOException, ClassNotFoundException
    //load serialized course data
    File file = new File (GlobalData.DataFileName);
    if (! file.exists()) {
    //error
    throw new FileNotFoundException (GlobalData.DataFileName + " not found.");
    FileInputStream fis = new FileInputStream (GlobalData.DataFileName);
    ObjectInputStream ois = new ObjectInputStream (fis);
    _courseHash = (Hashtable) ois.readObject();
    ois.close();
    private void sendProfileError (ServletOutputStream out)
    String html = "<html>\n" +
    "<body>\n" +
    "<p>An error has occurred with your profile. Please " +
    "<a href=\"\" onClick=\"top.restart(); return true\">login again</a>" +
    "</body>\n" +
    "</html>\n";
    PrintWriter writer = new PrintWriter (out);
    writer.write (html);
    writer.flush();
    writer.close();
    private Connection _jdbcConnection;
    private Hashtable _courseHash;

    I know that is where my error is, but why and where is
    the script calling it up way?You wrote it right? check out the sendAU() method, there is line
    String newFileName = file.getParent() + "\\" + au.getLaunchParams();

Maybe you are looking for

  • IP Address when I'm using iTunes

    I'll try to explain a little bit better; actually I'm on MBP connected on a Iomega NAS where I have all my stuffs, music as well. My Nas got a name and of course an IP address. My machine is set to recognise the name and when it starts mount the corr

  • Database connectivity timeout problem

    I am using struts framework for my web application and in between just for a test I have used spring framework database connectivity too in few files. I have deployed my application on tomcat 5.5 server on linux machine. Application is running fine,

  • Bbm icon not showing

    i try to upgrade my blackberry messanger but it stop in b/w the processing and after it my bbm icon is disappear......... i try everything to get it back but i can't.... i don't activate my bis subscrcription.......plz tell me the way for get back my

  • Saving an image with altered metadata corrupts it

    When I apply a set of metadata by Nikon NX2 and then save the image on iPhoto, then it becomes impossible to open it again: the error I receive is the following (in Italian): Impossibile caricare il file: Macintosh        HD/Utenti/fbartolom/Immagini

  • Records read/transferred

    Hi BW Gurus, I have a simple question In RSRT when i run the query my records read/ Tranferred = 3886/66.... can nebody please advice wht should i do Any Suggestions will be reciprocated with points Nick