Announcement

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

    After upgrading to 6.1 version Problem loading builtinTypes.xml

    Hi Isomorphic,

    After upgrading Smart GWT from 5.0 to 6.1 I got the following error during start up:

    ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
    Logger - Logging system started.
    ISCInit - No ServletContext available yet - using container IO for now
    ISCInit - Isomorphic SmartClient/SmartGWT Framework (v11.1p_2024-02-02/PowerEdition Deployment 2024-02-02) - Initialization Complete
    Problem loading builtinTypes.xml
    Exception when loading from __USE_CONTAINER__/portal/sc/system/schema/builtinTypes.xml:
    java.io.IOException: Configured for containerIO, but servletContext not available! You need to install the Init servlet
    at com.isomorphic.io.ISCFile.newInstance(ISCFile.java:151)
    at com.isomorphic.io.ISCFile.newInstance(ISCFile.java:180)
    at com.isomorphic.xml.XML.getXMLDocument(XML.java:434)
    at com.isomorphic.xml.XML.toDSRecords(XML.java:442)
    at com.isomorphic.xml.XML.toDSRecords(XML.java:446)
    at com.isomorphic.xml.XML.toDSRecords(XML.java:451)
    at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:1113)
    at com.isomorphic.datasource.DSRequest.<clinit>(DSRequest.java:3508)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.sun.proxy.$Proxy181.<clinit>(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)
    at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:121)
    at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:111)
    at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:494)
    at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:379)
    at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:339)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:421)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
    ...

    Can you help me please what could be the issue ?

    Regards,
    Zsolt

    #2
    Please see our response [url=https://forums.smartclient.com/forum/smart-gwt-technical-q-a/271663-upgrading-version-to-6-1-jsexpression-cannot-be-cast-to-java-lang-long#post271666]here[/url[. This has the same root cause.

    Comment

    Working...
    X