How to run different versions of Apache Tomcat on one machine?

Hi, I am developing a web application. My application runs on Apache Tomcat 5.5.12 and i am using jdk 1.5_03. My application detects files that are automatically scanned to a specific directory and queues them for capture in a database.
The scanner software (HP Toolbox) is also a web application (Unfortunately), it installs itself with Apache Tomcat 4.03. It is "wired" in a specialised way (not the way you would usually deploy web apps). So the Web server is customised by HP (Hewlett-Packard).
The scanner needs this software running inorder to automatically scan to a specified folder. You can only specify local directories to scan to from the Toolbox application
There seems to be some resource conflict when I run my version of Tomcat when the Toolbox application is running (I get an exception
..IllegalMonitorState...current thread not owner). Visa vera is alos true..if i start my application first the Toolbox application won't run.
I tried to install the Toolbox app on another machine and monitor a directory remotely...this doesn't work because you can't read or write to remote files from a servlet or JSP.
I tried loading my application in the web apps directory of Apache 4.03 but it did not detect my application. I don't know how to configure the Tomcat customised by HP.
How can i go about this problem? Is there a way of running two versions of Apache Tomcat on one machine?
Thanks
Parthiv

This is the exception i get when i try to run my version of Apache Tomcat when the Toolbox is running: My application is set to port 80.
Exception in thread "http-80-1" java.lang.IllegalMonitorStateException: current thread not owner
     at java.lang.Object.notifyAll(Native Method)
     at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1216)
     at java.lang.Thread.run(Unknown Source)

