I have a new install of Ubuntu Server 13.10 and tomcat7. Initially I just tried deploying the nexus war with the default install (using OpenJDK) but remembered I had issues previously w/ OpenJDK and also likely needed to make sure the user that tomcat7 runs as (tomcat7) has access to it's default home folder (/usr/share/tomcat7). When that didn't work, I moved the tomcat7 home folder to /home/tomcat7 and manually created /home/tomcat7/sonatype-work.
However, I still get the same errors I've been seeing. I am trying to deploy nexux-2.7.0-03. It seems to deploy and extract to the /var/lib/tomcat7/webapps folder just fine.
Even though it says it's in use, I can't tell why. I rebooted the box, removed/recreated the folder and still the same error. Google searches for that error came up empty.
What am I missing?
In the tomcat localhost log file I see the following (snip'd for size):
And here is what is in catalina.out:
Nexus 2.7 now creates a lock file inside of nexus work to prevent concurrent access to that directory by two Nexuses.
Is there a file at /home/tomcat7/sonatype-work/nexus/nexus.lock ?
This must be removed before another Nexus can use that directory. The contents of the file should contain the process id of the nexus that created it.
On Wed, Nov 27, 2013 at 4:41 PM, Jeff <[hidden email]> wrote:
No, there are no files in the sonatype-work folder...at all.
On Wed, Nov 27, 2013 at 1:53 PM, Peter Lynch <[hidden email]> wrote:
Can you please try:
and try again, looks like the code is expecting that directory to already exist.
On November 27, 2013 at 1:26:46 PM, Jeff ([hidden email]) wrote:
That was it! Thank you so much!
On Wed, Nov 27, 2013 at 2:43 PM, Jason Dillon <[hidden email]> wrote:
|Free forum by Nabble||Edit this page|