debugging tomcat itself with netbeans

2005-06-22 Thread Hernan Ochoa
Hi all,

I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck.
I'm able to attach to a running instance of tomcat using JPDA, but
then my breakpoints are activated erraticaly.

Did someone try this before?
These are the things I did:

-compiled tomcat 5.5.9 with a build.properties file containing:
compile.debug=on
compile.deprecation=off
compile.optimize=off
debuglevel="lines,vars,source"
-I added all .java files into a new netbeans project (I created a new
project with the option "new project with existing java source files"
or sthg like that)
-I run tomcat using the command /bin/catalina.sh jpda start
-I attach to the instance of tomcat running with netbeans
-I set the breakpoints by toggling them into the .java source files I
added on netbeans. Sometimes I do this from the Files window, and
sometimes from the Projects windows. Here I'm not sure what's the
right way to go.

Any help with this would be much appreciated.
If anyone has sucessfully debugged tomcat with another debugger,
please let me know also.

Thanks in advance.
bye!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



debugging tomcat itself with netbeans

2005-06-21 Thread Hernan Ochoa
Hi all,

I'm trying to debug tomcat itself v5.5.9 using netbeans 4.1 without much luck.
I'm able to attach to a running instance of tomcat using JPDA, but
then my breakpoints are activated erraticaly.

Did someone try this before? 
These are the things I did:

-compiled tomcat 5.5.9 with a build.properties file containing:
compile.debug=on
compile.deprecation=off
compile.optimize=off
debuglevel="lines,vars,source"
-I added all .java files into a new netbeans project (I created a new
project with the option "new project with existing java source files"
or sthg like that)
-I run tomcat using the command /bin/catalina.sh jpda start
-I attach to the instance of tomcat running with netbeans
-I set the breakpoints by toggling them into the .java source files I
added on netbeans. Sometimes I do this from the Files window, and
sometimes from the Projects windows. Here I'm not sure what's the
right way to go.

Any help with this would be much appreciated.
If anyone has sucessfully debugged tomcat with another debugger,
please let me know also.

Thanks in advance.
bye!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



I can´t instace a servlet why?

2005-03-05 Thread Hernan
Title: Mensaje



Hi
I`m try to make a 
jsp, which call a servlet, but when I push the submit button 

the iexplorer 
response me "I cannot found the page".
This is the 
enviroment:
    Apache Tomcat/5.0.13
    IE 6.0.2800.1106
 
If I introduce 
inside the admin page of Tomcat, I see my site (ready to use, I 
guess)
Which changes I 
should be do?
I send you the site 
zipped into the mail, it´s very simple, to be more 
ilustrative.
 
Excusme for my 
English please, I´m Argentine
 
 
Thank you very 
much
 
Hernán D. 
Pezzano
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

I can´t make work my servlet

2005-03-02 Thread Hernan
Title: Mensaje



Hi, 
everyone
I´ve a serius 
problem to call the servlet.
This is my first 
implementation, and I cannot make the servlet work.
I send you the code 
(ziped), it´s very simple, but I don´t know if the web.xml is well 
done.
Thanks for 
everything
 
Hernán D. 
Pezzano
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Configuration

2005-02-28 Thread Hernan Pezzano
Hi, 
I can´t instance a servlet from a jsp. I have the servlet under web-inf folder, 
and de jsp as same as web-inf level. I call to servlet with 
ACTION="ServletInfo" after I press the SUBMIT button inside de jsp. it´s ok 
isn´t it?
The result of the browser when I press SUBMIT is "the page cannot be found"
 
I´m using Tomcat 5.0
 
Thanks very much
 
Hernán.


-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí