Webprotege Doesn't Run in tomcat7

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Webprotege Doesn't Run in tomcat7

ThomasBJones2
Hi, I've set up a new instance of Webprotege but I'm havingind difficulty getting it to run. The catalina [WebProtege] logs are:

INFO: Deploying web application archive <tomcat_dir>/webapps/webprotege-2.5.0.war
[WebProtege] WebProtege configuration (using system variable): webprotege.application.host = <sever_url>                                                                      [Fri Dec 23 03:47:58 UTC 2016]
[WebProtege] WebProtege configuration (using system variable): webprotege.data.directory = /data/webprotege                                                                          [Fri Dec 23 03:47:58 UTC 2016]
[WebProtege] Attempting to load mail properties from <tomcat_dir>/webapps/webprotege-2.5.0/mail.properties                                                                       [Fri Dec 23 03:47:58 UTC 2016]
[WebProtege] mongod address: localhost/127.0.0.1:27017                                                                                                                               [Fri Dec 23 03:47:58 UTC 2016]
[WebProtege] Loaded meta-project.  There are 0 project instances.                                                                                                                    [Fri Dec 23 03:47:59 UTC 2016]
[WebProtege] Initialization complete                                                                                                                                                 [Fri Dec 23 03:47:59 UTC 2016]
[WebProtege] Memory Usage: Using 48 MB of 123 MB (38.81%) [75 MB free]                                                                                                               [Fri Dec 23 03:47:59 UTC 2016]

and the logs show no error messages. When I go to /webprotege/ I get a 404 resource is not available error however. What could be going on?
Reply | Threaded
Open this post in threaded view
|

Re: Webprotege Doesn't Run in tomcat7

Matthew Horridge-2
Administrator
Hi,

Try renaming the war file to webprotege (rather than webprotege-2.5.0.war)

Cheers,

Matthew

> On 23 Dec 2016, at 04:26, ThomasBJones2 <[hidden email]> wrote:
>
> Hi, I've set up a new instance of Webprotege but I'm havingind difficulty
> getting it to run. The catalina [WebProtege] logs are:
>
> INFO: Deploying web application archive
> <tomcat_dir>/webapps/webprotege-2.5.0.war
> [WebProtege] WebProtege configuration (using system variable):
> webprotege.application.host = <sever_url>                                                                    
> [Fri Dec 23 03:47:58 UTC 2016]
> [WebProtege] WebProtege configuration (using system variable):
> webprotege.data.directory = /data/webprotege                                                                        
> [Fri Dec 23 03:47:58 UTC 2016]
> [WebProtege] Attempting to load mail properties from
> <tomcat_dir>/webapps/webprotege-2.5.0/mail.properties                                                                      
> [Fri Dec 23 03:47:58 UTC 2016]
> [WebProtege] mongod address: localhost/127.0.0.1:27017                                                                                                                              
> [Fri Dec 23 03:47:58 UTC 2016]
> [WebProtege] Loaded meta-project.  There are 0 project instances.                                                                                                                  
> [Fri Dec 23 03:47:59 UTC 2016]
> [WebProtege] Initialization complete                                                                                                                                                
> [Fri Dec 23 03:47:59 UTC 2016]
> [WebProtege] Memory Usage: Using 48 MB of 123 MB (38.81%) [75 MB free]                                                                                                              
> [Fri Dec 23 03:47:59 UTC 2016]
>
> and the logs show no error messages. When I go to /webprotege/ I get a 404
> resource is not available error however. What could be going on?
>
>
>
> --
> View this message in context: http://protege-project.136.n4.nabble.com/Webprotege-Doesn-t-Run-in-tomcat7-tp4667207.html
> Sent from the Protege Developer mailing list archive at Nabble.com.
> _______________________________________________
> protege-dev mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-dev


_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
Reply | Threaded
Open this post in threaded view
|

Re: Webprotege Doesn't Run in tomcat7

ThomasBJones2
Thanks Matt!
Reply | Threaded
Open this post in threaded view
|

Re: Webprotege Doesn't Run in tomcat7

ThomasBJones2
In reply to this post by Matthew Horridge-2
I don't know If I should open a new question for this. I want to integrate webprotege with a django app and I'm wondering how I would even begin going about that. I know that there is a java api however I don't know where there are any tutorials showing how to hook up an external java program to the api and then hook that program into django (for the django part I figure something like jython will work, its really getting webprotege to communicate with my own java app that I'm not quite sure how to do). Thanks!