You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2017/08/02 12:30:38 UTC
Re: Tomcat 9 won't start according to Eclipse
2017-07-28 20:51 GMT+03:00 Roparzh Hemon <ro...@gmail.com>:
> On Fri, Jul 28, 2017 at 6:18 PM, Konstantin Kolinko
> <kn...@gmail.com> wrote:
>>
>> Eclipse by default places <Context> element for web application into
>> Tomcat's server.xml file.
>> This is a discouraged practice. A result of such configuration is that
>> when the application fails to start (due to its own misconfiguration)
>> this failure is fatal for Tomcat as well.
>
> Which makes people mistake non-Tomcat issues for Tomcat issues, as
> happened to me here.
>
> On Fri, Jul 28, 2017 at 6:18 PM, Konstantin Kolinko
> <kn...@gmail.com> wrote:
>>
>> Double click on the server (in "Servers" view) -> set "[x] Publish
>> module context to separate XML files".
>>
>
> When I right-click on "Servers" in Project Explorer, I do not see
> any "Publish module"
> item. I also found a "Server" item in Preferences, which has a
> "Audio/Launching/Overlays/Profilers/Runtime environments" submenu.
http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.user/concepts/concepts-5.htm
Help > Workbench User Guide > Concepts > Views
To open the "Servers" view go to menu "Window" > "Show View" > "Other..."
A dialog named "Show View" opens.
Type "ser" in the filter box at the top of the dialog.
Choose "Server" > "Servers", click OK.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 9 won't start according to Eclipse
Posted by Roparzh Hemon <ro...@gmail.com>.
> The key here is to double-click (not right-click) the server listed in
> the server pane at the bottom center of the IDE.
>
Absolutely. I finally got it now, thanks for your patience
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 9 won't start according to Eclipse
Posted by Mark Eggers <it...@yahoo.com.INVALID>.
Roparzh,
On 8/2/2017 10:07 PM, Roparzh Hemon wrote:
> On Wed, Aug 2, 2017 at 2:30 PM, Konstantin Kolinko
> <kn...@gmail.com> wrote:
>> 2017-07-28 20:51 GMT+03:00 Roparzh Hemon <ro...@gmail.com>:
>>> On Fri, Jul 28, 2017 at 6:18 PM, Konstantin Kolinko
>>> <kn...@gmail.com> wrote:
>>>>
>>>> Double click on the server (in "Servers" view) -> set "[x] Publish
>>>> module context to separate XML files".
>>> When I right-click on "Servers" in Project Explorer, I do not see
>>> any "Publish module"
>>> item. I also found a "Server" item in Preferences, which has a
>>> "Audio/Launching/Overlays/Profilers/Runtime environments" submenu.
>>
>>
>> http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.user/concepts/concepts-5.htm
>> Help > Workbench User Guide > Concepts > Views
>>
>> To open the "Servers" view go to menu "Window" > "Show View" > "Other..."
>>
>> A dialog named "Show View" opens.
>> Type "ser" in the filter box at the top of the dialog.
>> Choose "Server" > "Servers", click OK.
>
> This simply sends me back to the Server component in Project
> Explorer (which I could attain by simply clicking on it instead of
> doing the more complicated sequence of operations you describe). I
> repeat, I do not see any "Publish module" item anywhere. All I see is,
> for each server, a list consisting of the following files :
> catalina.policy, catalina.properties, context.xml, server.out.xml,
> server.xml, tomcat-users.xml, web.xml.
When you do Window -> Show Views -> Servers and select servers, you'll
get a new pane at the bottom middle of the IDE, labeled servers.
In that pane, you'll see a list of all the servers that you have
configured in your IDE and their states.
If you double-click on one of the servers in the bottom pane, it will
open up the overview in the main editor window. This is a GUI
representation of the main configuration options for that server.
The Server Options will be found in the left hand column at the bottom.
The second checkbox is 'Publish module context to separate XML files'.
Check that box.
Then save the configuration (Ctrl-S or File -> Save) and close the
configuration.
The key here is to double-click (not right-click) the server listed in
the server pane at the bottom center of the IDE.
. . . just my two cents
/mde/
Re: Tomcat 9 won't start according to Eclipse
Posted by Roparzh Hemon <ro...@gmail.com>.
On Wed, Aug 2, 2017 at 2:30 PM, Konstantin Kolinko
<kn...@gmail.com> wrote:
> 2017-07-28 20:51 GMT+03:00 Roparzh Hemon <ro...@gmail.com>:
>> On Fri, Jul 28, 2017 at 6:18 PM, Konstantin Kolinko
>> <kn...@gmail.com> wrote:
>>>
>>> Double click on the server (in "Servers" view) -> set "[x] Publish
>>> module context to separate XML files".
>> When I right-click on "Servers" in Project Explorer, I do not see
>> any "Publish module"
>> item. I also found a "Server" item in Preferences, which has a
>> "Audio/Launching/Overlays/Profilers/Runtime environments" submenu.
>
>
> http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.user/concepts/concepts-5.htm
> Help > Workbench User Guide > Concepts > Views
>
> To open the "Servers" view go to menu "Window" > "Show View" > "Other..."
>
> A dialog named "Show View" opens.
> Type "ser" in the filter box at the top of the dialog.
> Choose "Server" > "Servers", click OK.
This simply sends me back to the Server component in Project
Explorer (which I could attain by simply clicking on it instead of
doing the more complicated sequence of operations you describe). I
repeat, I do not see any "Publish module" item anywhere. All I see is,
for each server, a list consisting of the following files :
catalina.policy, catalina.properties, context.xml, server.out.xml,
server.xml, tomcat-users.xml, web.xml.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org