Announcement

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

    Null userid is not supported.

    smartgwtpower 3.1

    Can anybody explain me the cause of this error?

    [jcc][t4][10205][11234][4.13.127] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815

    The is no object here with a userid field; nor user field :-(

    I tried with a jpa datasource and everything seems (quite) fine
    Code:
    <!-- <DataSource ID="order_DataSource" serverType="sql" tableName="order_header" -->
    <!-- 	schemaBean="com.realanywhere.domain.OrderHeader" autoDeriveSchema="true"> -->
    
    <DataSource ID="order_DataSource" serverType="jpa"
    	serverContructor="com.isomorphic.jpa.JPA2DataSource" schemaBean="com.realanywhere.domain.OrderHeader"
    	autoDeriveSchema="true">
    	<fields>
    		<field name="id" hidden="true" type="sequence" primaryKey="true" />
    		<field name="version" hidden="true" />
    		<field name="shipToName" valueXPath="shipTo/name" />
    		<field name="shipFromName" valueXPath="shipFrom/name" />
    		<!-- <field name="shipToName" includeFrom="shipTo_DataSource.name" /> -->
    		<!-- <field name="shipTo" foreignKey="shipTo_DataSource.id" /> -->
    		<!-- <field name="shipFromName" includeFrom="stakeholder_DataSource.name"/> -->
    		<!-- <field name="shipFrom" foreignKey="stakeholder_DataSource.id" /> -->
    		<field name="carrier" type="enum" title="Carrier">
    			<valueMap>
    				<value>FRANCOPARTENZA</value>
    				<value>RAILWAY</value>
    				<value>FRANCOARRIVO</value>
    			</valueMap>
    		</field>
    
    		<field name="orderLines" multiple="true" TITLE="Order lines"
    			type="orderLine_DataSource" javaClass="com.realanywhere.domain.OrderLine" />
    	</fields>
    </DataSource>
    the same datasource defined the (raccomended) sql way causes the error
    Code:
    <DataSource ID="order_DataSource" serverType="sql" tableName="order_header"
     	schemaBean="com.realanywhere.domain.OrderHeader" autoDeriveSchema="true">
    
    <!-- <DataSource ID="order_DataSource" serverType="jpa" -->
    <!--	serverContructor="com.isomorphic.jpa.JPA2DataSource" schemaBean="com.realanywhere.domain.OrderHeader" -->
    	autoDeriveSchema="true">
    	<fields>
    		<field name="id" hidden="true" type="sequence" primaryKey="true" />
    		<field name="version" hidden="true" />
    		<field name="shipToName" valueXPath="shipTo/name" />
    		<field name="shipFromName" valueXPath="shipFrom/name" />
    		<!-- <field name="shipToName" includeFrom="shipTo_DataSource.name" /> -->
    		<!-- <field name="shipTo" foreignKey="shipTo_DataSource.id" /> -->
    		<!-- <field name="shipFromName" includeFrom="stakeholder_DataSource.name"/> -->
    		<!-- <field name="shipFrom" foreignKey="stakeholder_DataSource.id" /> -->
    		<field name="carrier" type="enum" title="Carrier">
    			<valueMap>
    				<value>FRANCOPARTENZA</value>
    				<value>RAILWAY</value>
    				<value>FRANCOARRIVO</value>
    			</valueMap>
    		</field>
    
    		<field name="orderLines" multiple="true" TITLE="Order lines"
    			type="orderLine_DataSource" javaClass="com.realanywhere.domain.OrderLine" />
    	</fields>
    </DataSource>
    Following is the complete error log:
    Code:
    [INFO] === 2013-01-17 15:34:21,777 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Init
    [INFO] === 2013-01-17 15:34:21,778 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
    [INFO] === 2013-01-17 15:34:21,784 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
    [INFO] === 2013-01-17 15:34:21,936 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/home/lrkwz/car/car-parent/car-smartgwt-webapp/target/websales-car-0.1.0.BUILD-SNAPSHOT/WEB-INF/lib/isomorphic_core_rpc-3.1.jar!/framework.properties
    [INFO] === 2013-01-17 15:34:21,937 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
    [INFO] === 2013-01-17 15:34:21,937 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
    [INFO] === 2013-01-17 15:34:21,949 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/home/lrkwz/car/car-parent/car-smartgwt-webapp/target/websales-car-0.1.0.BUILD-SNAPSHOT/WEB-INF/lib/isomorphic_core_rpc-3.1.jar!/isc_interfaces.properties
    [INFO] === 2013-01-17 15:34:21,949 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
    [INFO] === 2013-01-17 15:34:21,953 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/home/lrkwz/car/car-parent/car-smartgwt-webapp/target/websales-car-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/server.properties
    [INFO] === 2013-01-17 15:34:21,959 [main] INFO  Logger - Logging system started.
    [INFO] === 2013-01-17 15:34:21,960 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (v8.3p_2013-01-13/PowerEdition Deployment 2013-01-13) - Initialization Complete
    [INFO] === 2013-01-17 15:34:21,962 [main] INFO  ISCInit - Auto-detected webRoot - using: /home/lrkwz/car/car-parent/car-smartgwt-webapp/target/websales-car-0.1.0.BUILD-SNAPSHOT
    [INFO] === 2013-01-17 15:34:37,105 [l0-4] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Base
    [INFO] === 2013-01-17 15:34:37,106 [l0-4] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework is already initialized
    [INFO] === 2013-01-17 15:34:37,161 [l0-4] INFO  PoolManager - SmartClient pooling disabled for 'order_DataSource' objects
    [INFO] === 2013-01-17 15:34:37,216 [l0-2] INFO  Download - Returning 304: Not modified on conditional get of: /home/lrkwz/car/car-parent/car-smartgwt-webapp/target/websales-car-0.1.0.BUILD-SNAPSHOT/applicationScaffold/sc/skins/Enterprise/load_skin.js
    [INFO] === 2013-01-17 15:34:37,958 [l0-4] INFO  Download - Returning 304: Not modified on conditional get of: /home/lrkwz/car/car-parent/car-smartgwt-webapp/target/websales-car-0.1.0.BUILD-SNAPSHOT/applicationScaffold/sc/skins/Enterprise/skin_styles.css
    [INFO] === 2013-01-17 15:34:38,764 [l0-4] INFO  RequestContext - URL: '/applicationScaffold/sc/IDACall', User-Agent: 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11': Safari with Accept-Encoding header
    [INFO] === 2013-01-17 15:34:38,801 [l0-4] INFO  IDACall - Performing 1 operation(s)
    [INFO] === 2013-01-17 15:34:38,810 [l0-4] INFO  SQLDataSource - [builtinApplication.order_DataSource_fetch] Performing fetch operation with
    [INFO] 	criteria: {}	values: {}
    [INFO] === 2013-01-17 15:34:38,821 [l0-4] INFO  SQLWhereClause - [builtinApplication.order_DataSource_fetch] empty condition
    [INFO] === 2013-01-17 15:34:38,822 [l0-4] INFO  SQLDataSource - [builtinApplication.order_DataSource_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE $defaultWhereClause
    [INFO] === 2013-01-17 15:34:38,825 [l0-2] INFO  RequestContext - URL: '/applicationScaffold/sc/IDACall', User-Agent: 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11': Safari with Accept-Encoding header
    [INFO] === 2013-01-17 15:34:38,834 [l0-2] INFO  IDACall - Performing 1 operation(s)
    [INFO] === 2013-01-17 15:34:38,836 [l0-2] INFO  SQLDataSource - [builtinApplication.order_DataSource_fetch] Performing fetch operation with
    [INFO] 	criteria: {}	values: {}
    [INFO] === 2013-01-17 15:34:38,837 [l0-2] INFO  SQLWhereClause - [builtinApplication.order_DataSource_fetch] empty condition
    [INFO] === 2013-01-17 15:34:38,837 [l0-2] INFO  SQLDataSource - [builtinApplication.order_DataSource_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE $defaultWhereClause
    [INFO] === 2013-01-17 15:34:39,022 [l0-2] INFO  PoolManager - [builtinApplication.order_DataSource_fetch] SmartClient pooling started for 'DB2' objects
    [INFO] === 2013-01-17 15:34:39,038 [l0-6] INFO  RequestContext - URL: '/applicationScaffold/sc/IDACall', User-Agent: 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11': Safari with Accept-Encoding header
    [INFO] === 2013-01-17 15:34:39,045 [l0-2] ERROR SQLConnectionManager - [builtinApplication.order_DataSource_fetch] Caught exception
    [INFO] com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][10205][11234][4.13.127] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:677)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:60)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:103)
    [INFO] 	at com.ibm.db2.jcc.t4.b.J(b.java:2248)
    [INFO] 	at com.ibm.db2.jcc.t4.b.h(b.java:2255)
    [INFO] 	at com.ibm.db2.jcc.t4.b.b(b.java:785)
    [INFO] 	at com.ibm.db2.jcc.t4.b.c(b.java:758)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:421)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:396)
    [INFO] 	at com.ibm.db2.jcc.t4.b.<init>(b.java:334)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:231)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:197)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:472)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:113)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:579)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:243)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeUnpooledObject(PoolableSQLConnectionFactory.java:247)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeObject(PoolableSQLConnectionFactory.java:344)
    [INFO] 	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:85)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:69)
    [INFO] 	at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:156)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:523)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:493)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:486)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:637)
    [INFO] 	at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:855)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1714)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1389)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:306)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:250)
    [INFO] 	at com.isomorphic.datasource.DataSource.execute(DataSource.java:1367)
    [INFO] 	at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726)
    [INFO] 	at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    [INFO] 	at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    [INFO] 	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2031)
    [INFO] 	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
    [INFO] 	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    [INFO] 	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    [INFO] 	at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    [INFO] 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    [INFO] 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    [INFO] 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    [INFO] 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.Server.handle(Server.java:324)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    [INFO] 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    [INFO] 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    [INFO] 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    [INFO] === 2013-01-17 15:34:39,045 [l0-4] ERROR SQLConnectionManager - [builtinApplication.order_DataSource_fetch] Caught exception
    [INFO] com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][10205][11234][4.13.127] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:677)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:60)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:103)
    [INFO] 	at com.ibm.db2.jcc.t4.b.J(b.java:2248)
    [INFO] 	at com.ibm.db2.jcc.t4.b.h(b.java:2255)
    [INFO] 	at com.ibm.db2.jcc.t4.b.b(b.java:785)
    [INFO] 	at com.ibm.db2.jcc.t4.b.c(b.java:758)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:421)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:396)
    [INFO] 	at com.ibm.db2.jcc.t4.b.<init>(b.java:334)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:231)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:197)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:472)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:113)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:579)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:243)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeUnpooledObject(PoolableSQLConnectionFactory.java:247)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeObject(PoolableSQLConnectionFactory.java:344)
    [INFO] 	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:85)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:69)
    [INFO] 	at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:156)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:523)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:493)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:486)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:637)
    [INFO] 	at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:855)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1714)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1389)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:306)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:250)
    [INFO] 	at com.isomorphic.datasource.DataSource.execute(DataSource.java:1367)
    [INFO] 	at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726)
    [INFO] 	at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    [INFO] 	at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    [INFO] 	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2031)
    [INFO] 	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
    [INFO] 	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    [INFO] 	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    [INFO] 	at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    [INFO] 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    [INFO] 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    [INFO] 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    [INFO] 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.Server.handle(Server.java:324)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    [INFO] 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    [INFO] 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    [INFO] 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    [INFO] === 2013-01-17 15:34:39,054 [l0-4] WARN  RequestContext - dsRequest.execute() failed: 
    [INFO] com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][10205][11234][4.13.127] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:677)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:60)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:103)
    [INFO] 	at com.ibm.db2.jcc.t4.b.J(b.java:2248)
    [INFO] 	at com.ibm.db2.jcc.t4.b.h(b.java:2255)
    [INFO] 	at com.ibm.db2.jcc.t4.b.b(b.java:785)
    [INFO] 	at com.ibm.db2.jcc.t4.b.c(b.java:758)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:421)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:396)
    [INFO] 	at com.ibm.db2.jcc.t4.b.<init>(b.java:334)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:231)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:197)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:472)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:113)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:579)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:243)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeUnpooledObject(PoolableSQLConnectionFactory.java:247)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeObject(PoolableSQLConnectionFactory.java:344)
    [INFO] 	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:85)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:69)
    [INFO] 	at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:156)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:523)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:493)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:486)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:637)
    [INFO] 	at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:855)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1714)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1389)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:306)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:250)
    [INFO] 	at com.isomorphic.datasource.DataSource.execute(DataSource.java:1367)
    [INFO] 	at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726)
    [INFO] 	at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    [INFO] 	at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    [INFO] 	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2031)
    [INFO] 	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
    [INFO] 	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    [INFO] 	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    [INFO] 	at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    [INFO] 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    [INFO] 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    [INFO] 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    [INFO] 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.Server.handle(Server.java:324)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    [INFO] 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    [INFO] 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    [INFO] 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    [INFO] === 2013-01-17 15:34:39,051 [l0-2] WARN  RequestContext - dsRequest.execute() failed: 
    [INFO] com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][10205][11234][4.13.127] Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:677)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:60)
    [INFO] 	at com.ibm.db2.jcc.am.id.a(id.java:103)
    [INFO] 	at com.ibm.db2.jcc.t4.b.J(b.java:2248)
    [INFO] 	at com.ibm.db2.jcc.t4.b.h(b.java:2255)
    [INFO] 	at com.ibm.db2.jcc.t4.b.b(b.java:785)
    [INFO] 	at com.ibm.db2.jcc.t4.b.c(b.java:758)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:421)
    [INFO] 	at com.ibm.db2.jcc.t4.b.a(b.java:396)
    [INFO] 	at com.ibm.db2.jcc.t4.b.<init>(b.java:334)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:231)
    [INFO] 	at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:197)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:472)
    [INFO] 	at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:113)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:579)
    [INFO] 	at java.sql.DriverManager.getConnection(DriverManager.java:243)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeUnpooledObject(PoolableSQLConnectionFactory.java:247)
    [INFO] 	at com.isomorphic.sql.PoolableSQLConnectionFactory.makeObject(PoolableSQLConnectionFactory.java:344)
    [INFO] 	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1181)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:85)
    [INFO] 	at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:69)
    [INFO] 	at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:156)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:523)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:493)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:486)
    [INFO] 	at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:637)
    [INFO] 	at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:855)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:1714)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1389)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:306)
    [INFO] 	at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:250)
    [INFO] 	at com.isomorphic.datasource.DataSource.execute(DataSource.java:1367)
    [INFO] 	at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:726)
    [INFO] 	at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    [INFO] 	at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    [INFO] 	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2031)
    [INFO] 	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:216)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:173)
    [INFO] 	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:138)
    [INFO] 	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:74)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    [INFO] 	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    [INFO] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    [INFO] 	at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
    [INFO] 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    [INFO] 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    [INFO] 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    [INFO] 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    [INFO] 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    [INFO] 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    [INFO] 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    [INFO] 	at org.mortbay.jetty.Server.handle(Server.java:324)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    [INFO] 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    [INFO] 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    [INFO] 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    [INFO] 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    [INFO] 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    Last edited by devep1; 24 Jan 2013, 02:43.

    #2
    Please post your server.properties file
    Last edited by Isomorphic; 17 Jan 2013, 10:22. Reason: spelling

    Comment


      #3
      Originally posted by Isomorphic View Post
      Please post your server.properties file
      Code:
      # The webRoot directory:
      # the directory that the servlet engine regards as the place where applications 
      # that use the servlet engine should be installed.  Generally, it is safe to leave
      # this at the default setting of __AUTODETECT__.  When the SmartClient server is
      # started, it logs a message to stdout telling you the autodetected path to your
      # webRoot.  If this path is not your actual webRoot, then you'll want to override
      # this config parameter here.
      #
      # Valid values: 
      #
      # 1. Absolute path to the webRoot directory
      #
      # 2. Special token:  __AUTODETECT__
      #    When this token is used, SmartClient attempts to auto-detect the webRoot using
      #    standard servlet APIs.  This may or may not work - depending on your
      #    container type and deployment type.  For example, WAR/EAR deployments
      #    on some containers never make it to disk, and so the container refuses
      #    to provide the webRoot path.
      #  
      #    If SmartClient cannnot detect the webRoot, it sets the webRoot to
      #    __USE_CONTAINER__ (see below).
      #
      # 3.  Special token: __USE_CONTAINER__
      #     When this token is used, SmartClient uses standard servet APIs for accessing
      #     filesystem resources.  This is slower than direct file access and, since
      #     the servlet APIs provide no mechanism for writing to disk, means that some
      #     development tools like the FileAssembler will not work.
      #
      webRoot: __AUTODETECT__
      
      # Set this to the GWT module name.
      gwtModuleName: applicationScaffold
      
      # if you've moved the isomorphic directory from its default location in webRoot,
      # set the root-relative path to it here
      #
      # For example, if in your deployment the 'isomorphic' dir is in /foo/bar, then set
      # then you'll need to set this to foo/bar/isomorphic
      isomorphicPathRootRelative: $gwtModuleName/sc
      
      # administration app
      apps.adminConsole.location: $webRoot/applicationScaffold/sc/tools
      ui.adminConsole.location: $webRoot/applicationScaffold/sc/tools
      
      # -------------- PICK DATABASE TO USE --------------------
      #
      # The SmartClient SDK ships with examples that use a database as the persistence
      # layer.  By default, the SDK uses a built-in version of HSQLDB, but you can
      # specify a different database to use here.
      
      # which database do you want to use?  HSQLDB is enabled by default.
      #sql.defaultDatabase: HSQLDB
      
      # If you want to use Mysql instead, uncomment the following line
      # and comment all other sql.defaultDatabase definitions
      #sql.defaultDatabase: Mysql
      
      # If you want to use Oracle instead, uncomment the following line
      # and comment all other sql.defaultDatabase definitions
      #sql.defaultDatabase: Oracle
      
      # If you want to use Postgres instead, uncomment the following line
      # and comment all other sql.defaultDatabase definitions
      #sql.defaultDatabase: PostgreSQL
      
      # If you want to use DB2 instead, uncomment the following line
      # and comment all other sql.defaultDatabase definitions
      sql.defaultDatabase: DB2
      
      # -------------- SETTINGS FOR HSQLDB --------------------
      
      sql.HSQLDB.database.type: hsqldb
      sql.HSQLDB.interface.type: driverManager
      
      sql.HSQLDB.driver: org.hsqldb.jdbcDriver
      sql.HSQLDB.driver.url: jdbc:hsqldb:hsql://localhost/isomorphic
      
      sql.DB2.database.type: db2
      sql.DB2.interface.type: driverManager
      sql.DB2.driver: com.ibm.db2.jcc.DB2Driver
      sql.DB2.driver.url: jdbc:db2://localhost:50000/WS_CRG
      
      # -------------- SETTINGS FOR JPA --------------------
      
      # According to JPA specifications only simple class name can be used in queries.
      # Some providers follows these specs strictly (for example EclipseLink).
      # Some providers allows using fully-qualified class name usage (for example Hibernate, Datanucleus).
      # Setting defaluts to false - simple class name usage.
      # To resolve class name collisions this setting can be set to true
      # (should be used with provider supporting fully-qualified class name usage).
      #jpa.useQualifiedClassName: true
      
      # Default EMF provider implementation (implements EMFProviderInterface).
      # Fully qualified class name.
      # Existing implementations:
      # com.isomorphic.jpa.EMFProviderLMT - for Locally Managed Transactions (LMT)
      # com.isomorphic.jpa.EMFProviderNoTransactions - no transactions support
      # com.isomorphic.jpa.EMFProviderBMT - for Bean Managed Transactions (BMT)
      # com.isomorphic.jpa.EMFProviderCMT - for Container Managed Transactions (CMT)
      # com.isomorphic.jpa.EMFProviderSpring - for Spring Framework Managed Transactions (CMT)
      jpa.emfProvider: com.isomorphic.jpa.EMFProviderSpring
      
      # Settings for LMT type
      # Name of the datasource
      jpa.persistenceUnitName: ds
      
      # Resource references for Spring type
      # EntityManagerFactory and transaction manager beans declared in Spring Application Context.
      # Example declaration:
      # <!-- SpringApplicationContextProvider bean definition required to get access to application context. -->
      # <bean id="springApplicationContextProvider" class="com.isomorphic.spring.SpringApplicationContextProvider" />
      #
      # <!-- Connection to data base -->
      # <bean id="dataSource"
      #       class="org.springframework.jdbc.datasource.DriverManagerDataSource"
      #       p:driverClassName="DRIVER_CLASS"
      #       p:url="CONNECTION_URL"
      #       p:username="DB_USER_NAME"
      #       p:password="DB_USER_PASSWORD" />
      #
      # <!-- Reference to JPA EntityManagerFactory -->
      # <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
      #     <property name="dataSource" ref="dataSource" />
      #     <property name="jpaVendorAdapter">
      #         <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
      #             <property name="database" value="DB_TYPE" />
      #         </bean>
      #     </property>
      #     <property name="persistenceUnitName" value="PERSISTENCE_UNIT_NAME" />
      # </bean>
      #
      # <!-- Reference to JpaTransactionManager -->
      # <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
      #     <property name="entityManagerFactory" ref="entityManagerFactory" />
      # </bean>
      jpa.entityManagerFactory: entityManagerFactory
      jpa.transaction: transactionManager
      
      # -------------- LOADING APP AND DATASOURCE DEFINITIONS --------------------
      
      # Where the system looks for DataSource definition files ([dataSourceId].ds.xml or
      # [dataSourceID].ds.js).  It's useful to put all your DataSources in one 
      # directory since DataSources are frequently shared between applications.  
      # "project.datasources" is also where the DataSource Importer tool looks 
      # for available DataSources.
      project.datasources: $webRoot/shared/ds
      project.ui: $webRoot/shared/ui
      project.apps: $webRoot/shared/app
      
      # Note: modulesDir is only used with the loadISC and loadModules JSP tags; if
      # you intend to use those tags, do not change this setting
      modulesDir: modules/
      
      # -------------- Other settings --------------------
      # The setting RPCManager.enabledBuiltinMethods enables or disables the BuiltInRPCs - RPC calls
      # that are built into the SmartClient Server.  The setting below reflects the framework default
      # of enabling only those RPCs that are typically needed in an application.
      # 
      # See the JavaDoc for com.isomorphic.rpc.BuiltinRPC and com.isomorphic.tools.BuiltinRPC for all
      # available builtinRPCs and their behavior.
      # 
      # Note that many of the BuiltinRPCs are designed for use by tools such as Visual Builder, and
      # provide services such as direct access to the file system (for load and save of screens) that
      # would be unsafe to expose to untrusted users.
      #
      #RPCManager.enabledBuiltinMethods: getPdfObject, xmlToJS, uploadProgressCheck, exportClientData, downloadClientExport, setAttributes
      RPCManager.enabledBuiltinMethods: getLogNames

      Comment


        #4
        Your database connection settings (those starting "sql.DB2.") do not include credentials; that exception about a missing userid is DB2 rejecting the connection attempt. You'll have to research the correct settings for your JDBC driver and connection type, but as a start point, try adding entries like this:
        Code:
        sql.DB2.driver.user: myuserid
        sql.DB2.driver.password: thepassword

        Comment


          #5
          Originally posted by Isomorphic View Post
          Your database connection settings (those starting "sql.DB2.") do not include credentials; that exception about a missing userid is DB2 rejecting the connection attempt. You'll have to research the correct settings for your JDBC driver and connection type, but as a start point, try adding entries like this:
          Code:
          sql.DB2.driver.user: myuserid
          sql.DB2.driver.password: thepassword
          Found, the correct syntax is:

          Code:
          sql.DB2.driver.url: jdbc:db2://localhost:50000/DBNAME:user=USERNAME;password=USERPWD;
          Thank you.
          Last edited by devep1; 17 Jan 2013, 15:18.

          Comment

          Working...
          X