SlideShare a Scribd company logo
1 of 15
Keeping E-Business Open for Business™




                     BEA Users Group
                           January 16, 2003

    Embedding WLS Server –
     Experience of Building a
    J2EE-based Management
             Server

                Sanjeev Kumar
           skumar@resonate.com
    Management Server Team
         Resonate Inc.




    www.resonate.com
1   Resonate_presentation title
Experience of Building a J2EE-based
       Management Server

 • Basic Control Flows & Characteristics
 • Development Issues
 • Installation & Packaging Issues
 • Operational & Performance Issues




Resonate_presentation title
Commander Solutions – “Moving Parts”

                       Test Engine              Management   Watchdog               Configured Backup
                                                  Server                            Management Server
                                                                                          Node


                                                    PTA




                                 Pass-through
            WLS Server                                                   Backup Pass-
                                    Agent                               through Agent

                                          AA
                                                                               AA

               cm_wls
                                     cm_solaris


       signifies a node (machine) boundary
       signifies “ping” or heartbeat traffic
       signifies configured (primary) connections
       signifies configured backup connections



   Resonate_presentation title
Management Server – Code Layers
                GUI
                                       SLO Manager

                   Servlets             Rules Engine
                                         Scheduler

   Stateless Session Beans     JMS    Failover Manager

                                       Tests & Actions
   Singletons (Entity Beans)
                                     Statistics & Events

                                      Data Subscription
              DB Interface
                                         Discovery

         Weblogic Server             Communication Hub




Resonate_presentation title
Management Server: Characteristics
 • J2EE Technologies Used
     – Servlets, JSP’s, Struts Framework
     – Session Beans, and (partially) Entity Beans
     – BMP, JDBC, and DB Connection Pool
     – (In-memory) JMS
     – XML Parsers

 • WLS HTTP Listener
 • WLS Startup/Shutdown Hooks
 • Different from an In-house, Traditional Application
     – Packaging & Installation
     – Resource planning for varying scales of deployment




  Resonate_presentation title
Management Server: Characteristics
  • Design Patterns Used
         – Singletons: key functional components
         – Value Objects: persistent data
         – Session Bean per Singleton
         – Publish & Subscribe (JMS) for Asynchronous Communication

  • Rules Engine
         – Events combined with AND’s and OR’s
         – Event correlation w.r.t. time and occurrences

  • Agent Communication
         – Persistent and non-persistent message channel
         – Thread pool created and managed by the server



 Resonate_presentation title
Development – Servlet Container
            Servlet Container
                  – Application level authorization filter
                  – Use of JSP’s, servlets, struts framework, and bean shell
                  – Management of HTTP sessions for server failback


HTTP Request                                      Stateless                       JDBC
                    Java            Auth.         Session          Singleton/
 GET/POST          Servlets                        Beans          Value Objects


HTTP Response        Java
                    Server
                     Page
                                               Stateless Session Beans
                                                                              JDBC
                                             (Service Object Model)
            Web Container



                                            Enterprise Java Beans Container



      Resonate_presentation title
Development – EJB Container
• Session Beans
   – <session-type> - stateless; <transaction-type> - bean
   – <isolation_level> - TRANSACTION_READ_COMMITTED, for all methods

• Entity Beans
   – Persistence: <db-is-shared> - true; use of is_modified as “dirty” bit
   – Entity-cache: <concurrency-strategy> - database
   – db_is_shared = false; Caused transaction timeouts
   – db_is_shared = true; Excessive ejbLoad()’s and ejbStore()’s
   – Seen intermittent reentrancy exceptions; possible bug in WLS61sp1

 Moved functionality from entity beans to singletons
 and value objects


 Resonate_presentation title
Development – “Backend”
• Blocking vs. Non-blocking Operations
  – Use of request queues for op’s with high latency (e.g. writes to DB)
  – Decoupling of components via JMS server thread-pool

• Error Handling
  – Logging of application level errors, with varying levels of severity
  – Map most WLS and DB errors to user-consumable errors

• Debugging
  – Synchronization of entries across log files in the control flow chain

• Throughput
  – Data intensive, DB and disk I/O bound
  – Parallelization of disk I/O across as many disks as possible



  Resonate_presentation title
Installation & Packaging
    • Usage
          – Silent Install of WLS
          – Install of WLS as a service
          – Embedded WLS (ISV) License

    • Issues Discovered (“Nits”)
          – WLS uninstall is not silent
          – WLS uninstall is not "cumulative", i.e. uninstall of
            WLS61sp1 requires uninstall of WLS61
          – Uninstall does not remove BEA directory completely




