Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    deploy, sqlserver, tomcat

    Hi,

    after I changed from mysql to sqlserver (hibernate.cfg.xml for spring)
    I get this tomcat error.

    Could it have something to do with sgwt?

    can anybody help me?

    Code:
    ISC: Configuring log4j from: file:/Users/.../Downloads/apache-tomcat-6.0.24/webapps/.../WEB-INF/classes/log4j.isc.config.xml
    log4j:ERROR Could not parse url [file:/Users/../Downloads/apache-tomcat-6.0.24/webapps/.../WEB-INF/classes/log4j.isc.config.xml].
    java.lang.NullPointerException
    	at java.lang.String.indexOf(String.java:1733)
    	at org.apache.log4j.helpers.OptionConverter.substVars(OptionConverter.java:385)
    	at org.apache.log4j.xml.DOMConfigurator.subst(DOMConfigurator.java:951)
    	at org.apache.log4j.xml.DOMConfigurator.subst(DOMConfigurator.java:936)
    	at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:847)
    	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
    	at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
    	at com.isomorphic.log.Logger.<clinit>(Logger.java:155)
    	at com.isomorphic.base.Init.<clinit>(Init.java:68)
    	at sun.misc.Unsafe.ensureClassInitialized(Native Method)
    	at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
    	at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
    	at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)
    	at java.lang.reflect.Field.getFieldAccessor(Field.java:899)
    	at java.lang.reflect.Field.set(Field.java:657)
    	at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:1846)
    	at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1718)
    	at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1622)
    	at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:710)
    	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4649)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4512)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
    	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    Tomcat: 6.0.24 / 6.0.29
    smartGWT pro

    cheers,
    timo
    Attached Files

    #2
    Not SmartGWT-related and probably something to do with unrelated changes to config. Note what it's complaining about - there seems to be a triple-dot (...) in the path to log4j.isc.config.xml, it's not even reading the file yet.

    Comment

    Working...
    X