cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Status 404 - /share/

johnpelquingua
Champ in-the-making
Champ in-the-making
Hi All,

So, Installed this add-on: http://code.google.com/p/report-dashlet/ on my Alfresco Community 4.0.e localhost. I've followed the README.txt insructions on how to install it, right after I drop the report-dashlet-alfresco-extension.amp to the C:/Alfresco/amps folder then clicking the apply_amps.bat on the C:/Alfresco/bin folder the whole Alfresco Share went down. Did I miss anything?

The error:

HTTP Status 404 - /share/

type Status report

message /share/

description The requested resource (/share/) is not available.

Apache Tomcat/6.0.29

Your immediate reply will be much appreciated Smiley Happy



Thanks~
JP
16 REPLIES 16

aevans713
Champ in-the-making
Champ in-the-making
Hi,

Did you try restarting all the Alfresco services? Also please post your log, it may offer hints to what happened.

Hi aevans713,

I tried restarting the services several times now and it always says /share/ is not available. Please have a look to the attached file
Hope we can solve this problem Smiley Happy

Thanks~
JP

Hi JP,
Does your alfresco explorer application is running?
Can you please post your alfresco.log and share.log files?

Hi Murali,

Does the alfresco explore supposed to be running along side with the Alfresco Share?
I've been here three times now and the only solution I can find is to uninstall the whole Alfresco Community an re-install it again which is not a good idea, such a waste of time for me actually Smiley Sad


Since I uinstalled Alfresco I can only post the catalina.logs that I have posted before on top of this comment.


Thanks~
JP

Hi JP,
Yes, Your alfresco explorer should be up in tomcat, before, your share application starts.

You no need to re-install it. You should have back-up of your old war files, db backup, and just replace with the current war file and database.. In this way, you can avoid re-installing the whole alfresco again.
Yesterday, I installed the  same report dashlet on Alfresco EE 4.1.1 and it is works fine for me.

I'm assuming that you were missed some steps while installing it.
Can you please post yours steps, that you followed the for the report dashlet installation ?

Hi Murali,

So I have this report-dashlet-1.zip file then I unzip it now I have two folders namely alfresco-module and share-dashlet folders.

On the installation for the share-dashlet here are my steps:
- I copied and paste the report-dashlet.jar file onto this path: C:/Alfresco/tomcat/webapps/share/WEB-INF/lib
- After that I restarted my Tomcat Server and I can now see that dashlet on to my Dashboard. But it's not functioning properly.

On the installation for the alfresco-module here are my steps:
- I copied and paste the report-dashlet-alfresco-extension.amp file onto this path C:/Alfresco/amps
- After that I go to this path: C:/Alfresco/bin to click the apply_amps.bat then a command prompt window appear then pressed any key waited for a few minutes then it's done.
- Then I restarted my Tomcat server and there you go I've received an HTTP Status error saying that the /share/ could not be found

Hope you can identify Murali on what I did wrong and finally cleared up some installation steps of what is the right way to install an add-on in alfresco.

Thanks~
JP





muralidharand
Star Contributor
Star Contributor
Hi JP,

If you use,"apply_amps.bat" it will delete the exploded directory of alfresco and share folder.
Once you restarted tomcat, make sure, you've exploded directories of alfresco and share are exist.

The best way to install add-on is, using AMP and this report dashlet does not have amp file for share. So, try the below steps.

Approach 1:

1) First take back-up of alfresco.war, share.war and alfresco.db (if required)
2) Install the report-dashlet-alfresco-extension.amp using apply_amps.bat file.
3) Restart the server
4) Now, tomcat will expand  alfresco.war and share.war into alfresco and share folders respectively.
5) Stop tomcat.
6) Place the report-dashlet.jar file onto this path: C:/Alfresco/tomcat/webapps/share/WEB-INF/lib
7) Start tomcat again.

Approach 2:
1) First take back-up of alfresco.war, share.war and alfresco.db (if required)
2) Place the report-dashlet.jar file onto this path: C:/Alfresco/tomcat/webapps/share/WEB-INF/lib
3) Modify apply_amps.bat file, not to  delete share folder. (Replace "rmdir /S /Q "%CATALINA_HOME%\webapps\share"" with "rem rmdir /S /Q "%CATALINA_HOME%\webapps\share""). So, share folder will not be deleted.
4) Install the report-dashlet-alfresco-extension.amp using apply_amps.bat file.
5) Make sure that Share folder is not deleted.
6) Restart tomcat.

I will prefer Approach 1 rather than Approach 2.

Hope this helps you !


Hi Murali,

Forgive me if I ask alot of questions I just want to really get familiar with Alfresco. Hope you're okay with that Smiley Happy

My question is where can I find the alfresco.db database? Is it in the whole folder of postgresql?

Thanks~
JP

Hi JP,

Launch PgAdmin from 
 "C:\Alfresco\postgresql\bin\pgAdmin3.exe"  
  location.
Then you can connect  to database server and  you should be able to access "alfresco" database.