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

bricethurin
Champ in-the-making
Champ in-the-making
Good afternoon,

I have the exact same problem. I was wondering if you managed to solve it.

Cheers
Brice

djyahoo
Champ in-the-making
Champ in-the-making
Hello,

Please give us some more details :
- Windows / Linux ?
- URLs that doesn't work
- Content of the file you downloaded : does this content look like the rigth one ?
- Do you have a proxy on your network ? Did you change anything in your host file ?

I'm just doing 'product evaluation guide' with 3.2r, I met several problems but at least it globally works. I am blocked at the section regarding deployment, I can hardly understand the concepts, but it's not related to your topic…

winsenthil
Champ in-the-making
Champ in-the-making
Hi…
I am new to alfresco. I am using alfresco 3.3g. I am practicing "Getting Started with Alfresco Web Content Management (WCM)" work guide. I followed the procedures guided and finally facing few problems:
1) I can able to preview the website successfully. When I click About US –> news –> I can see all the 3 Alfresco Press Releases. My problem is when I click any one of the release news (eg: say, InterDoc Chooses Alfresco to Deliver Solution for the Government of Quebec), I am getting an error
  HTTP Status 404 - /media/releases/content/InterDoc_Alfresco_Solution.htm
  The requested resource (/media/releases/content/InterDoc_Alfresco_Solution.html) is not available.
I can view the headings but when I clicked the title, it is moving to an error page stating that the html file is not present in that location.

2) Finally when i tried to deploy the whole project, i am getting an error:
  Deployment Failed
      06280017 Could not connect to remote deployment receiver, transportName:default, hostName:localhost, port: 44100


Thanks in advance…

winsenthil
Champ in-the-making
Champ in-the-making
Hi…
I found the problem for my website preview problem. In the output pattern I used /${webapp}/media/releases/ content/${name}.xml..
An empty space between the pattern. Now I can preview the website properly.
Still I have a problem in deployment. In the Staging Sandbox when I clicked the deployment icon of Initial Import, it displays Deployment Failed
06300026 Could not connect to remote deployment receiver, transportName:default, hostName:localhost, port: 44100
.

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


Kindly suggest me to fix this deployment problem.

djyahoo
Champ in-the-making
Champ in-the-making
Still I have a problem in deployment. In the Staging Sandbox when I clicked the deployment icon of Initial Import, it displays Deployment Failed
06300026 Could not connect to remote deployment receiver, transportName:default, hostName:localhost, port: 44100
.

Have you read http://forums.alfresco.com/en/viewtopic.php?f=29&t=21615#p84496 ?

winsenthil
Champ in-the-making
Champ in-the-making
Hi djyahoo…
Thanks for your reply.
I think I had done all the settings discussed by you properly. Let me summarize it:
(1) Installed alfresco Community edition 3.3g in C:\Alfresco
(2) Started Alfresco Server.
(3) Started Alfresco Virtual Server.
(4) Installed Alfresco Standalone Deployment Receiver in C:\Alfresco\Deployment
     settings in deployment.property file:
    
    ; Stand alone deployment receiver properties
    ;
    ;

    ; filesystem receiver configuration
    deployment.filesystem.datadir=depdata
    deployment.filesystem.logdir=deplog
    deployment.filesystem.metadatadir=depmetadata
    deployment.filesystem.autofix=true
    deployment.filesystem.errorOnOverwrite=false

    ; default filesystem target configuration
    deployment.filesystem.default.metadatadir=${deployment.filesystem.metadatadir}/default
    deployment.filesystem.default.rootdir=target
    deployment.filesystem.default.name=default
    deployment.filesystem.default.user=admin
    deployment.filesystem.default.password=admin

    ; sample target configuration (used by unit tests)
    deployment.filesystem.sampleTarget.metadatadir=${deployment.filesystem.metadatadir}/sampleTarget
    deployment.filesystem.sampleTarget.rootdir=sampleTarget
    deployment.filesystem.sampleTarget.name=sampleTarget
    deployment.filesystem.sampleTarget.user=Giles
    deployment.filesystem.sampleTarget.password=Watcher

    ; Deployment Engine configuration
    deployment.rmi.port=44100
    deployment.rmi.service.port=44101

    ; Stand alone deployment server specific properties
    deployment.user=admin
    deployment.password=admin


(5) Started Alfresco Standalone Deployment Receiver.
(6) Configured my Deployment Servers in my web project as:
    Type: Live server
    Transport Name: default
    Host: localhost
    Port: 44100
    User name: admin
    password: admin (given while installation)

After these, I had completely restarted all the servers. Still during deployment I am  getting the same error  Deployment Failed
06280017 Could not connect to remote deployment receiver, transportName:default, hostName:localhost, port: 44100


Kindly say whether I had missed anything or need to configure anything more.
Thanks in advance.

djyahoo
Champ in-the-making
Champ in-the-making
I don't think it matters, but I would try to install the deployment receiver in a separate directory than those of Alfresco Server.
For instance, let Alfresco under c:\alfresco and install the deployement receiver under c:\alfresco_deploy.

Nevertheless I don't think it could be te cause of your problem.

I don't see anything wrong with what you've done. It should work.

winsenthil
Champ in-the-making
Champ in-the-making
Thanks for your quick reply…
I had done that before… But Still had the same problem…..
If anyone knew the solution for this, kindly post your answers.
Thanks in advance…..

kramoutar
Champ in-the-making
Champ in-the-making
Is the same edition/version of the DR installed on both source and target server?