0   Resonate_presentation title
Operational Issues: Config. & Startup
         • Server Startup & Shutdown
               – Startup and shutdown class hooks via config.xml
               – Ordered startup of server state
               – Orderly shutdown in the case of failback to primary

         • Management Server (App Level) Config File
               – Setting singleton and thread states at startup time
               – User-visible vs. hidden parameters

         • Log Generation
               – Application level log file
               – Cyclical set of log files




1     Resonate_presentation title
Operational Issues: Performance Related
     • Thread-pool Sizes
          – Strict control of application-spawned threads & execute queue
          – Lack of control of JMS server thread pool size (WLS6.1)

     • Java Heap Sizing
          – Guidelines to specify typical and max on heap size
          – Min & Max for heap and new-space set equal at startup
          – Experimentation required for survivor-ratio and min/max of heap-
            free ratios

     • Database Throughput
          – Control over database and disk I/O throughput
          – Indirectly impacts GC performance



2    Resonate_presentation title
Summary-I
     • Things that worked
            – EJB Container: Stateless session beans
            – In-memory JMS message propagation (pub/sub)
            – Weblogic Server, Rel 6.1sp1, in general
            – Online docs (edocs.bea.com)
            – BEA’s consulting services

     • Things that “kind of” worked
            – Silent install, uninstall & release upgrades of WLS
            – Use of debuggers to step through application code




3   Resonate_presentation title
Summary-II

    • Things that did not work
          – Full GC & network connections

          – Predictability (and outcome) of full GC

          – Network I/O (as supported in JDK 1.3.1)
          – Entity beans & application spawned threads




4   Resonate_presentation title
Questions?

                                     Q&A




5   Resonate_presentation title

More Related Content

What's hot

WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleJames Bayer
 
JBoss Application Server 7
JBoss Application Server 7JBoss Application Server 7
JBoss Application Server 7Ray Ploski
 
JBoss started guide
JBoss started guideJBoss started guide
JBoss started guidefranarayah
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...BIOVIA
 
Quest v ranger 6.0 product overview - august 2012 sd
Quest v ranger 6.0   product overview - august 2012 sdQuest v ranger 6.0   product overview - august 2012 sd
Quest v ranger 6.0 product overview - august 2012 sdDell_Maxwell
 
Powering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogicPowering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogicLucas Jellema
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configurationAditya Bhuyan
 
Instruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environmentInstruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environmentMadhusudan Pisipati
 
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...BIOVIA
 
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...Jeffrey West
 
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server PerformanceBIOVIA
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastRajiv Gupta
 
PACLUG sametime presentation
PACLUG sametime presentationPACLUG sametime presentation
PACLUG sametime presentationamhiggins
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sqlSamuel Zürcher
 
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...BIOVIA
 

What's hot (20)

Oracle WebLogic 11g Topology
Oracle WebLogic 11g TopologyOracle WebLogic 11g Topology
Oracle WebLogic 11g Topology
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
 
JBoss Application Server 7
JBoss Application Server 7JBoss Application Server 7
JBoss Application Server 7
 
JBoss started guide
JBoss started guideJBoss started guide
JBoss started guide
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
(ATS3-APP08) Top 10 things every Symyx Notebook by Accelrys Administrator sho...
 
Quest v ranger 6.0 product overview - august 2012 sd
Quest v ranger 6.0   product overview - august 2012 sdQuest v ranger 6.0   product overview - august 2012 sd
Quest v ranger 6.0 product overview - august 2012 sd
 
Powering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogicPowering the Cloud with Oracle WebLogic
Powering the Cloud with Oracle WebLogic
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configuration
 
Instruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environmentInstruction on creating a cluster on jboss eap environment
Instruction on creating a cluster on jboss eap environment
 
Physical Architecture Layer Design
Physical Architecture Layer DesignPhysical Architecture Layer Design
Physical Architecture Layer Design
 
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
(ATS4-APP01) Tips and Tricks for a Successful Installation of Accelrys Electr...
 
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
 
Weblogic security
Weblogic securityWeblogic security
Weblogic security
 
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
(ATS4-APP09)Tips and tricks for Managing Symyx Notebook Server Performance
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
 
PACLUG sametime presentation
PACLUG sametime presentationPACLUG sametime presentation
PACLUG sametime presentation
 
