Error Occurred Creating Managedconnection
numbers for Geronimo servicesAdmin questionsJetty or Tomcat? Running many Geronimo instances on the same machine can lead to port conflicts. You can assign new port numbers to services per Geronimo instance or disable them completely so they are not started up. Let's see what needs to be done in order to disable Geronimo services. Let say you want to disable the ActiveMQ brokers. Their configuration in var/config/config.xml file is as follows (Geronimo 2.1-SNAPSHOT): var/config/config.xml When you run Geronimo these services (gbeans) are shown in the Listening on Ports section at Geronimo startup: $ ./bin/geronimo.sh run Using GERONIMO_BASE: c:\geronimo Using GERONIMO_HOME: c:\geronimo Using GERONIMO_TMPDIR: c:\geronimo\var\temp Using JRE_HOME: c:\apps\java5\jre Booting Geronimo Kernel (in Java 1.5.0_14)... Starting Geronimo Application Server v2.1-SNAPSHOT ... Listening on Ports: 0 0.0.0.0 Derby Connector 1050 127.0.0.1 CORBA Naming Service 1099 0.0.0.0 RMI Naming 2001 127.0.0.1 OpenEJB ORB Adapter 4201 0.0.0.0 OpenEJB Daemon 6882 127.0.0.1 OpenEJB ORB Adapter 8009 0.0.0.0 Jetty Connector AJP13 8080 0.0.0.0 Jetty SelectChannel Connector HTTP 8443 0.0.0.0 Jetty SelectChannel Connector HTTPS 9999 0.0.0.0 JMX Remoting Connector 61613 0.0.0.0 ActiveMQ Transport Connector 61616 0.0.0.0 ActiveMQ Transport Connector The services in question are two ActiveMQ Transport Connectors listening to 61613 and 61616 ports. To disable these two ActiveMQ Transport Connectors you need to disable ActiveMQ.tcp.default and ActiveMQ.stomp.default gbeans. Edit var/config/config.xml and add the attribute load="false" in their gbean definitions. Note the load="false" attributes of the ns2:gbean elements. var/config/config.xml After the change, when you start up Geronimo it will show you that the gbeans are indeed not started. $ ./bin/geronimo.sh run Using GERONIMO_BASE: c:\geronimo Using GERONIMO_HOME: c:\geronimo Using GERONIMO_TMPDIR: c:\geronimo\var\temp Using JRE_HOME: c:\apps\java5\jre Booting Geronimo Kernel (in Java 1.5.0_14)... Starting Geronimo Application Server v2.1-SNAPSHOT ... Listening on Ports: 0 0.0.0.0 Derby Connector 1050
> Forum: IBM WebSphere Application Server Community Edition and Apache Geronimo > Topic: turning on authentication for derby - WAS CE startup fails 1 reply Latest Post - 2007-11-19T13:54:35Z by padmashree Display:ConversationsBy Date 1-2 of 2 Previous Next dbehm 0600028RA0 10 Posts Pinned topic turning on authentication for http://geronimo.apache.org/GMOxKB/how-to-disable-geronimo-services-to-avoid-port-conflicts.html derby - WAS CE startup fails 2007-11-16T15:48:18Z | Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. Hi, i want to turn on the authentication for the derby. I created the https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=183051 derby.properties to var/derby with following content: ... derby.connection.requireAuthentication=true derby.authentication.provider=BUILTIN derby.user.system=manager derby.user.xwiki=xwikipwd ... the startup fails loading the axis2 component: Module 6/37 org.apache.geronimo.configs/axis2/2.0.1/car 16:20:04,518 ERROR MCFConnectionInterceptor Error occurred creating ManagedConnection for org.apache.geronimo.connector.outbound.ConnectionInfo@611a611d javax.resource.spi.ResourceAdapterInternalException: Unable to obtain physical connection to org.apache.derby.jdbc.EmbeddedXADataSource@4bb44bb4 at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:76) at org.tranql.connector.derby.EmbeddedXAMCF.createManagedConnection(EmbeddedXAMCF.java:52) Any ideas? Thx. Log in to reply. Updated on 2007-11-19T13:54:35Z at 2007-11-19T13:54:35Z by padmashree padmashree 270000MTRB 20 Posts Re: turning on authentication for derby - WAS CE startup fails 2007-11-19T13:54:35Z This is the accepted answer. This is the accepted answer. hi, Make the following changes in config.xml located in
and SafetyAsset NetworkAsset Operations and MaintenanceCommerceOverviewSubscription Billing and Revenue ManagementMaster Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk and ComplianceFinancial Planning and AnalysisTreasury and Financial Risk ManagementHuman ResourcesOverviewCore Human Resources and PayrollHuman Capital AnalyticsTalent ManagementTime and Attendance ManagementManufacturingOverviewManufacturing NetworkManufacturing OperationsResponsive ManufacturingMarketingOverviewMarket with Speed and AgilityUnique Customer ExperiencesReal-Time Customer InsightsR&D/EngineeringOverviewDesign NetworkDesign OrchestrationProject and Portfolio ManagementSalesOverviewCollaborative Quote to CashSales Force AutomationSales Performance ManagementSelling Through Contact CentersServiceOverviewEfficient Field Service ManagementOmnichannel Customer ServiceTransparent Service Process and OperationsSourcing and ProcurementOverviewContingent Workforce ManagementDirect ProcurementSelf-Service ProcurementServices ProcurementStrategic Sourcing and Supplier ManagementSupply ChainOverviewDemand ManagementDemand NetworkLogistics NetworkManufacturing Planning and SchedulingResponse NetworkResponse and Supply ManagementSales, Inventory, and Operations PlanningTransportation ManagementWarehouse ManagementSustainabilityOverviewEnvironment, Health, and SafetyProduct Safety and Stewardship NetworkBrowse by IndustryAerospace and DefenseAutomotiveBankingChemicalsConsumer ProductsDefense and SecurityEngineering, Construction, and OperationsHealthcareHigh TechHigher Education and ResearchIndustrial Machinery and ComponentsInsuranceLife SciencesMediaMill ProductsMiningOil and GasProfessional ServicesPublic SectorRetailSports and EntertainmentTelecommunicationsTravel and TransportationUtilitiesWholesale DistributionBrowse Platform and TechnologyAnalyticsOverviewBusiness IntelligencePredictive AnalyticsGovernance, Risk, and ComplianceEnterprise Performance ManagementApplication Platform and InfrastructureOverviewApplication PlatformContent and CollaborationInterface ManagementProcess Management and IntegrationData ManagementOverviewBig Data on HadoopData WarehousingDatabase ManagementEnterprise Information ManagementIT ManagementOverviewApplication Lifecycle ManagementIT Infrastructure ManagementSecurity SoftwareOverviewApplication and IT Infrastructure SecurityIdentity, Access and Authentication ManagementBrowse by ProductAnalyticsContent and CollaborationCustomer Relationship ManagementData ManagementEnterprise ManagementFinancia