BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can i disable debugjsp servlet-mapping?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
tigerchamp
Guest





PostPosted: Tue Aug 17, 2004 8:51 am    Post subject: Can i disable debugjsp servlet-mapping? Reply with quote



hi,who can tell me how can i make this functionality disable in JB9? Because
every time when i deploy my war file to tomcat4, this servlet-mapping in
web.xml will make tomcat report error and *.jsp can not be access! Remember
to erase it manually is boring.

who can help me ,thanks in advance.


Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Tue Aug 17, 2004 4:39 pm    Post subject: Re: Can i disable debugjsp servlet-mapping? Reply with quote



tigerchamp wrote:

Quote:
hi,who can tell me how can i make this functionality disable in JB9? Because
every time when i deploy my war file to tomcat4, this servlet-mapping in
web.xml will make tomcat report error and *.jsp can not be access! Remember
to erase it manually is boring.

Perhaps I'm wrong, but that mapping should not be there
unless you are actually running your Web app in debug
mode.

Try this. Open the web.xml file in the editor. Do
a Web Debug (make a runtime configuration for your
Web app, and run it in debug mode), and watch the
web.xml file change before your eyes. JBuilder will
add the "debugjsp" mapping. Now, terminate your
Web Debug session and that mapping should disappear.

My guess is that you are archiving your Web app
while you are debugging it. If so, avoid doing
this.


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Back to top
tigerchamp
Guest





PostPosted: Mon Aug 23, 2004 2:40 am    Post subject: Re: Can i disable debugjsp servlet-mapping? Reply with quote




"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> ????
news:412234bc$1 (AT) newsgroups (DOT) borland.com...
Quote:
My guess is that you are archiving your Web app
while you are debugging it. If so, avoid doing
this.


Thanks for your answer, but this is not my case.
In my JB9, when the web application begin to run, the 'debugjsp' servlet
will be added.

But in my project properties setting, I disabled the option of "Check JSPs
errors at build-time" at Build tab. Because this option makes building
process too longer.

is this the problem?



Back to top
Paul Furbacher [TeamB]
Guest





PostPosted: Tue Aug 24, 2004 10:48 pm    Post subject: Re: Can i disable debugjsp servlet-mapping? Reply with quote

tigerchamp wrote:

Quote:
"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> ????
news:412234bc$1 (AT) newsgroups (DOT) borland.com...

My guess is that you are archiving your Web app
while you are debugging it. If so, avoid doing
this.

Thanks for your answer, but this is not my case.
In my JB9, when the web application begin to run,
the 'debugjsp' servlet will be added.

I believe that's exactly what I wrote: when you run
your Web app project, JBuilder adds that servlet. When
you terminate the debug session, JBuilder removes
it. If you are getting that in your deployment,
it seems quite logical to posit that you are
deploying *when* you run the project. That means
that you probably have the "Build Web archive"
set to "When building project or module": under
such a condition, when you run the project you
are deploying your WAR, and you indeed will have
"debugjsp" in its web.xml file. Please, before
going any further, investigate this on your own:
right-click on your Web Module, flip to the "Build"
page, and look at that setting. Then think through
the implications.


Quote:
But in my project properties setting,
I disabled the option of "Check JSPs
errors at build-time" at Build tab.
Because this option makes building
process too longer.

You are right that it makes the process
longer. However, as far as I know, this has
nothing to do with putting the "debugjsp" into
the web.xml file. The only condition in which
the "debugjsp" is present in the web.xml is when
a Web app is running in JBuilder.

Apparently, if "debugjsp" is still there after
you terminate the running Web app, something very
odd, and a bit abnormal, is happening. I cannot
reproduce such a situation ... and I've tried
while trying to handle your situation in
this thread. The only way I think you could
possibly end up with debugjsp in your web.xml
file would be to kill JBuilder outright without
terminating the Web app session first.
Maybe that's what happened to you?


--


Paul Furbacher (TeamB)

Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.

Back to top
tigerchamp
Guest





PostPosted: Wed Aug 25, 2004 1:11 am    Post subject: Re: Can i disable debugjsp servlet-mapping? Reply with quote

Thanks very much!
You are right. That's exactly what you said,when I stop the web run session,
JB removed this 'debugjsp'.
Now I have set the option to "Never" in development, and only enable it
before the final build.

You are so kind, and I appreciate your help.

"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> ????
news:412bc5d5$1 (AT) newsgroups (DOT) borland.com...
Quote:
tigerchamp wrote:

"Paul Furbacher [TeamB]" <pfurbacher (AT) mac (DOT) com> ????
news:412234bc$1 (AT) newsgroups (DOT) borland.com...

My guess is that you are archiving your Web app
while you are debugging it. If so, avoid doing
this.

Thanks for your answer, but this is not my case.
In my JB9, when the web application begin to run,
the 'debugjsp' servlet will be added.

I believe that's exactly what I wrote: when you run
your Web app project, JBuilder adds that servlet. When
you terminate the debug session, JBuilder removes
it. If you are getting that in your deployment,
it seems quite logical to posit that you are
deploying *when* you run the project. That means
that you probably have the "Build Web archive"
set to "When building project or module": under
such a condition, when you run the project you
are deploying your WAR, and you indeed will have
"debugjsp" in its web.xml file. Please, before
going any further, investigate this on your own:
right-click on your Web Module, flip to the "Build"
page, and look at that setting. Then think through
the implications.


Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html

Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html

Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.