Sp2010 high availlability_sql
Sp2010 high availlability_sqlSp2010 high availlability_sql
Sp2010 high availlability_sql
 
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
(ATS3-APP13) Tips and Tricks for Monitoring and Managing Symyx Notebook Serve...
 

Similar to BUG - BEA Users\' Group, Jan16 2003

F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developersMeng He
 
OOW09 Ebs Tuning Final
OOW09 Ebs Tuning FinalOOW09 Ebs Tuning Final
OOW09 Ebs Tuning Finaljucaab
 
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012Michael Noel
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...Nancy Thomas
 
04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment WorkshopChuong Nguyen
 
02 -my_sql_roma-may2011
02  -my_sql_roma-may201102  -my_sql_roma-may2011
02 -my_sql_roma-may2011testfank
 
Java Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web ApplicationJava Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web ApplicationIMC Institute
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.Dimitris Andreadis
 
The Art & Sience of Optimization
The Art & Sience of OptimizationThe Art & Sience of Optimization
The Art & Sience of OptimizationHertzel Karbasi
 
Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)David Chou
 
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11gWebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11gInSync Conference
 
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-finalRohit Kelapure
 
Performance Engineering Case Study V1.0
Performance Engineering Case Study    V1.0Performance Engineering Case Study    V1.0
Performance Engineering Case Study V1.0sambitgarnaik
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresMichel Schildmeijer
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle Arshit Rai
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the UnionDimitris Andreadis
 

Similar to BUG - BEA Users\' Group, Jan16 2003 (20)

F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developers
 
OOW09 Ebs Tuning Final
OOW09 Ebs Tuning FinalOOW09 Ebs Tuning Final
OOW09 Ebs Tuning Final
 
Virtual classroom
Virtual classroomVirtual classroom
Virtual classroom
 
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
Ultimate SharePoint Infrastructure Best Practices Session - Live360 Orlando 2012
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
 
04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop04.egovFrame Runtime Environment Workshop
04.egovFrame Runtime Environment Workshop
 
02 -my_sql_roma-may2011
02  -my_sql_roma-may201102  -my_sql_roma-may2011
02 -my_sql_roma-may2011
 
Java Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web ApplicationJava Web Programming [1/9] : Introduction to Web Application
Java Web Programming [1/9] : Introduction to Web Application
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
 
Intro to sbt-web
Intro to sbt-webIntro to sbt-web
Intro to sbt-web
 
The Art & Sience of Optimization
The Art & Sience of OptimizationThe Art & Sience of Optimization
The Art & Sience of Optimization
 
Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)Java on Windows Azure (Cloud Computing Expo 2010)
Java on Windows Azure (Cloud Computing Expo 2010)
 
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11gWebLogic Diagnostic Framework  Dr. Frank Munz / munz & more WLS11g
WebLogic Diagnostic Framework Dr. Frank Munz / munz & more WLS11g
 
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
 
Performance Engineering Case Study V1.0
Performance Engineering Case Study    V1.0Performance Engineering Case Study    V1.0
Performance Engineering Case Study V1.0
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy features
 
Jsf Framework
Jsf FrameworkJsf Framework
Jsf Framework
 
Sail Fin Webinar Overview
Sail Fin Webinar OverviewSail Fin Webinar Overview
Sail Fin Webinar Overview
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the Union
 

Recently uploaded

ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024Stephen Perrenod
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftshyamraj55
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandIES VE
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxFIDO Alliance
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Skynet Technologies
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jNeo4j
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPTiSEO AI
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!Memoori
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 

Recently uploaded (20)

ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 

