How do I add a resource and a resourceparams for TC5?
I am starting to play with Hibernate. I am following their example and
trying to add DB pooling to the context. How would I do this so that it
would also work with IntelliJ.
--
Norris Shelton
Sun Certified Java Programmer
Please sign in to leave a comment.
Hi,
Change the context in your base dir. IDEA should pickup the context you modified.
I am not sure what you mean.
I currently have multiple tomcat's set-up (C:\dev\tomcat\Tomcat ). My exploded directory is C:\dev\tomcat\webapps\. Then I switch run configurations to use whichever tomcat I need to use at the time. Currently, I launch my apps via IJ and do not have any context files. Norris Shelton Sun Certified Java Programmer Maxim Mossienko wrote: >Hi, > >]]>Change the context in your base dir. IDEA should pickup the context you modified.
>
But under the deployment tab of your run config, you can change the context
by adding its name after the /
Hth
R
On 11/24/04 10:06 AM, in article 41A4A374.1030009@yahoo.com, "Norris
Shelton" <i.hate.spam@yahoo.com> wrote:
>> Hi,
>>
>> Change the context in your base dir. IDEA should pickup the context you
>> modified.
>>
>>
When I open that, I see:
/admin
/balancer
/manager
/
So I would need to create a ROOT.xml file with the specified entry for
each of the servers that I use? I could see the benefit of creating the
context, but I want it associated with my module (or project), not under
each and every single web server that I run. Basically, I would like to
be able to select a different server and it should work. Does that make
sense?
Norris Shelton
Sun Certified Java Programmer
Robert S. Sfeir wrote:
>But under the deployment tab of your run config, you can change the context
>by adding its name after the /
>
>Hth
>R
>
>
>On 11/24/04 10:06 AM, in article 41A4A374.1030009@yahoo.com, "Norris
>Shelton" <i.hate.spam@yahoo.com> wrote:
>
>
>>I am not sure what you mean.
>>
>>I currently have multiple tomcat's set-up (C:\dev\tomcat\Tomcat ). >>My exploded directory is C:\dev\tomcat\webapps\. Then I switch >>run configurations to use whichever tomcat I need to use at the time. >> >>Currently, I launch my apps via IJ and do not have any context files. >> >>Norris Shelton >>Sun Certified Java Programmer >> >> >> >> >>Maxim Mossienko wrote: >> >> >> >>>Hi, >>> >>>Change the context in your base dir. IDEA should pickup the context you >>>modified. >>> >>> >>> >>> >]]>
>
Hi,
Currently yes, one file per server,
we will support per-web-application context XML in Irida
Norris Shelton wrote:
>>But under the deployment tab of your run config, you can change the context
>>by adding its name after the /
>>
>>Hth
>>R
>>
>>
>>On 11/24/04 10:06 AM, in article 41A4A374.1030009@yahoo.com, "Norris
>>Shelton" wrote: >> >> >> >>>I am not sure what you mean. >>> >>>I currently have multiple tomcat's set-up (C:\dev\tomcat\Tomcat ). >>>My exploded directory is C:\dev\tomcat\webapps\. Then I switch >>>run configurations to use whichever tomcat I need to use at the time. >>> >>>Currently, I launch my apps via IJ and do not have any context files. >>> >>>Norris Shelton >>>Sun Certified Java Programmer >>> >>> >>> >>> >>>Maxim Mossienko wrote: >>> >>> >>> >>>>Hi, >>>> >>>>Change the context in your base dir. IDEA should pickup the context you >>>>modified. >>>> >>>> >>>> >>>> >> >> >>]]>
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
On 11/25/04 6:57 AM, in article co4hae$l3c$1@is.intellij.net, "Maxim
Mossienko" <Maxim.Mossienko@jetbrains.com> wrote:
Thank You!
>> When I open that, I see:
>> /admin
>> /balancer
>> /manager
>> /
>>
>> So I would need to create a ROOT.xml file with the specified entry for
>> each of the servers that I use? I could see the benefit of creating the
>> context, but I want it associated with my module (or project), not under
>> each and every single web server that I run. Basically, I would like to
>> be able to select a different server and it should work. Does that make
>> sense?
>>
>> Norris Shelton
>> Sun Certified Java Programmer
>>
>>
>>
>>
>> Robert S. Sfeir wrote:
>>
>>> But under the deployment tab of your run config, you can change the context
>>> by adding its name after the /
>>>
>>> Hth
>>> R
>>>
>>>
>>> On 11/24/04 10:06 AM, in article 41A4A374.1030009@yahoo.com, "Norris
>>> Shelton" wrote: >>> >>> >>> >>>> I am not sure what you mean. >>>> >>>> I currently have multiple tomcat's set-up (C:\dev\tomcat\Tomcat ). >>>> My exploded directory is C:\dev\tomcat\webapps\. Then I switch >>>> run configurations to use whichever tomcat I need to use at the time. >>>> >>>> Currently, I launch my apps via IJ and do not have any context files. >>>> >>>> Norris Shelton >>>> Sun Certified Java Programmer >>>> >>>> >>>> >>>> >>>> Maxim Mossienko wrote: >>>> >>>> >>>> >>>>> Hi, >>>>> >>>>> Change the context in your base dir. IDEA should pickup the context you >>>>> modified. >>>>> >>>>> >>>>> >>>>> >>> >>> >>>]]>
Yes makes sense, I want to do that too :) I want to change app servers not
context when I test... Looks like they¹re finally going to add that, or
rather re-add it because IIRC it used to work this way.
R
On 11/24/04 2:16 PM, in article 41A4DE25.7080003@yahoo.com, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:
>>
>> But under the deployment tab of your run config, you can change the context
>> by adding its name after the /
>>
>> Hth
>> R
>>
>>
>> On 11/24/04 10:06 AM, in article 41A4A374.1030009@yahoo.com, "Norris
>> Shelton" wrote: >> >> >> >>> >>> I am not sure what you mean. >>> >>> I currently have multiple tomcat's set-up (C:\dev\tomcat\Tomcat ). >>> My exploded directory is C:\dev\tomcat\webapps\. Then I switch >>> run configurations to use whichever tomcat I need to use at the time. >>> >>> Currently, I launch my apps via IJ and do not have any context files. >>> >>> Norris Shelton >>> Sun Certified Java Programmer >>> >>> >>> >>> >>> Maxim Mossienko wrote: >>> >>> >>> >>>> >>>> Hi, >>>> >>>> Change the context in your base dir. IDEA should pickup the context you >>>> modified. >>>> >>>> >>>> >>>> >>> >> >> >>]]>