cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco v3.4b + OpenWorkDesk

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello,

i am Manuel Mueller from the WeWebU-Project-Team at HS-Coburg. This is the issue i told Mr. Pausch and Mr. Michel about.

I set up the latest Alfresco v3.4b on a german Windows XP SP3 in VMWare Workstation 7.
CPU: Intel Core2Duo 3Ghz
RAM: 1024MB
I followed the steps in the Quick-Start-Guide -> "OWDCE_QSG_B_EN_300.pdf"

Installed OpenWorkDesk-Community-Edition (OWD_3.1.0.0Sprint_2_Community_Edition_bin) into "C:Alfrescotomcatwebappsow"
The error i get when trying to log into OpenWorkDesk is:


Fehler: Keine Verbindung zu den Web-Services möglich
Fehlerquelle: OECM
java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.wewebu.ow.server.ui.OwAppContext.handleRequest(OwAppContext.java:1237)
   at com.wewebu.ow.server.app.OwMainAppContext.handleRequest(OwMainAppContext.java:600)
   at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:331)
   at org.apache.jsp.default20_jsp._jspService(default20_jsp.java:77)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
   at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
   at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
   at java.lang.Thread.run(Thread.java:619)
Caused by: com.wewebu.ow.server.exceptions.OwServerException: Keine Verbindung zu den Web-Services möglich
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.loginDefault(OwCMISNetwork.java:1289)
   at com.wewebu.ow.server.ecmimpl.cmis.ui.OwCMISLoginSubModul.onLogin(OwCMISLoginSubModul.java:139)
   … 26 more
Caused by: com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html;charset=UTF-8 Supported ones are: [text/xml]
   at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:295)
   at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129)
   at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:360)
   at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:187)
   at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
   at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:117)
   at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
   at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
   at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
   at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
   at com.sun.xml.ws.client.Stub.process(Stub.java:235)
   at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:147)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
   at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:130)
   at $Proxy262.getRepositories(Unknown Source)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.loginDefault(OwCMISNetwork.java:1249)
   … 27 more

This is my owbootstrap.xml from "C:AlfrescotomcatwebappsowWEB-INFconfcmis"

<?xml version="1.0" encoding="UTF-8"?>
<!–
WeWebU OpenWorkdesk
WeWebU Software AG, Herzogenaurach/Germany
Copyright © 2005-2010. All rights reserved.
licensing@wewebu.de
For licensing read the license.txt file or go to: http://www.wewebu.de/en/products/licensing.html
–>
<bootstrap>


<!– ============================================================
   SELECTIVE AND PLACEHOLDER CONFIGURATION (optional)
   Please read the documentation carefully if you want to use this feature.
   =============================================================
   
   All scalar tags directly beneath the <bootstrap> tag
   support mandator configuration placeholder's, i.e.: {$<Placeholdername>}.
      
   Most scalar tags directly beneath the <EcmAdapter>,<FieldManager>,<RoleManager> and <HistoryManager> tag
   support mandator configuration placeholder's, i.e.: {$<Placeholdername>}.
      
   The following attributes support mandator configuration placeholder's, i.e.: {$<Placeholdername>}
      
   Tags with attribute "optionid" support selective configuration.

   optionid           An option ID attribute if you define several options for a single configuration node.
                The ID is selected in the rolemanager via selective configuration.
                  Leave empty if you do not have options.
                  
=========================================================================== –>


<!– ==========================================================================

        Content Management Interoperability Services (CMIS)

===============================================================================

      DEPLOYMENT GUIDE
      
        Additional Libraries:

                <OpenWorkdesk>/WEB-INF/lib:

                following libraries are needed:
                - cmis.jar
                - webservices-api.jar
                - webservices-extra-api.jar
                - webservices-extra.jar
                - webservices-rt.jar
                - log4j-1.2.8.jar (or higher)

_______________________________________________________________________________

        Initial folders in the default objectstore:

                In order to operate correctly, the default objectstore needs to be
                initialized with some folders, where the adapter can store vital
                information.
                The folder structure should have the following structure:

                /ow_app/
                        /other
                        /owpreferences             (all users must have write access for this folder)
                        /owsearchtemplates
                        /recordtemplates
                        /owbpmviewtemplates        (BPM only - is not supported right now)


