Tomcat as service : install path with spaces

I'm trying to install tomcat as service
but when I choose an install path with spaces
I mean smthing like "c:\program files\tomcat"
it doesn't work
I tried to modify the wrapper.properties file
with "" but it doesn't work
I even set the parameter wrapper.cmd_line with
a command line that works when launched for CMD
but the service doesn't start
any idea????

I found it ! (hope it helps)
wrapper.properties that works with spaces in the name
of the java directory and the tomcat directory
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.2.2.1 $
# $Date: 2000/10/16 01:59:22 $
# jk_service.properties - a bootstrup file for the Tomcat NT service.
# This file provides jk_nt_service with the needed information to
# start tomcat at a different process.
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them!!!
# Whenever you see a set of lines such as:
# x=value
# y=$(x)\something
# the final value for y will be value\something
# Normaly all you will need to modify is the first two properties, i.e.
# wrapper.tomcat_home and wrapper.java_home. Most of the configuration
# is derived from these two.
# wrapper.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
wrapper.tomcat_home=C:\Program Files\tomcat-3.2.1
# wrapper.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
wrapper.java_home=C:\Program Files\JavaSoft\JRE\1.3
#------ ADVANCED MODE ------------------------------------------------
# Make sure that you read the how-to before making too many changes.
# Defining where the service is going to put the standard
# output of Tomcat. This is where System.out.println and
# System.err.println goes to.
wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
# Additions to the path. put here directories where you store DLLs for
# native methods etc.
wrapper.ld_path=d:\
wrapper.ld_path=c:\
# Defining the classpath. All the rows that belongs to the class_path
# property are concatenated to create the classpath for Tomcat.
# If you have additional locations that you would like to add to the
# claspath you should add a new wrapper.class_path=<location> line.
wrapper.class_path="$(wrapper.tomcat_home)\classes"
wrapper.class_path="$(wrapper.tomcat_home)\lib\jaxp.jar"
wrapper.class_path="$(wrapper.tomcat_home)\lib\parser.jar"
wrapper.class_path="$(wrapper.tomcat_home)\lib\webserver.jar"
wrapper.class_path="$(wrapper.tomcat_home)\lib\servlet.jar"
wrapper.class_path="$(wrapper.tomcat_home)\lib\jasper.jar"
# This is where Javac is located in JDK1.2.x
wrapper.class_path="$(wrapper.java_home)\lib\tools.jar"
# and a tribute to JDK1.1.x
wrapper.class_path="$(wrapper.java_home)\lib\classes.zip"
# This is the Java interpreter used for running Tomcat
wrapper.javabin=$(wrapper.java_home)\bin\java.exe
# This is Tomcat's startup class (the class that contains Tomcat's
# starting point.
wrapper.startup_class=org.apache.tomcat.startup.Tomcat
# This is the location where tomcat's server.xml configuration file
# is located.
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
# The NT service uses AJP12/AJP13 to shutdown Tomcat. The
# wrapper.shutdown_port tells the service the identity of the port that
# is used by AJP12/AJP13.
wrapper.shutdown_port=8007
# Can either be ajp12 or ajp13 depending on your configuration.
# Default value is ajp12
wrapper.shutdown_protocol=ajp12
# This is the command line that is used to start Tomcat. You can add extra
# parameters to it but you can not remove anything.
wrapper.cmd_line="$(wrapper.javabin)" -classpath $(wrapper.class_path) $(wrapper.startup_class) -config "$(wrapper.server_xml)" -home "$(wrapper.tomcat_home)"

