Powered By Blogger

Saturday, April 28, 2012

SSL Settings

http://rubayathasan.com/tutorial/apache-ssl-on-windows/

NTLM With Windows 7

http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/1e654537-fd40-4b89-ac1c-f66bdd9fcd2e

Please also try the following on the Windows 7 computer:

1.     Click the Start Button, type "gpedit.msc" (without quotation marks) and click OK.
2.     In the "Group Policy" window, double click on "Windows Settings" under "Computer Configuration".
3.     Double click on "Security Settings"-> "Local Policies"-> "Security Options"
4.     In the right panel, double click on the "Network Security: LAN Manager authentication level", please select "Send LM & NTLM Responses".
5.     Click Apply and OK.

It will work with basic authentication By this I can map the alfresco with WebDav.




But now the document is opening as Read only

http://support.microsoft.com/kb/870853 


And finally doing some research i found the issues is not with Windows 7. With the registry hacks Windows 7 works fine with Basic authentication.

I tried setting webdav with alfresco 3.3.5 but did not get the success. When i tried with Alfresco 3.4.0 I am able to succeed in editing the documents. 

http://blogs.msdn.com/b/saurabh_singh/archive/2009/03/07/some-info-around-webdav-content-access-issues.aspx

http://blogs.msdn.com/b/robert_mcmurray/archive/2008/01/17/webdav-redirector-registry-settings.aspx

Friday, April 27, 2012

Adobe In Design using Adobe Drive

http://blog.tsgrp.com/2012/02/14/digital-asset-management-using-cmis-adobe-drive-and-alfresco/
http://adobetutorial.veikla.eu/watch/cs-55-design-premium-feature-tour-/adobe-drive-3/
http://adobetutorial.veikla.eu/watch/cs-55-design-premium-feature-tour-/adobe-drive-3/

http://tv.adobe.com/watch/learn-indesign-cs5/getting-started-what-is-indesign-cs5/
http://www.youtube.com/watch?v=dmiXPoz_PlQ
http://tv.adobe.com/


The below document is having good description about what can be done with Alfresco cmis connector
 http://www.adobe.com/support/adobedrive/pdfs/CMIS_Connector_TechNote.pdf
http://forums.adobe.com/message/4117260

Thursday, April 26, 2012

Adobe suite with Alfresco

http://www.zaizi.com/blogs/-/blogs/working-with-alfresco-from-adobe-creative-suite?_33_redirect=http%3A%2F%2Fwww.zaizi.com%2Fsearch%3Fp_p_id%3Dsearchportlet_WAR_searchportlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_searchportlet_WAR_searchportlet_action%3Dsearch%26_searchportlet_WAR_searchportlet_query%3Dadobe+drive%26_searchportlet_WAR_searchportlet_className%3D%26_searchportlet_WAR_searchportlet_page%3D1%26_searchportlet_WAR_searchportlet_pageSize%3D10%26_searchportlet_WAR_searchportlet_sortBy%3Dscore%26_searchportlet_WAR_searchportlet_sortType%3Ddesc#.T5nJeNlwyoY
http://help.adobe.com/en_US/creativesuite/cs/adobedrive/CMIS_Connector_TechNote.pdf
http://www.zaizi.com/you-need/alfresco-content-hub#.T5nKKNlwyoY
http://www.alfresco.com/products/editions/enterprise/4-0/http://forums.adobe.com/message/4216705
http://forums.adobe.com/message/4216705
http://help.adobe.com/en_US/creativesuite/cs/adobedrive/CMIS_Connector_TechNote.pdf

Saturday, April 21, 2012

MAT Titorial blog link

http://memoryanalyzer.blogspot.co.uk/2010/01/heap-dump-analysis-with-memory-analyzer.html#more

Memory Leaks with Your Kit

Finding memory leaks with YourKit

Memory Leak
 Memory Tab
Heap: storage of java objects
Non heap : to store loaded classes and other metadata

Class list : It is telemetry of memory consumed.

In the heap memory we can see the changed in memory usage with light pink,light blue coloe

Now force GC to GC.

We can see the memory usage drops, it may not return to its previous value.

This says there is memory leakage