_______________________________________________________________________________

        Application Objects

                Application Objects like Searchtemplates / virtual folders. have the following default storage locations.

                /ow_app/
                        /other                    history searches, virtual folders
                        /owsearchtemplates        search templates for search plugin, defined with <SearchTemplates>
                        /recordtemplates          record templates
                        /owbpmviewtemplates       cross view search templates for BPM - is not supported right now)

_______________________________________________________________________________

        Configurationhelp:

                <RecordClasses>

                        Specifies a list of folder class names in order to create a subfolder
                        structure on record instantiations. When created, record folder classes
                        automatically copy a predefined directory structure from:

                        [ObjectStore]/ow_app/recordtemplates/[RecordClassName]

                        Default: Configure the folder class names of all your physical records here.

                        DO NOT FORGET TO SPECIFY IN COMMON SETTINGS AS WELL!

                <SemiVirtualRecordClasses>

                        Specifies a list of folder class names to be used as semi virtual
                        folders.

                        virtualfolder         = the searchtemplate of the virtual folder structure
                                                for folders at level 2 and deeper
                        folderclassname       = the name of the folder class to be used as semi
                                                virtual folder
                        includephysicalchilds = "true" or "false". Determines if existing physical
                                                folders are also supposed to appear in the directory
                                                structure at level 2 and deeper

                        <VirtualFolderProperty>

                                Defines a virtual folder property (search criteria) for mapping the
                                value of a corresponding physical folder property.

                                folderproperty    = is the symbolic name of the property of the physical
                                                    folder
                                                

                <CreationInitialValues>

                    List of initial values for Properties per object class overriding the P8 default values.
                    You have to create an ObjectClass tag for each object class you wish to override the default
                    P8 behavior for.

                    <ObjectClass name="….">

                        Defines the initial property values for one object class identified by its symbolic name.
                        You have to define a Property tag for each property you wish to define the initial value.

                        <Property name="…">value</Property>

                            Defines the initial value for one property identified by its symbolic name of that
                            object class.
                            NOTE FOR DATE VALUES:
                            You have to define date values always as yyyy-MM-dd'T'HH:mm:ssZ, e.g. 2007-06-06T15:47:00+02:00
                            or as yyyy-MM-dd'T'HH:mm:ss.S'Z'Z, e.g. 2007-06-06T15:47:00.799+02:00.
                            The keyword "{today}" (without quotes) can be used for the current Date / Time.

            <NameProperties>

                      List of name properties per object class overriding the P8 default name properties (DocumentTitle for document classes,
                      FolderName for folder classes).
                    You have to create an ObjectClass tag for each object class you wish to override the default
                    behavior for. Only one name property is allowed per object class.

                    <ObjectClass name="….">

                        Defines the name property for one object class identified by its symbolic name.
             
                        <NameProperty>DocumentTitle</NameProperty>

                            property name of the name property identified by its symbolic name.

                <PreferredPropertyType>

            Override filenet's classification of system / user properties and define for each property
            whether it should be treated as system or as user property

            <Property type="system|user">….</Property>

                Defines that the property identified by its symbolic name should be trasted as "system"
                or as "user" property.

                <Authentication>

                        Override FileNet authentication, use LDAP directly instead.
                                mode="NONE" : ignore, use FileNet API to authenticate
                                mode="LDAP" : use LDAP directly to authenticate

                <ExternalCrossAdapter>

                                Define a external cross adapter for federation.
                               
                               
               <XEcmAdapter>
               
                                Insert the contents of the external <EcmAdapter> node here.

                                This setting is only available with the OwFNCMCrossNetwork adapter specified in <ClassName>.
                                OwFNCMCrossNetwork is more an example adapter for federation
                                and should be subclassed to tailor your needs.

                                See also <ExternalAttachmentProperties>.
                               
                               
               <XMapping>   Define mapping to use for the embedded adapter.
               
                  <usermappings>   Define the login mappings.
                  
                     <usermap name="" group="">   Define a login mapping. Attribute name for a username, attribute group for a group name.
                                          If both are empty, specifies the default mapping to use.
                                          
                        <user>username</user>         The username
                        <password>password</password>   and password to use in the embedded adapter.
                        
                     </usermap>

                     …
                     
                  </usermappings>

                  <propertymappings>   Define mapping of property symbol names.
                     
                     <propertymap name="symbol name to map">symbolname of embedded adapter</propertymap>   Define a symbolname mapping
                     
                     …
                  
                  </propertymappings>
                  
               </XMapping>
                               

                <PreferedPropertyOrder>

                                Define a list of properties in the order they should be displayed.

                <use-document-class-caching>
               
                                true = the object classes and related properties are cached for the whole application
                                      (default behavior even if this tag is missing)
                                false = the object classes and related properties are read for each user

