• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Spring related errors on Tomcat console on deploying WAR in 'webapps' folder

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I hav an Alfresco CMS application running on my machine.It has been developed using the Netbeans IDE using Tomcat 6.0.18.The process of running the server is as follows:
1) Creating the build in netbeans.
2) The alfresco war gets placed in the 'webapps' folder of Tomcat.
3) Going to the path D:\apache-tomcat-6.0.18\bin and giving the 'startup.bat' command from CMD.
4) The server startsup after the following console messages



5)The application works fine on my system after the startup..
6) But when i migrate the war on to another system, setting up everything required on this other machine i.e. place the war in the "webapps" folder of the tomcat in the other system,
i get the following errors on its console.

Searching for clues on the forums i added two jars, ehcache-1.1.jar as well as jta1.0.1.jar but still the errors persist.
Could any one please suggest a solution.I guess the problem is with insufficient Spring infrastructure on my new machine.

Thank You

 
vish som
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did one change of giving grant options to the Alfresco database, and now hav got rid of most of the errors.
The console which i see now is like this.



The text in bold in the above console seems to be the issue. The Alfresco 'dir.root' property is
set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder. I cant seem to figure out where to do the changes.

Suggestions are welcome. Thanks.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think this is a Spring problem directly... it sounds like an Alfresco configuration problem. Moving this to the "Other Open-Source Projects" forum.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've the same problem:



(sorry, i'm spanish)

Somebody help us?
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Javaranch!

The hint seems to be in the errors message:

15:27:36,527 User:System WARN [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is
set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder


I'd make sure all of the various warnings are tidied up first and see what you're left with.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic