trungpv / alfresco-bulk-export

Automatically exported from code.google.com/p/alfresco-bulk-export
0 stars 0 forks source link

Jar file added successfully but URL showing 404. #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.stop server
2.added jar file & start server
3.run the following URL from browser
http://{host}:{port}/alfresco/service/extensions/bulkexport/export?nodeRef={node
ref}&base={base}
What is the expected output? What do you see instead?
it should show finished successfully message.
but it showing following error:-
The Web Script /alfresco/service/extensions/bulkexport/export has responded 
with a status of 404 - Not Found.

404 Description:     Requested resource is not available.

Message:    00310001 Script url /extensions/bulkexport/export does not map to a 
Web Script.

Exception:  org.springframework.extensions.webscripts.WebScriptException - 
00310001 Script url /extensions/bulkexport/export does not map to a Web Script.

org.springframework.extensions.webscripts.AbstractRuntime.executeScript(Abstract
Runtime.java:173)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebSc
riptServlet.java:118)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:210)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizatio
nFilter.java:61)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
22)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
23)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.jav
a:472)
..............................
What version of the product are you using? On what operating system?
alfrersco-4.2.c and on unix server.

Please provide any additional information below.
[root@csuite3 bin]# java -jar alfresco-mmt.jar list  
/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war
Module 'org.alfresco.extencion.bulkexport' installed in 
'/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war'
   -    Title:        Bulk Export
   -    Version:      0.0.5
   -    Install Date: Fri Jan 31 17:40:25 IST 2014
   -    Description:   Export data to Bulk Import format.
Module 'org.alfresco.integrations.google.docs' installed in 
'/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war'
   -    Title:        Alfresco Google Docs Integration
   -    Version:      2.0.1
   -    Install Date: Fri Jan 31 16:56:05 IST 2014
   -    Description:   Alfresco Docs Integration
Module 'org.alfresco.module.vti' installed in 
'/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war'
   -    Title:        Vti
   -    Version:      1.2
   -    Install Date: Fri Jan 31 16:56:03 IST 2014
   -    Description:   Alfresco Vti Extension
Module 'org_alfresco_module_wcmquickstart' installed in 
'/opt/alfresco-4.2.c/tomcat/webapps/alfresco.war'
   -    Title:        Web Quick Start
   -    Version:      1.0
   -    Install Date: Fri Jan 31 16:56:01 IST 2014
   -    Description:   Web Quick Start

Original issue reported on code.google.com by shantjav...@gmail.com on 31 Jan 2014 at 7:08

GoogleCodeExporter commented 9 years ago
Hi,
I was founded same issue but I have resolved that one follow the solution:-
After adding amp file into jar file you have to delete the existing extracted 
alfresco file from alfresco/tomcat/webapp folder.don't delete alfresco.war 
,make sure that you are deleting only extracted file.
then restart server it will work deftenly

Original comment by shantjav...@gmail.com on 31 Jan 2014 at 9:14