=========================================================================== –>


        <EcmAdapter>
            
            <!– 
                <ExternalCrossAdapter>
         
               <XMapping>
               
                  <usermappings>
                     <usermap name="" group="">
                        <user>Admin</user>
                        <password>password</password>
                     </usermap>
                  </usermappings>

                  <propertymappings>
                     
                     <propertymap name="cmis:document.cmis:name">ow_Filename</propertymap>
                     <propertymap name="cmis:document.cmis:creationDate">ow_Last-Modified</propertymap>
                  
                  </propertymappings>
                  
               </XMapping>
               
               <XEcmAdapter>
                  
                  <ClassName>com.wewebu.ow.server.ecmimpl.owdummy.OwDummyNetwork</ClassName>
            
                  <Version>3.1.0</Version>
   
                  <Authentication mode="NONE"/>
                        
               </XEcmAdapter>
               
             </ExternalCrossAdapter>
            –>
            
            <!– use this adapter overload if you have defined a ExternalCrossAdapter
                <ClassName>com.wewebu.ow.server.ecmimpl.fncm.OwFNCMCrossNetwork</ClassName>
            –>
            
                <ClassName>com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork</ClassName>

                <Version>3.1.0</Version>
               
                <!– Enter the WSDL location for the config of your local Alfresco System –>

            <WSDLRepository>http://127.0.0.1:8080/alfresco/cmis/RepositoryService?wsdl</WSDLRepository>
            <WSDLNavigation>http://127.0.0.1:8080/alfresco/cmis/NavigationService?wsdl</WSDLNavigation>
            <WSDLObject>http://127.0.0.1:8080/alfresco/cmis/ObjectService?wsdl</WSDLObject>
            <WSDLMultifiling>http://127.0.0.1:8080/alfresco/cmis/MultiFilingService?wsdl</WSDLMultifiling>
            <WSDLDiscovery>http://127.0.0.1:8080/alfresco/cmis/DiscoveryService?wsdl</WSDLDiscovery>
            <WSDLVersioning>http://127.0.0.1:8080/alfresco/cmis/VersioningService?wsdl</WSDLVersioning>
            <WSDLRelationship>http://127.0.0.1:8080/alfresco/cmis/RelationshipService?wsdl</WSDLRelationship>
            <WSDLPolicy>http://127.0.0.1:8080/alfresco/cmis/PolicyService?wsdl</WSDLPolicy>

            <!–
            <WSDLACL>…currently not supported…</WSDLACL>
             –>
                     
            <!– Alfresco (Cloud) online CMIS WSDL location –>
<!–
            <WSDLRepository>http://cmis.alfresco.com/cmis/RepositoryService?wsdl</WSDLRepository>
                <WSDLNavigation>http://cmis.alfresco.com/cmis/NavigationService?wsdl</WSDLNavigation>
                <WSDLObject>http://cmis.alfresco.com/cmis/ObjectService?wsdl</WSDLObject>
                <WSDLMultifiling>http://cmis.alfresco.com/cmis/MultiFilingService?wsdl</WSDLMultifiling>
                <WSDLDiscovery>http://cmis.alfresco.com/cmis/DiscoveryService?wsdl</WSDLDiscovery>
                <WSDLVersioning>http://cmis.alfresco.com/cmis/VersioningService?wsdl</WSDLVersioning>
                <WSDLRelationship>http://cmis.alfresco.com/cmis/RelationshipService?wsdl</WSDLRelationship>
                <WSDLPolicy>http://cmis.alfresco.com/cmis/PolicyService?wsdl</WSDLPolicy>
                <WSDLACL>http://cmis.alfresco.com/cmis/ACLService?wsdl</WSDLACL>
