org.apache.catalina.startup.Bootstrap.getCatalinaHomeFile()Ljava/io/File;

2016-08-12 Thread leonidprokopets
Does anyone know which version of tomcat-catalina.jar contains a Bootstrap 
class with getCatalinaHomeFile() method?

I'm using Tomcat 8.0 and Eclipse Neon 4.6.0

I'm getting an error
java.lang.NoSuchMethodError: 
org.apache.catalina.startup.Bootstrap.getCatalinaHomeFile()Ljava/io/File;
So obviously the Bootstrap class does not have the method.

Thanks in advance for any hint.


Re: load server configuration file error

2016-08-09 Thread leonidprokopets
Thanks for your willingness to help.

I'm using Tomcat 8.0

>Why and how are you trying to "compile" it?
I choose Servers->Tomcat 8.0 server as localhost-config->Run

Now I'm playing with the configuration and I've got a bunch of new error 
messages. The day ahead is going to be full of fun []


From: Konstantin Kolinko <knst.koli...@gmail.com>
Sent: Tuesday, August 9, 2016 3:51 AM
To: Tomcat Users List
Subject: Re: load server configuration file error

2016-08-08 17:36 GMT+03:00 leonidprokopets <ago-ukra...@hotmail.com>:
> It looks like a minor problem, but I'm unable to solve it. :(
>
> Eclipse Neon 4.6 returns this warning when I try to compile a web project
>
> org.apache.catalina.startup.Catalina load
> WARNING: Unable to load server configuration from [C:\Program Files 
> (x86)\Hewlett-Packard\HP Quick Start\conf\server.xml]
>
> Obviously this path is wrong. I'm having problem finding where it is stored. 
> How can I edit the path?
>
> Thanks in advance.

1. A link to Eclipse FAQ is on this page:
http://wiki.apache.org/tomcat/FAQ/Developing#Q6

2. I would say: open "Servers" view (e.g. Window > Show View [>
Other...] > Servers),

double-click on a server and check the settings there.

You can also create a new fresh server configuration there and
configure it from scratch.

Path to server.xml in Tomcat can be configured with a system property,
but it is rarely used feature (if anybody is using it at all) and it
is unlikely that you did that.  (Documented on the System Properties
page in Configuration reference. You haven't mentioned the version of
Tomcat that you are using.)


> when I try to compile a web project

Why and how are you trying to "compile" it?  Usual configuration for
Eclipse is to build it automatically (Project > Build Automatically in
menu). What did you mean, step by step?

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



load server configuration file error

2016-08-08 Thread leonidprokopets
It looks like a minor problem, but I'm unable to solve it. :(

Eclipse Neon 4.6 returns this warning when I try to compile a web project

org.apache.catalina.startup.Catalina load
WARNING: Unable to load server configuration from [C:\Program Files 
(x86)\Hewlett-Packard\HP Quick Start\conf\server.xml]

Obviously this path is wrong. I'm having problem finding where it is stored. 
How can I edit the path?

Thanks in advance.

Leonid.


Re: Finding proper jar archive

2016-08-01 Thread leonidprokopets
Thank you for your hint. It partly helped and gave me the direction. Appreciate 
it, man.

Leonid.



From: Mark Thomas <ma...@apache.org>
Sent: Sunday, July 31, 2016 8:52 PM
To: Tomcat Users List
Subject: Re: Finding proper jar archive

On 31/07/2016 16:20, leonidprokopets wrote:
> Hi everybody
>
> I'm trying to run a project, written by other developer, under Tomcat 8.0.36. 
> I need to find a jar archive which contains 
> org.apache.tomcat.util.digester.Digester class WITH setRulesValidation 
> method. Those versions of tomcat-util.jar and apache-tomcat.util.jar that I 
> managed to find don't include this method. And without it the project would 
> not run.
>
> Any hint where I can find it will be very much appreciated!

In any 8.0.36 binary distribution or at Maven Central.

Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Finding proper jar archive

2016-07-31 Thread leonidprokopets
Hi everybody

I'm trying to run a project, written by other developer, under Tomcat 8.0.36. I 
need to find a jar archive which contains 
org.apache.tomcat.util.digester.Digester class WITH setRulesValidation method. 
Those versions of tomcat-util.jar and apache-tomcat.util.jar that I managed to 
find don't include this method. And without it the project would not run.

Any hint where I can find it will be very much appreciated!

Leonid.