http://www.youtube.com/watch?v=aKGYa6Y9r60
http://90kts.com/2008/02/28/monitoring-weblogic-using-jmx-in-sitescope/
Wednesday, 25 December 2013
Thursday, 19 December 2013
Thursday, 7 November 2013
Oracle Application Testing Suite. quick start
Using Open Script, create one or more HTTP/Web scripts.
Using Oracle Load Testing, make sure you choose the same repository as the previous one (path to your open script's script)
Add to Scenario
Enter the number of VUs you want to use for each script
Press the RUN TEST button
Make sure you stop the test
Using Oracle Load Testing, make sure you choose the same repository as the previous one (path to your open script's script)
Add to Scenario
Enter the number of VUs you want to use for each script
Press the RUN TEST button
Make sure you stop the test
Tuesday, 29 October 2013
Java Memory Analysis
http://download.eclipse.org/mat/1.3/update-site/
https://blog.codecentric.de/en/2008/07/memory-analysis-part-1-obtaining-a-java-heapdump/
http://docs.oracle.com/javase/6/docs/technotes/tools/share/jhat.html
http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html
http://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm
https://blogs.oracle.com/jeffwest/entry/weblogic_1034_classloader_analysis_tool
http://pic.dhe.ibm.com/infocenter/isa/v4r1m0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.memory.analyzer.doc%2Fshallowretainedheap.html
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Fgettingstarted%2Fbasictutorial.html
http://eclipsesource.com/blogs/2013/01/21/10-tips-for-using-the-eclipse-memory-analyzer/
https://blog.codecentric.de/en/2008/07/memory-analysis-part-1-obtaining-a-java-heapdump/
http://docs.oracle.com/javase/6/docs/technotes/tools/share/jhat.html
http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html
http://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm
https://blogs.oracle.com/jeffwest/entry/weblogic_1034_classloader_analysis_tool
http://pic.dhe.ibm.com/infocenter/isa/v4r1m0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.memory.analyzer.doc%2Fshallowretainedheap.html
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.mat.ui.help%2Fgettingstarted%2Fbasictutorial.html
http://eclipsesource.com/blogs/2013/01/21/10-tips-for-using-the-eclipse-memory-analyzer/
Linux
linux os details: lsb_release -a
list process "ps" results are truncated with usr/bin/ps, try /usr/ucb/ps -aw
find ear files and print only the filename. Ex: find . -name *.ear -printf "%f\n"
find ear files and copy to directory ears. Ex: find . -name *.ear -exec cp {} ./ears \;
list process "ps" results are truncated with usr/bin/ps, try /usr/ucb/ps -aw
find ear files and print only the filename. Ex: find . -name *.ear -printf "%f\n"
find ear files and copy to directory ears. Ex: find . -name *.ear -exec cp {} ./ears \;
Tuesday, 15 October 2013
Google App Engine with Restful web services
- http://macgyverdev.blogspot.ca/2012/01/create-spring-rest-service-for-google.html
- https://developers.google.com/appengine/articles/spring_optimization
- http://www.mkyong.com/maven/how-to-create-a-web-application-project-with-maven/
- http://docs.angularjs.org/tutorial/step_11
- http://viralpatel.net/blogs/angularjs-controller-tutorial/
- http://weblogs.asp.net/dwahlin/archive/2013/08/16/using-an-angularjs-factory-to-interact-with-a-restful-service.aspx
- http://www.html5rocks.com/en/tutorials/cors/
Saturday, 1 June 2013
JDeveloper and Webcenter Portal
Problem: When installing the Webcenter extension in JDeveloper, I keep having an error message: too many redirects.
Solution: I found out that a proxy is in place in JDeveloper, and no matter if I unchecked using the proxy, it is still being used. So I just put the wildcard * in the exceptions, and that fixed the problem.
Problem: All you have is a Portlet packaged in a war, and you want to deploy it in webcenter Portal:
Solution: convert the portlet's war into a WSRP application, use java -jar wsrp-predeploy.jar source EAR target EAR. It also works for wars, so for example, here is what I executed: java -jar C:\Oracle\Middleware2\jdeveloper\webcenter\modules\oracle.portlet.server_11.1.1\wsrp-predeploy.jar ch7_HelloWorldPortlet.war PortletEAR.ear. The output should be:
Running predeployment tool in default mode
Portlet application detected; attempting to create a WSRP Service
WSRP Service created successfully
You then deploy the ear into weblogic. I used the console. Click on the application you just deployed (in the weblogic console: deployments). You can find the settings of your application, and under Testing, you can get the URL that will have the URLS to the WSDL, for example, my url is: http://192.168.192.1:7101/ch7_HelloWorldPortlet/info. If you hit that URL with your browser, you will see links to the WSDL on the page, copy the URL to the WSDL in your clipboard.
In JDeveloper, create a new portal application (or use an existing one), create a new page (or use an existing one). Under Application Resources, create a connection to WSRP Producer and use the URL copied in your clipboard when asked by the connection wizard.
You should now be able to view your portlet in you page when you run it.
Problem: When I tried to use the portlet in my application in webcenter portal, I got this exception:
javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Configjavax.portlet.PortletException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
Solution: What I did what alter the classpath in the startup script of Integrated weblogic in JDeveloper:
C:\Users\myuser\AppData\Roaming\JDeveloper\system11.1.1.6.38.62.29\DefaultDomain\bin\startWebLogic.cmd
Added this line: set CLASSPATH=%CLASSPATH%;C:\Oracle\Middleware2\oracle_common\modules\jstl-1.2.jar.
There are better ways the fix this, but I was short in time, I didn't have time to investiguate further. Hopefully, I will get back with a better solution
Friday, 31 May 2013
Wednesday, 29 May 2013
Virtual Box VM
Problem: Can't resize the screen of the VM
Solution: Install VirtualBox Guest Additions
Problem: user oracle has no permission to access shared folder:
Solution: usermod -a -G vboxsf oracle (and restart Menu Machine ACPI shutdown)
Solution: Install VirtualBox Guest Additions
Problem: user oracle has no permission to access shared folder:
Solution: usermod -a -G vboxsf oracle (and restart Menu Machine ACPI shutdown)
Saturday, 25 May 2013
Useful Links about Gadgets
- https://developers.google.com/gadgets/docs/spec
- https://developer.atlassian.com/display/GADGETS/Including+Features+into+your+Gadget
- http://igoogledeveloper.blogspot.ca/
- https://github.com/Governance/gadget-server
- https://sites.google.com/site/opensocialarticles/shindig-architecture-presentation
- http://docs.oracle.com/cd/E28662_01/doc.76/gadget_server/gadget_server_developers_guide_1_1.pdf
Monday, 20 May 2013
Setting up a standalone machine with Webcenter Suite for development
If you manage to install:
You might want to change the default configuration on CAS to point to http://vm_ip:port/cs instead of http://localhost:port/cs, otherwise, if you invoke sites from the browser on your local machine, it will try to call http:/localhost:port/cas/login and it will fail because CAS would be running on the "remote" VM as well.
To change the configuration, you can try to find the file SSOConfig.xml, usually under /home/oracle/Oracle/Middleware/user_projects/domains/csDomain/servers/CS_Server/stage/CS/CS/WEB-INF/classes/, and change the property <property name="casUrl" value="http://localhost:port/cas" /> to <property name="casUrl" value="http://vm_ip:port/cas" />
- Webcenter sites on a linux VM
- Eclipse with csdt on your machine configured to connect remotely to your sites installation
You might want to change the default configuration on CAS to point to http://vm_ip:port/cs instead of http://localhost:port/cs, otherwise, if you invoke sites from the browser on your local machine, it will try to call http:/localhost:port/cas/login and it will fail because CAS would be running on the "remote" VM as well.
To change the configuration, you can try to find the file SSOConfig.xml, usually under /home/oracle/Oracle/Middleware/user_projects/domains/csDomain/servers/CS_Server/stage/CS/CS/WEB-INF/classes/, and change the property <property name="casUrl" value="http://localhost:port/cas" /> to <property name="casUrl" value="http://vm_ip:port/cas" />
List of useful links about Oracle Webcenter
- SOA Ramblings from the Desert: Oracle Webcenter Portal 11.1.1.6 VirtualBox: Installing Webcenter Portlet Producers
- http://www.johnbrunswick.com/2012/10/e2-0-workbench-podcast-8-webcenter-sites-document-library-gadget-with-webcenter-content/
- BEAR001_WebCentre_Brochure_Redesign.indd - BearingPointOracleWebCenterBrochureFinalLowRes.pdf
- OTN Discussion Forums : WebCenter Portal and WebCenter Sites ...
- OTN Discussion Forums : WebcenterSites Vs WebcenterPortal ...
- OTN Discussion Forums : Integrating webcenter sites content in ...
- Strategy | John Brunswick | Page 3
- Redstone Content Solutions - Core Content Only Blog
- Search | Yannick Ongena's WebCenter And Enterprise 2.0 Blog
- WebCenter Portal Blog
- Pre-built Virtual Machine for SOA Suite and BPM Suite 11g
- Using WebCenter Pagelet Producer to integrate markup of portlets, ADF taskflows, or Oracle Applications into WebCenter Sites - markup-integration-wp-1730478.pdf
- Build Killer Sites with Oracle WebCenter - YouTube
- OracleWebCenter - YouTube
- - soabpmvirtualboxreadme-1612068.pdf
- csinstall-wl.book - webcenter_sites_11gr1_bp1_install_on_weblogic.pdf
- Using Oracle WebCenter Portal REST APIs - 11g Release 1 (11.1.1.6.0)
- ConfigRef.book - webcenter_sites_11gr1_bp1_configuring_supporting_software.pdf
- VirtualBox VMs for Developers
- How to do networking between virtual machines in VirtualBox? - Super User
- Oracle WebCenter Sites (FatWire Content Server) Multiple Vulnerabilities
- user_dash.book - webcenter_sites_11gr1_bp1_user_guide.pdf
- Installing WebCenter Sites 11gR1 on Windows | Function1
- csinstall-tomcat.book - webcenter_sites_11gr1_bp1_install_on_tomcat.pdf
- 10 Great WebCenter Sites Resources (FatWire) | John Brunswick
- CS_Developer Tools.book - cs_developer_tools_1_0_76p2.pdf
- CS_Developer Tools.book - webcenter_sites_11gr1_bp1_developer_tools.pdf
- CS Documentation Notes
- WebCenter Sites Documentation Notes
- Oracle ECM | Bex Huff
- FatWire Tutorial For Site Studio Developers
- Oracle Webcenter Sites 11gr1 - Integrating JSK, Eclipse and CS Developer Tools - Home
- developer.book - webcenter_sites_11gr1_bp1_developer_guide.pdf
- Futuretense, Open Market, Divine, FatWire, such a long story for a single product named “Content Server” | Ludovic' blog
- TomRed.net - FatWire Debugging
- FatWire_Analytics.pdf
- Fatwire’s CS 7.6: Content Server Developer Tools (CSDT): review « PCMSpace
- A new FatGoodie: FatProject « Fatcoders
- Oracle WebCenter Sites Release Notes
- FatWire integrated into WebCenter as WebCenter Sites for Web Experience Management
- Technology | Bex Huff
- SOA Ramblings from the Desert: Using Spring Portlet MVC 3.0 in Oracle Webcenter Portal (Spaces)
Subscribe to:
Posts (Atom)