Similar Messages

  • How do I enter a path with spaces

    In creating a special mail alert there is an option to enter a file to execute. If I put the file in my C;/Program Files (86)... it wont execute because of the spaces. How do I enter the path and filename with spaces. YES, I have tried all sorts of "s and they don't seem to work. Can you give an example.

    I usually find that if use the offered option to browse to the file using the browser/picker provided, all this is taken care of. Thunderbird will use a technique widely emplyed on the web, where spaces are encoded as %20. Other potentially troublesome characters such as slashes and colons will get similar treatment.
    As an aside, 20 is hexadecimal for the decimal value 32, which is the standard value in ASCII and many other encodings for the space character. So %20 is a particular notation that advises that the character with hexadecimal value 20 is to be used.
    In general "C:\Program Files\example\example.txt" ought to work too.
    But your problem may be specific to the particular context. I have had a long standing issue where I want to send a link to a file on a shared network drive and the link sent via Thunderbird has refused to work as an active link. The recipient generally had to copy and paste the provided pathname. This seems to have resolved itself in a recent update of Thunderbird. If you're using an add-on then the problem may be inherent in that add-on, or in a rather obscure difficulty with giving the Thunderbird process access permission to work with local files.

  • Creation of file that have path with spaces (on aplication server)

    Hello all,
    Does anybody know how to do this? When I try to save save file with path like
    '/usr/sap/some dir/file.txt' than '/usr/sap/some' is being created (everything after first space is being cut). What should I do?

    Hi Marcin,
    you may surround the path with quotes ('').
    I hope it helps. Best regards,
    Alvaro

  • How to run cdb -c with a command that contains paths with spaces?

    CDB has a -c command line option that runs a specified command, sort of like
    cmd -c, I suppose. Here's what I need to run:
    cdb.exe -c "!itoldyouso \"c:\Program Files (x86)\My Software\1.exe\" \"c:\Development\my-software\bin\1.pdb\";q" "notepad.exe"
    Note that here I've tried escaping quotes around paths with \. No luck. I've also tried
    ^ and """ (triple quote). All I get is this:
    0:000> cdb: Reading initial command '!itoldyouso "c:\Program Files (x86)\My Software\1.exe" "c:\Development\my-software\bin\1.pdb";q'
    c:Program - ignored. The input name/address could not be resolved to a loaded module.
    Files - ignored. The input name/address could not be resolved to a loaded module.
    (x86)My - ignored. The input name/address could not be resolved to a loaded module.
    Software1.exe - ignored. The input name/address could not be resolved to a loaded module. Could not find module c:program ^ Extra character error in '!itoldyouso "c:\Program Files (x86)\My Software\1.exe" "c:\Development \my-software\bin\1.pdb";q'
    The command is passed to CDB correctly, but CDB itself doesn't know how to parse quotes.

    Hmm,
    !itoldyouso with spaces in path does not even work, when started inside cdb or windbg for me.
    But something like this reports success:
    cdb.exe -c ".reload /f /i \"'C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\Debug\DebuggerStub.
    exe'=0x6000000,0x1b000\"" notepad.exe
    Microsoft (R) Windows Debugger Version 6.3.9431.0 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: notepad.exe
    ************* Symbol Path validation summary **************
    Response Time (ms) Location
    OK C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\De
    bug
    OK C:\Windows\symbols\dll
    Deferred srv*C:\Symbols\MsSymbols*http://msdl.microsoft.com/download/symbols
    Symbol search path is: C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\Debug;C:\Windows\symbols\d
    ll;srv*C:\Symbols\MsSymbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    ModLoad: 007c0000 007e8000 notepad.exe
    ModLoad: 77540000 77668000 ntdll.dll
    ModLoad: 77460000 7753d000 C:\Windows\system32\kernel32.dll
    ModLoad: 75c70000 75d36000 C:\Windows\system32\ADVAPI32.dll
    ModLoad: 75f60000 76022000 C:\Windows\system32\RPCRT4.dll
    ModLoad: 75ed0000 75f1c000 C:\Windows\system32\GDI32.dll
    ModLoad: 77680000 7771d000 C:\Windows\system32\USER32.dll
    ModLoad: 761d0000 7627a000 C:\Windows\system32\msvcrt.dll
    ModLoad: 77720000 77793000 C:\Windows\system32\COMDLG32.dll
    ModLoad: 75c10000 75c69000 C:\Windows\system32\SHLWAPI.dll
    ModLoad: 749c0000 74b5e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.1830
    5_none_5cb72f2a088b0ed3\COMCTL32.dll
    ModLoad: 76920000 77431000 C:\Windows\system32\SHELL32.dll
    ModLoad: 6f750000 6f792000 C:\Windows\system32\WINSPOOL.DRV
    ModLoad: 76310000 76455000 C:\Windows\system32\ole32.dll
    ModLoad: 76280000 7630e000 C:\Windows\system32\OLEAUT32.dll
    (fc8.1738): Break instruction exception - code 80000003 (first chance)
    eax=00000000 ebx=00000000 ecx=0015fa34 edx=775a5b44 esi=fffffffe edi=00000000
    eip=775886ce esp=0015fa4c ebp=0015fa7c iopl=0 nv up ei pl zr na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
    ntdll!DbgBreakPoint:
    775886ce cc int 3
    0:000> cdb: Reading initial command '.reload /f /i "'C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerS
    tub\Debug\DebuggerStub.exe'=0x6000000,0x1b000"'
    *** WARNING: Unable to verify timestamp for 'C:\Users\sammy\Documents\Visual Studio 2010\Projects\DebuggerStub\Debu
    g\DebuggerStub.exe'
    0:000> lm
    start end module name
    007c0000 007e8000 notepad (deferred)
    06000000 0601b000 DebuggerStub M (private pdb symbols) c:\users\sammy\documents\visual studio 2010\projects\debuggerstub\debug\DebuggerStub.pdb
    6f750000 6f792000 WINSPOOL (deferred)
    So a backslash looks not so bad, else one can try to use a script-file with "-c" arg. 
    With kind regards

  • UNIX path AND  Do shell script path with spaces

    I am trying to building a interface with buttons to execute shell commands when the button is pressed. Below press button execute code.
    I am new to AppleScript and Xcode and Interface builder. I have read different post referencing spaces but I still don't understand.
    THIS COMMAND DOESN'T WORK IT'S SOMETHING TO DO WITH SPACES.
    How would I fix this to work.
    on clicked theObject
    do shell script "rm /Library/Preferences/com.netopia.netOctopus\ Agent.preferences"
    end clicked
    This works (Below) no spaces in the path
    on clicked theObject
    do shell script "open /System/Library/PreferencePanes/SharingPref.prefPane/"
    end clicked
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.6)  
    ALL   Mac OS X (10.4.8)  
    ALL   Mac OS X (10.4.8)  

    Camelot's explanation was good, but you don't seem to get it, so I'll take a crack at explaining as well.
    First off, you need to understand what "do shell script" does and does not do. "do shell script" takes a string from AppleScript and passes it to a shell interpreter. It does not check in advance that this string makes sense. (That is impossible to do, in fact.) It just passes it along. The shell interpreter then converts the string into a command, or series of commands, and attempts to run them.
    In AppleScript, quotation marks around something make that something a string. So, for example:
    "rm "
    is a string containing a letter r, a letter m, and then a space. Some commands can also return a string, which can then be stored in a named variable, as for example:
    set a_variable to (the text returned of display dialog "Hi!" default answer "Some text")
    When you wish to put two strings together in AppleScript, you use the & operator, as in:
    "String 1" & "String 2"
    In this example, there is no space at the end of the first string, and none at the beginning of the second, so the result is:
    "String 1String 2"
    All clear so far?
    When a shell interpreter attempts to convert a string into commands, it has to split the string into pieces. A space signifies a break between pieces. In order to put a space into a single item, you can do a number of things. You can put the whole item in quotation marks (single or double), which is known as "quoting":
    '/A/Path/With/A Space'
    or you can put a backslash before the space, which is known as "escaping":
    /A/Path/With/A\ Space
    You can combine quoting and escaping if you do it right. For example, the backslash also lets you use a quotation mark inside a single item which is quoted:
    "/A/Path/With/A Space/And/A\"Quotation/Mark"
    There are further rules and substitutions that sometimes border on the arcane.
    In order to simplify things, Apple created the command "the quoted form of". This command takes a string and returns a new string which is properly set up so that it will be just one item when split up for the command line. It will add quotation marks, backslashes, or whatever.
    So, to put things together:
    "rm " & the quoted form of thePath
    is a way of saying to AppleScript "take the string in the variable named thePath, and quote it for the command line; then stick it on the end of a string containing an r, an m, and a space."
    When you pass this to "do shell script", it will break things up in such a way that it hands thePath to the rm command, which will attempt to remove whatever is represented by thePath. (Adding the "-r" in there just tells the rm command "if this is a directory, get rid of it and all its contents". Otherwise rm will complain if the item is a directory.)
    I think, however, you may just have the path wrong. In one of the spots where you gave the POSIX path, it had a backslash (\) at the end instead of a forward slash (/). As Camelot says, a forward slash means that the item is a directory and not a plain file. But if you really meant the backslash, it suggests that the item is a plain file, but has a space at the end (or some other character that mystifies the command line). It's an escape.
    Try making a new script in Script Editor which says
    ">" & (the POSIX path of (choose file)) & "<" at the end, that's the culprit.
    (And if it won't let you select the file when you run the script, it means that the item is actually a folder.)

  • OpenCL include path with spaces

    Hi!
    I tried passing additional include paths to the clBuildProgram(...) function using "-I dir" as given in the specification. This works perfect as long as the directory name given does not contain any spaces. However on some platforms you cannot avoid the path to contain spaces, so the application needs to be able to handle this. Did anybody figure out a way to pass directory names containing spaces in a way that the Apple implementation can handle? The AMD implementation understands using -I "dir". Sadly that syntax will break the Apple implementation. Did you find another way?

    after change the "PATH" on Windows you need to restart the machine.

  • Unable to access files with spaces in the path

    Hi all, I am accessing files which reside on the server using a java applet.
    The typical path of a file could be:
    http://192.168.0.2/agat/data/AF190701 0003.agt
    (not the space in the filename).
    When I try to open this file using a URL object:
    URL file = new URL(filename);
    BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
    I get exception 400 ( I think) whihc I assume is file cant be found.
    However when I rename the file (to get rid of that space) and also change the filename variable to suit. The file is opened as expected.
    What should I do to make the applet able to open paths with spaces? Or is this just not possible.
    I did try including quotes with the special characte precessor:
    filename = "/"http://192.168.0.2/agat/data/AF190701 0003.agt/""
    But this didnt work either, please could someone tell what I need.
    Thanks.

    Thanks guys, although before I got your replies I did the following - it seems to work, but shall try your suggestions.
    while (file.lastIndexOf(" ") >0)
    String temp;
    int num = file.lastIndexOf(" ");
    temp = file.substring(0, num) + "%20" + file.substring(num+1, file.length());
    file = temp;
    }

  • Open a form with space on the path with form builder from a batch

    Hi,
    I cannot open a form from a batch on Windows if the absolute path contains spaces.
    For example, if I try to open a form in "C:\" from cmd with C:\ORANT\bin\ifbld60.exe C:\Form.fmb, I have no problem, if I try to open a form in "C:\Documents and Settings" with C:\ORANT\bin\ifbld60.exe "C:\Documents and Settings\Form.fmb" or C:\ORANT\bin\ifbld60.exe C:\Documents and Settings\Form.fmb, I have some dialog with info and the error FRM-90927 and form builder doesn't start.
    Thank you,
    tom
    Edited by: 912104 on 16-ago-2012 3.17 - title

    Hi,
    >
    I cannot open a form from a batch on Windows if the absolute path contains spaces.
    For example, if I try to open a form in "C:\" from cmd with C:\ORANT\bin\ifbld60.exe C:\Form.fmb, I have no problem, if I try to open a form in "C:\Documents and Settings" with C:\ORANT\bin\ifbld60.exe "C:\Documents and Settings\Form.fmb" or C:\ORANT\bin\ifbld60.exe C:\Documents and Settings\Form.fmb, I have some dialog with info and the error FRM-90927 and form builder doesn't start.
    >
    Why is that you want to open a FMB in Form Builder with a Batch file?
    Is it that your application has only one FMB and that you work with only one FMB all the time?
    Cheers,
    PS: And if you must open the FMB through a batch file then look up the Form Builder Help for "Command Line options". It is an excellent resource.
    Edited by: Prabodh on Aug 16, 2012 3:06 PM

  • How to install JSTL with Tomcat 6.0

    Hi
    I'm trying to install JSTL with tomcat 6.0.
    I did not understand what is the link that I need to use in the following suns website.
    http://java.sun.com/products/jsp/jstl/.
    Could anyone help me with this.
    Thanks in advance

    Hi,
    First you need to add the JSTL jars(jstl-api-x.x.jar and jstl-impl-x.x.jar) to the lib dir under your WEB-INF tomcat dir and then, to use it on a JSP page make sure the follwing line is added before the <HTML> tag.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>There you go. Just enjoy it now.
    Thanks
    Thiago Santana

  • Want to install AS with Forms / Report service?

    Hi
    i want to install AS with Forms / Report service?
    which version of AS i should download
    does forms/ reports service come separately? or with AS
    Thanks for help

    Hi Paul,
    According to your reply, i installed standalone versions of Forms & Reports (10.1.2.0.2)services on Linux suse 9. And it is working fine.
    Now my next requirement is that i want to create three environment on my Linux box dev, test and UAT. this one which i have created before i am using that environment as dev.
    Kindly provide me some direction that how can i create test and UAT environment on same machine which should point to different source files and databses.
    1. Do i need to install again standalone forms/reports services twice? if yes then how can i access them?
    2. Is there any setting in existing OAS configuration which can divert me to different sources and databases. i saw something like this somewhere
    http://oas.com:7777/forms90/f90servlet?config=UAT&userid=cg_am2/training@tardist
    bla bla bla.
    Please help.
    JM

  • I get an error message when installing itunes with windows 8, error message is error occured while attempting to create the directory C:\program file(x86)\common files\apple\mobile device support\sync services\schemas\outlook.syncschema

    I keep getting an error message when installing iTunes with windows 8

    See the second box in Troubleshooting issues with iTunes for Windows updates.
    tt2

  • How should i set the baseURI when a db file path with a space

    if the db file in a path like c:\program file\myapplication,then i set the baseURI dbxml:c:\program file\myapplication ,some exception occur~what should i do ?
    thanks a lot

    The Base URI needs to be a valid URI, which means it cannot include the Windows '\' character at all. In your case, you should be fine using something along the lines of "file:////C:/program file/myapplication"
    (give or take a '/' or two -- I haven't tested this).
    It's a common for BDB XML users to confuse the argument to create/openContainer() (a filesystem path) with the Base URI (a URI). The meanings and requirements are different. The best thing to do is to set and use a container alias (XmlContainer::addAlias()) to use in your queries.
    Regards,
    George

  • Jvm 1.5.0_06 crashing while used in tomcat as service

    ANyone ever seen this one.
    JVM crashes while used by tomcat as service. The crash occurs randomly. In this case while writing an index for lucene. Lucene is used within our jackrabbit application. This crash caused the index en thus the data in jackrabbit to become corrupt. All content of repository was therefor useless.
    Tomcat 5.5.17 is installed on a windows 2003 server.
    Does anyone know the cause of this crash. See hs_errpidx.og file below
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da727b6, pid=1132, tid=1160
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0x1f27b6]
    --------------- T H R E A D ---------------
    Current thread (0x26b175d8): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1160]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x272bf5c4, EBX=0x26dcf1b0, ECX=0x00000000, EDX=0x6db74d28
    ESP=0x26dcf15c, EBP=0x272c1424, ESI=0x272c0d1c, EDI=0x272c0cd8
    EIP=0x6da727b6, EFLAGS=0x00010246
    Top of Stack: (sp=0x26dcf15c)
    0x26dcf15c: 272c0cd8 272c0d1c 6da728bd 272bf5a4
    0x26dcf16c: 272c1424 26dcf1b0 272c1488 00000000
    0x26dcf17c: 272c1424 26dcf280 6da72adf 272c0d1c
    0x26dcf18c: 272c1424 26dcf1b0 26dcf280 272c1424
    0x26dcf19c: 272be300 272c1424 26dcf280 00000000
    0x26dcf1ac: 278b0794 00000000 00000002 276942e0
    0x26dcf1bc: 00000000 6dac5e2f 26dcf280 00000001
    0x26dcf1cc: 0000002e 26dcf3c0 272c1424 6dac5cc7
    Instructions: (pc=0x6da727b6)
    0x6da727a6: 83 78 0c 03 0f 85 87 00 00 00 8b 40 04 8b 48 08
    0x6da727b6: 8b 11 ff 52 28 85 c0 74 78 8b 40 04 8b 08 8b 11
    Stack: [0x26d90000,0x26dd0000), sp=0x26dcf15c, free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x1f27b6]
    Current CompileTask:
    opto:2085 org.apache.lucene.index.IndexReader$1.doBody()Ljava/lang/Object; (99 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x27f95fb8 JavaThread "IndexMerger" daemon [_thread_blocked, id=2588]
    0x2737c618 JavaThread "ObservationManager" daemon [_thread_blocked, id=2584]
    0x279fc6c8 JavaThread "IndexMerger" daemon [_thread_blocked, id=192]
    0x27c40a70 JavaThread "ObservationManager" daemon [_thread_blocked, id=1796]
    0x27c40bf8 JavaThread "File Reaper" daemon [_thread_blocked, id=548]
    0x29488c20 JavaThread "IndexMerger" daemon [_thread_blocked, id=2288]
    0x28b8a008 JavaThread "ObservationManager" daemon [_thread_blocked, id=2268]
    0x27ee5e28 JavaThread "TP-Monitor" daemon [_thread_blocked, id=1392]
    0x29427008 JavaThread "TP-Processor4" daemon [_thread_in_native, id=1208]
    0x27641e50 JavaThread "TP-Processor3" daemon [_thread_blocked, id=1320]
    0x27749e08 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2020]
    0x277de008 JavaThread "TP-Processor1" daemon [_thread_blocked, id=1916]
    0x270005e0 JavaThread "http-8080-Monitor" [_thread_blocked, id=1808]
    0x26bff010 JavaThread "http-8080-Processor25" daemon [_thread_in_native, id=1100]
    0x276345a0 JavaThread "http-8080-Processor24" daemon [_thread_blocked, id=1840]
    0x28e82820 JavaThread "http-8080-Processor23" daemon [_thread_blocked, id=1136]
    0x26bb5848 JavaThread "http-8080-Processor22" daemon [_thread_blocked, id=1452]
    0x26f000c0 JavaThread "http-8080-Processor21" daemon [_thread_blocked, id=1460]
    0x26bb4820 JavaThread "http-8080-Processor20" daemon [_thread_blocked, id=1456]
    0x29617648 JavaThread "http-8080-Processor19" daemon [_thread_blocked, id=296]
    0x28af65d0 JavaThread "http-8080-Processor18" daemon [_thread_blocked, id=300]
    0x291b4790 JavaThread "http-8080-Processor17" daemon [_thread_blocked, id=1660]
    0x28b1a7f0 JavaThread "http-8080-Processor16" daemon [_thread_blocked, id=1340]
    0x28b1a5c8 JavaThread "http-8080-Processor15" daemon [_thread_blocked, id=1076]
    0x276ca838 JavaThread "http-8080-Processor14" daemon [_thread_blocked, id=1332]
    0x291bd6b8 JavaThread "http-8080-Processor13" daemon [_thread_blocked, id=1008]
    0x29657630 JavaThread "http-8080-Processor12" daemon [_thread_blocked, id=1028]
    0x29657408 JavaThread "http-8080-Processor11" daemon [_thread_blocked, id=1764]
    0x290197a8 JavaThread "http-8080-Processor10" daemon [_thread_blocked, id=580]
    0x279d2d50 JavaThread "http-8080-Processor9" daemon [_thread_blocked, id=304]
    0x27557600 JavaThread "http-8080-Processor8" daemon [_thread_blocked, id=204]
    0x27150d60 JavaThread "http-8080-Processor7" daemon [_thread_blocked, id=212]
    0x27150a00 JavaThread "http-8080-Processor6" daemon [_thread_blocked, id=232]
    0x27150740 JavaThread "http-8080-Processor5" daemon [_thread_blocked, id=1980]
    0x29869be8 JavaThread "http-8080-Processor4" daemon [_thread_blocked, id=2004]
    0x29869a60 JavaThread "http-8080-Processor3" daemon [_thread_blocked, id=2044]
    0x298698d8 JavaThread "http-8080-Processor2" daemon [_thread_blocked, id=1992]
    0x290a5ab0 JavaThread "http-8080-Processor1" daemon [_thread_blocked, id=1988]
    0x2926b408 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=1924]
    0x290741e8 JavaThread "RMI TCP Accept-2099" daemon [_thread_in_native, id=1020]
    0x29063df0 JavaThread "GC Daemon" daemon [_thread_blocked, id=1752]
    0x29488228 JavaThread "RMI Reaper" [_thread_blocked, id=1220]
    0x2912dc50 JavaThread "Timer-2" daemon [_thread_blocked, id=692]
    0x274ce768 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=928]
    0x2796ce48 JavaThread "IndexMerger" daemon [_thread_blocked, id=520]
    0x27181e58 JavaThread "Timer-1" daemon [_thread_blocked, id=504]
    0x27546e48 JavaThread "Timer-0" daemon [_thread_blocked, id=484]
    0x274cc618 JavaThread "ObservationManager" daemon [_thread_blocked, id=444]
    0x27469a38 JavaThread "derby.rawStoreDaemon" daemon [_thread_blocked, id=188]
    0x2720ab98 JavaThread "derby.antiGC" daemon [_thread_blocked, id=1432]
    0x26b452d0 JavaThread "Thread-1" [_thread_in_native, id=2016]
    0x26b19750 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1928]
    0x26b183a8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1828]
    =>0x26b175d8 JavaThread "CompilerThread0" daemon [_thread_in_native, id=1160]
    0x26b166a0 JavaThread "AdapterThread" daemon [_thread_blocked, id=1296]
    0x0082f730 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1164]
    0x0082ce90 JavaThread "Finalizer" daemon [_thread_blocked, id=1692]
    0x0082c1f0 JavaThread "Reference Handler" daemon [_thread_blocked, id=460]
    0x003c5a50 JavaThread "main" [_thread_in_native, id=1468]
    Other Threads:
    0x0082a050 VMThread [id=1276]
    0x26b1aa68 WatcherThread [id=2012]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x003c5170/0x0000013c] Threads_lock - owner thread: 0x0082a050
    [0x003c52f0/0x00000178] Heap_lock - owner thread: 0x26bb5848
    Heap
    PSYoungGen total 47936K, used 32542K [0x22f50000, 0x26830000, 0x26830000)
    eden space 38016K, 65% used [0x22f50000,0x2477cbd8,0x25470000)
    from space 9920K, 78% used [0x25e70000,0x2660adc0,0x26820000)
    to space 10112K, 10% used [0x25470000,0x255840c0,0x25e50000)
    PSOldGen total 76800K, used 59040K [0x06830000, 0x0b330000, 0x22f50000)
    object space 76800K, 76% used [0x06830000,0x0a1d8068,0x0b330000)
    PSPermGen total 30080K, used 29859K [0x02830000, 0x04590000, 0x06830000)
    object space 30080K, 99% used [0x02830000,0x04558e70,0x04590000)
    Dynamic libraries:
    0x00400000 - 0x0041b000      C:\Programme\PLM\tomcat\bin\tomcat5.exe
    0x7c920000 - 0x7c9e6000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c915000      C:\WINDOWS\system32\kernel32.dll
    0x77e20000 - 0x77eb3000      C:\WINDOWS\system32\USER32.dll
    0x77bd0000 - 0x77c18000      C:\WINDOWS\system32\GDI32.dll
    0x77f30000 - 0x77fdc000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77c20000 - 0x77cbf000      C:\WINDOWS\system32\RPCRT4.dll
    0x77ec0000 - 0x77f12000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77b70000 - 0x77bca000      C:\WINDOWS\system32\msvcrt.dll
    0x7c9f0000 - 0x7d1fd000      C:\WINDOWS\system32\SHELL32.dll
    0x77340000 - 0x77443000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.1830_x-ww_7AE38CCF\comctl32.dll
    0x6d880000 - 0x6dc31000      C:\Programme\PLM\jdk\jre\bin\server\jvm.dll
    0x76990000 - 0x769be000      C:\WINDOWS\system32\WINMM.dll
    0x6d2f0000 - 0x6d2f8000      C:\Programme\PLM\jdk\jre\bin\hpi.dll
    0x76a60000 - 0x76a6b000      C:\WINDOWS\system32\PSAPI.DLL
    0x76e40000 - 0x76e53000      C:\WINDOWS\system32\Secur32.dll
    0x6d6b0000 - 0x6d6bc000      C:\Programme\PLM\jdk\jre\bin\verify.dll
    0x6d370000 - 0x6d38d000      C:\Programme\PLM\jdk\jre\bin\java.dll
    0x6d6d0000 - 0x6d6df000      C:\Programme\PLM\jdk\jre\bin\zip.dll
    0x6d530000 - 0x6d543000      C:\Programme\PLM\jdk\jre\bin\net.dll
    0x71a10000 - 0x71a27000      C:\WINDOWS\system32\WS2_32.dll
    0x71a00000 - 0x71a08000      C:\WINDOWS\system32\WS2HELP.dll
    0x71930000 - 0x71972000      C:\WINDOWS\system32\mswsock.dll
    0x27b20000 - 0x27b7a000      C:\WINDOWS\system32\hnetcfg.dll
    0x718f0000 - 0x718f8000      C:\WINDOWS\System32\wshtcpip.dll
    0x6d550000 - 0x6d559000      C:\Programme\PLM\jdk\jre\bin\nio.dll
    0x68000000 - 0x6802f000      C:\WINDOWS\system32\rsaenh.dll
    0x76dc0000 - 0x76dea000      C:\WINDOWS\system32\DNSAPI.dll
    0x76e60000 - 0x76e67000      C:\WINDOWS\System32\winrnr.dll
    0x76e00000 - 0x76e2f000      C:\WINDOWS\system32\WLDAP32.dll
    0x76e70000 - 0x76e75000      C:\WINDOWS\system32\rasadhlp.dll
    VM Arguments:
    jvm_args: -Dcatalina.base=C:\Programme\PLM\tomcat -Dcatalina.home=C:\Programme\PLM\tomcat -Djava.endorsed.dirs=C:\Programme\PLM\tomcat\common\endorsed -Xmx512M vfprintf
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\oracle\ora92\jre\1.4.2\bin\client;C:\oracle\ora92\jre\1.4.2\bin;C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 1
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 10:53:00 by "java_re" with MS VC++ 6.0

    This is a known incompatiblitly. See #5 in http://java.sun.com/j2se/1.5.0/compatibility.html

  • Apex Listener/Apache Tomact and filenames with spaces

    I've installed the Apex Listener with Apache Tomcat, and all seems to work fine. Except when I try to do a CSV file data upload via the utilities screen in apex. If the filename/directory path contains spaces, then Apex reports "File Must Be Specified" error - yet if I do this same operation via EPG instead of Tomcat, it works. Are there any restrictions in Tomcat to using spaces??

    Look at this thread. Re: File upload problem
    regards.

  • Deploying servlet on Tomcat using "ant install" not working. Please help.

    Hello. Normally I can find answers by using search, but I can't today for some reason. So please bare with me if this has been mentioned before. I will try to provide as much info as possible so that helping me isn't too much a chore. Thank you.
    I have downloaded and installed the JWSDP 1.3. and Tomcat is running. I am also using Ant 1.5.4 (previous installation - not one included with JWSDP) and modeled my build.xml file after the template provided here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt.
    When I run ant on my respository, everything builds fine. But when I run Ant with the install target, I get the following error:
    BUILD FAILED
    file:C:/owl/build.xml:366: java.io.IOException: Server returned HTTP response co
    de: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fowl&war=file%3A%2F
    %2FC%3A%5Cowl%2Fbuild
    Here is line 366 build.xml:
    localWar="file://${build.home}"/>
    ...which is included in this block for the target "install":
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    When I point my brower to the url located in the error verbose, I get the following:
    FAIL - Encountered exception java.lang.NullPointerException
    I am trying to get my environment set up correctly before I start spending time developing servlets, but I am getting tempted to just develop to servlets and "manually" installing/deploying them either by copying and pasting or by using the Tomcat manager. I would really like to do everything from Ant though if possible. Please help.

    I don't think this is at all correct:
    localWar="file://${build.home}"/>You've got to create a real WAR file - a JAR file with WEB-INF and all its minions inside it:
    http://access1.sun.com/techarticles/simple.WAR.html
    That's the file you need to refer to there. You can manage that with Ant too, of course.
    Here's what my Ant build.xml looks like for Web apps (there's a build-web.properties file that follows):
    build-web.xml
    <project name="Tomcat Build Tasks" default="clean" basedir=".">
        <target name="init-props">
            <tstamp>
                <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />
            </tstamp>
            <filterset id="ant.filters">
                <filter token="DATE" value="${TODAY}" />
                <filter token="TIME" value="${TSTAMP}" />
            </filterset>
            <!-- Load in all the settings in the properties file -->
            <property file="build.properties" />
            <!-- Load in all Tomcat settings in the properties file -->
            <property file="build-web.properties" />
        </target>
        <target name="prepare" depends="init-props">
            <mkdir dir="${war.classes}"/>
            <mkdir dir="${war.lib}"/>       
            <mkdir dir="${manifest}" />
        </target>
        <target name="clean" depends="init-props" description="clean up temporary files">
            <delete file="${project}.war" />   
            <delete dir="${war.root}"/>
            <delete dir="${manifest}" />
        </target>
        <target name="set-tomcat-classpath" depends="prepare">
            <path id="tomcat.class.path">                  
                <fileset dir="${tomcat.home}/bin">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/shared/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/common/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/server/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${ant.home}/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
            </path>              
        </target>
        <target name="create" depends="set-tomcat-classpath" description="create the war file">
            <!-- All files at root level -->       
            <!-- Temporarily put the JSPs at root until you figure this out -->
            <copy todir="${war.root}">
                <fileset dir="${src.jsp}"/>
            </copy>
    <!--
            <copy todir="${war.root}">
                <fileset dir="${src.html}" includes="*.html"/>
            </copy>
    -->
            <copy todir="${war.root}/css">
                <fileset dir="${src.css}"/>
            </copy>
            <copy todir="${war.root}/images">
                <fileset dir="${src.images}"/>
            </copy>
            <copy todir="${war.root}/js">
                <fileset dir="${src.js}"/>
            </copy>
            <!-- All files at the WEB-INF level and below -->       
            <copy todir="${war.web}">
                <fileset dir="${src.etc}" includes="web.xml"/>
            </copy>
            <!-- All files in the CLASSPATH lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${src.lib}" includes="**/*.jar" excludes="**/*-tests.jar, **/junit.jar"/>
            </copy>
            <!-- Put the dispatcher XML in WEB-INF/config -->
            <copy todir="${war.web}/config">
                <fileset dir="${src.etc}" includes="${project}-config.xml"/>
            </copy>
            <!-- Put XSL stylesheets in WEB-INF/xsl -->
            <copy todir="${war.web}/xsl">
                <fileset dir="${src.xsl}" includes="**/*.xsl"/>
            </copy>
            <!-- Put the project JAR file in WEB-INF/lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${deploy}" includes="**/${project}.jar"/>
            </copy>
            <!-- Create the manifest -->
            <buildnumber />
            <manifest file="${manifest}/manifest.mf">
                <attribute name="Implementation-Title"      value="${project}" />
                <attribute name="Built-By"                  value="${user.name}"/>
                <attribute name="Build-Date"                value="${TODAY}" />
                <attribute name="Major-Version"             value="${major}" />
                <attribute name="Minor-Version"             value="${minor}" />
                <attribute name="Build-Number"              value="${build.number}" />
            </manifest>
            <!-- Create the WAR file -->
            <jar jarfile="${project}.war"
                 manifest="${manifest}/manifest.mf">
                <fileset dir="${war.root}"/>
                <metainf dir="${src.etc}" includes="context.xml"/>
            </jar>
        </target>
        <target name="create-tomcat-admin-tasks" depends="set-tomcat-classpath">
    <!--
            <pathconvert targetos="windows" refid="tomcat.class.path" property="converted.class.path" />
            <echo message="CLASSPATH: ${converted.class.path}" />
    -->       
            <taskdef name="install"     classname="org.apache.catalina.ant.InstallTask"     classpath="tomcat.class.path"/>
            <taskdef name="remove"      classname="org.apache.catalina.ant.RemoveTask"      classpath="tomcat.class.path"/>       
            <taskdef name="reload"      classname="org.apache.catalina.ant.ReloadTask"      classpath="tomcat.class.path"/>
            <taskdef name="deploy"      classname="org.apache.catalina.ant.DeployTask"      classpath="tomcat.class.path"/>       
            <taskdef name="undeploy"    classname="org.apache.catalina.ant.UndeployTask"    classpath="tomcat.class.path"/>       
            <taskdef name="start"       classname="org.apache.catalina.ant.StartTask"       classpath="tomcat.class.path"/>       
            <taskdef name="stop"        classname="org.apache.catalina.ant.StopTask"        classpath="tomcat.class.path"/>       
            <taskdef name="list"        classname="org.apache.catalina.ant.ListTask"        classpath="tomcat.class.path"/>       
            <taskdef name="resources"   classname="org.apache.catalina.ant.ResourcesTask"   classpath="tomcat.class.path"/>       
            <taskdef name="roles"       classname="org.apache.catalina.ant.RolesTask"       classpath="tomcat.class.path"/>
        </target>
        <target name="install" depends="create-tomcat-admin-tasks" description="install the war file on Tomcat">
            <install    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="remove" depends="create-tomcat-admin-tasks" description="remove the war file on Tomcat">
            <remove     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="reload" depends="create-tomcat-admin-tasks" description="reload the war file on Tomcat">
            <reload     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="deploy" depends="create-tomcat-admin-tasks" description="deploy the war file on Tomcat">
            <deploy    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="undeploy" depends="create-tomcat-admin-tasks" description="undeploy the war file on Tomcat">
            <undeploy   url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="start" depends="create-tomcat-admin-tasks" description="start an application on Tomcat">
            <start      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"/>
        </target>
        <target name="stop" depends="create-tomcat-admin-tasks" description="stop an application on Tomcat">
            <stop       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="list" depends="create-tomcat-admin-tasks" description="list all applications running on Tomcat">
            <list       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="resources" depends="create-tomcat-admin-tasks" description="list all resources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="data-sources" depends="create-tomcat-admin-tasks" description="list all data sources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        type="javax.sql.DataSource"/>
        </target>
        <target name="roles" depends="create-tomcat-admin-tasks" description="list all user roles on Tomcat">
            <roles      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
    </project>
    build.properties
    # Properties file for setting up an Ant build.xml
    # Project specific items that change each time
    project=api-prototype
    major=1
    minor=0
    version=${major}.${minor}
    jar.name=${project}
    versiondate=${TODAY}
    # Directory structure (these should never change)
    bin=bin
    deploy=deploy
    doc=doc
    manifest=META-INF
    xml=xml
    # Everything under src should come out of a repository
    src=src
    src.bin=${src}/bin
    src.config=${src}/config
    src.data=${src}/data
    src.dtd=${src}/dtd
    src.java=${src}/java
    src.lib=${src}/lib
    src.profile=${src}/profile
    src.properties=${src}/properties
    src.schema=${src}/schema
    src.sql=${src}/sql
    src.templates=${src}/templates
    src.testdata=${src}/testdata
    src.xml=${src}/xml
    src.xsl=${src}/xsl
    # These are created and deleted by Ant each time
    javadocs=javadocs
    reports=reports
    output=output
    output.classes=${output}/classes
    output.lib=${output}/lib
    # Required for proper use of XDoclet
    xdoclet.home = C:/Tools/xdoclet-1.2b3
    build-web.properties
    war.root=war-root
    war.pages=${war.root}/pages
    war.web=${war.root}/WEB-INF
    war.classes=${war.web}/classes
    war.css=${war.web}/css
    war.js=${war.web}/js
    war.lib=${war.web}/lib
    war.tld=${war.web}/tld
    # Properties needed by Tomcat tasks
    ant.home =
    tomcat.home         =
    tomcat.manager.url  = http://localhost:8080/manager
    tomcat.username     =
    tomcat.password     = MOD

Maybe you are looking for

  • Calling web service in Offline adobe form

    Hi all, I have created webservice in backend system and have see it in SOA Manager. Have set the HTTP authentication as UserID/Password for the defiend service via SOA Manager. I am using the wsdl of the webservice created from "Open WSDL document fr

  • My main inbox appears to be archive mail

    my main mailbox is now archiev mail

  • How to understand Permission level SoD analysis reports?

    Hi , We would like to confirm whether our understanding is correct in analysing the SoD analysis reports at Permission Level Below is an example on how functions are configured at permission level Under Function 0C0004 we have t-code as below VA01 -

  • Issue with PXI 6528 test panels

    We are using a real time 8106 controller in a PXI rack with some 6528 digital I/O boards. We have loaded all necessary drivers to the system and can see the cards in Max but are unable to run Test panels as the options to set the port bit states are

  • Oracle Data Mining

    Hello, Does anyone know if Oracle 9i Data Mining is compatible with the Oracle 8i Database? Do I have to upgrade the DB to 9i to use the DM software?