DEBUG JSP

2003-02-20 Thread João Augusto Charnet
Hello.
I'd like to know if any one has actually been able to configure Tomcat 
to debug JSP, and not just Servlets or other Java Classes?
Everybody that helped so far gives me some intruction but tells me that 
they have not tested the instructions. I've done everything I've found 
about this topic.
Switched to OJSP (Oracle JSP compiler) and still got nothing.
I'd like to know if any one DID configure tomcat and TESTED it to Debug JSP.

Thanks a lot...
Sincerely,
John


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



RE: DEBUG JSP

2003-02-20 Thread Edson Alves Pereira
Hey João, always i debug my JSP pages with remote debugging and only
calling to JSP´s name that Tomcat create in the work directory.

 --
 De:   João Augusto Charnet[SMTP:[EMAIL PROTECTED]]
 Responder:Tomcat Users List
 Enviada:  quinta-feira, 20 de fevereiro de 2003 8:35
 Para: Tomcat Users List
 Assunto:  DEBUG JSP
 
 Hello.
 I'd like to know if any one has actually been able to configure Tomcat 
 to debug JSP, and not just Servlets or other Java Classes?
 Everybody that helped so far gives me some intruction but tells me that 
 they have not tested the instructions. I've done everything I've found 
 about this topic.
 Switched to OJSP (Oracle JSP compiler) and still got nothing.
 I'd like to know if any one DID configure tomcat and TESTED it to Debug
 JSP.
 
 Thanks a lot...
 Sincerely,
 John
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



RE: DEBUG JSP

2003-02-20 Thread Barney Hamish
If your JSPs are so complicated that you need a debugger then I would
seriously consider cutting out some of your java code and putting it into
java beans that you access from your JSPs. 

It's much better practice to have JSPs that are only responsible for the
view.
Hamish

 -Original Message-
 From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 12:35 PM
 To: Tomcat Users List
 Subject: DEBUG JSP
 
 
 Hello.
 I'd like to know if any one has actually been able to 
 configure Tomcat 
 to debug JSP, and not just Servlets or other Java Classes?
 Everybody that helped so far gives me some intruction but 
 tells me that 
 they have not tested the instructions. I've done everything 
 I've found 
 about this topic.
 Switched to OJSP (Oracle JSP compiler) and still got nothing.
 I'd like to know if any one DID configure tomcat and TESTED 
 it to Debug JSP.
 
 Thanks a lot...
 Sincerely,
 John
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

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




Re: DEBUG JSP

2003-02-20 Thread João Augusto Charnet
I understand your concern, and my JSP are not that complicated that need 
to be put in any kind of Java Beans.
But I still want to be able to Debug JSP through Tomcat.

Thanks for the tip.


John.

Barney Hamish wrote:

If your JSPs are so complicated that you need a debugger then I would
seriously consider cutting out some of your java code and putting it into
java beans that you access from your JSPs. 

It's much better practice to have JSPs that are only responsible for the
view.
Hamish

 

-Original Message-
From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 12:35 PM
To: Tomcat Users List
Subject: DEBUG JSP


Hello.
I'd like to know if any one has actually been able to 
configure Tomcat 
to debug JSP, and not just Servlets or other Java Classes?
Everybody that helped so far gives me some intruction but 
tells me that 
they have not tested the instructions. I've done everything 
I've found 
about this topic.
Switched to OJSP (Oracle JSP compiler) and still got nothing.
I'd like to know if any one DID configure tomcat and TESTED 
it to Debug JSP.

Thanks a lot...
Sincerely,
John


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

   


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



 





RE: DEBUG JSP

2003-02-20 Thread Edson Alves Pereira
First tell me, do you know remote debugging, that´s the way do do
this. After you can create a break point like:

stop at teste_jsp:48

