tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Piva <efp...@gmail.com>
Subject Problems with tomcat 3.3.2 and IBM JRE 1.3.0
Date Mon, 01 Aug 2005 11:36:37 GMT
Hello list,

I'm trying to use tomcat 3.3.2 with JDK 1.3.0. I'm developing an
application in Linux/Windows, using SUN JDK 1.3.0 and tomcat 3.3.2 to
test everything locally and everything is going fine. This application
will run on an AIX 4, and in this machine the only JRE the sysadmins
managed to install was IBM JRE 1.3.0:


 $ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20010330 (JIT
enabled: jitc))


I don't know why, but tomcat 3.3.2 doesn't starts in this machine. I
need to run the tomcat in this machine, mainly because of internal
problems here in the company I'm working to.

The sysadmin installed tomcat 3.3.1a in this machine, which start's
correctly. With this version, my application refuses to start in the
AIX. In Linux with JDK 1.3.0, it start's correctly.

I have two questions:

1 - Why jakarta-tomcat 3.3.2 doesn't start's with IBM jdk 1.3.0? Does
anyone here managed to do that?
2 - Why my application doesn't start in jakarta-tomcat 3.3.1a in IBM jdk 1.3.0?
3 - Does anyone here uses AIX 4 and knows another VM than the one
supplied by IBM for the AIX? AIX 4 is an old version and IBM does not
supply JRE 1.4 neither 1.5 for this version. If anyone know how to use
a newer version, please help me. :)

The logs for both problems 1 and 2 are supplied below:

For tomcat 3.3.2, here is the log (after this log, there is the log
for my application starting in tomcat 3.3.1a):
$ ./startup
Using classpath: ./../lib/tomcat.jar:./../lib/common/commons-logging-api.jar
Using JAVA_HOME: /usr/java130
Using TOMCAT_HOME: /home/aep022/jakarta-tomcat-3.3.2/
ERROR reading /home/aep022/jakarta-tomcat-3.3.2/conf/server.xml
At Line 209 /Server/ContextManager/Http10Connector/ port=8080
secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10
java.util.MissingResourceException: Can't find bundle for base name
org.apache.tomcat.util.net.res.LocalStrings, locale en_US
        at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java(Compiled
Code))
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java(Compiled
Code))
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:547)
        at org.apache.tomcat.util.res.StringManager.<init>(StringManager.java:78)
        at org.apache.tomcat.util.res.StringManager.<init>(StringManager.java:70)
        at org.apache.tomcat.util.res.StringManager.getManager(StringManager.java:249)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.<init>(PoolTcpEndpoint.java:58)
        at org.apache.tomcat.modules.server.PoolTcpConnector.<init>(PoolTcpConnector.java:60)
        at org.apache.tomcat.modules.server.Http10Interceptor.<init>(Http10Interceptor.java:68)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:254)
        at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:797)
        at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java:516)
        at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:114)
        at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java(Compiled
Code))
        at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java(Compiled
Code))
        at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java(Compiled
Code))
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java(Compiled
Code))
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
        at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:334)
        at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:137)
        at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:113)
        at org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:393)
        at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:613)
        at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:791)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)
        at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:166)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:76)
        at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:773)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:52)
        at org.apache.tomcat.startup.Main.execute(Main.java:272)
        at org.apache.tomcat.startup.Main.main(Main.java:98)
EmbededTomcat: exception initializing ContextManager
org.apache.tomcat.core.TomcatException: Root cause - Can't find bundle
for base name org.apache.tomcat.util.net.res.LocalStrings, locale
en_US
        at java.lang.Exception.<init>(Exception.java:44)
        at org.apache.tomcat.core.TomcatException.<init>(TomcatException.java:41)
        at org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(ServerXmlReader.java:141)
        at org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(ServerXmlReader.java:113)
        at org.apache.tomcat.core.ContextManager.addInterceptor(ContextManager.java:393)
        at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:613)
        at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:791)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:775)
        at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Jdk12Support.java:166)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Jdk12Support.java:76)
        at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:773)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:52)
        at org.apache.tomcat.startup.Main.execute(Main.java:272)
        at org.apache.tomcat.startup.Main.main(Main.java:98)
Guessed home=/home/aep022/jakarta-tomcat-3.3.2



When I try to start my application, here is the log:



2005-08-01 08:33:10 - Ctx(/acompdc) : Validating web.xml
EmbededTomcat: Init time 16188
2005-08-01 08:33:14 - Ctx(/acompdc) : Exception in init  Error
creating bean with name 'authDAO' defined in ServletContext resource
[/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
bean 'roleDAO' while setting property 'roleDAO'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'roleDAO' defined in ServletContext resource
[/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
bean 'sqlMapClient' while setting property 'sqlMapClient'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlMapClient' defined in ServletContext
resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
bean failed; nested exception is java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory: method
setIgnoringComments(Z)V not found -
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'authDAO' defined in ServletContext resource
[/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
bean 'roleDAO' while setting property 'roleDAO'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'roleDAO' defined in ServletContext resource
[/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
bean 'sqlMapClient' while setting property 'sqlMapClient'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlMapClient' defined in ServletContext
resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
bean failed; nested exception is java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory: method
setIgnoringComments(Z)V not found
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'roleDAO' defined in ServletContext resource
[/WEB-INF/dataAccessContext-local.xml]: Can't resolve reference to
bean 'sqlMapClient' while setting property 'sqlMapClient'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'sqlMapClient' defined in ServletContext
resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
bean failed; nested exception is java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory: method
setIgnoringComments(Z)V not found
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sqlMapClient' defined in ServletContext
resource [/WEB-INF/dataAccessContext-local.xml]: Initialization of
bean failed; nested exception is java.lang.NoSuchMethodError:
javax.xml.parsers.DocumentBuilderFactory: method
setIgnoringComments(Z)V not found
java.lang.NoSuchMethodError: javax.xml.parsers.DocumentBuilderFactory:
method setIgnoringComments(Z)V not found
        at com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:128)
        at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
        at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:78)
        at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:62)
        at org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:258)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:962)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:354)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:916)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:727)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:336)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:916)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:727)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:336)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:312)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
        at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:81)
        at javax.servlet.GenericServlet.init(GenericServlet.java)
        at org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java(Compiled
Code))
        at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java(Compiled
Code))
        at org.apache.tomcat.facade.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java(Compiled
Code))
        at org.apache.tomcat.core.Context.init(Context.java:542)
        at org.apache.tomcat.core.ContextManager.init(ContextManager.java:597)
        at org.apache.tomcat.startup.EmbededTomcat.initContextManager(EmbededTomcat.java:564)
        at org.apache.tomcat.startup.EmbededTomcat.execute1(EmbededTomcat.java:703)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(EmbededTomcat.java:687)
        at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown
Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
Source)
        at org.apache.tomcat.startup.EmbededTomcat.execute(EmbededTomcat.java:685)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)


Thanks for any help!

Eduardo.



-- 
Eduardo Fernandes Piva
efpiva@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message