cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual server: continuous log 'temporarily removed web

paolo_bettini
Champ in-the-making
Champ in-the-making
Hi all!
I receive the following message in the virtual server log.
It's repeated every few second…


24-ago-2007 13.01.38 org.alfresco.catalina.host.AVMHostConfigupdateVirtualWebapp
INFO: temporarily removed webapp: /$12$uic$ROOT
AVMWebappLoader absoluteClassesPath:  v:\uic\VERSION\v12\DATA\www\avm_webapps\ROOT\WEB-INF\classes
AVMWebappLoader absoluteClassesPath not null, so no need to make copy

Does anybody know which is the cause?
Usually it doesn't happen… and last time I had this log I was unable to fix the webapp and I had to delete and create the web project again.

Thanks in advance, Paolo.
10 REPLIES 10

jimmiao
Champ in-the-making
Champ in-the-making
yes, My virtual-tomcat's log receive the messages too. I move the data and db to another server, the log isn't in the log.

And I found that If server receive the message, the CPU usage is 100%.

tommorris
Champ in-the-making
Champ in-the-making
I too get this continuous log on the virtualisation server:

INFO: temporarily removed webapp: /$34$ixxus$ROOT
10-Dec-2007 10:57:20 org.alfresco.catalina.host.AVMHostConfig removeVirtualWebapp
INFO: remove webapp version: 16 pathToWebapp: ixxus:/www/avm_webapps/ROOT
10-Dec-2007 10:57:20 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: 34 pathToWebapp: ixxus:/www/avm_webapps/ROOT
10-Dec-2007 10:57:20 org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: temporarily removed webapp: /$34$ixxus$ROOT

Meanwhile, back on the alfresco server… I get this continuous log:

10:52:33,502 ERROR [alfresco.linkvalidation.LinkValidationServiceImpl] Could not list version: 16 of
directory: ixxus:/www/avm_webapps/ROOT/Timesheets  Path /www/avm_webapps/ROOT/Timesheets not found.

Is this connected? Funny thing is, I've never had a webapp called 'Timesheets'…

Did anyone discover what's going on here?

jagruti
Champ in-the-making
Champ in-the-making
Did any one solve this problem .
please make it available on forum , i am also getting the same error.
Thanks
Jagruti

dprice
Champ in-the-making
Champ in-the-making
I'm seeing something very similar to what you're seeing, tommorris.  On the Alfresco side, I see lots of this in catalina.out:


21:24:48,957 ERROR [alfresco.linkvalidation.LinkValidationServiceImpl] Could not list version: 5 of directory: proj1:/www/avm_webapps/ROOT/proj1/__MACOSX  Path /www/avm_webapps/ROOT/redacted/__MACOSX not found.
21:25:03,807 ERROR [alfresco.linkvalidation.LinkValidationServiceImpl] Could not list version: 5 of directory: proj1:/www/avm_webapps/ROOT/__MACOSX  Path /www/avm_webapps/ROOT/__MACOSX not found.
21:25:03,808 ERROR [alfresco.linkvalidation.LinkValidationServiceImpl] Could not list version: 5 of directory: proj1:/www/avm_webapps/ROOT/dir2  Path /www/avm_webapps/ROOT/dir2 not found.

Those are three folders that were imported as part of a bulk import and were later deleted.  These messages go away when I recreate these folders and push them into the staging sandbox, but that isn't an option since they don't belong there.

In the virtualization catalina.out log, I'm seeing:


Jan 28, 2008 9:29:25 PM org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: 2 pathToWebapp: WebProj1:/www/avm_webapps/ROOT
Jan 28, 2008 9:29:25 PM org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: temporarily removed webapp: /$2$WebProj1$ROOT
Jan 28, 2008 9:29:25 PM org.alfresco.catalina.host.AVMHostConfig removeVirtualWebapp
INFO: remove webapp version: 5 pathToWebapp: WebProj2:/www/avm_webapps/ROOT
Jan 28, 2008 9:29:25 PM org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: AVMHostConfig update version: 21 pathToWebapp: WebProj2:/www/avm_webapps/ROOT
Jan 28, 2008 9:29:25 PM org.alfresco.catalina.host.AVMHostConfig updateVirtualWebapp
INFO: temporarily removed webapp: /$21$WebProj2$ROOT
AVMWebappLoader absoluteClassesPath:  /media/alfresco/cifs/v/WebProj2/VERSION/v21/DATA/www/avm_webapps/ROOT/WEB-INF
/classes
AVMWebappLoader absoluteClassesPath not null, so no need to make copy

This doesn't go away even when the above folders exist, and in conjunction with another error related to SSIs that indicates that pages are being parsed is generating some very large logs.  Our CPU usage is higher than I would expect for the minimal number of users we have right now (we're in pre-deployment testing) but isn't maxed out - the virtualization process hits 100% for a second or two every five seconds as the redeploy cycle happens.  I've bounced the server several times now to clear out the logs and it hasn't affected this error.  It appears to have started with the bulk import of a WAR file that contained some classes and JSP pages for building dynamic schemas.  It's very odd though since I'm running a nearly-identical environment on another machine with the same set of content, transforms and XSDs with none of these issues.

I'm using 2.1.1E on a CentOS 5.5 machine.  This is becoming a major issue for us due to log file growth, and deleting and recreating our web projects would be an option of last resort, so I'll be looking intently for a non-destructive solution and will report what I find.

tommorris
Champ in-the-making
Champ in-the-making
I re-installed alfresco and the problem went away. But that's not really a solution, and besides, it soon came back.

DPrice, I'm experiencing the same processor usage behaviour that you do.
I'm using 2.1.1e on Win2003Server.

I think it may be connected to a poorly formed jsp page, and the server's continual attempts to recompile it… maybe.
I need to spend more time looking into it.

dprice
Champ in-the-making
Champ in-the-making
Thanks, Tom.  It's the coming back that's troublesome.

I think it may be connected to a poorly formed jsp page, and the server's continual attempts to recompile it… maybe.

I've just tried taking out all of the JSP pages we have, to no effect.  If it is caused by a poorly formed JSP, the fix doesn't seem to be as simple as removing it.  We have three web projects, but only two of them seem to be affected by this - the common elements between them that I've found so far are bulk imports and SSIs in the HTML.

tommorris
Champ in-the-making
Champ in-the-making
What sort of SSI mechanism are you using? Apache SSI's or Tomcat includes?
I'm all of the below:
<%@ include file="/myfile1.html" %>
<%@ include file="/myfile2.jsp" %>
<c:import url="/myfile3.jsp" />

dprice
Champ in-the-making
Champ in-the-making
Apache SSIs for us:
<!– #include virtual="/foo/bar.htm" –>

I've gotten things under control a little bit by configuring the virtualization server to use Log4J instead of the default Tomcat logging, but it's not really a solution.

My next step is to export the repository and make sure that I can replicate the issue on another machine.

mchan
Champ in-the-making
Champ in-the-making
I use jsp:include and apache tiles, and I have the same issue.

How about the cache configuration of the virtual server? Could that be the source of the problem?