BUG - BEA Users\' Group, Jan16 2003

  • 1. Keeping E-Business Open for Business™ BEA Users Group January 16, 2003 Embedding WLS Server – Experience of Building a J2EE-based Management Server Sanjeev Kumar skumar@resonate.com Management Server Team Resonate Inc. www.resonate.com 1 Resonate_presentation title
  • 2. Experience of Building a J2EE-based Management Server • Basic Control Flows & Characteristics • Development Issues • Installation & Packaging Issues • Operational & Performance Issues Resonate_presentation title
  • 3. Commander Solutions – “Moving Parts” Test Engine Management Watchdog Configured Backup Server Management Server Node PTA Pass-through WLS Server Backup Pass- Agent through Agent AA AA cm_wls cm_solaris signifies a node (machine) boundary signifies “ping” or heartbeat traffic signifies configured (primary) connections signifies configured backup connections Resonate_presentation title
  • 4. Management Server – Code Layers GUI SLO Manager Servlets Rules Engine Scheduler Stateless Session Beans JMS Failover Manager Tests & Actions Singletons (Entity Beans) Statistics & Events Data Subscription DB Interface Discovery Weblogic Server Communication Hub Resonate_presentation title
  • 5. Management Server: Characteristics • J2EE Technologies Used – Servlets, JSP’s, Struts Framework – Session Beans, and (partially) Entity Beans – BMP, JDBC, and DB Connection Pool – (In-memory) JMS – XML Parsers • WLS HTTP Listener • WLS Startup/Shutdown Hooks • Different from an In-house, Traditional Application – Packaging & Installation – Resource planning for varying scales of deployment Resonate_presentation title
  • 6. Management Server: Characteristics • Design Patterns Used – Singletons: key functional components – Value Objects: persistent data – Session Bean per Singleton – Publish & Subscribe (JMS) for Asynchronous Communication • Rules Engine – Events combined with AND’s and OR’s – Event correlation w.r.t. time and occurrences • Agent Communication – Persistent and non-persistent message channel – Thread pool created and managed by the server Resonate_presentation title
  • 7. Development – Servlet Container Servlet Container – Application level authorization filter – Use of JSP’s, servlets, struts framework, and bean shell – Management of HTTP sessions for server failback HTTP Request Stateless JDBC Java Auth. Session Singleton/ GET/POST Servlets Beans Value Objects HTTP Response Java Server Page Stateless Session Beans JDBC (Service Object Model) Web Container Enterprise Java Beans Container Resonate_presentation title
  • 8. Development – EJB Container • Session Beans – <session-type> - stateless; <transaction-type> - bean – <isolation_level> - TRANSACTION_READ_COMMITTED, for all methods • Entity Beans – Persistence: <db-is-shared> - true; use of is_modified as “dirty” bit – Entity-cache: <concurrency-strategy> - database – db_is_shared = false; Caused transaction timeouts – db_is_shared = true; Excessive ejbLoad()’s and ejbStore()’s – Seen intermittent reentrancy exceptions; possible bug in WLS61sp1 Moved functionality from entity beans to singletons and value objects Resonate_presentation title
  • 9. Development – “Backend” • Blocking vs. Non-blocking Operations – Use of request queues for op’s with high latency (e.g. writes to DB) – Decoupling of components via JMS server thread-pool • Error Handling – Logging of application level errors, with varying levels of severity – Map most WLS and DB errors to user-consumable errors • Debugging – Synchronization of entries across log files in the control flow chain • Throughput – Data intensive, DB and disk I/O bound – Parallelization of disk I/O across as many disks as possible Resonate_presentation title
  • 10. Installation & Packaging • Usage – Silent Install of WLS – Install of WLS as a service – Embedded WLS (ISV) License • Issues Discovered (“Nits”) – WLS uninstall is not silent – WLS uninstall is not "cumulative", i.e. uninstall of WLS61sp1 requires uninstall of WLS61 – Uninstall does not remove BEA directory completely 0 Resonate_presentation title
  • 11. Operational Issues: Config. & Startup • Server Startup & Shutdown – Startup and shutdown class hooks via config.xml – Ordered startup of server state – Orderly shutdown in the case of failback to primary • Management Server (App Level) Config File – Setting singleton and thread states at startup time – User-visible vs. hidden parameters • Log Generation – Application level log file – Cyclical set of log files 1 Resonate_presentation title
  • 12. Operational Issues: Performance Related • Thread-pool Sizes – Strict control of application-spawned threads & execute queue – Lack of control of JMS server thread pool size (WLS6.1) • Java Heap Sizing – Guidelines to specify typical and max on heap size – Min & Max for heap and new-space set equal at startup – Experimentation required for survivor-ratio and min/max of heap- free ratios • Database Throughput – Control over database and disk I/O throughput – Indirectly impacts GC performance 2 Resonate_presentation title
  • 13. Summary-I • Things that worked – EJB Container: Stateless session beans – In-memory JMS message propagation (pub/sub) – Weblogic Server, Rel 6.1sp1, in general – Online docs (edocs.bea.com) – BEA’s consulting services • Things that “kind of” worked – Silent install, uninstall & release upgrades of WLS – Use of debuggers to step through application code 3 Resonate_presentation title
  • 14. Summary-II • Things that did not work – Full GC & network connections – Predictability (and outcome) of full GC – Network I/O (as supported in JDK 1.3.1) – Entity beans & application spawned threads 4 Resonate_presentation title
  • 15. Questions? Q&A 5 Resonate_presentation title