02-11-2009 09:12 PM
diff -u -r Alfresco-org/jboss/bin/run.sh Alfresco/jboss/bin/run.sh
— Alfresco-org/jboss/bin/run.sh 2009-02-11 19:40:47.000000000 -0500
+++ Alfresco/jboss/bin/run.sh 2009-02-11 19:57:51.000000000 -0500
@@ -5,6 +5,9 @@
## ##
### ====================================================================== ###
+JAVA_HOME="/home/ed/local/jdk1.6.0_11"
+JAVA_OPTS="-Xms512m -Xmx1G -XX:MaxPermSize=128m -server -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false"
+
### $Id: run.sh 75849 2008-07-15 18:43:17Z dimitris@jboss.org $ ###
DIRNAME=`dirname $0`
diff -u -r Alfresco-org/jboss/server/default/deploy/ejb3.deployer/META-INF/persistence.properties Alfresco/jboss/server/default/deploy/ejb3.deployer/META-INF/persistence.properties
— Alfresco-org/jboss/server/default/deploy/ejb3.deployer/META-INF/persistence.properties 2008-07-18 14:21:02.000000000 -0400
+++ Alfresco/jboss/server/default/deploy/ejb3.deployer/META-INF/persistence.properties 2009-02-11 19:57:51.000000000 -0500
@@ -14,4 +14,4 @@
hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
hibernate.bytecode.use_reflection_optimizer=false
# I don't think this is honored, but EJB3Deployer uses it
-hibernate.bytecode.provider=javassist
\ No newline at end of file
+hibernate.bytecode.provider=cglib
diff -u -r Alfresco-org/jboss/server/default/deploy/jboss-web.deployer/conf/web.xml Alfresco/jboss/server/default/deploy/jboss-web.deployer/conf/web.xml
— Alfresco-org/jboss/server/default/deploy/jboss-web.deployer/conf/web.xml 2008-07-18 14:21:02.000000000 -0400
+++ Alfresco/jboss/server/default/deploy/jboss-web.deployer/conf/web.xml 2009-02-11 19:57:51.000000000 -0500
@@ -59,16 +59,20 @@
<!– Configures JSF for a web application if the javax.faces.webapp.FacesServlet is declared –>
<!– in web.xml. –>
+ <!–
<listener>
<listener-class>org.jboss.web.jsf.integration.config.JBossJSFConfigureListener</listener-class>
</listener>
+ –>
<!– Listens to all web app lifecycle events so that @PreDestroy can be called on –>
<!– JSF managed beans that go out of scope. You can comment this out if you –>
<!– don't use JSF or you don't use annotations on your managed beans. –>
+ <!–
<listener>
<listener-class>com.sun.faces.application.WebappLifecycleListener</listener-class>
</listener>
+ –>
<!– ================== Built In Servlet Definitions ==================== –>
db.username=alfresco3
db.password=alfresco3ERROR
I have also tried the properties file at jboss/server/default/conf/alfresco/custom-repository.properties. 02-12-2009 01:16 PM
02-13-2009 06:23 PM
<!– load common properties –>
<bean id="repository-properties"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreUnresolvablePlaceholders">
<value>true</value>
</property>
<property name="locations">
<list>
<value>classpath:alfresco/repository.properties</value>
<value>classpath:alfresco/version.properties</value>
<value>classpath:alfresco/domain/transaction.properties</value>
<!– <value>classpath:alfresco/jndi.properties</value> –>
</list>
</property>
</bean>
But there is no reference to load the custom-repository.properties as referenced in the documentation. Is there some shortcut custom-property loader available in Tomcat that is not available in JBoss?02-13-2009 06:38 PM
02-13-2009 09:57 PM
Have you seen this wiki article on Repository Config?I was following that page, which is why I was creating/editing the file at jboss/server/default/conf/props/alfresco/extension/custom-repository.properties.
http://wiki.alfresco.com/wiki/Repository_Configuration
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.