Problem with WCM Tutorial Samples (using Alfresco v 2.1.0)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2007 07:03 AM
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:
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:
in log:
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] ßрþòõрúð ÷ðÿûðтþú, трõñующøх ÿрøüõýõýøÑ
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 05:57 PM
I had the same issue…
Evidently there is a problem here.
Evidently there is a problem here.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2007 07:53 PM
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
* 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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2007 04:59 PM
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?
Thoughts?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2007 05:07 PM
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...
http://workflow-b331bf40-b3fa-11dc-8124-3f4ebeea056a.alfrescosample.www--sandbox.127-0-0-1.ip.alfres...

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2007 12:10 PM
Same thing happened to me. I am also able to preview the website, except from the "Manage Task: Rejected" page.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2008 06:45 PM
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
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