Similar Messages

  • How to run jsp file in Apache Tomcat 5.0?

    hi,
    i'm using jdk1.5,jsp1.2 & Apache Tomcat 5.0 as a web server.in my application i have 2 jsp files,1 html file & 1 javabean class.where i must place the html,jsp files and the .java file & .class file for a bean class.how to run this application.
    bean class:
    public class Userdata {
    private String username;
    private String email;
    private int age;
    public void setUsername( String value )
    username = value;
    public void setEmail( String value )
    email = value;
    public void setAge( int value )
    age = value;
    public String getUsername() { return username; }
    public String getEmail() { return email; }
    public int getAge() { return age; }
    getname.html file:
    <HTML>
    <BODY>
    <FORM METHOD=POST ACTION="Savename.jsp">
    What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR>
    What's your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR>
    What's your age? <INPUT TYPE=TEXT NAME=age SIZE=4>
    <P><INPUT TYPE=SUBMIT>
    </FORM>
    </BODY>
    </HTML>
    savename.jsp file:
    <jsp:useBean id="user" class="Userdata" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <HTML>
    <BODY>
    Continue
    </BODY>
    </HTML>
    nextpage.jsp file:
    <jsp:useBean id="user" class="Userdata" scope="session"/>
    <HTML>
    <BODY>
    You entered<BR>
    Name: <%= user.getUsername() %><BR>
    Email: <%= user.getEmail() %><BR>
    Age: <%= user.getAge() %><BR>
    </BODY>
    </HTML>
    refer these source code and plz,give the result at the earliest.
    whether i want to write a web.xml file for this jsp file.
    if yes,means plz present the web.xml file for this application.
    plz,if anybody knows give me detailed description for this application.

    create a dir under webapps dir
    place your .html and .jsp files here
    also create WEB-INF dir here
    Under WEB-INF create classes and lib dir
    under classes dir put your .class file
    You also need to put web.xml under your WEB-INF dir.
    You ca keep your java file any where u want on your computer.

  • How can I run two instances of apache tomcat in the same machine.

    Hi
    Can I run 2 instances of apache tomcat in the same machine.If yes then how.?

    Yes, you can. Just run 2 instances. Make sure that they run on different ports.

  • How to maintain different versions of XI mapping in TPZ file ?

    How to maintain different versions of TPZ file ? Does any one have any idea ? Do we create a new software component for an upgraded version of mapping  or just creating a new namespace in the earlier software component would suffice ?
    Thanks,
    Nivedita

    please visit the blog
    /people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview

  • How to run evaluation version of PQA (picture quality analysis)

    Hi, I downloaded the PQA software. I just want to run it in evaluation mode before decide to purchase. Could you tell me how to run evaluation version? Thanks,

    Hi testpqa,
    It should prompt you to put in a serial number or allow you to continue in evaluation mode for 30 days. I recommend looking in the "readmeNIPQA.html" file from the download to make sure you made the correct order of installation, and then you should able to run for 30 days just fine.
    Let me know if you are still having problems. Best of luck!
    Regards,
    Nathan B
    Applications Engineer
    National Instruments

  • How to run two versions of dreamweaver at the same time

    How to run two versions of any dreamweaver at the same time?
    There must be a way to do this.

    east99 wrote:
    > How to run two versions of any dreamweaver at the same
    time?
    > There must be a way to do this.
    Yes, there is: on two separate computers.
    You cannot run two versions of Dreamweaver simultaneously on
    the same
    computer. They can coexist side by side, but the operating
    system will
    not let you run them together.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Latest versions of Apache/Tomcat for BO65SP3

    What are the latest versions of Apache/Tomcat that can be used with Business Objects 6.5 sp3 i.e. are particular Apache/Tomcat versions bundled with a Business Objects release
    We have had doubts cast over the security features of the versions of Apaceh/Tomcat we use and need to know whether we can use later versions of Apache/Tomcat, whilst retaining existing version of Business Objects 6.5.3 ?

    bundled with Tomcat 5.5.25
    Supported with up to Tomcat 6.0.18
    check this doc :http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4079f8f6-2b49-2d10-d790-bc596012dc25

  • Installation of different versions of GUI clients on same machine

    Hi All,
    Is there any document about how to install different versions of MDM GUI clients on same Machine.
    we have different version of MDM server in Sandbox and Developement environment. I know we can install different versions of GUI Clients by specifying different locations. But i am looking for some standard document / SAP note. Please if anyone has this information, it will be very helpful.
    Thanks and Regards,
    Shiv

    Hi Shiv,
    You can find this information regarding different Version of GUI Clients on same machine from Standard SAP Installation Guide on Page 51
    5.1 Maintaining Multiple Versions of MDM it tells that you can install multiple versions of MDM 5.5 on one host and switch between the versions.This may be useful, for example, when updating the patch level.
    Please refer to SAP Installtion guide,
    https://websmp201.sap-ag.de/~sapidb/011000358700001119842007E
    Also Check SAP Note: 1283687
    Best Regards,
    Mandeep Saini

  • How to check which version of Jdk installed on the machine?

    How to check which version of Jdk installed on the machine?
    & Which version of Oracle Insatlled on my machine?

    String version = System.getProperty("java.version"); %

  • Running two different versions of mac os on  same  machine

    I have canon software that only works in 10.4 wheras I'm on 10.5. Initially I was thinking I could use bootcamp to install 10.4 on the same machine and run the software but then I heard about paralels and thought I might be able to do this. Can I run two different versions of mac osx on the same machine, and if so how easy is it to switch between versions?? Thank you!!

    tmx3 wrote:
    Cool, thanks very much for the advice. If I am running 10.4 on an external is there anything I should bear in mind? Size wise what are the considerations?
    I have 10.4.11 running on a small partition on my TM drive on each of my MBPS. They were and are my Tiger backups when I first installed Leopard. They run, I update them and occasionally use them.
    Just hold down Option key on boot and the Tiger OS shows up. They are clones, created with SuperDuper. CCC works equally as well.

  • How to add different versions of layout in XML Publisher Report?

    How to add two versions of layout(RTF) for different languages in xml publisher report template so that user can see the report in two languages? Is that possible?
    If so then what is the procedure to do that? Can anyone help in this regard?

    Soma,
    Refer to [Oracle XML Publisher User Guide|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115xdoug.zip] manual, Page 5-8 Adding Localized Templates for Additional Languages.
    Regards,
    Hussein

  • How to determine different versions 7950 Twin Frozr?

    Hi all,
    I have got myself an MSI 7950 Twin Frozr and I am really happy with it thus far. I had a question though, in time I want to get a second one for crossfire and I read that there are different versions. A OC version, a BE version, a V2, with a 7950 board, a 7970 board etc. How can I determine which one I got so my second card will be the same?
    Many thanks in advance!

    I have got the 7950 OC Boost edition, apparently on a 7970 board (it has a 6 pin and 8 pin connector). Do all the OC BE editions have a 7970 board, and if not, would it be a problem if I pare the 7970 one with one with a 7950 board?

  • Versioned deployments: how to deploy different version of the same app ?

    I 'd like to deploy on a server (single instance) different versions of the same web application, say:
    webapp1.war
    webapp2.war
    webapp3.war
    The wars have the same ContextRoot.
    It is possible to version them with an attribute in MANIFEST.MF, but is it possible to have the N applications ACTIVE and running ? I'd like that one IP will be served from webapp1, another IP from webapp2, another IP from webapp3, etc.

    It may your 'requirement' but I have serious doubts that the app review team will approve it. Save yourself the waste of time and follow my original suggestion of one app. That's the only correct 'method' (w/IAP of course) that will have a chance of success.
    See the iOS Human Interface Guidelines and the App Review Guidelines before you go any further. In the case where you need 'official' guidance, consider using support event w/DTS

  • Can we have two clusters in same domain running different versions of WLS

    I have not tested this yet but was looking for help from people who might have done this already.. Is it possible to have this scenario:
              create two independent clusters, say C1 and C2 as part of a single domain D. C1 has 2 managed servers running WLS8.1 and C2 has 2 managed servers running WLS7.0
              Can this be done?
              Thanks,
              Raghu

    It is definetely inviting for trouble.
              We can have two clusters from same version of weblogic server within a domain.
              If we have a WLS8.1 domain, the managed servers that we create from that domain should be from WLS8.1.
              As far I remember, its not a supported configuration to have different versions(major versions) of Admin and managed servers.
              -Vijay

  • Possible to run different versions of OSX on same internal HD in iMac?

    Hi All,
    I am a Pro Tools user, and Pro Tools is usually many weeks/months behind in supporting the latest builds of OSX. So while the rest of my computing needs would benefit from immediate upgrade when the newest OSX build is out (i.e. better network performance, security enhancements, etc.) I'm often warned by Digidesign not to upgrade until they've certified Pro Tools works with the newest build.
    So I want to buy an iMac with a large hard drive, and I'm wondering if this is possible: can I partition that hard drive and run 2 versions of OSX on it? Initially they'll be the same build (10.5.5 or .6 whichever it comes with) but on one partition will be all of my programs minus Pro Tools, the other one will only have Pro Tools. I'll upgrade one partition regularly to the newest version, but keep the other partition to the last approved OSX build by Digidesign.
    Is such a thing possible? How would I choose to boot from the other partition, by holding ALT at startup just like I do when I want to boot from an external firewire HD? Would I have to buy a second license of OSX?
    Thanks!

    A new mac, that came with leopard won't be able to boot to 10.4.11. You will be able to view the files on the external, but many programs when opened, e.g. address book, will say that they are not supported on this architecture.
    ADW wrote:
    (including Classic OS 9)
    If this is a separate partition that has an install of OS 9, you will not be able to boot from it. Again, you will be able to view files and even fewer (if any) files will be supported. If you have used an app like monoligual to remove old architecture support then you definitely won't be able to run the apps.
    I have little experience with OS 9.
    If OS 9 is not on a separate partition then I am not quite sure what you mean.
    Regards

Maybe you are looking for

  • How can we select the highest value from 3 disfferent #defined values???

    Hello, Sometimes I come across the requirement of having the program automatically select the highest value among several defined preprocessor command statements. For example: #include "stdio.h" #include <math.h> #define _K_BUF_OTHERS 20 #define _k_B

  • Error while using APEX_ITEM.TEXTAREA()

    Hello All I am using Apex, quite a few days now, but had a problem with APEX_ITEM.TEXTAREA. When I input more than 2000 characters in my Textarea it is giving an error of 404 as follows: Not found The requested URL /apex/wwv_flow.accept was not found

  • How to change color of tables and regions in OA Framework pages

    Dear all I want to change colour of tables and regions of oracle standard pages.One way to do it is that I can add code for tables and regions CSS definitions in for each page in correspoding CO,which is not feasible since we have large number of COs

  • Message popup timeout reached or button pressed?

    I have a Message Popup with one button.  This button is also set up to be the Timeout Button.  If I press the button, RunState.Sequence-.Result.ButtonHit is set to 1.  Alternately, if I allow the timeout to be reached, Result.ButtonHit is also set to

  • Actvity type in work center

    I assign cost center the activity type in kp26 In work center when i a assign the cost center not automatically seen in the activity type tab In the order creation when is assign work center am not able to see activity type in the bottom Where to do