Can't create breakpoint in jsp (Idea 6.0.1)

I use jboss 4.0.3 with Idea. Jboss running under idea.
After upgrade from 5.x.x to 6.0.1 - Idea can not stop on breakpoint in jsp.
What's happens ?
Breakpoints in java classes work normally.

26 comments

I can't get them to work in WebLogic (8.1.5) either.

"AndreyAG" <acr77@mail.ru> wrote in message
news:25006732.1160739413290.JavaMail.itn@is.intellij.net...
>I use jboss 4.0.3 with Idea. Jboss running under idea.

After upgrade from 5.x.x to 6.0.1 - Idea can not stop on breakpoint in
jsp.
What's happens ?
Breakpoints in java classes work normally.



0

Works fine here with JBoss 4.0.3SP1. Can you give some more information?

0

Specifics for my case: Created a Weblogic "local" instance, set domain path,
using default run/debug startup options, set breakpoint in jsp, debugger
never stops in jsp. Debugging classes works fine.

"Brad L." <no@no.no> wrote in message news:egnv0a$uru$1@is.intellij.net...
>I can't get them to work in WebLogic (8.1.5) either.
>

"AndreyAG" <acr77@mail.ru> wrote in message
news:25006732.1160739413290.JavaMail.itn@is.intellij.net...

>>I use jboss 4.0.3 with Idea. Jboss running under idea.
>> After upgrade from 5.x.x to 6.0.1 - Idea can not stop on breakpoint in
>> jsp.
>> What's happens ?
>> Breakpoints in java classes work normally.
>



0

Hello Brad L.,

Do you have
<jsp-descriptor>
<jsp-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
tag in your weblogic.xml?

Specifics for my case: Created a Weblogic "local" instance, set domain
path, using default run/debug startup options, set breakpoint in jsp,
debugger never stops in jsp. Debugging classes works fine.

"Brad L." <no@no.no> wrote in message
news:egnv0a$uru$1@is.intellij.net...

>> I can't get them to work in WebLogic (8.1.5) either.
>>
>> "AndreyAG" <acr77@mail.ru> wrote in message
>> news:25006732.1160739413290.JavaMail.itn@is.intellij.net...
>>
>>> I use jboss 4.0.3 with Idea. Jboss running under idea.
>>> After upgrade from 5.x.x to 6.0.1 - Idea can not stop on breakpoint
>>> in
>>> jsp.
>>> What's happens ?
>>> Breakpoints in java classes work normally.


0

I use JBoss 4.0.3SP1 too.
It's work fine with Idea 5, but not work in 6 :(

0

Yes.

"Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com> wrote in
message news:c8a8943778e88c8bd00321bae94@news.intellij.net...

Hello Brad L.,

>

Do you have <jsp-descriptor>
<jsp-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
tag in your weblogic.xml?

>
>> Specifics for my case: Created a Weblogic "local" instance, set domain
>> path, using default run/debug startup options, set breakpoint in jsp,
>> debugger never stops in jsp. Debugging classes works fine.
>>
>> "Brad L." <no@no.no> wrote in message
>> news:egnv0a$uru$1@is.intellij.net...
>>
>>> I can't get them to work in WebLogic (8.1.5) either.
>>>
>>> "AndreyAG" <acr77@mail.ru> wrote in message
>>> news:25006732.1160739413290.JavaMail.itn@is.intellij.net...
>>>
>>>> I use jboss 4.0.3 with Idea. Jboss running under idea.
>>>> After upgrade from 5.x.x to 6.0.1 - Idea can not stop on breakpoint
>>>> in
>>>> jsp.
>>>> What's happens ?
>>>> Breakpoints in java classes work normally.
>



0

I have never been abel to get remote JSP debugging working with Weblogic 8.1.x either. Works fine for classes but not JSP's.

0

Anyone have idea ? :)
May be build-in jboss plugin work wrong ?

Message was edited by:
AndreyAG

0

Maybe I'm repeating myself, but nevertheless: can you give some more information? "It doesn't work" is not a very detailed error description...

0

I know you're talking about the JBoss integration but, in the Weblogic
integration, there are no errors, it just doesn't work. Not much else to
describe. I've posted my setup, pretty much default.

"Martin Fuhrer" <mf@fuhrer.com> wrote in message
news:32241877.1160927372592.JavaMail.itn@is.intellij.net...