–>

                <DefaultObjectStore>/</DefaultObjectStore>
            
            <!–
            <SemiVirtualRecordClasses optionid="">
                        <SemiVirtualRecordClassName virtualfolder="virtualfolder_ratedjournal.xml" folderclassname="F:owd:journal" includephysicalchilds="true">
                            <VirtualFolderProperty folderproperty="OW_ObjectPath">OwSearchPath</VirtualFolderProperty>
                        </SemiVirtualRecordClassName>
                       
                        <SemiVirtualRecordClassName virtualfolder="virtualfolder_publisherjournal.xml" folderclassname="F:owd:publisherJournal" includephysicalchilds="false">
                            <VirtualFolderProperty folderproperty="F:owd:publisherJournal.owd:publisher">D:owd:article.owd:author</VirtualFolderProperty>
                        </SemiVirtualRecordClassName>
                </SemiVirtualRecordClasses>
                –>
               
            <!– Application object location e.g.
               WEB-INF/cmis_hr (default: WEB-INF/cmis or empty)
               or
               d://apache-tomcat-5.5.28//webapps//openworkdesk//WEB-INF//cmis_hr//
            –>
                <OwApplicationObjectBaseDir/>
               
                <PreferedPropertyOrder optionid="">
                        <property>cmis:name</property>
                        <property>cmis:lastModifiedBy</property>
                        <property>cmis:creationDate</property>
                        <property>cmis:createdBy</property>
                </PreferedPropertyOrder>

                <CreationInitialValues optionid="">
                    <!– ObjectClass name="TestDocument1">
                        <Property name="TEST_STRING">hello, world!</Property>
                        <Property name="TEST_DATE">{today}</Property>
                    </ObjectClass –>
                </CreationInitialValues>
               
                <NameProperties optionid="">
                    <!– ObjectClass name="TestDocument1">
                        <NameProperty>DateLastModified</NameProperty>
                    </ObjectClass –>
                </NameProperties>

                <PreferredPropertyType optionid="">
                    <!– Property type="system">MimeType</Property –>
                </PreferredPropertyType>

              <Authentication mode="NONE"/>
              <!–       
              <Authentication mode="LDAP" recursionlevel="0">
                  <java.naming.provider.url>ldap://192.168.1.5:389</java.naming.provider.url>
                  <UsersDirectory>DC=wewebu-virtual,DC=local</UsersDirectory>
                  <GroupsDirectory>CN=Users,DC=wewebu-virtual,DC=local</GroupsDirectory>
                  <java.naming.factory.initial>com.sun.jndi.ldap.LdapCtxFactory</java.naming.factory.initial>
                  <java.naming.security.authentication>simple</java.naming.security.authentication>
                  <java.naming.security.principal>CN=Administrator,CN=Users,DC=wewebu-virtual,DC=local</java.naming.security.principal>
                  <java.naming.security.credentials>#TO_BE_INSERTED_HERE#</java.naming.security.credentials>
                  <loginQueryName>sAMAccountName</loginQueryName>
                  <anonymousLogin>false</anonymousLogin>
                  < ! - -
                  <AttributeNameObjectGUID>objectGUID</AttributeNameObjectGUID>
                  <AttributeNameMemberOf>memberof</AttributeNameMemberOf>
                  <AttributeNameLongName>name</AttributeNameLongName>
                  <AttributeNameShortName>samAccountName</AttributeNameShortName>
                  - - >
              </Authentication>
              –>

        </EcmAdapter>

        <FieldManager>

                <ClassName>com.wewebu.ow.server.app.OwStandardFieldManager</ClassName>

                <Version>3.1.0</Version>

                <TextAreaThreshold>255</TextAreaThreshold>

            <!–
               Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)
               for DatePicker selection.
              –>
            <DatePickerStartDay>1</DatePickerStartDay>

                <FieldControls optionid="">


                        <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlModifiedProperties" javatype="com.wewebu.ow.server.history.OwHistoryModifiedPropertyValue">
                        </FieldControl>

                  <!–
                     com.wewebu.ow.server.fieldctrlimpl.OwLastDaysDateControl
                        - allowNullValue - for "true" an empty entry (corresponding to a null value) is displayed in the drop down list when this field is rendered. 
                   –>
                        <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwLastDaysDateControl" javatype="com.wewebu.ow.server.fieldctrlimpl.OwLastDaysDate" allowNullValue="true">
                        </FieldControl>

                        <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwNextDaysDateControl" javatype="com.wewebu.ow.server.fieldctrlimpl.OwNextDaysDate">
                        </FieldControl>

                        <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlObject" javatype="com.wewebu.ow.server.ecm.OwObject">
                        </FieldControl>

                        <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlClass" javatype="com.wewebu.ow.server.ecm.OwClass">
                        </FieldControl>
                       
                        <!– <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlNote" objecttype="F:owd:dossier.owd:dossierComment" >
                  </FieldControl> –>

                  <!– <FieldControl fieldclass="com.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlImage" objecttype="F:owd:dossier.owd:dossierPicture" >
                  </FieldControl> –>

                </FieldControls>

        </FieldManager>


