Powered By Blogger

Saturday, August 17, 2013

Weblogic things to be known

Domain : In the WebLogic Server we can have many domains. Each domain will have one admin server and many managed servers. CLustering can be achieved from only the servers in the same domain

Admin Server : THis server is used to maintain the domain configurations. It maintains servers,machines and Deployments mainly

Managed Server : There can be many managed servers in a domain. The multiple servers can be in the same machine or in the different machine.

Clusters : In one domain we can have many clusters. Each cluster will consist of the set of servers in the same domain. We cannot do clustering between the servers in the different domain.

Heartbeat messages will be used to check the health of each server in the cluster. Either it user unicast/multicast. Multi cast is not much used.


Machines : There can be many physical machines in a domain. Machines will be used while creating servers.

Friday, August 16, 2013

SVN commands in linux

svn info - This command gives information about the repoitory from where the code is been checked out
svn co- Used for checking out the code from svn

Sunday, August 11, 2013

Alfresco Deployment in Weblogic

It is must to install Open office to deploy alfresco in weblogic, else it will throw error and server hangs up.
Even we have to make sure the jodconverter and ooconverter ports are not conflicting if confilct happens then also server will hang. I have attached sample properties to be put.
#
# Sample custom content and index data location
#
dir.root=C:/Oracle/Middleware/user_projects/domains/alf_domain/alf_data
#dir.keystore=${dir.root}/keystore
dir.indexes=C:/Oracle/Middleware/user_projects/domains/alf_domain/lucene_index

#
# Sample database connection properties
#

db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=alfresco
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/alfresco

db.pool.statements.enable=false


ooo.exe=C:/Alfresco/openoffice/App/openoffice/program/soffice.exe
ooo.enabled=false
ooo.port=8101

jodconverter.enabled=true

jodconverter.officeHome=C:/Alfresco/openoffice/App/openoffice

jodconverter.portNumbers=8900

Monday, July 15, 2013

Alfresco WorkDesk set up steps



Steps required for WorkDesk set up
1.       Set up the database, Scripts are available for setting different databases. We will consider setting it up with mysql
C:\Users\bpatil\Desktop\Workdesk\db\scripts\create_mysql_databases
Execute all the sql files so that it sets the user,database and tables which needs to be used later in workdesk configuration
2.       Copy the mysql connector jar to the location  C:\Alfresco\tomcat\lib and copy the workdesk folder to C:\Alfresco\tomcat\webapps from the downloaded zip file
3.       Now configure the workdesk to look into the application  cmis_prof by changing web.xml  in the location C:\Alfresco\tomcat\webapps\workdesk\WEB-INF
        OwResourceFilePath
         deploy#WEB-INF/conf/cmis_prof

4.       Configure the datasource in workdesk.xml in the location  C:\Alfresco\tomcat\conf\Catalina\localhost
        auth="Container"
        type="javax.sql.DataSource"
        factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
        username="owdemo"
        password="owdemo"
        driverClassName="com.mysql.jdbc.Driver"
        url="jdbc:mysql://localhost:3306/owd?autoReconnect=true"
        maxWait="1000"
        removeAbandoned="true"
        maxActive="30"
        maxIdle="10"
        removeAbandonedTimeout="60"
        logAbandoned="true"
        validationQuery="select 1"/>     

5.       Change owbootstrap.xml in the location C:\Alfresco\tomcat\webapps\workdesk\WEB-INF\conf\cmis_prof to connect to the configured data source
                                java:/MySQLDS
               
    

6.       Restart alfresco server and login to alfresco to see the below screen