Use JAVA_OPTS make Tomcat run in remote debug mode.

 --
 De:   João Augusto Charnet[SMTP:[EMAIL PROTECTED]]
 Responder:Tomcat Users List
 Enviada:  quinta-feira, 20 de fevereiro de 2003 10:49
 Para: Tomcat Users List
 Assunto:  Re: DEBUG JSP
 
 I understand your concern, and my JSP are not that complicated that need 
 to be put in any kind of Java Beans.
 But I still want to be able to Debug JSP through Tomcat.
 
 Thanks for the tip.
 
 
 John.
 
 Barney Hamish wrote:
 
 If your JSPs are so complicated that you need a debugger then I would
 seriously consider cutting out some of your java code and putting it into
 java beans that you access from your JSPs. 
 
 It's much better practice to have JSPs that are only responsible for the
 view.
 Hamish
 
   
 
 -Original Message-
 From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 12:35 PM
 To: Tomcat Users List
 Subject: DEBUG JSP
 
 
 Hello.
 I'd like to know if any one has actually been able to 
 configure Tomcat 
 to debug JSP, and not just Servlets or other Java Classes?
 Everybody that helped so far gives me some intruction but 
 tells me that 
 they have not tested the instructions. I've done everything 
 I've found 
 about this topic.
 Switched to OJSP (Oracle JSP compiler) and still got nothing.
 I'd like to know if any one DID configure tomcat and TESTED 
 it to Debug JSP.
 
 Thanks a lot...
 Sincerely,
 John
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
   
 
 
 



RE: DEBUG JSP

2003-02-20 Thread Randy Paries
Not sure what ide you are using, but with intellij by idea you can debug
jsp's with tomcat and remote debug

It works very well

RP

-Original Message-
From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 8:54 AM
To: 'Tomcat Users List'
Subject: RE: DEBUG JSP


First tell me, do you know remote debugging, that´s the way do
do this. After you can create a break point like:

stop at teste_jsp:48

Use JAVA_OPTS make Tomcat run in remote debug mode.

 --
 De:   João Augusto Charnet[SMTP:[EMAIL PROTECTED]]
 Responder:Tomcat Users List
 Enviada:  quinta-feira, 20 de fevereiro de 2003 10:49
 Para: Tomcat Users List
 Assunto:  Re: DEBUG JSP
 
 I understand your concern, and my JSP are not that complicated that 
 need
 to be put in any kind of Java Beans.
 But I still want to be able to Debug JSP through Tomcat.
 
 Thanks for the tip.
 
 
 John.
 
 Barney Hamish wrote:
 
 If your JSPs are so complicated that you need a debugger then I would

 seriously consider cutting out some of your java code and putting it 
 into java beans that you access from your JSPs.
 
 It's much better practice to have JSPs that are only responsible for 
 the view. Hamish
 
   
 
 -Original Message-
 From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 12:35 PM
 To: Tomcat Users List
 Subject: DEBUG JSP
 
 
 Hello.
 I'd like to know if any one has actually been able to
 configure Tomcat 
 to debug JSP, and not just Servlets or other Java Classes?
 Everybody that helped so far gives me some intruction but 
 tells me that 
 they have not tested the instructions. I've done everything 
 I've found 
 about this topic.
 Switched to OJSP (Oracle JSP compiler) and still got nothing.
 I'd like to know if any one DID configure tomcat and TESTED 
 it to Debug JSP.
 
 Thanks a lot...
 Sincerely,
 John
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
   
 
 
 



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




Re: DEBUG JSP

2003-02-20 Thread João Augusto Charnet
I'm using JDeveloper 9i as my IDE. I can attach to tomcat's Debugger 
port through JDeveloper, and my breakpoints only works in my classes. In 
my JSP it does not work. Could it bem some option on the JAVA_OPTS ?
Where could I get the complete reference for the options in JAVA_OPTS ?

Thanks again ...

John

Randy Paries wrote:

Not sure what ide you are using, but with intellij by idea you can debug
jsp's with tomcat and remote debug

It works very well

RP

-Original Message-
From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 8:54 AM
To: 'Tomcat Users List'
Subject: RE: DEBUG JSP


	First tell me, do you know remote debugging, that´s the way do
do this. After you can create a break point like:

	stop at teste_jsp:48

	Use JAVA_OPTS make Tomcat run in remote debug mode.

 

--
De: 	João Augusto Charnet[SMTP:[EMAIL PROTECTED]]
Responder: 	Tomcat Users List
Enviada: 	quinta-feira, 20 de fevereiro de 2003 10:49
Para: 	Tomcat Users List
Assunto: 	Re: DEBUG JSP

I understand your concern, and my JSP are not that complicated that 
need
to be put in any kind of Java Beans.
But I still want to be able to Debug JSP through Tomcat.

Thanks for the tip.


John.

Barney Hamish wrote:

   

If your JSPs are so complicated that you need a debugger then I would
 


 

seriously consider cutting out some of your java code and putting it 
into java beans that you access from your JSPs.