<!– ==========================================================================
       
   SIMPLE HISTORY MANAGER

===============================================================================–>
   
   <HistoryManager>

      <ClassName>com.wewebu.ow.server.historyimpl.simplehistory.OwSimpleHistoryManager</ClassName>

      <Version>3.1.0</Version>
         
      <SessionEvents>
         <Event eventtype="HISTORY_EVENT_TYPE_PLUGIN_INVOKE_VIEW" eventid="*"/>
         <Event eventtype="HISTORY_EVENT_TYPE_PLUGIN_INVOKE_EDIT" eventid="*"/>
      </SessionEvents>

   </HistoryManager>
   


<!– ==========================================================================

   SIMPLE ROLE MANAGER
   (Allows everything for all users)
   
===============================================================================

   Configurationhelp:
         
      <SiteAdmins>
         List of users that act as site administrators and can edit sitesettings.         
   
      <DesignName>
         Name of the design that should always be used.
         Leave empty to switch design by the role or the jsppage
         (e.g. http…/ow/<designname>.jsp opens the <designname> design).
         
=========================================================================== –>

   <RoleManager>

      <ClassName>com.wewebu.ow.server.roleimpl.simplerole.OwSimpleRoleManager</ClassName>
      
      <Version>3.1.0</Version>

      <SiteAdmins>
             <user>Administrator</user>
             <user>admin</user>
      </SiteAdmins>

      <DesignName></DesignName>

   </RoleManager>


<!– ==========================================================================

   SIMPLE MANDATOR MANAGER
      
=========================================================================== –>

   <MandatorManager>

      <ClassName>com.wewebu.ow.server.mandatorimpl.simplemandator.OwSimpleMandatorManager</ClassName>
      
      <Version>3.1.0</Version>
      
   </MandatorManager>
   
   

<!– ==========================================================================

   COMMON SETTINGS

=========================================================================== –>

   <!– Use the JavaScript Data Control rather than HTML comboboxes for date selection. –>
    <UseJSDateControl>true</UseJSDateControl>


<!– ==========================================================================
    The name of the datasource to be used as a default for components that need
    a table space.
    DBMS currently supported are:
                Oracle
                MSSQL
                Access (just for testing db history manager)
                DB2
                MySQL
=========================================================================== –>

   <!– DefaultDataSource>
      <JNDIName>java:/OracleDS</JNDIName>
      <DBMS>Oracle</DBMS>
   </DefaultDataSource –>

   <!– DefaultDataSource>
      <JNDIName>java:/MSSQLDS</JNDIName>
      <DBMS>MSSQL</DBMS>
   </DefaultDataSource –>
    
   <!– DefaultDataSource>
      <JNDIName>java:/AccessDS</JNDIName>
      <DBMS>Access</DBMS>
   </DefaultDataSource –>
   
   <!– DefaultDataSource>
      <JNDIName>java:/DB2DS</JNDIName>
      <DBMS>DB2</DBMS>
   </DefaultDataSource –>         

   <!– DefaultDataSource>
      <JNDIName>java:/MySQLDS</JNDIName>
      <DBMS>MySQL</DBMS>
   </DefaultDataSource –>


