cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with WCM Tutorial Samples (using Alfresco v 2.1.0)

avator
Champ in-the-making
Champ in-the-making
Hi.
I've installed Alfresco (extracted from arc) and WCM module, both 2.1.0 ver.

Then I've made all according to the instructions:

- moved wcm-bootstrap-context.xml to appropriate folder
- corrected custom-repository.properties, custom-hibernate-dialect.properties
- updated MySQL connector

Then I've started to make all according to "Alfresco 2.1 Web Content Management Product Evaluation Guide"
It was all Ok.. there were no errors.
Only one litle problem:
15:27:54,767 WARN  [org.alfresco.web.bean.wcm.CreateFormWizard] non fatal errors encountered parsing schema press-release.xsd error parsing schema: at line 51 column 114: src-resolve: Cannot resolve the name 'pr:company_footer_choices' to a(n) 'type definition' component.‍‍‍

But after searching the forum I've understood that there is no solution for it.

But on step, whene i've rejected Alfresco.xml (from Mark account) and tried to edit it (from Admin account) i've got an eror:
in browser:
java.lang.IllegalArgumentException: Webapp name is mandatory.‍

in log:

16:25:45,883 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one16:25:50,321 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.16:25:51,805 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.16:25:54,602 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: E:\CMS_Test\alfresco\alf_data16:25:54,946 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Проверка заплаток, требующих применениÑ‍‍‍‍‍
6 REPLIES 6

craig
Champ in-the-making
Champ in-the-making
I had the same issue…

Evidently there is a problem here.

kvc
Champ in-the-making
Champ in-the-making
Two things here to look at:

*  Is your Virtualization Server started?  That is the server that is used
    to enable in-context preview.  It looks at the bottom on the stack
    trace that Alfresco could not connect to it.  If it is running, did you
    reconfigure any ports, and do they match correctly?  Can you preview
    the website at all?

    The company footers message comes from a failed Virtualization
    Server request.  The enumerated list available in the XSDs is
    generated on-the-fly based on a query to the server to return a
    list of all current items in a user's sandbox.  It is implemented
    as a JSP, and is routed through the Virtualization Server to generate
    a standard XSD include (itself a valid XSD).  A simple test is to
    find the JSP pages in /ROOT/media/releases/get_simple_type_
    footer_choice.jsp (not exactly the precise name; I do not have
    here in front of me) and click the Preview icon (not the filename
    link, which will just show you the JSP content).  If it generates
    a list of assets, then your form will work.  If it doesn't, it is
    a Virtualization connect or authentication (did you change passwords?)
    issue.

*  Use of Java 1.6.  2.1.0 WCM Enterprise is not support on 1.6 (and
    correspondingly, Community).  There may or may not be an
    issue here.  Whether there is, I would recommend using 1.5.x
    instead.


Kevin

rssieber
Champ in-the-making
Champ in-the-making
I am having the same issue. I am using the jdk1.5.0_05 JDK and am amble to preview the website & XML file./

Thoughts?

rssieber
Champ in-the-making
Champ in-the-making
Actuall I can preview the asset from every where except for the "Manage Task: Rejected" page. When I click on the preview action, I get a page not found error. Here is the link it is sending me to:

http://workflow-b331bf40-b3fa-11dc-8124-3f4ebeea056a.alfrescosample.www--sandbox.127-0-0-1.ip.alfres...

klwalker
Champ in-the-making
Champ in-the-making
Same thing happened to me.  I am also able to preview the website, except from the "Manage Task: Rejected" page.

nancyg
Champ in-the-making
Champ in-the-making
see post http://forums.alfresco.com/viewtopic.php?t=10491&highlight=companyfooterchoices

the problem happens if you don't create the company footer xml documents in the /${webapp}/media/releases/content directory.

modify the output path for the company footers and that should fix it.

Nancy