Tomcat 3.3, Cocoon 1.8.2. util.xsl not found

Hello,
Once I installed Tomcat and Cocoon, I wanted to test my installation by loading up the Cocoon information URI : http://localhost:8080/cocoon/Cocoon.xml
Problem:
java.lang.RuntimeException: Error loading logicsheet at file://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.net.UnknownHostException: org
I can't access to the file util.xsl. I checked, it is in the right place.
As I had these errors...
java.lang.RuntimeException: Error creating org.apache.cocoon.parser.XercesParser: make sure the needed classes can be found in the classpath (org/apache/xerces/framework/XMLParser)
...and...
java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be found in the classpath (org/apache/xalan/xpath/xml/XMLParserLiaison)
...always when I want access to Cocoon.xml file, I copied xalan_1_2_D02.jar and xerces_1_2.jar in TOMCAT_HOME\webapps\cocoon\WEB-INF\lib to fix these problems.
So I tried to do the same thing with cocoon.jar file.
What I tried to do :
     * copy cocoon.jar in TOMCAT_HOME\webapps\cocoon\WEB-INF\lib
     * I changed resource:// into file:// in cocoon.properties file
     * I tried to put the whole path : file://mypath/util.xsl
     * I copied COCOON_HOME\build\classes\org\*.* in
     TOMCAT_HOME\webapps\cocoon\WEB-INF
Is anybody have an explanation, doc...
Thanks in advance.
Julien

Problem:
java.lang.RuntimeException: Error loading logicsheet
at
file://org/apache/cocoon/processor/xsp/library/java/uti
.xsl due to java.net.UnknownHostException: org
I can't access to the file util.xsl. I checked, it is
in the right place.I've noticed that Java file-urls need either one or thee slashed (/) to work, so either:
file:///
or
file:/
Otherwise it goes looking for a web host by the name of the file, which is really strange behaviour.
Tuomas Rinta