<!– ==========================================================================
   Classname of a the default folder, used to create simple folders.
=========================================================================== –>
   <DefaultFolderClass>cmis:folder</DefaultFolderClass>



<!– ==========================================================================
   Client wildcard definitions
   Each entry represents a wildcard that can be used in the client application
   and will automatically translate to the native wildcard in the repository.
   
   tags:
      <wc>      Wildcardentry with wildcard character
      
   attributes:
      type      The wildcard type as defined in OwWildCardDefinition.WILD_CARD_TYPE_…
               can be the fieldname or a number
   
=========================================================================== –>
   <ClientWildCardDefinitions optionid="">
      <wc type="WILD_CARD_TYPE_MULTI_CHAR">*</wc>
      <wc type="WILD_CARD_TYPE_SINGLE_CHAR">?</wc>
   </ClientWildCardDefinitions>


<!– ==========================================================================
   List of classnames, which act as records:
    Specifys a list of folder class names in order to resolve the containment
   relationship between documents and records (visible in document properties
   -> files tab).
   Default: Configure the folder class names of all your physical and semi-
   virtual records here.
=========================================================================== –>
   <RecordClasses optionid="">
      <RecordClassName>cmis:folder</RecordClassName>
   </RecordClasses>



<!– ==========================================================================
   HTTP settings
=========================================================================== –>
   <!– SSL Mode
             0 : none
             1 : ssl session enforced –>

   <SSLMode>0</SSLMode>



<!– ==========================================================================
    The temp directory (e.g. used for document upload). Define a path absolute or relative
    to the deployment, but be sure the path is assigned to a folder with read/write right.
    If the tempDir location, but not exist we will try to create and use it.
   
    sample definition absolute:
      Win:  <TempDir>C:/Temp/</TempDir>
      Unix: <TempDir>/usr/tmp</TempDir>
     
    sample defintion relative to deployment:
        <TempDir>../../Temp/</TempDir
       
    If no temporary directory is defined, we use the environment information/properties (java.io.tmpdir)
    to get the location of server or OS temp dir. If this variable is also empty the
    deployment location is used as temporary directory.       
=========================================================================== –>
   <TempDir></TempDir>


<!– ==========================================================================
    Exception handling behavior
    true = display messagebox when user causes an error, false = show default exception
=========================================================================== –>
   <MessageBoxOnUserError>false</MessageBoxOnUserError>
   


<!– ==========================================================================
   Local language settings
=========================================================================== –>
   <!– The default language
   
      detectbrowserlocale      Detect the language of the users browser, default = true.
         true = override defaultlocal
         false = use defaultlocal    
   –>
   <defaultlocal detectbrowserlocale="true">en</defaultlocal>

    <!– The available language which the user can select from (must be installed with resource bundle) –>
    <availablelocals display='true'>
      <!– for German also de_au.gif (Austria) or de_ch.gif (Swiss) flag available –>
      <lang icon="/images/lang/de.gif" displayname="Deutsch">de</lang>
      <!– for English also en_gb.gif (British) flag available  –>
      <lang icon="/images/lang/en.gif" displayname="English">en</lang>
      <lang icon="/images/lang/ro.gif" displayname="Română">ro</lang>
      <!– <lang icon="/images/lang/debugmode.gif" displayname="Debug Mode (for developers only)">debugmode</lang> –>
    </availablelocals>

