Geronimo failed to start using Eclipse WTP

Sébastien Dante Ursini
Thursday, 02 February 2012 10:23
Written by Sébastien Dante Ursini

Geronimo failed to start using Eclipse WTP

UDDI Tomcat module failed to start

Environment

Eclipse Indigo
Geronimo 3.0

Symptom

If you have an error like


javax.xml.transform.TransformerFactoryConfigurationError: Provider 
org.apache.xalan.processor.TransformerFactoryImpl not found 
        javax.xml.transform.TransformerFactory.newInstance(Unknown Source) 
        com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:121) 
        com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:98) 
        com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:690) 
        com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121) 
        com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:97) 
        com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:46) 
        org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getMapping(DefaultActionMapper.java:238) 
        org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:227)

Resolution

You are probably using a JRE instead of a JDK. To fix it install a JDK. Configure your newly created JDK clicking Preferences -> Java -> Installed JREs .

Then you need to change the runtime environment in your servers configuration. Click on Runtime Environment then select your JDK in the JRE combobox.

If you are still experiencing errors delete the server and re-create a brand new one.

Tags: eclipse , environment , geronimo , runtime , start , 121)
Sébastien Dante Ursini

Sébastien Dante Ursini

Java/Finance Specialist
15 Years of experience in Java
20 Year in Banking/Finance
Based in Geneva/Switzerland

Add comment


Security code
Refresh