cancel
Showing results for 
Search instead for 
Did you mean: 

2.0.0 preview on jboss 4.0.5 w/ jboss-portal 2.4.1 - almost

deas0815
Star Contributor
Star Contributor
Hallo everybody,

I'm trying to get 2.0.0 preview running on jboss 4.0.5 w/ jboss portal 2.4.1 using the
alfresco.war bundled with alfresco-community-jboss-2.0.0Preview.

It almost seems working.

The only "real" problem left I've encountered (so far) is that the form(s) is/are missing
some hidden fields so I'm running into javascript errors like the following and cannot
really navigate very far:

Error: document.forms.dashboard['dashboard:act'] has no properties
Source File: http://localhost:8080/portal/portal/default/Alfresco
Line: 1

Error: document.forms.dashboard['dashboard:modelist'] has no properties
Source File: http://localhost:8080/portal/portal/default/Alfresco
Line: 1

Any help how to get this fixed is appreciated.

regards
Andreas
33 REPLIES 33

naumand
Champ in-the-making
Champ in-the-making
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:

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

Clicking on 'My Home' I got similar error:
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

IE6, FF2 - same stuff.

PS. See my initial post in this thread - same issues!
Kevin, can YOU navigate furter that the initial page?

kevinr
Star Contributor
Star Contributor
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?

I can indeed - I assumed the initial problem you reported was an old issue of some kind as I haven't seen it. I performed the code changes and then wrote the instructions that you've used, I've also tested "basic" stuff like browsing around, uploading content, downloading content, dashboard, rules, actions etc. and didn't find any show stoppers. I'm using FF1.5 and no javascript errors are reported. It's strange as i would have thought i'd see the same thing if you are. 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" />

as that is the hidden field (used for all actions on all pages!) that should be present near the bottom of the generated html.

Thanks,

Kevin

naumand
Champ in-the-making
Champ in-the-making
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…

I use Jboss Portal 2.4.1.SP1 (part of JEMS Installer 1.2.0.GA)

Can you test something for me? Can you View Source of the page and search for this string:
<input type="hidden" name="dashboard:act" />

Sure,
No such an entry at all in page source code.

I see the following java error in consile though while page is rendered. May by it's related…
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)

Thank you,
Andrey

naumand
Champ in-the-making
Champ in-the-making
Speaking of differences, I use HSQL as a database, not MySQL.
I just copied
- tomcat/shared/classes/alfresco from Tomcat bundle to Jboss's server\default\conf\alfresco and
- alf_data to bin\alf_data respectively.

But seems the system rather works, so I do not see it as an issue. (I successfully did the same trick with your standalone JBoss instructions)

carnby
Champ in-the-making
Champ in-the-making
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?

kevinr
Star Contributor
Star Contributor
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?

That will very likely solve the build issue.

Thanks,

Kevin

carnby
Champ in-the-making
Champ in-the-making
Thanks! Build Successful with jdk1.5

naumand
Champ in-the-making
Champ in-the-making
Thanks! Build Successful with jdk1.5

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.

carnby
Champ in-the-making
Champ in-the-making
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)


kevinr
Star Contributor
Star Contributor
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)



This doesn't look related - can you recreate your database and delete the alf_data directory and start the portal again as it looks like you have multiple alf_data indexes.

Thanks,

Kevin