cancel
Showing results for 
Search instead for 
Did you mean: 

WCM how to start

bragosso
Champ in-the-making
Champ in-the-making
Hello
i downloaded and installed the 3.0 release, with WCM
I tried to use it, with some problem
I tried to find something like a tutorial and I found it in http://www.packtpub.com/article/obtaining-alfresco-web-content-management-wcm, but it is not enough
Someone of you can help me sending a link where I can find a complete tutorial ?


p.s. I read, probably, all the documentation present on line under alfresco.com (wiki, developer, forum, and  much more)
16 REPLIES 16

simon32
Champ in-the-making
Champ in-the-making
Thanks al lot, it was the Java home after all. I can preview the site just fine now.

Regards
Simon

simon32
Champ in-the-making
Champ in-the-making
Hi mewert,

To which Wiki page you are refering in your post? And did the instructions there help or the actions you took later solved the problem? Can you please guide me through this?

edit: I have Alfresco Labs 3Stable 3.1 running on Windows XP with the default setup

With regards Simon

mewert
Champ in-the-making
Champ in-the-making
Hi,

here is the information about how to build AlfrescoLabs by yourself: http://wiki.alfresco.com/wiki/Source_Code

I didn't succeed in executing "ant -f continous.xml distribute", but the previous "ant -f build.xml" do create the alfresco.war, which has to be copied in an already installed AlfrescoLabs instance. Than the error with the org.alfresco.service.cmr.avm.AVMNotFoundException exception is gone.

lirux
Champ in-the-making
Champ in-the-making
After recompiling the "Store not found" has gone.
The cvs revision is 12988/89 (30/01/2009):

Merged V3.1 to HEAD
12988: Fix for ETHREEOH-1238: Cannot use Jsp:include feature in XSD - 'Store not found' exception
12986: Merged V3.0 to V3.1
12980: Merged V2.2 to V3.0
12726: Fix for ETWOTWO-950: Forms with list control does not work in IE (6 & 7)

Alberto

See also http://forums.alfresco.com/en/viewtopic.php?f=30&t=16524&start=0&st=0&sk=t&sd=a

simon32
Champ in-the-making
Champ in-the-making
Hi to all,

I checked out all the source code in an eclipse installation, right clicked on build.xml and selected ant build. After a few seconds i got a BUILD FAILED with the following explenation

C:\workspace\alfresco\projects.xml:25: The following error occurred while executing this line:
C:\workspace\alfresco\macros.xml:27: Error running javac.exe compiler

the code at the line is  excludes="@{compileExcludes}". Anybody with the same problem?

simon32
Champ in-the-making
Champ in-the-making
Hi again,

After failling miserably with eclipse i did the following:

I checked out the source code and with my trusted netbeans i sellected open->file->build.xml.

I had some warnings about depricated stuff but the built was successfull, i took the alfresco.war and pasted it over the old one. I also deleted the alfresco folder in the webapp folder of the tomcat. Finally i restarted the latter.

When i tried to finish the tutorial and selected to fill the Press release, the form appeared just fine but when i filled in the content and pressed next i got the following error messages:\

Please correct the errors below then click Finish.

    * Error generating rendition using press-release-plain-text.ftl: freemarker.template.TemplateModelException: org.alfresco.service.cmr.avm.AVMNotFoundException: /www/avm_webapps/ROOT/media/releases/content/InterDoc has no content.
    * Error generating rendition using press-release.xsl: javax.xml.transform.TransformerException: java.lang.NullPointerException

Anybody with the same problem?

simon32
Champ in-the-making
Champ in-the-making
Hello again,

After the problem i had yesterday i followed a different approach, i only copied the alfresco-web-client.jar and everything seemed to work fine. I created the html pages and was able to preview them. But then most of the buttons in the alfresco application seemed to go out of order, for example i pressed a "Ok" button after creating a web form an got the message

javax.faces.FacesException: Error calling action method of component with id dialog:finish-button
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{DialogManager.finish}
caused by:
java.lang.NoSuchMethodError: org.alfresco.wcm.sandbox.SandboxService.submitListAssets(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/util/Date;ZZ)V

Hide Details


javax.faces.FacesException: Error calling action method of component with id dialog:finish-button
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{DialogManager.finish}
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:156)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
… 22 more
Caused by: java.lang.NoSuchMethodError: org.alfresco.wcm.sandbox.SandboxService.submitListAssets(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/util/Date;ZZ)V
at org.alfresco.web.bean.wcm.SubmitDialog.finish(SubmitDialog.java:354)
at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:534)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)

Also no other button in the web projects window works with similar messages. What could be wrong?