Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 12th, 2007, 12:54 AM
Registered User
 
Join Date: Jun 2007
Location: sydney, nsw, Australia.
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
__________________
Alex D - Sydney
Reply With Quote
  #2 (permalink)  
Old June 19th, 2007, 09:52 AM
Registered User
 
Join Date: Jun 2007
Location: Mumbai, Maharashtra, India.
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10:49 AM



All times are GMT -4. The time now is 07:51 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.