cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT !!! problem encountered in shutting down alfresco 1.4

hey123
Champ in-the-making
Champ in-the-making
Hi,
I encounter some problems while stopping alfresco 1.4 and after unsuccessfull shut down, I can not restart it.


13:25:18,968 ERROR [MainDeployer] Undeployment failed: file:/D:/alfresco/jboss/server/default/deploy/jboss-portal.sar/po
rtal-core.war/WEB-INF/portlet.xml
org.jboss.deployment.DeploymentException: This web app does not exist here; - nested throwable: (java.lang.IllegalArgume
ntException: This web app does not exist here)

In fact it exists there. also

13:25:18,968 INFO  [LayoutDeployment] done destroying layout(s), found in :  portal
13:25:18,968 INFO  [STDOUT] java.lang.IllegalStateException: repository instance has been shut down
.
.
.
13:25:18,999 ERROR [JCRCMS] Failed to unregister repository. Some locks may persist!
java.lang.NullPointerException
        at org.jboss.portal.cms.impl.jcr.JCRCMS.stopService(JCRCMS.java:509)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.ja

and at the end it says that

        at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
        at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
13:25:18,999 WARN  [ServerDeployer] A setup URL is not known by the main deployer file:/D:/alfresco/jboss/server/default
/deploy/jboss-portal.sar/conf/data/default-object.xml
13:25:22,234 INFO  [Http11Protocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
13:25:23,265 INFO  [Http11Protocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080
Shutting down
Shutdown complete
Halting VM
Press any key to continue . . .

Also after shutting down in this way, I can  not restrart it normally.
Can you help me ?

Thank you in advance.
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
Those errors appear to be from the JBoss portal itself and the JackRabbit repository that it uses to store user properties. The errors are not from Alfresco. Try cleaning up all temp/work folders in JBoss and removing any lock files that JackRabbit may be using.

Thanks,

Kevin

hey123
Champ in-the-making
Champ in-the-making
Hi,
removed the files that you thought to be problematic and the problem persisted. In fact, I have already tried the following statements and it worked. But then, all the users etc. are cleaned up, and in this way I will have to recreate all the users, spaces etc. The problem is that, alfresco in some way puts some last previous deployment info into to the mysql database, and without removing these tables I cannot restart alfresco. Maybe you know which mysql table to delete, so I can proceed.

Thank you very much for your last quick reply.

d:
cd "D:\alfresco"
call alf_stop.bat

cd "D:\alfresco\jboss\server\default\tmp"
del  * /S /Q
rmdir  deploy /S /Q
rmdir  aopdynclasses /S /Q

cd "D:\alfresco\extras\databases\mysql"
call db_remove.bat
call db_setup.bat

c:
cd "C:\Documents and Settings\ozlemi\Local Settings\Temp"
rmdir  Alfresco /S /Q
rmdir  bye6D8.tmp /S /Q
rmdir  DRDld /S /Q
rmdir  hsperfdata_ozlemi /S /Q
rmdir  sv87o.tmp /S /Q
rmdir  VBE /S /Q
rmdir  svicj.tmp /S /Q
rmdir  Temp /S /Q


cd "D:\alfresco\jboss\server\default\conf\alfresco\extension"
del custom-db-and-data-context.xml /S /Q
del custom-db-connection.properties /S /Q
del custom-hibernate-dialect.properties /S /Q

kevinr
Star Contributor
Star Contributor
Alfresco tables start with "alf_" and the JBPM tables start with "jbpm_"

Thanks,

Kevin