This paper develops a Bayesian focalization approach to simultaneous three-dimensional localization of multiple sources in shallow water with uncertain environmental properties, for application to horizontal line array (HLA) data. The algorithm maximizes the posterior probability density over unknown environmental (seabed and water column) and source parameters (includes source-bearing) using an adaptive hybrid optimization algorithm. Maximum-likelihood expressions for source strengths and noise variance are used that allows these parameters to be sampled implicitly rather than explicitly. An extension to the algorithm that optimizes for a priori unknown number of sources, based on minimizing the Bayes information criterion, is developed and presented. The algorithm is applied to simulated multi-frequency data in a continental shelf environment.