Maybe I'm repeating myself, but nevertheless: can you give some more
information? "It doesn't work" is not a very detailed error description...



0

Do you deploy your web module standalone or as part of an application module?

0

Maybe that's the issue. I deploy an ear created by an Ant build. I don't use
IDEA's deploy.

"Martin Fuhrer" <mf@fuhrer.com> wrote in message
news:4362621.1160983372622.JavaMail.itn@is.intellij.net...

Do you deploy your web module standalone or as part of an application
module?



0

Could you please test if JSP breakpoints work with a standalone web module?

0

Hello, anybody? It's quite important. My experience is that JSP breakpoints in standalone web modules work, but not when deploying the web module as part of an application module. But I need some confirmation from others before I file a bug about it. So please do this test and post me the results.

0

Hello Martin,

You should use method DefaultServerInstance.getScopeModulesWithIncluded instead
of DefaultServerInstance.getScopeModules to pass to a constructor of DefaultJSPPositionManager
in your plugins.

Hello, anybody? It's quite important. My experience is that JSP
breakpoints in standalone web modules work, but not when deploying the
web module as part of an application module. But I need some
confirmation from others before I file a bug about it. So please do
this test and post me the results.



0

Sorry, I was out of the office yesterday. I'll try it today.

"Martin Fuhrer" <mf@fuhrer.com> wrote in message
news:16437077.1161082219490.JavaMail.itn@is.intellij.net...

Hello, anybody? It's quite important. My experience is that JSP
breakpoints in standalone web modules work, but not when deploying the web
module as part of an application module. But I need some confirmation from
others before I file a bug about it. So please do this test and post me
the results.



0

Does that mean you found the problem with Weblogic too?

"Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com> wrote in
message news:c8a894377a048c8c0179adc4607@news.intellij.net...

Hello Martin,

>

You should use method DefaultServerInstance.getScopeModulesWithIncluded
instead of DefaultServerInstance.getScopeModules to pass to a constructor
of DefaultJSPPositionManager in your plugins.

>
>> Hello, anybody? It's quite important. My experience is that JSP
>> breakpoints in standalone web modules work, but not when deploying the
>> web module as part of an application module. But I need some
>> confirmation from others before I file a bug about it. So please do
>> this test and post me the results.
>>
>



0

Does that mean you found the problem with Weblogic
too?


Unfortunately not. In the WebLogic integration this was already correct since long. This fix is for JBoss, Geronimo, and Glassfish only.

0

Sorry, I was out of the office yesterday. I'll try it
today.


I don't think that it's still necessary, as Nikolay has already pointed out the error I had. In your case it's most probably caused by not deploying through IDEA. The position manager used for JSP debugging is only created for modules deployed by IDEA.

0

Hello Brad L.,

No. The inappropriate method is used only in Fuhrer's plugins (JBoss, Geronimo,
Glassfish). WebLogic plugin uses the correct method.

Does that mean you found the problem with Weblogic too?

"Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com>
wrote in message news:c8a894377a048c8c0179adc4607@news.intellij.net...

>> Hello Martin,
>>
>> You should use method
>> DefaultServerInstance.getScopeModulesWithIncluded instead of
>> DefaultServerInstance.getScopeModules to pass to a constructor of
>> DefaultJSPPositionManager in your plugins.
>>
>>> Hello, anybody? It's quite important. My experience is that JSP
>>> breakpoints in standalone web modules work, but not when deploying
>>> the web module as part of an application module. But I need some
>>> confirmation from others before I file a bug about it. So please do
>>> this test and post me the results.
>>>


0

So Weblogic jsp debugging will never work as long as I don't use IDEA's
build and deploy?

"Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com> wrote in
message news:c8a894377a238c8c02cb44e3c90@news.intellij.net...

Hello Brad L.,

>

No. The inappropriate method is used only in Fuhrer's plugins (JBoss,
Geronimo, Glassfish). WebLogic plugin uses the correct method.

>
>> Does that mean you found the problem with Weblogic too?
>>
>> "Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com>
>> wrote in message news:c8a894377a048c8c0179adc4607@news.intellij.net...
>>
>>> Hello Martin,
>>>
>>> You should use method
>>> DefaultServerInstance.getScopeModulesWithIncluded instead of
>>> DefaultServerInstance.getScopeModules to pass to a constructor of
>>> DefaultJSPPositionManager in your plugins.
>>>
>>>> Hello, anybody? It's quite important. My experience is that JSP
>>>> breakpoints in standalone web modules work, but not when deploying
>>>> the web module as part of an application module. But I need some
>>>> confirmation from others before I file a bug about it. So please do
>>>> this test and post me the results.
>>>>
>