Similar Messages

  • 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

  • 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
              > > ....
              

  • Error: Class java.util.ArrayList not found in import

    Bear with me, I'm learning. That's part of the problem.
    I'm trying to teach myself JSP using a book based on Tomcat, but running it on an Oracle 9iAS server that I don't control. (The DBAs do that.) I'm running into constant problems compiling and using classes and such, I think because of the different directory structures on the two servers. (See subject error.)
    So, what I'd like to know is: how do I set up a default/main/whatever-you-want-to-call-it directory under which I can store my practice applications, such that 9iAS will function correctly? We're not using OC4J as far as I can see (no such directory, though there is a J2EE_containers folder), just JServ. Or, conversely, can someone explain in simple terms the basic 9iAS directory structures for deploying apps on 9iAS? I've been 'round and 'round the Oracle documentation until my head spins, and can't find this basic information.
    Help, please!!

    You will have to make Kawa to use the correct jdk
    Look into
    Options-> Directory
    Make a new Profile if it point to your old jdk version
    Thanks
    Joey

  • Adobe.utils.Extension not found in Adobe flash professional CS5

    Hi,
    In my machine I have installed only  Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?
    Thanks

    Hi,
    Thanks for your reply.
    Actually our flash IDE supports adobe.utils.*
    When we import
    import adobe.utils.CustomActions and import adobe.utils.XMLUI, we are getting these two classes as blue colour as
    adobe.utils.CustomActions ;
    adobe.utils.XMLUI;
    , that means it is recognized as AS3 classes which is contained in adobe.util package. But when we import Extension this not happening.
    adobe.utils.Extension;
    ie Extension class is not recognized the IDE.
    But when we typing these import statement in timeline we can see the hint for these three classes.
    Thanks

  • 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

  • Source file for java.util.Vector not found ?

    Hi !
    In the Source Editor, hold down the Ctrl key and move the mouse over a class identifier belonging to the NetBeans APIs. A hyperlink appears. Click on the hyperlink and the cursor jumps to the related NetBeans API class.
    (Alt--O)
    Can anybody tell me, why this doesn't work in an Mobile Application ?
    thanks.
    (Show JavaDoc (Alt-F1) doesn't work in Mobile and EE ??)

    do you link javaee and javame sources with Netbeans?
    (you should ask it on a NetBeans forum??)

  • HT3728 airport utility does not see my time capsule

    I got a Time Capsule for Christmas, have hooked it up, turned it on, then the Airport Utility. The airport utility has not found it - I have reset it using the button on the back several times and still nothing. I have also restarted my computer, which is a new macbook pro, but nothing.
    Advice please! I am new to Mac and am quite frustrated, considering returning the Time Capsule, if I can ...

    That was not helpful of Apple at all, as this is a much trickier setup..
    I have just posted details in another thread. Longish post I am not sure how to reference a particular post.
    https://discussions.apple.com/thread/3528704?tstart=0
    Please follow those instructions to load 5.6 airport utility.. as you will find it much better.
    In your case you will need to do the same thing but on the airport setup.. which is another layer in to ethernet.
    But the idea is the same.. do not use automatic setup of the wireless IP settings.. you need to do it manually but it is relatively easy. Again you need to make sure your ISP is not using a 10.x.x.x address as many do.. the cheap skates are saving IP addresses. If they do that you will need to use manual setup of the TC as well.
    You will still want to do the setup of the TC by ethernet.. but can use wireless once it is done.
    Exactly as in the other thread, go to airport in network preference and go to the airport setup, then fix the IP address as I have shown.
    If you need more info try to ask specific questions .. screenshots also help.

  • [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 .

  • 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

  • Import, package util does not exist

    Hi all,
    I installed Tomcat 5.0 for Java WSDP and after Java Web Services Developer Pack 2.0. Hence I created a directory "SAMLTestTool" into the folder
    "tomcat50-jwsdp/webapps/ROOT/"
    and I put inside some JSP files and some other directory (WEB-INF, META-INF...).
    In some jsp file there is this line:
    <%@page import="util.RequestUtil"%>and in the subdirectory "SAMLTestTool/WEB-INF/classes/util" there is the file "RequestUtil.class".
    But when I try to open these file through the browser (for example "http://localhost:8080/SAMLTestTool/service_provider.jsp"), this is the error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 59 in the jsp file: /SAMLTestTool/service_provider.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    tomcat50-jwsdp/work/Catalina/localhost/_/org/apache/jsp/SAMLTestTool/service_005fprovider_jsp.java:6: package util does not exist
    import util.RequestUtil;What does it mean? Where should I put the folder "util" in a such way that this package will be found?

    ROOT is a special folder configured to pertain to an empty context root.
    If you put a folder there it is simply a folder but you are trying to use it as a context root.
    So either keep what you have and put your util folder in:
    tomcat50-jwsdp/webapps/ROOT/WEB-INF/classes
    or
    Move your SAMLTestTool to:
    tomcat50-jwsdp/webapps/
    Hope that helps.

  • Jakarta Tomcat error - 'Package MyUtils not found in import.'

    Jakarta Tomcat - 'Package MyUtils not found in import.'
    Can anyone help with this error please?
    My JSP code P6.jsp contains :-
    <%@page import="MyUtils.* ,java.util.*"%>
    But, the package MyUtils with class file NameStore.class is not found.
    The actual error at JSP translation time is:-
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\jdk1.4\jakarta-tomcat-4.0.1\work\Standalone\localhost\lab06\P6$jsp.java:3: Package MyUtils not found in import.
    import MyUtils.* ;
    ^
    My directory structure is listed below:-
    %CATALINA_HOME/webapps/lab06( contains P6.jsp)/web-inf/classes/MyUtils/NameStore.class
    Can anyone help please?
    Thanks,John Withington

    put your package in your WEB-INF directory!

  • Help - Tomcat - Package not found in import

    Error: 500
    Location: /htmltest/login.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile C:\jdk1.3.1\jakarta-tomcat-3.3a\work\DEFAULT\htmltest\login_1.java:5: Package usingjsp not found in import.
    import usingjsp.*;
    ^
    1 error
         at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
         at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
         at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
         at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
         at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
         at org.apache.tomcat.core.ContextManager.service(Unknown Source)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    Above is the error I encounter when running my JSP and Servlets combination under Tomcat3.3a
    Can anyone pls tell me basically what error is that?
    The path for my package "usingjsp" is c:\jdk13~1.1\jakart~1.3a\webapps\examples\web-inf\classes\usingjsp
    I put my package under that directory because to my knowledge Tomcat requires all servlet to be put under there by default.
    The path for my JSP file is c:\jdk13~1.1\jakart~1.3a\webapps\htmltest.
    NOTE: I had modified the XML file.
    Under that folder there is 2 classes named LoginServlet and UserDataTable.
    Below are my codes:
    1. logintest.html
    <html>
    <body>
    <form action="login.jsp" method="post">
    <table>
    <tr><td>Username: <td><input type="text" name="username">
    <tr><td>Password: <td><input type="password" name="password">
    </table>
    <input type="submit" value="SUBMIT">
    </form>
    </body>
    </html>
    2. login.jsp
    <%@ page language="java" import="java.util.*" %>
    <%@ page import="usingjsp.*" %>
    <html>
    <body bgcolor="#a3355f">
    <%
         String userName = request.getParameter("username");
         String password = request.getParameter("password");
         String userKey = UserDataTable.createUserData();
         Hashtable userData = UserDataTable.getUserData(userKey);
         userData.put("username", userName);
    %>
    <form action="/examples/servlet/LoginServlet" method="post">
    <input type="hidden" name="userKey" value="<%userKey%>">
    <input type="submit" value="SUBMIT">     
    </form>
    </body>
    </html>
    3. LoginServlet.java
    //package usingjsp;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    public class LoginServlet extends GenericServlet {
         public void service(ServletRequest req, ServletResponse res) throws IOException {
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String userKey = req.getParameter("userKey");
              Hashtable userData = new Hashtable();
              UserDataTable temp = new UserDataTable();
              userData = temp.getUserData(userKey);
              if (userData == null) {
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>SORRY<h1>");
                   out.println("</body>");
                   out.println("</html>");
                   return;
              String userName = (String)userData.get("username");
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>" + userName + "<h1>");
                   out.println("</body>");
                   out.println("</html>");
    4. UserDataTable.java
    //package usingjsp;
    import java.util.*;
    public class UserDataTable {
         protected static Hashtable userData = new Hashtable();
         protected static Random keyGenerator = new Random();
         public static String createUserData() {
              String userKey = "" + keyGenerator.nextLong();
              userData.put(userKey, new Hashtable());
              return userKey;
         public static Hashtable getUserData(String userKey) {
              if (userKey == null) return null;
                   return (Hashtable) userData.get(userKey);
         public static void clearUserData(String userKey) {
              if (userKey == null) return;
                   userData.remove(userKey);
    }Pls let me know if you need more info. Thanks!

    1. login.jsp
    <%@ page language="java" import="java.util.*" %>
    <%@ page import="classes.servlets.*" %>
    <html>
    <body bgcolor="#a3355f">
    <%
         String userName = request.getParameter("username");
         String password = request.getParameter("password");
         String userKey = UserDataTable.createUserData();
         Hashtable userData = UserDataTable.getUserData(userKey);
         userData.put("username", userName);
    %>
    <form action="/classes/servlet/LoginServlet" method="post">
    <input type="hidden" name="userKey" value="<%userKey%>">
    <input type="submit" value="SUBMIT">     
    </form>
    </body>
    </html>
    2. UserDataTable.java
    package classes.servlets;
    import java.util.*;
    public class UserDataTable {
         protected static Hashtable userData = new Hashtable();
         protected static Random keyGenerator = new Random();
         public static String createUserData() {
              String userKey = "" + keyGenerator.nextLong();
              userData.put(userKey, new Hashtable());
              return userKey;
         public static Hashtable getUserData(String userKey) {
              if (userKey == null) return null;
                   return (Hashtable) userData.get(userKey);
         public static void clearUserData(String userKey) {
              if (userKey == null) return;
                   userData.remove(userKey);
    3. LoginServlet.java
    package classes.servlets;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    public class LoginServlet extends GenericServlet {
         public void service(ServletRequest req, ServletResponse res) throws IOException {
              res.setContentType("text/html");
              PrintWriter out = res.getWriter();
              String userKey = req.getParameter("userKey");
              Hashtable userData = new Hashtable();
              UserDataTable temp = new UserDataTable();
              userData = temp.getUserData(userKey);
              if (userData == null) {
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>SORRY<h1>");
                   out.println("</body>");
                   out.println("</html>");
                   return;
              String userName = (String)userData.get("username");
                   out.println("<html>");
                   out.println("<body>");
                   out.println("<h1>" + userName + "<h1>");
                   out.println("</body>");
                   out.println("</html>");
    }I had added CLASSPATH=c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf into autoexec.bat.
    I had been able to compile UserDataTable.java and LoginServlet.java.
    Path for UserDataTable = c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf\classes\servlets\UserDataTable.java
    Path for LoginServlet = c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf\classes\servlets\UserDataTable.java
    server.xml<?xml version="1.0" encoding="ISO-8859-1"?>
    <Server>
        <!-- You can add a "home" attribute to represent the "base" for
             all relative paths. If none is set, the TOMCAT_HOME property
             will be used, and if not set "." will be used.
             webapps/, work/ and log/ will be relative to this ( unless
             set explicitely to absolute paths ).
          -->
        <ContextManager workDir="work" >
          <!-- ==================== Global modules ==================== -->
            <LoaderInterceptor11  useApplicationLoader="true" />
            <TrustedLoader />
            <LogSetter name="tc_log" timestamps="true"
                 verbosityLevel="INFORMATION"  />
            <LogEvents enabled="false" />
            <!-- Backward compat: read the Context declarations from server.xml-->
            <ContextXmlReader config="conf/server.xml" />
            <!-- Separated Context -->
            <ContextXmlReader config="conf/apps.xml" />
            <AutoDeploy source="modules" target="modules"
                  redeploy="true" />
            <AutoWebApp dir="modules" host="DEFAULT" trusted="true"/>
            <AutoDeploy source="webapps" target="webapps" />
            <AutoWebApp dir="webapps" host="DEFAULT" />
            <PolicyLoader securityManagerClass="java.lang.SecurityManager"
                    policyFile="conf/tomcat.policy" />
            <SimpleMapper1 />
            <SessionExpirer checkInterval="60" />
            <!-- For development you can use randomClass="java.util.Random" -->
            <SessionIdGenerator randomClass="java.security.SecureRandom"
                                randomFile="/dev/urandom" />
            <!-- ========== context processing modules ========== -->
            <!-- This will be the "default" profile
                 ( all except the "global" modules can be set per context )
              -->
            <LogSetter name="servlet_log"
                 timestamps="true"
                 verbosityLevel = "INFORMATION"
                 path="logs/servlet-${yyyyMMdd}.log"
                 />
            <LogSetter  name="JASPER_LOG"
                 timestamps="true"
                 path="logs/jasper-${yyyyMMdd}.log"
                 verbosityLevel = "INFORMATION"  />
            <WebXmlReader validate="true" />
            <ErrorHandler showDebugInfo="true" />
            <WorkDirSetup cleanWorkDir="false" />
            <Jdk12Interceptor />
            <!-- Non-standard invoker, for backward compat. ( /servlet/* ) -->
            <InvokerInterceptor />
            <!-- you can add javaCompiler="jikes" -->
            <JspInterceptor keepGenerated="true"
                   largeFile="false"
                   useJspServlet="false"
                   />
            <StaticInterceptor listings="true" />
            <ReloadInterceptor fullReload="true" />
            <SimpleSessionStore maxActiveSessions="-1" />
            <AccessInterceptor />
            <CredentialsInterceptor />
            <SimpleRealm  filename="conf/users/global-users.xml" />
           <!-- UnComment the following and comment out the
                above to get a JDBC realm.
                Other options for driverName:
                  driverName="oracle.jdbc.driver.OracleDriver"
                  connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
                  connectionName="scott"
                  connectionPassword="tiger"
                  driverName="org.gjt.mm.mysql.Driver"
                  connectionURL="jdbc:mysql://localhost/authority"
                  connectionName="test"
                  connectionPassword="test"
                "connectionName" and "connectionPassword" are optional.
            -->
            <!--
            <JDBCRealm
                debug="99"
             driverName="sun.jdbc.odbc.JdbcOdbcDriver"
             connectionURL="jdbc:odbc:TOMCAT"
             userTable="users"
                userNameCol="user_name"
                userCredCol="user_pass"
             userRoleTable="user_roles"
                roleNameCol="role_name" />
            -->
            <LoadOnStartupInterceptor />
            <Servlet22Interceptor />
            <!-- Tag pooling support.
                 To enable the reuse of tag handlers as described in
                 the JSP spec, uncomment the following.  If your pages
                 use a lot of custom tags, you should see a nice performance
                 gain.
                 Note that placing the interceptor here will enable
                 Tag pooling for all of the web applicatitions loaded -
                 this may be a bad thing if all tags are not coded to
                 handle reuse. To enable pooling only for specific web
                 applications i.e. Contexts, place the interceptor inside of
                 the Context's definition.
                 To view information about tag usage uncomment the tag
                 LogSetter. Set verbosityLevel to DEBUG to see everytime
                 a tag is obtained and released.
            -->
            <!--
            <LogSetter  name="tag_pool_log" timestamps="true"
                path="logs/tagpool-${yyyyMMdd}.log"
                verbosityLevel="INFORMATION" />
            <TagPoolManagerInterceptor />
            -->
            <!-- Request processing -->
            <DecodeInterceptor />
            <SessionId cookiesFirst="true" noCookies="false" />
            <!-- Automatic config generation
                 Set noRoot="false" if you wish to have Tomcat try to take
                   control of the external web server's root context.
                   Additonal configuration of the external web server may be
                   required for this to be successful.
                 Note: Configuration files are not written as part of the
                   default startup behvior.  Append "jkconf" to the startup
                   command to have Tomcat initialize, write the config files,
                   then exit. This may be done while Tomcat is running.
              -->
            <ApacheConfig noRoot="true" />
            <IISConfig noRoot="true" />
            <NSConfig noRoot="true" />
             <!-- Uncoment for apache-style logs
                  Attributes: logFile, flush, format
            <AccessLogInterceptor/>
              -->
          <!-- ==================== Connectors ==================== -->
           <!-- new http adapter. Attributes:
                   secure - use SSL ( https )
                   keystore, keypass - certs for SSL
                   port
                   reportedname - Server name to send back to browser
                                  by default report Tomcat Web Server ...
                                  set an empty string to avoid sending server header
            -->
            <Http10Connector   port="8080"
                      secure="false"
                      maxThreads="100"
                      maxSpareThreads="50"
                      minSpareThreads="10" />
            <!--
                Uncomment this for SSL support. You _need_ to set up a
                server certificate if you want this to work, and you
                need JSSE. See tomcat-ssl-howto.html for more detailed
                instructions.
                1. Make the JSSE jars available to Tomcat, either by making
                   them an installed extension or by adding them to the
                   Tomcat CLASSPATH.
                2. Do: keytool -genkey -alias tomcat -keyalg RSA
                   RSA is essential to work with Netscape and IIS.
                   Use "changeit" as password. ( or add keypass attribute )
                   You don't need to sign the certificate.
             -->
            <!--
            <Http10Connector  port="8443" secure="true" />
            -->
            <!--
                 JNI connector. It assumes the library is located in
                 TOMCAT_HOME/bin/native/jni_connect.[dll, nlm, so]. or in LD_LIBRARY_PATH.
                 For different paths set "nativeLibrary" parameter.
                 The JniConnector will be self-enable only if JNI mode is detected.
             -->
            <JniConnector />
            <!-- Apache AJP12 support. This is also used to shut down tomcat.
                 Parameter "address" defines network interface this Interceptor
                 "binds" to. Add it if you want to "bind" to just "127.0.0.1".
                 address="127.0.0.1"
                 Parameter "tomcatAuthentication", controls if Tomcat honors
                 ( and uses ) auth done in HTTP Server or not, when true Tomcat does
                 not use in any way auth information provided by the HTTP Server.
                 true is the default.
                 tomcatAuthentication="false"
              -->
            <Ajp12Connector      port="8007" />
            <!-- Apache AJP13 support (mod_jk)
                 Parameter "address" defines network interface this Interceptor
                 "binds" to. Add it if you want to "bind" to just "127.0.0.1".
                 address="127.0.0.1"
                 Parameter "tomcatAuthentication", controls if Tomcat honors
                 ( and uses ) auth done in HTTP Server or not, when true Tomcat does
                 not use in any way auth information provided by the HTTP Server.
                 true is the default.
                 tomcatAuthentication="false"
              -->
            <Ajp13Connector port="8009" />
          <!--
               Context definitions can be placed here ( not recommended ) or
               in separate files. The ContextXmlReader will read all context
               definitions ( you can customize the "base" filename ).
               The default is conf/apps-[name].xml.
               See conf/apps-examples.xml and conf/apps-admin.xml 
           -->
    <Context path="/internet"
    docBase="webapps/internet"
    crossContext="true"
    debug="0"
    reloadable="true"
    trusted="false" >
    </Context>
        </ContextManager>
    </Server>The directory structure is:
    <c:\>
        <jdk13~1.1>
            <jakart~1.3a>
                <webapps>
                    <internet>
                        <jsp>
                        <web-inf>
                            <classes>
                                <servlets>
                                <beans>P/S: Actually, I would want to add c:\jdk13~1.1\jakart~1.3a\webapps into CLASSPATH, so that I can use the package as internet.web-inf.classes.servlet (instead of current version of classes.servlet).
    However, the compiler would not let me compile because it says ";" expected at web-inf (I think the hyphen is not allowed). Is there any other solution?
    Thanks and sorry to bother you again!

  • Raid Utility Error Message "raid utility is not supported on this computer"

    I am not doing anything that I know of, but Raid Utility keeps opening up on its own, and a message pops up multiple times a day telling me "raid utility is not supported on this computer"
    Anyone have any idea how to fix this?

    Network startup is if you want to start your macbook using a network drive.
    Keep your startup settings at your current drive.
    Raid utility doesn't apply to you since you only have one hard drive installed, unless you installed another hard drive in your optical bay.
    Fibre Channel is another type of hard drive connection via network connection.
    You can't access things you don't have installed in your macbook.  Those are there in case you decide to have a network drive start up options, a raid configuration of a fibre channel network drive.

  • My airport utility does not find my airport express device

    My airport utility does not find my airport express device

    In order for the AirPort Utility on your iOS device to find the Express, both need to be connected to the same Wi-Fi network. By default, the Express will broadcast an unsecured wireless network with a network name of something like: Apple Network NNNNNN. Can you iOS device find this network?

Maybe you are looking for

  • Using my iPhone 5 (Verizon) in Europe...

    Since the iPhone 5 on Verizon is unlocked, can I buy a pre-paid sim from one of the European carriers like Vodafone while vacationing there? I'm traveling to England, France and Italy the 2nd week of October, and would like to be able to use my phone

  • OracleDataAdapter with IN or IN-OUT parameters is not supported

    We are getting this message when we are trying to preview the data when creating an OracleDataAdapter with a SQL statement that has a parameter. What does this mean and is there a work-around for it as I'd really like to create a typed dataset from a

  • Not update the magician xperia tx on iMac OS 10.7.5

    not update the magician xperia tx on iMac OS 10.7.5  help what to do? Thanks in advance and snastupaeschem new year! a prompt will update androyd 4.4 on sony xperia TX and will update it and when!

  • How do I uninstall all of creative cloud?

    I cancelled my subscription months ago and have done all of the recommended ways of uninstalling, but with no luck. What do I do?

  • Clearing the OSX Tiger Cache

    Can I do this manually without having to reboot all the time? I found the cache folders in the library folders as there are two of them. Or should I just run a Unix command? John