Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 11th, 2007, 11:54 PM
Registered User
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Alex D
Default create a Virtual Directory - beginner question

hi mates,

i need to create a virtual directory in Apache Tomcat/6.0.13 in my local PC and getting an error.

the "context path" should be something like "/directory1/directory2" and the "directory URL" is "C:"

i tried with "/directory1" and "C:" and it works a charm - but when i try with "/directory1/directory2", i get an error saying:

"FAIL - Failed to deploy application at context path /directory1/directory2"

it seems like the double slash syntax (/.../...) is not correct for some reason, but the software installation manual (for a product called Cognos 8) suggests it should go that way...

can you help me with this?

thank you!




Alex D - Sydney
 
Old June 19th, 2007, 08:52 AM
Registered User
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi can you solve my this problem?

Hi All,
  My application is for multiple users.
 There are 5 different coppies of application with 5 different databases. I am trying to create one unique ID accross all application and databases.
  I am reading the values from from all 5 databases and creating ID.
So its is working for single application.
But when 2 or more user try to add entry with unique ID at the same time,then prob occures.
So how to make servlet single threaded?
 Actually my code is scattered among 2 servlet and 2 more java files.
So I can't even use lock and unlock tables. becoz getting and closing the connection is at one place and the need is at some other place.

Can somebody tell what to do?

Make Problem solving Fun





Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not create virtual directory for Ch 16 folder cJeffreywang BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 2 February 16th, 2008 09:34 PM
Virtual Directory MeenaG BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 December 2nd, 2006 01:48 PM
Virtual Directory kristina BOOK: Beginning ASP 3.0 1 April 22nd, 2005 09:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.