0

Hello Brad L.,

What do you mean by "don't use IDEA's build and deploy"? Which modules do
you mark for deployment in "Deployment" tab in WebLogic run configuration?
IDEA is able to debug only jsp which is contained in a Web module which is
marked for deployment (or is contained in Web module which is contained in
JavaEE App module which is marked for deployment.

So Weblogic jsp debugging will never work as long as I don't use
IDEA's build and deploy?

"Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com>
wrote in message news:c8a894377a238c8c02cb44e3c90@news.intellij.net...

>> Hello Brad L.,
>>
>> No. The inappropriate method is used only in Fuhrer's plugins (JBoss,
>> Geronimo, Glassfish). WebLogic plugin uses the correct method.
>>
>>> Does that mean you found the problem with Weblogic too?
>>>
>>> "Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com>
>>> wrote in message
>>> news:c8a894377a048c8c0179adc4607@news.intellij.net...
>>>
>>>> Hello Martin,
>>>>
>>>> You should use method
>>>> DefaultServerInstance.getScopeModulesWithIncluded instead of
>>>> DefaultServerInstance.getScopeModules to pass to a constructor of
>>>> DefaultJSPPositionManager in your plugins.
>>>>
>>>>> Hello, anybody? It's quite important. My experience is that JSP
>>>>> breakpoints in standalone web modules work, but not when deploying
>>>>> the web module as part of an application module. But I need some
>>>>> confirmation from others before I file a bug about it. So please
>>>>> do this test and post me the results.
>>>>>


0

I don't mark any which as another annoyance. I don't use IDEA's build/deploy
and I hate the little red 'x' on my run config. I just use it to start/debug
my app. But, after reading this I decided to try out the deploy(I can't use
the build). I managed to create a "dummy" enterprise application and point
it to the ear our ant build creates then mark that for deploy. Seems to work
as long as I don't accidentally use IDEA's build and overwrite my ear. Jsp
debugging works too.

"Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com> wrote in
message news:c8a894377a268c8c0349074b77e@news.intellij.net...

Hello Brad L.,

>

What do you mean by "don't use IDEA's build and deploy"? Which modules do
you mark for deployment in "Deployment" tab in WebLogic run configuration?
IDEA is able to debug only jsp which is contained in a Web module which is
marked for deployment (or is contained in Web module which is contained in
JavaEE App module which is marked for deployment.

>
>> So Weblogic jsp debugging will never work as long as I don't use
>> IDEA's build and deploy?
>>
>> "Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com>
>> wrote in message news:c8a894377a238c8c02cb44e3c90@news.intellij.net...
>>
>>> Hello Brad L.,
>>>
>>> No. The inappropriate method is used only in Fuhrer's plugins (JBoss,
>>> Geronimo, Glassfish). WebLogic plugin uses the correct method.
>>>
>>>> Does that mean you found the problem with Weblogic too?
>>>>
>>>> "Nikolay Chashnikov (JetBrains)" <Nikolay.Chashnikov@jetbrains.com>
>>>> wrote in message
>>>> news:c8a894377a048c8c0179adc4607@news.intellij.net...
>>>>
>>>>> Hello Martin,
>>>>>
>>>>> You should use method
>>>>> DefaultServerInstance.getScopeModulesWithIncluded instead of
>>>>> DefaultServerInstance.getScopeModules to pass to a constructor of
>>>>> DefaultJSPPositionManager in your plugins.
>>>>>
>>>>>> Hello, anybody? It's quite important. My experience is that JSP
>>>>>> breakpoints in standalone web modules work, but not when deploying
>>>>>> the web module as part of an application module. But I need some
>>>>>> confirmation from others before I file a bug about it. So please
>>>>>> do this test and post me the results.
>>>>>>
>



0

What about for people that don't deploy using IntelliJ? We don't even use Web modules...we package up our web apps with ANT and deploy with ANT.

0

Hello Michael,

Please add a feature request (http://www.jetbrains.net/jira/browse/IDEA).

What about for people that don't deploy using IntelliJ? We don't even
use Web modules...we package up our web apps with ANT and deploy with
ANT.



0

Please sign in to leave a comment.