It's much better practice to have JSPs that are only responsible for 
the view. Hamish



 

-Original Message-
From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 12:35 PM
To: Tomcat Users List
Subject: DEBUG JSP


Hello.
I'd like to know if any one has actually been able to
configure Tomcat 
to debug JSP, and not just Servlets or other Java Classes?
Everybody that helped so far gives me some intruction but 
tells me that 
they have not tested the instructions. I've done everything 
I've found 
about this topic.
Switched to OJSP (Oracle JSP compiler) and still got nothing.
I'd like to know if any one DID configure tomcat and TESTED 
it to Debug JSP.

Thanks a lot...
Sincerely,
John



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

  

   

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





 

   




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



 





RE: DEBUG JSP

2003-02-20 Thread Edson Alves Pereira
Ai João, o lance é o seguinte: Eu também uso o JDeveloper9i, mas não
depuro ou uso o Tomcat ligado junto com a ferramenta, JAVA_OPTS pode conter
qualquer parâmetro que você desejar passar para o Tomcat como por exemplo o
comando para que a virtual machine use mémoria compartilhada ( remote
debugging ) assim você poderá depurar seus programas de qualquer máquina,
até aqui tudo bem. O que realmente lhe interessa é conseguir depurar as
páginas JSP, quando o Tomcat cria, compila ou simplesmente carrega a página
esta esta em sua JVM, então não existe nenhum problema em mandar a ordem
para criar o breakpoint na página JSP, no diretório work é onde os fontes e
binários das páginas são armazenados, consulte a documnetação do JDB para
saber como funciona o esquema da depuração remota, lá você vai encontrar o
comando que deve ser colocado dentro do JAVA_OPTS. Qualquer coisa dá um
grito ai.

 --
 De:   João Augusto Charnet[SMTP:[EMAIL PROTECTED]]
 Responder:Tomcat Users List
 Enviada:  quinta-feira, 20 de fevereiro de 2003 13:09
 Para: Tomcat Users List
 Assunto:  Re: DEBUG JSP
 
 I'm using JDeveloper 9i as my IDE. I can attach to tomcat's Debugger 
 port through JDeveloper, and my breakpoints only works in my classes. In 
 my JSP it does not work. Could it bem some option on the JAVA_OPTS ?
 Where could I get the complete reference for the options in JAVA_OPTS ?
 
 Thanks again ...
 
 John
 
 Randy Paries wrote:
 
 Not sure what ide you are using, but with intellij by idea you can debug
 jsp's with tomcat and remote debug
 
 It works very well
 
 RP
 
 -Original Message-
 From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, February 20, 2003 8:54 AM
 To: 'Tomcat Users List'
 Subject: RE: DEBUG JSP
 
 
  First tell me, do you know remote debugging, that´s the way do
 do this. After you can create a break point like:
 
  stop at teste_jsp:48
 
  Use JAVA_OPTS make Tomcat run in remote debug mode.
 
   
 
 --
 De: João Augusto Charnet[SMTP:[EMAIL PROTECTED]]
 Responder:  Tomcat Users List
 Enviada:quinta-feira, 20 de fevereiro de 2003 10:49
 Para:   Tomcat Users List
 Assunto:Re: DEBUG JSP
 
 I understand your concern, and my JSP are not that complicated that 
 need
 to be put in any kind of Java Beans.
 But I still want to be able to Debug JSP through Tomcat.
 
 Thanks for the tip.
 
 
 John.
 
 Barney Hamish wrote:
 
 
 
 If your JSPs are so complicated that you need a debugger then I would
   
 
 
   
 
 seriously consider cutting out some of your java code and putting it 
 into java beans that you access from your JSPs.
 
 It's much better practice to have JSPs that are only responsible for 
 the view. Hamish
 
  
 
   
 
 -Original Message-
 From: João Augusto Charnet [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 12:35 PM
 To: Tomcat Users List
 Subject: DEBUG JSP
 
 
 Hello.
 I'd like to know if any one has actually been able to
 configure Tomcat 
 to debug JSP, and not just Servlets or other Java Classes?
 Everybody that helped so far gives me some intruction but 
 tells me that 
 they have not tested the instructions. I've done everything 
 I've found 
 about this topic.
 Switched to OJSP (Oracle JSP compiler) and still got nothing.
 I'd like to know if any one DID configure tomcat and TESTED 
 it to Debug JSP.
 
 Thanks a lot...
 Sincerely,
 John
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

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