Glad by your attention kevinr,
Actually, it doesn't work yet….
I did what you said, and set up the JBOSS_HOME variable to /usr/lib/jobss4. Ran "ant build-jboss" into the /alfresco-src/common. Took the alfresco.war (27.9Mb) and placed it in …/deploy, besides the others instructions in the messages above.
(I have the same /opt/alfresco/jboss/server/default/conf/alfresco structure files in /usr/lib/jboss4/server/default/conf/alfresco)
(…linux debian, and postgresql, I placed the postgre driver into the lib directory and did other hibernate configurations, it is working on jboss portal 2…)
(I am starting jboss with "./alfresco.sh start" in the /usr/lib/jboss4/server/default/conf/alfresco. It is the content of it:
#!/bin/sh
# Start or stop Alfresco server
# Set the following to where JBoss is installed
APPSERVER=/usr/lib/jboss4
#
if [ "$1" = "start" ]; then
"$APPSERVER"/bin/run.sh
if [ -r ./start_oo.sh ]; then
sh ./start_oo.sh
fi
elif [ "$1" = "stop" ]; then
"$APPSERVER"/bin/shutdown.sh -S
if [ -r ./start_oo.sh ]; then
killall soffice.bin
fi
fi
.
Follow the erros encountered in the final of log:
— Incompletely deployed packages —
org.jboss.deployment.DeploymentInfo@5ddae252 { url=file:/usr/lib/jboss4/server/default/deploy/alfresco.war }
deployer: org.jboss.web.tomcat.tc5.Tomcat5@1bbbafc
status: Deployment FAILED reason: URL file:/usr/lib/jboss4/server/default/tmp/deploy/tmp11972alfresco.war/ deployment failed
state: FAILED
watch: file:/usr/lib/jboss4/server/default/deploy/alfresco.war
altDD: null
lastDeployed: 1137609061598
lastModified: 1137609061000
mbeans:
org.jboss.deployment.DeploymentInfo@27fda955 { url=file:/usr/lib/jboss4/server/default/deploy/sentinela.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/usr/lib/jboss4/server/default/deploy/sentinela.xml
altDD: null
lastDeployed: 1137609094314
lastModified: 1137609094000
mbeans:
— MBeans waiting for other MBeans —
ObjectName: jboss.web.deployment:war=alfresco.war,id=1574625874
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/usr/lib/jboss4/server/default/tmp/deploy/tmp11972alfresco.war/ deployment failed
— MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
ObjectName: jboss.web.deployment:war=alfresco.war,id=1574625874
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/usr/lib/jboss4/server/default/tmp/deploy/tmp11972alfresco.war/ deployment failed
16:31:34,899 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
16:31:35,016 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
16:31:35,160 INFO [JkMain] Jk running ID=0 time=1/167 config=null
16:31:35,195 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:22s:300ms