cancel
Showing results for 
Search instead for 
Did you mean: 

Can't preview created content of press release form

lehaihua444
Champ in-the-making
Champ in-the-making
Hi all,
I followed the "Getting_Started_With_WCM_for_Alfresco_Community_Edition_3_2_r.pdf" tutorial and I was stuck at the point where I am supposed to create web content: press releases. I was able to create the content, and after I created it, there were 3 files created. One is .xml, one is .txt, and the last one is .html.

The tutorial said that I should be able to preview the html file. However, when I click the "preview", instead of opening a browser window, it prompts me for downloading the file. So I thought maybe I need to download it. After I downloaded it using FireFox, I still couldn't open the html file. If I clicked it, it will be downloaded again.

And then I try to preview the whole sample website, then click to where the contents are; in this case, it is –>about us –> news.
The links are all there, but when I clicked the links, it shows an error message:
HTTP status 404 -/media/releases/content/InterDoc_Alfresco_Solution.html
type: Status report
message /media/releases/content/InterDoc_Alfresco_Solution.html
description The requested resource (/media/releases/content/InterDoc_Alfresco_Solution.html) is not available.
Apache Tomcat/5.5

I did check the folder under /media/releases/content, all the files are there.
Can anyone help me with this?

Thanks in advance.
19 REPLIES 19

winsenthil
Champ in-the-making
Champ in-the-making
Thanks for your reply….
Here which one you are mentioning as source and target servers?

I had installed both Alfresco Community Edition 3.3g and Alfresco-DeploymentCommunity-3.3-Setup in windows environment. I had installed only these two setups in windows. Do I need to configure any more?

I had started my standalone Deployment receiver (Windows) first and then the remaining alfresco tomcat server and virtual server and typed telnet xxx.xxx.xx.x 44100 in the cmd prompt (x—ip address)..
the message was: Could not open connection to the host, on port 44100…connection failed.
Can I know what is the problem in this?

kramoutar
Champ in-the-making
Champ in-the-making
Both source and target servers must have the same version of the deployment receiver running.

Is there a detailed error in the server log?

winsenthil
Champ in-the-making
Champ in-the-making
Hi…
At last I found to deploy my web project by modifying the port to 50500 and Target name to avm… Now the deployment is successful. I dont have idea about why its not successfully deployed when I used the port 44100. If anyone have idea, kindly post…

winsenthil
Champ in-the-making
Champ in-the-making
Hi…
I hadn't setted an environmental variable for JAVA_HOME.. After setting up, now I can successfully deploy using the port 44100 (default). The logs folder are automatically created.

djyahoo
Champ in-the-making
Champ in-the-making
How did you manage to find this ? I have this Java_home variable on my system, but i had set it months before installing Alfresco. So it seems that i was lucky to see my alfresco runnning under port 44100, doesn't it ? Is it written in the docs that we have to set this variable ?

winsenthil
Champ in-the-making
Champ in-the-making
no ya…. mrogers helped me to find this issue…

abhashree
Champ in-the-making
Champ in-the-making
Hi winsenthil,

It is really strange to hear that you have not set your JAVA_HOME path variable.what i know without setting java-home we cann't run alfresco.There must be some problem with your deployment reciever.you should  check log files of deployment reciever.deployment reciever should work with port 44100 which you  have set during installation .You have also mentioned that deployment server was running with port 50500.i think it may be due to the rmi port configuration present in the alfresco-shared global.properties present in the opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco.I am not sure.

winsenthil
Champ in-the-making
Champ in-the-making
Thanks for your reply abhashree…
Actually already I had setted java home environment variable… But due to some system config changes it was removed…
After having java_home, i can succesfully deploy using the default target (44100).

rased56
Champ in-the-making
Champ in-the-making
I had pasted the error message of web server below:
12:11:08,817 User:admin ERROR [avm.actions.AVMDeployWebsiteAction] Deployment Error
org.alfresco.service.cmr.avm.AVMException: 06300027 Deployment exception, unable to deploy : srcPath:sysvine:/www/avm_webapps, target:default, version:3, adapterName:default, hostName:localhost, port:44,100, errorSmiley Surprisedrg.alfresco.service.cmr.avm.AVMException: 06300026 Could not connect to remote deployment receiver, transportName:default, hostName:localhost, port: 44100




photo retouching

winsenthil
Champ in-the-making
Champ in-the-making
Hi..
Had you installed DR???
If so, Check whether JAVA_HOME is setted properly as the environmental variable..