Hello firends, I am a girl and i have a project which need alfresco and jboss portal but i am new in this field, but this project have to be done, friends here can help me?
the problem is I download the new version of alfresco-alfrsco 2.1.0 also, the jboss portal(2.6.1) bundled with jboss as 4.2.1 but how can i deploy alfresco in jbossporta, i learn from wiki that alfresco no longer bundled with jboss portal :cry:
2.Set an environment variable called JBOSS_HOME to point to the root of your JBossPortal2.4.1 installation.
yes i do
3.Build the Alfresco source using the "build-jboss" ANT build target from inside the root\common directory. This creates a WAR which is basically the same as the usual TomCat WAR with the JSR-168 portal deployment files included in WEB-INF. Once complete the build target will have deployed the WAR to your JBossPortal installation and copied over the MySQL driver also.
i use the .war file from the alfresco-community-war-2.1.0 directly, and i copy it to the server/default/deploy
4.This step is needed for JBossAS4.0.5+JBossPortal2.4.1 or JBossPortal2.6 or if you have a later revision of HEAD code than 574: Open the jboss/server/default/deploy/alfresco.war file in an archival tool and remove (and extract for later) the two jsf*.jar files from the WEB-INF/lib folder inside the WAR. Then update the jsf jar files in jboss/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs with the ones extracted from the alfresco WAR.
i copy the file myfaces-impl-1.1.5.jar and myfaces-api-1.1.5.jar from alfresco.war/WEB-INF/lib and copy to \server\default\deploy\jboss-web.deployer\jsf-libs, but in this folder, there are two files jsf-api.jar and jsf-impl.jar, what should i do? it is not exactly described as step 4?
5.Edit the file jboss/bin/run.bat (or run.sh) and add the following flags to the JAVA_OPTS line: -server -XX:MaxPermSize=128m
i added -server -XX:MaxPermSize=256m, is that ok?
and in this wiki http://wiki.alfresco.com/wiki/Deploying_WAR_JBoss it said #If using JBoss4.0.X, open alfresco.war in an archival tool (such as 7-Zip, WinZIP or WinRAR) and remove the file /WEB-INF/lib/log4j-1.2.8.jar.
should i delete it?
#Also remove /WEB-INF/lib/jta.jar if you plan on using JTA. i do
#Because Jboss 4.2.0GA uses the new JSF 1.2, you need to add the following to the web.xml in the alfresco.war file in the first position: <context-param> <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name> <param-value>true</param-value> </context-param>
yes, i did
#In addition, when deploying Alfresco 2.1 WAR you will need to edit the following file: \jboss\server\default\deploy\ejb3.deployer\META-INF\persistence.properties and change the line:
hibernate.bytecode.provider=javassist to:
hibernate.bytecode.provider=cglib
i did
but but, still not work, i cannot see alfresco at localhost:8080/portal/portal/default/alfresco, is alfresco only design for men? difficult for me, sigh. thanks for anyhelp
why did you use svn instead of 2.1 already packaged ? is there a good reason for this ? First try the installation with the packaged war and check if you get it work. You will find a lot of information on the wiki about standard installation.
Using the svn is not a good idea for a beginner I would say.
Try first the official release and post back your results.