______________________________________________

Memory snapshot
Take the sanpshot and open the window
class list has all the list of classes used.
claculate the class with biggest retained size by calculating

Now go to Biggest objects

From the biggest object click on Path from GC Roots
  Click to Start Calculation in the bottom tab
We can right click on the object having highest retained size.

We can select the object s of the class having hifhest retained size. We can
evaluate the field consuming more data.

We should keep removing the objects if it is there.

_______________________________________________________


Anothe way

generations

It gives the variable names as well. so it is good practice to use
the IDE along with the code.


_________________________________________________________________


CPU Profiling

1. Start the cpu sampleing
2. Save the snapshot
3. Open the snapshot
4. See the class loading on all the threads
5. Open the hotspots
6. Check from where this method is been called





Thursday, April 19, 2012

YourKit and Jprofile with Alfresco

1. We can run jprofiler and YKit from the remote machine.

Basically these tools will be putting the configurations in the server, startup.bat file and we can start alfresco using alf_start.bat normally.

Jprofiler :

1. Install Jprofiler in the client machine and server machine.

2. In the client machine run the wizard by selecting option an application server locally or remotely

in the wizard provide jprofile installation directory, location of startup.bat file,ip of the machine and the type of tomcat

port number for jprofile to run. When we Finish the wizard it updates

startup.bat file and makes below entry

rem The following lines have been added by the rem application server integration wizard of JProfiler

set CATALINA_OPTS=-agentpath:C:\jprofiler7\bin\windows-x64\jprofilerti.dll=port=8849 %CATALINA_OPTS%

rem end of modifications

3. Now from client Go to Start Center - and select the previously configured Ip

Your Kit

1. Install Your Kit in client and server 2. Through the command prompt execute below caoomnds C:\yourkit\lib>java -jar yjp.jar -integrate

follow the steps,

C:\yourkit\lib>java -jar yjp.jar -integrate Choose server to integrate with:

1) Geronimo

2) GlassFish / Sun Application Server

3) JBoss

4) Jetty HTTP Server 5.x

5) JRun 4

6) Resin 2.x/3.x

7) Tomcat 3/4/5/6/7

8) WebLogic 9 and newer

9) WebSphere Application Server 7

10) Generic server (use if your server is not on the list) Enter number which corresponds to your server (0 to exit) and press Enter:

>7

Please specify whether the server runs on a 32-bit JVM or a 64-bit JVM.

Hint: If you are not sure what to choose, choose "32-bit JVM". If with this choi ce the server does not start with profiling, re-run the integration and choose "

64-bit Java" option.

1) 32-bit JVM

2) 64-bit JVM

>2

Location of Tomcat startup script (\bin\startup.bat or tomcat5.exe or tomcat6.exe or tomcat7.exe):

>C:\alfresco-server-bmi335\tomcat\bin\startup.bat

Startup options configuration: step 1 of 5 Should option 'disablestacktelemetry' be specified?

1) Yes (recommended to minimize profiling overhead in production)

2) No

>2

Startup options configuration: step 2 of 5 Should option 'disableexceptiontelemetry' be specified?

1) Yes (recommended to minimize profiling overhead in production)

2) No

>2

Startup options configuration: step 3 of 5 Should option 'builtinprobes=none' be specified?

1) Yes (recommended to minimize profiling overhead in production)

2) No

>2

Startup options configuration: step 4 of 5 Should option 'delay=10000' be specified?

1) Yes (recommended)

2) No

>2

Startup options configuration: step 5 of 5 Please specify comma-separated list of additional startup options, or press Ente r for no additional options:

>

It changes the file start_up.bat. later we can start alfresco with alf_start.bat Startup script to be used for profiling has been successfully created:

set JAVA_OPTS=-agentpath:C:\yourkit\bin\win64\yjpagent.dll=sessionname=Tomcat %JAVA_OPTS%

When we start server, we should be able to connect to it by seeing the logs from remote profiling of YKIT

Make sure The path of installation of Jprofile and YKit is not having spaces and special characters,else server will not start


Info i got from

http://www.yourkit.com/docs/80/help/profiling_j2ee_remote.jsp