Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 24th, 2007, 4:17 PM   #1
paulchwd
Hobbyist Programmer
 
paulchwd's Avatar
 
Join Date: Mar 2005
Posts: 139
Rep Power: 4 paulchwd is on a distinguished road
Question servlet

Hello i just changed my servlet to be packaged, and i added a servlet mapping in the web.xml file (i am using Apache 5.9 that comes bundled with netbeans)

i added

<servlet> 
    <servlet-name>addInvoice</servlet-name></servlet-name> 
    <servlet-class>invoice.CustomQuery2</servlet-class> 
</servlet> 

<servlet-mapping> 
    <servlet-name>addInvoice</servlet-name> 
    <url-pattern>/addInvoice</url-pattern> 
</servlet-mapping>

between the <web-app> tags and i get this error when i try to deploy:


FAIL - Failed to deploy application at context path /invoicer

FAIL - Failed to deploy application at context path /invoicer
C:\java\invoice\proj\nbproject\build-impl.xml:408: Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 0 seconds)


when i click the link it gives me it brings up the build.xml file and highlights this line:

<nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>

saying "Deployment error"

Thanks and any ideas?
paulchwd is offline   Reply With Quote
Old Jun 25th, 2007, 9:02 AM   #2
tsofras
Programmer
 
tsofras's Avatar
 
Join Date: Jul 2005
Location: Athens,Greece
Posts: 39
Rep Power: 0 tsofras is an unknown quantity at this point
what about your context.xml file?
tsofras is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Loggers in the same Servlet.... tsofras Java 0 May 31st, 2007 10:40 AM
jsp and java servlet cairo Java 5 May 31st, 2007 2:05 AM
[java] servlet and mysql problem C41R0 Java 4 Oct 12th, 2006 1:09 AM
jsp & servlet tutorials bae Java 1 Feb 10th, 2006 11:41 PM
Cant connect servlet to MySQL DB BizzyC Java 0 Mar 8th, 2005 10:01 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:43 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC