Streszczenie treści zawartej na stronie nr. 1
SunGlassFishEnterpriseServer
v3PreludeTroubleshooting
Guide
SunMicrosystems,Inc.
4150NetworkCircle
SantaClara,CA95054
U.S.A.
PartNo:820–6823–10
November2008
Streszczenie treści zawartej na stronie nr. 2
Copyright2008SunMicrosystems,Inc. 4150NetworkCircle,SantaClara,CA95054U.S.A. Allrightsreserved. SunMicrosystems,Inc.hasintellectualpropertyrightsrelatingtotechnologyembodiedintheproductthatisdescribedinthisdocument.Inparticular,andwithout limitation,theseintellectualpropertyrightsmayincludeoneormoreU.S.patentsorpendingpatentapplicationsintheU.S.andinothercountries. U.S.GovernmentRights–Commercialsoftware.GovernmentusersaresubjecttotheSunMicrosystems,Inc.standardlicenseagreementandapplicableprovi
Streszczenie treści zawartej na stronie nr. 3
Contents Preface.....................................................................................................................................................7 1 OverviewofEnterpriseServerTroubleshooting ...........................................................................13 IdentifyingtheProblem ......................................................................................................................13 FirstSteps .........................................................
Streszczenie treści zawartej na stronie nr. 4
Contents WasApplicationDeploymentSuccessful?................................................................................26 AdministratorUserNameorPasswordNotKnown...............................................................26 ServerWillNotStartonWindows(PortConflict)..........................................................................27 IsAnotherApplicationRunningontheServer'sPort?............................................................28 HasanUngracefulShutdownOccurredonaPrevious
Streszczenie treści zawartej na stronie nr. 5
Contents 3 FrequentlyAskedQuestions .............................................................................................................39 AdministrationFAQs..........................................................................................................................39 WhichasadminCommandsareSupported? ............................................................................39 ApplicationFAQs ................................................................................
Streszczenie treści zawartej na stronie nr. 6
Contents UpdateToolFAQs ...............................................................................................................................45 HowDoIUseUpdateTooltoExtendMyEnterpriseServerInstallation? ...........................45 Index ......................................................................................................................................................47 6 SunGlassFishEnterpriseServerv3PreludeTroubleshootingGuide • November2008
Streszczenie treści zawartej na stronie nr. 7
Preface TM ThisguidedescribescommonproblemsthatyoumightencounterwhenusingSunGlassFish EnterpriseServerv3Preludeandhowtosolvethem. ThisprefacecontainsinformationaboutandconventionsfortheentireSunGlassFish EnterpriseServerdocumentationset. Thefollowingtopicsareaddressedhere: ■ “EnterpriseServerDocumentationSet”onpage7 ■ “RelatedDocumentation”onpage9 ■ “TypographicConventions”onpage9 ■ “SymbolConventions”onpage10 ■ “DefaultPathsandFileNames”onpage10 ■ “Documentation,Support,andTraining”onpage11 ■ “
Streszczenie treści zawartej na stronie nr. 8
Preface TABLEP–1 BooksintheEnterpriseServerDocumentationSet (Continued) BookTitle Description InstallationGuide Explainshowtoinstallthesoftwareanditscomponents. ApplicationDeploymentGuide ExplainshowtoassembleanddeployapplicationstotheEnterpriseServer andprovidesinformationaboutdeploymentdescriptors. Developer’sGuide ExplainshowtocreateandimplementJavaPlatform,EnterpriseEdition (JavaEEplatform)applicationsthatareintendedtorunontheEnterprise Server.TheseapplicationsfollowtheopenJavastandardsmodel
Streszczenie treści zawartej na stronie nr. 9
Preface TABLEP–1 BooksintheEnterpriseServerDocumentationSet (Continued) BookTitle Description ReferenceManual ProvidesreferenceinformationinmanpageformatforEnterpriseServer administrationcommands,utilitycommands,andrelatedconcepts. RelatedDocumentation TM AJavadoc toolreferenceforpackagesthatareprovidedwiththeEnterpriseServerislocatedat https://glassfish.dev.java.net/nonav/api/v3-prelude/index.html.Additionally,the followingresourcesmightbeuseful: ■ TheJavaEE5Specifications(http://java.sun.com/j
Streszczenie treści zawartej na stronie nr. 10
Preface SymbolConventions Thefollowingtableexplainssymbolsthatmightbeusedinthisbook. TABLEP–3 SymbolConventions Symbol Description Example Meaning [] Containsoptionalarguments ls [-l] The-loptionisnotrequired. andcommandoptions. {|} Containsasetofchoicesfora -d {y|n} The-doptionrequiresthatyouuse requiredcommandoption. eithertheyargumentorthen argument. ${ } Indicatesavariable ${com.sun.javaRoot} Referencesthevalueofthe reference. com.sun.javaRootvariable. - Joinssimultaneousmultiple Control-A P
Streszczenie treści zawartej na stronie nr. 11
Preface TABLEP–4 DefaultPathsandFileNames (Continued) Placeholder Description DefaultValue domain-dir Representsthedirectoryinwhichadomain's domain-root-dir/domain-name configurationisstored. Inconfigurationfiles,domain-diris representedasfollows: ${com.sun.aas.instanceRoot} Documentation,Support,andTraining TheSunwebsiteprovidesinformationaboutthefollowingadditionalresources: ■ Documentation(http://www.sun.com/documentation/) ■ Support(http://www.sun.com/support/) ■ Training(http://www.sun.com/
Streszczenie treści zawartej na stronie nr. 12
Preface Note–Sunisnotresponsiblefortheavailabilityofthird-partywebsitesmentionedinthis document.Sundoesnotendorseandisnotresponsibleorliableforanycontent,advertising, products,orothermaterialsthatareavailableonorthroughsuchsitesorresources.Sunwillnot beresponsibleorliableforanyactualorallegeddamageorlosscausedorallegedtobecausedby orinconnectionwithuseoforrelianceonanysuchcontent,goods,orservicesthatareavailable onorthroughsuchsitesorresources. SunWelcomesYourComments Sunisinterestedinimprovingi
Streszczenie treści zawartej na stronie nr. 13
CHAPTER 1 1 OverviewofEnterpriseServerTroubleshooting Thischapterdescribesthetools,methods,andinformationsourcesavailablefor troubleshootingSunGlassFishEnterpriseServerv3Prelude.Guidelinesforevaluatingand investigatingaproblemareincluded. Thischaptercontainsthefollowingsections: ■ “IdentifyingtheProblem”onpage13 ■ “TroubleshootingTools”onpage17 ■ “WheretoGoforMoreInformation”onpage19 IdentifyingtheProblem Applicationserversaretypicallydeployedincomplexandsophisticatedoperating environmentsandinv
Streszczenie treści zawartej na stronie nr. 14
IdentifyingtheProblem VerifySystemRequirementsandConfiguration TM Problemsareoftencausedbyconfigurationissues(system,JVM ,server,orapplication-level) andbyresourceissues(suchaswhenasystemrunsoutofmemory).RefertotheSunGlassFish EnterpriseServerv3PreludeReleaseNotesforthelatestinformationregardingsystem requirementsdependencies. ReviewKnownIssues Yourproblemmightberelatedtoaknownissuefortherelease.RefertotheSunGlassFish EnterpriseServerv3PreludeReleaseNotesforthelatestinformationregardingknownissu
Streszczenie treści zawartej na stronie nr. 15
IdentifyingtheProblem Note–SomeresourcesrefertoGlassFishv3Prelude.GlassFishv3Preludeisthecommunity versionofthecommerciallysupportedoffering,SunGlassFishEnterpriseServerv3Prelude. Thesoftwareisthesame;thedifferenceisinsupport. SearchtheSunSolveKnowledgebase SM SunSolve isSun'sinformationalandpatchdatabaseservicewithabrowseabledirectoryofall publiclyavailableSunMicrosystemssupportdocuments.SunSolveisavailableat http://sunsolve.sun.com.Additionalresourcesarealsoavailableforcustomerswithsupport con
Streszczenie treści zawartej na stronie nr. 16
IdentifyingtheProblem ■ Haveanypatchesbeenapplied?Ifso,whataretheproductandoperatingsystempatch numbers? ■ Whatotherproductsandtechnologiesareinstalledandbeingusedintheinstallation? ■ Howmanyapplicationservers,webservers,anddirectoryserversareinstalled?Whatare theproductsandversions? ■ HowisthewebserverconnectedtoEnterpriseServer?Onthesamesystem? ■ HowisEnterpriseServerconnectedtothedirectoryserver? ■ WhatJDBCdriverisbeingusedtoaccessthedatabase? WhatIsYourSystemConfiguration? ■ Whatareyoursetti
Streszczenie treści zawartej na stronie nr. 17
TroubleshootingTools Bydefault,allEnterpriseServerloginformationiscapturedintheserver.logfile,typically locatedindomain-dir/logs.LogViewerisnotavailableinEnterpriseServerv3Prelude.You cannotviewtheserver'slogfileorconfigureloggingusingtheAdministrationConsole.Toview loginformation,opentheserver.logfileinatexteditor.Youcanalsousecommand-linefile viewingcommandssuchastail,grep,ormore.Loggingisconfiguredbyeditingthe logging.propertiesfile,locatedbydefaultinthesamedirectoryasthedomain.xmlfile, typic
Streszczenie treści zawartej na stronie nr. 18
TroubleshootingTools StackTracesandThreadDumps Astacktraceisauser-friendlysnapshotofthethreadsandmonitorsinaVirtualMachinefor theJavaplatform(JavaVirtualMachineorJVMmachine).Athreaddumpshowswhatevery threadinaJVMisdoingatagiventimeandisusefulindebugging.Whentheapplicationserver freezes,hangs,orbecomessluggishfornoapparentreason,youshouldgenerateandanalyzea threaddump. ThissectionexplainshowtoobtainathreaddumpforEnterpriseServer.Moreinformation aboutanalyzingtheinformationcontainedinathreaddumpca
Streszczenie treści zawartej na stronie nr. 19
WheretoGoforMoreInformation WheretoGoforMoreInformation ■ Productpage: http://www.sun.com/software/products/glassfishv3_prelude/index.xml ■ ComparisonbetweenSunJavaSystemApplicationServer9.1(GlassFishv2)andEnterprise Serverv3Prelude: https://glassfish.dev.java.net/public/comparing_v2_and_v3.html ■ Supportandservices: http://www.sun.com/software/products/glassfishv3_prelude/support.xml ■ SunSolveknowledgebase:http://sunsolve.sun.com ■ Resourcespage(pointstoarticles,blogs,videos,screencasts,FAQs,a
Streszczenie treści zawartej na stronie nr. 20
20