aspose file tools*
The moose likes Other Open Source Projects and the fly likes Spring related errors on Tomcat console on deploying WAR in 'webapps' folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Spring related errors on Tomcat console on deploying WAR in Watch "Spring related errors on Tomcat console on deploying WAR in New topic
Author

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

vish som
Greenhorn

Joined: Aug 06, 2008
Posts: 10
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

Joined: Aug 06, 2008
Posts: 10
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.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Cristina Mr
Greenhorn

Joined: Dec 15, 2009
Posts: 1
I've the same problem:



(sorry, i'm spanish)

Somebody help us?
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring related errors on Tomcat console on deploying WAR in 'webapps' folder