<!– ==========================================================================
    URL parameter codec configuration. The URL parameter codec is used
    to shorten OWD URLs by encoding URL parameter into a shorter parameter set
    that relies on internally stored cookies.
   
    tags:
   
    URLLifeTime
        Configures the amount of time an encoded URL parameter map is valid.
        After that the parameter map is considered expired and links that rely
        on are considered out of date / expired and will not produce the desired response.
        Attributes :
            days    = days until the parameter map expires considering the URL parameter map encoding time 
            hours   = hours until the parameter map expires considering the URL parameter map encoding time
            minutes = minutes until the parameter map expires considering the URL parameter map encoding time                              
            seconds = seconds until the parameter map expires considering the URL parameter map encoding time
       Example:
       
        The encoded parameter maps will expire after 2 days and 12 hours from the moment they are created :
        <URLLifeTime days="2" hours="12"/>
       
   AttributeBags
        Configures the attribute bag storage name for the parameters maps.
        In order to prevent name conflicts in attribute bags usage unique bag names prefixes should
        be specified here.
        Attributes :
            codecprefix     = a string prefix to be used in codec internal bag names
            cookieprefix    = a string prefix to be used in codec internal bag names that will store
                                cookie based parameter maps
            user            = user to be used when storing codec attribute bags
        Example :
        <AttributeBags codecprefix="c_cod_bag_" cookieprefix="c_cc_"  user="OW_GLOBAL"/>
            
   URLParameter
        The parameter map codec encodes a parameter map into another parameter map containing
        one cookie defining parameter. 
        Attributes :
            name = string name of the URL parameter
        Example :
        <URLParameter name="cp"/>
=========================================================================== –>
    <URLParameterCodec>
        <URLLifeTime days="1825"/>
        <AttributeBags codecprefix="pc_master_bag_" cookieprefix="pc_c_"  user="OW_GLOBAL"/>
        <URLParameter name="cp"/>
    </URLParameterCodec>

<!– ======================================================================
   Class name for combobox renderer component.
   Available class names:
      com.wewebu.ow.server.app.OwExtJSComboboxRenderer    - ExtJS based combobox renderer.
      com.wewebu.ow.server.app.OwClassicComboboxRenderer    - Classic HTML combobox renderer.
=========================================================================== –>       
   <ComboboxRendererClassName>com.wewebu.ow.server.app.OwExtJSComboboxRenderer</ComboboxRendererClassName>

</bootstrap>
I tested the <WSDLxxxx>-Urls in a browser and they seem to work. So i am not sure where my mistake occurs or if it is a bug.

Another problem is that after the installation of Alfresco with all services the System becomes unbelievable slow. Tomcat eats up at least 40% of CPU and 400-500MB of RAM without any user-interaction.

I will now reset the virtual machine and try Alfresco v3.4a as a base since it seems it has been tested successfully according to -> http://forge.alfresco.com/forum/forum.php?forum_id=1035

If that wont work i will try Alfresco v3.3 as a base.

regards
Manuel Mueller

edit:
seems there is no download anymore for v3.4a, at least i did not find it at
http://wiki.alfresco.com/wiki/Category:Releases
http://wiki.alfresco.com/wiki/Alfresco_Community_3.4.a_Release_Notes
http://wiki.alfresco.com/wiki/Alfresco_Community_3.4.a
since the downloadlinks there refer always to v3.4b

so luckily i found at least v3.3g after some searching there -> http://wiki.alfresco.com/wiki/Community_Edition_file_list_3.3g
3 REPLIES 3

deko
Star Contributor
Star Contributor
Hi Manuel,

we could reproduce this issue here at WeWebU too running against Alfresco 3.4b. But we could solve this issue by using the tomcat server coming with Alfresco only for Alfresco and using another standalone tomcat server ONLY for OpenWorkdesk.

The problem seems to be a library conflict when deploying Alfresco 3.4b and OpenWorkdesk on the same application server. We will adopt the QuickStartGuide according to this issue and update "Known Problems". Could you please give feedback, if this solution works on your side too.

unknown-user
Champ on-the-rise
Champ on-the-rise
I tried installing OWD with Alfresco on Ubuntu 10.10 last night at home.
I got it to work with no problems, but I did this in several steps:

Firstly I installed Apache Tomcat (in the /opt folder).  This is the default .tar.gz file, which I unzipped and copied using sudo cp -s <src> <dest> into the /opt folder.

