As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Does this work ok for you if you use the JBoss Portal 2.2 from the JBoss Bundle?CheersPaul.
FYI I have successfully tweaked Alfresco 2.0 to work with the latest JBossPortal 2.4.1 release. It required a couple of minor code changes which are not present in the current 2.0 release however. I will commit the changes to our SVN HEAD repo probably tommorow and provide instructions on how to deploy (easy enough).Thanks,Kevin
init: [echo] Starting build for repository at 12:52 common.compile-java: [mkdir] Created dir: C:\kam\root\projects\repository\build\classes [javac] Compiling 1725 source files to C:\kam\root\projects\repository\build\classes [javac] C:\kam\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\LuceneT est2.java:294: warning: unmappable character for encoding Cp1252 [javac] mlText.addValue(new Locale("ja"), "πâ?πâèπâè"); [javac] ^ [javac] C:\kam\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\LuceneT est2.java:2956: warning: unmappable character for encoding Cp1252 [javac] sp.setQuery("@" + LuceneQueryParser.escape(mlQName.toString()) + ":πâ?πâèπâè"); [javac] ^ [javac] C:\kam\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\QueryPa rser.java:16: warning: [deprecation] org.apache.lucene.document.DateField in org.apache.lucene.docum ent has been deprecated [javac] import org.apache.lucene.document.DateField; [javac] ^ [javac] C:\kam\root\projects\repository\source\java\org\alfresco\filesys\ftp\FTPSrvSession.java: 4174: warning: sun.text.Normalizer is Sun proprietary API and may be removed in a future release [javac] cmd = sun.text.Normalizer.compose( new String(m_inbuf, 0, rd len, "UTF-8"), false, 0); [javac] ^ [javac] C:\kam\root\projects\repository\source\java\org\alfresco\filesys\ftp\FTPSrvSession.java: 4174: cannot find symbol [javac] symbol : method compose(java.lang.String,boolean,int) [javac] location: class sun.text.Normalizer [javac] cmd = sun.text.Normalizer.compose( new String(m_inbuf, 0, rd len, "UTF-8"), false, 0); [javac] ^ [javac] C:\kam\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\QueryPa rser.java:448: warning: [deprecation] org.apache.lucene.document.DateField in org.apache.lucene.docu ment has been deprecated [javac] part1 = DateField.dateToString(d1); [javac] ^ [javac] C:\kam\root\projects\repository\source\java\org\alfresco\repo\search\impl\lucene\QueryPa rser.java:449: warning: [deprecation] org.apache.lucene.document.DateField in org.apache.lucene.docu ment has been deprecated [javac] part2 = DateField.dateToString(d2); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error [javac] 6 warnings BUILD FAILED C:\kam\root\common\build.xml:53: The following error occurred while executing this line: C:\kam\root\common\common.xml:24: Compile failed; see the compiler error output for details. Total time: 23 seconds
I tried building the 574 revision with "ant build-jboss" and got the following compile errors:Did anyone succeed in running this?
I tried building the 574 revision with "ant build-jboss" and got the following compile errors:….Did anyone succeed in running this?
Line: 120 Char: 2 Error: 'document.forms.dashboard.dashboard:act' is null or not an object Code: 0 URL: http://localhost:8080/portal/portal/default/Alfresco
Line: 171 Char: 1 Error: 'document.forms.dashboard.dashboard:sidebar-body:navigator' is null or not an object Code: 0 URL: http://localhost:8080/portal/portal/default/Alfresco
Hi Kevin,Thank you for the instructions. Appreciate that.I've successfully compiled Alfresco 2.0 for JBoss Portal 2.4 as in my post above.I can run now the system and see alfresco portlet rendered within,BUT:I can not move anywhere from the page!! Clicking say on Login, I got javascript error:…IE6, FF2 - same stuff.PS. See my initial post in this thread - same issues! Kevin, can YOU navigate furter that the initial page?
The only difference maybe is that i'm using FF1.5 and JBossPortal2.4.1 and you are using FF2.0 and JBossPortal2.4? - but from the error reported i wouldn't expect that to make any difference…
Can you test something for me? Can you View Source of the page and search for this string:<input type="hidden" name="dashboard:act" />
16:06:43,598 ERROR [JspStateManagerImpl] Exiting serializeView - Could not seria lize state: org.alfresco.web.ui.common.component.UIListItem java.io.NotSerializableException: org.alfresco.web.ui.common.component.UIListIte m at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.ArrayList.writeObject(ArrayList.java:569)
I tried building the 574 revision with "ant build-jboss" and got the following compile errors:….Did anyone succeed in running this?Which JDK are you using?
I tried building the 574 revision with "ant build-jboss" and got the following compile errors:….Did anyone succeed in running this?Which JDK are you using?I'm using JDK 1.6 … Do I have to revert to 1.5?
Thanks! Build Successful with jdk1.5
2007-03-06 14:08:27,828 WARN [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder. 2007-03-06 14:08:27,953 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores. 2007-03-06 14:08:27,953 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store. 2007-03-06 14:08:27,953 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location. 2007-03-06 14:08:27,953 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location. at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:313) …
No, I ran into another problem…When starting the jboss portal I get this error:2007-03-06 14:08:27,828 WARN [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder. 2007-03-06 14:08:27,953 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 5 stores. 2007-03-06 14:08:27,953 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store. 2007-03-06 14:08:27,953 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location. 2007-03-06 14:08:27,953 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location. at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:313) …
CarnbY,Is the system usable for you? Do you have the same issues as me (above in this thread)? Can you navigate through the Alfresco?Thanks,Andrey.
I've logged in as admin and browsed around a little and have not gotten any javascript errors… I use JBoss portal 2.4.1 bundled with AS.
I have the JavaScript problems, too…
ERROR [JspStateManagerImpl] Exiting serializeView - Could not serialize state: org.alfresco.web.ui.common.component.UIListItem java.io.NotSerializableException: org.alfresco.web.ui.common.component.UIListItem at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.GeneratedMethodAccessor957.invoke(Unknown Source) ….
Error: 'document.forms.dashboard.dashboard.act' is null or not an object
We are also having a very similar problem. Environment: JBoss AS - 4.0.5 JBoss Portal - 2.4.1 Alfresco revision - 574 OS Win XP SP2 browsers - IE and FFAfter deploying the Alfresco.war on JBoss, the JBoss AS reports the following error whenever I open the Alfresco Portlet Page.…
I have the JavaScript problems, too. My environment is Red Hat Enterprise Linux 4 JDK 1.5.0_10 JBoss AS 4.0.5 (replaced MyFaces 1.1.4 by 1.1.5)
The problem ….Is that the version of JBossAS you are using packages the MyFaces1.1.4 as the jsflibs inside the tomcat webserver module.The version of Alfresco you are trying to use is expecting MyFaces1.1.1. This is why you currently need to use the JbossPortal2.4.1+JBoss bundle (which still uses MyFaces1.1.1) or wait for a future release of Alfresco.Kevin