diff --git a/project.properties b/project.properties
index 7e67da7136..5a5cf914a5 100644
--- a/project.properties
+++ b/project.properties
@@ -1,4 +1,4 @@
webinf.delete.tomcat=jboss*.xml,portlet*.xml,alfresco-pages.xml
-webinf.lib.delete.jboss=log4j-1.2.8.jar,portlet-api-lib.jar
+webinf.lib.delete.jboss=log4j-1.2.8.jar,portlet-api-lib.jar,myfaces-api.jar,myfaces-impl.jar
files.faces.config=/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,/WEB-INF/faces-config-zoo.xml
diff --git a/source/java/org/alfresco/web/app/Application.java b/source/java/org/alfresco/web/app/Application.java
index ff05b39b55..fc89f49d50 100644
--- a/source/java/org/alfresco/web/app/Application.java
+++ b/source/java/org/alfresco/web/app/Application.java
@@ -60,7 +60,7 @@ public class Application
public static final String MESSAGE_BUNDLE = "alfresco.messages.webclient";
- private static boolean inPortalServer = true;
+ private static boolean inPortalServer = false;
private static StoreRef repoStoreRef;
private static String rootPath;
private static String companyRootId;
diff --git a/source/java/org/alfresco/web/app/portlet/AlfrescoFacesPortlet.java b/source/java/org/alfresco/web/app/portlet/AlfrescoFacesPortlet.java
index 013c2cf07f..10df8f9b77 100644
--- a/source/java/org/alfresco/web/app/portlet/AlfrescoFacesPortlet.java
+++ b/source/java/org/alfresco/web/app/portlet/AlfrescoFacesPortlet.java
@@ -60,9 +60,7 @@ import org.springframework.web.context.WebApplicationContext;
public class AlfrescoFacesPortlet extends MyFacesGenericPortlet
{
public static final String INSTANCE_NAME = "AlfrescoClientInstance";
- public static final String WINDOW_NAME = "AlfrescoClientWindow";
- public static final String MANAGED_BEAN_PREFIX = "javax.portlet.p." + INSTANCE_NAME +
- "." + WINDOW_NAME + "?";
+ public static final String MANAGED_BEAN_PREFIX = "javax.portlet.p." + INSTANCE_NAME + "?";
private static final String ERROR_PAGE_PARAM = "error-page";
private static final String ERROR_OCCURRED = "error-occurred";
diff --git a/source/web/WEB-INF/alfresco-object.xml b/source/web/WEB-INF/alfresco-object.xml
new file mode 100644
index 0000000000..fec5ff7a1f
--- /dev/null
+++ b/source/web/WEB-INF/alfresco-object.xml
@@ -0,0 +1,26 @@
+
+
+
+ overwrite
+ default
+
+
+ Alfresco
+
+
+ AlfrescoClientWindow
+ AlfrescoClientInstance
+ true
+ center
+ 0
+
+
+
+
+ overwrite
+
+ AlfrescoClientInstance
+ alfresco.AlfrescoClient
+
+
+
diff --git a/source/web/WEB-INF/alfresco-pages.xml b/source/web/WEB-INF/alfresco-pages.xml
deleted file mode 100644
index abc9efd5c4..0000000000
--- a/source/web/WEB-INF/alfresco-pages.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
- default
-
- Alfresco
-
- AlfrescoClientWindow
- /alfresco.AlfrescoClient.AlfrescoClientInstance
- true
- center
- 0
-
-
-
diff --git a/source/web/WEB-INF/jboss-app.xml b/source/web/WEB-INF/jboss-app.xml
new file mode 100644
index 0000000000..eac8510c4f
--- /dev/null
+++ b/source/web/WEB-INF/jboss-app.xml
@@ -0,0 +1,3 @@
+
+ alfresco
+
\ No newline at end of file
diff --git a/source/web/WEB-INF/jboss-service.xml b/source/web/WEB-INF/jboss-service.xml
deleted file mode 100644
index f982fc0d08..0000000000
--- a/source/web/WEB-INF/jboss-service.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/source/web/WEB-INF/portlet-instances.xml b/source/web/WEB-INF/portlet-instances.xml
deleted file mode 100644
index 7dc3f1b891..0000000000
--- a/source/web/WEB-INF/portlet-instances.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- AlfrescoClientInstance
- AlfrescoClient
-
-
diff --git a/source/web/WEB-INF/portlet.xml b/source/web/WEB-INF/portlet.xml
index f98624315c..e7f70dae3e 100644
--- a/source/web/WEB-INF/portlet.xml
+++ b/source/web/WEB-INF/portlet.xml
@@ -1,10 +1,8 @@
-
Alfresco Client Portlet
AlfrescoClient
- Alfresco Portlet
org.alfresco.web.app.portlet.AlfrescoFacesPortlet
diff --git a/source/web/WEB-INF/web_TEMPLATE.xml b/source/web/WEB-INF/web_TEMPLATE.xml
index 501424bbd4..6b94a0b59a 100644
--- a/source/web/WEB-INF/web_TEMPLATE.xml
+++ b/source/web/WEB-INF/web_TEMPLATE.xml
@@ -82,11 +82,6 @@
-->
-
- Mode Detection Filter
- org.alfresco.web.app.servlet.ModeDetectionFilter
-
-
WebDAV Authentication Filter
org.alfresco.repo.webdav.auth.AuthenticationFilter
@@ -111,11 +106,6 @@
/navigate/*
-->
-
-
- Mode Detection Filter
- /faces/*
-
WebDAV Authentication Filter