Then I unzipped the OpenWorkdesk .tar.gz file and copied the contents into a newly-created folder "ow" inside the Tomcat webapps folder.

Next I started Tomcat with its default configuration sudo ./startup.sh and waited for the server to initialize correctly.

Then I tested OWD inside FireFox with the following URL:
http://localhost:8080/ow 
and was taken directly to the OpenWorkdesk login screen.

I logged in with the username "admin" and password "admin" and was immediately connected to the Alfresco Cloud.

The next step was to install Alfresco locally, which I did by first downloading the Alfresco Community Edition, which is bundled as a Linux .bin file.  I ran the installation and installed the deployment into the /opt directory also.

During installation, remember to configure the ports differently to the existing Apache Tomcat server that is hosting the OpenWorkdesk, so as not to cause any conflicts.  This I did by simply incrementing all the port numbers and this seemed to do the trick, e.g. port 8080 became 8081.  Please also remember your Alfresco username and password, which you will enter during the installation, because you'll need this to log into OWD later.

After starting the Alfresco server, I browsed to my newly configured URL, which in my case was
http://localhost:8081/alfresco 
and this opened the Alfresco dashboard.  I was also able to login to Alfresco using the username and password that I had previously set.

The next step was to connect OWD to the local Alfresco deployment.  This would mean stopping the OWD Tomcat server and modifying the owbootstrap.xml file, which was located in:
/opt/apache-tomcat-x.x.x./webapps/ow/WEB-INF/conf/cmis/owbootstrap.xml

I switched the configuration of the repository by commenting out the section WSDLRepository that pointed at the Alfresco Cloud and configured the following:
<WSDLRepository>http://localhost:8081/alfresco/cmis/RepositoryService?wsdl</WSDLRepository>
<WSDLNavigation>http://localhost:8081/alfresco/cmis/NavigationService?wsdl</WSDLNavigation>
<WSDLObject>http://localhost:8081/alfresco/cmis/ObjectService?wsdl</WSDLObject>
<WSDLMultifiling>http://localhost:8081/alfresco/cmis/MultiFilingService?wsdl</WSDLMultifiling>
<WSDLDiscovery>http://localhost:8081/alfresco/cmis/DiscoveryService?wsdl</WSDLDiscovery>
<WSDLVersioning>http://localhost:8081/alfresco/cmis/VersioningService?wsdl</WSDLVersioning>
<WSDLRelationship>http://localhost:8081/alfresco/cmis/RelationshipService?wsdl</WSDLRelationship>
<WSDLPolicy>http://localhost:8081/alfresco/cmis/PolicyService?wsdl</WSDLPolicy>
Then I saved the file, restarted Tomcat and then opened OpenWorkdesk in FireFox once again.

http://localhost:8080/ow

This time I logged into OpenWorkdesk using the Alfresco username and password, which I had previously entered while installing Alfresco.

Then I could see the new repository layout - Voila!

Hope this helps.

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi, well that helped. I was just confused because i had the intel that no second tomcat would be required.

I had to change the Tomcat-Settings of Tomcat v5.5 for the OWD-Install on Windows in the server.xml from "CSmiley TonguerogrammeApache Software FoundationTomcat 5.5conf"


<Server port="8006" shutdown="SHUTDOWN">


    <Connector port="8081" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8444" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />

    <Connector port="8010"
               enableLookups="false" redirectPort="8444" protocol="AJP/1.3" />

That helped. I am testing the latest sprint which is Sprint 6a. In order to save some Performance i installed Alfresco with the minimal settings, meaning i deselected everything, also OpenOffice. I hope this will not result in problems.

I can not simply change the ports for the alfresco-install in their installer because the HR-Application would not let it install because your installer is configured that way that it uses the port 8080 and fails if alfresco is not there.

Now it would be nice if somebody would find time to convert the HR-Sample-Application installer batch-files (its two of em) into .sh-linux-shellscripts so one could use it on linux/unix as well. To save performance we think about using a centralized alfresco install and only use one tomcat and owd on the dev-machines.
edit: i just saw http://www.openworkdesk.org/phpbbforum/viewtopic.php?f=8&t=35
okay so i am glad i did built another vm to test this ^^