Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Upload Image Files to a FileStore and other details to the DB Table

$
0
0
Hi Team,

I have the below scenario:

Upload an Image using a Webservice to a File store and store the ID returned by the Webservice in a table named "VJK8_COMPONENT_ATTACHMENTS".

So we followed the below process.

DS File contents are as follows:
Code:

<DataSource ID="VJK8_COMPONENT_ATTACHMENTS" serverType="sql" tableName="VJK8_COMPONENT_ATTACHMENTS"
        dbName="EAD" xmlns:fmt="WEB-INF/">
        <fmt:bundle basename="qa.gov.moi.erp.util.resources.messages" />
       
        <fields>
                <field name="JK8_ID"                                                type="text" primaryKey="true" length="32" />
                <field name="JK8_MID"                                                type="text" length="32" />
                <field name="JK8_ATTACHMENT_TYPE"                        type="text" length="32" >
            <validators>
                <validator type="requiredIf" expression="true">
                        <!-- XXXX_V_011  Field is required.  -->
                                        <errorMessage><fmt:message key="XXXX_V_011"/></errorMessage>
                </validator>
            </validators>
        </field>
                <field name="JK8_ATTACHMENT_TYPE_V"                type="text" length="32" >
            <validators>
                <validator type="requiredIf" expression="true">
                        <!-- XXXX_V_011  Field is required.  -->
                                        <errorMessage><fmt:message key="XXXX_V_011"/></errorMessage>
                </validator>
            </validators>
        </field>
                <field name="JK8_ATTACHMENT_TITLE"                        type="text" length="500" >
            <validators>
                <validator type="requiredIf" expression="true">
                        <!-- XXXX_V_011  Field is required.  -->
                                        <errorMessage><fmt:message key="XXXX_V_011"/></errorMessage>
                </validator>
            </validators>
        </field>
                <field name="JK8_ATTACHMENT_NOTE"                        type="text" length="1000" />
                <field name="JK8_ATTACHMENT_LOCATION"                type="text" length="500" />
                <!-- field name="JK8_ATTACHMENT"        maxFileSize="250000"                type="imageFile"> </field -->
       
       
        <field name="JK8_ATTACHMENT1" maxFileSize="25000" type="imageFile" tableName="IGNORE" canEdit="true"/>
              <field name="JK8_ATTACHMENT1_filename" type="text" tableName="IGNORE" />
              <field name="JK8_ATTACHMENT1_filesize" type="text" tableName="IGNORE" />
              <field name="JK8_ATTACHMENT1_date_created" type="date" tableName="IGNORE" />
               
                <field name="JK8_ATTACHMENT_FILENAME"                            type="text" />
                <field name="JK8_CREATED_USER_ID"                            type="text" />
                <field name="JK8_CREATED_USER_ROLE"                  type="text" />
                <field name="JK8_CREATED_USER_SMP"                                type="datetime"/>
                <field name="JK8_LASTUPDATED_USER_ID"                    type="text" />
                <field name="JK8_LASTUPDATED_USER_ROLE"        type="text" />
                <field name="JK8_LASTUPDATED_USER_SMP"                        type="datetime" />
        </fields>

        <operationBindings>
        <binding operationType="downloadFile" serverMethod="downloadFile">
                <serverObject  className="qa.gov.moi.erp.web.dmi.ComponentAttachmentDMI" />
        </binding>
       
        <binding operationType="viewFile" serverMethod="viewFile">
                <serverObject  className="qa.gov.moi.erp.web.dmi.ComponentAttachmentDMI" />
        </binding>
    </operationBindings>

        <serverObject className="qa.gov.moi.erp.web.dmi.ComponentAttachmentDMI" />
       
</DataSource>


Server Object ComponentAttachmentDMI java file is attached for your reference.

In the attached file we have used DocumentBuilderServiceLocator which is a WebService which has methods like retrieveDocument for retrieving the image and createDocument for uploading the image to the filestore.

The ID given by the webservice is being stored in our table.

But please note that there are no columns for the image in our DB so we have given the image column as tableName="IGNORE" attribute in the DS file for that column.


I think its trying to upload the image too to the Database column. But it shouldnt. Please suggest on this.

Please find the below error that we have got for the above scenario.

Code:

[11/8/14 14:50:38:868 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:38,868 [: 21] DEBUG SQLDriver - [builtinApplication.VJK8_COMPONENT_ATTACHMENTS_add] About to execute SQL update in 'EAD' using connection'1310229675'
[11/8/14 14:50:38:868 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:38,868 [: 21] INFO  SQLDriver - [builtinApplication.VJK8_COMPONENT_ATTACHMENTS_add] Executing SQL update on 'EAD': INSERT INTO VJK8_COMPONENT_ATTACHMENTS (JK8_ATTACHMENT_FILENAME, JK8_ATTACHMENT_LOCATION, JK8_ATTACHMENT_NOTE, JK8_ATTACHMENT_TITLE, JK8_ATTACHMENT_TYPE, JK8_ATTACHMENT_TYPE_V, JK8_CREATED_USER_ID, JK8_CREATED_USER_ROLE, JK8_CREATED_USER_SMP, JK8_ID, JK8_LASTUPDATED_USER_ID, JK8_LASTUPDATED_USER_ROLE, JK8_LASTUPDATED_USER_SMP, JK8_MID) VALUES ('', '1003.png', 'Shiva Testing 001', 'Shiva Testing 001', 'ATTACHMENT_TYPE', 'IMAGE', 'MICSSHM', 'COMPTCR', '2014-11-08 14:50:38', '8153e84100d44c2594e11a129f5af362', 'MICSSHM', 'COMPTCR', '2014-11-08 14:50:38', '474d5580da4e47959ca63b45a21c5d8a')
[11/8/14 14:50:39:122 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:39,122 [: 21] DEBUG SQLDriver - [builtinApplication.VJK8_COMPONENT_ATTACHMENTS_add] SequenceMode is not JDBC_DRIVER, skipping search for generated values
[11/8/14 14:50:39:123 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:39,123 [: 21] DEBUG SQLDriver - [builtinApplication.VJK8_COMPONENT_ATTACHMENTS_add] FAILED to execute SQL update in 'EAD' using connection'1310229675'
[11/8/14 14:50:41:344 AST] 000000c1 SystemOut    O 2014-11-08 14:50:41,343 - ERROR - q.g.m.e.w.d.ComponentAttachmentDMI - 149 - add - Exception while adding Component Version
com.ibm.db2.jcc.c.SqlException: [ibm][db2][jcc][10145][10844] Invalid parameter 1: Parameter index is out of range.
        at com.ibm.db2.jcc.c.gg.e(gg.java:3041) ~[db2jcc.jar:na]
        at com.ibm.db2.jcc.c.gg.d(gg.java:3034) ~[db2jcc.jar:na]
        at com.ibm.db2.jcc.c.gg.a(gg.java:927) ~[db2jcc.jar:na]
        at com.ibm.db2.jcc.c.gg.setBinaryStream(gg.java:916) ~[db2jcc.jar:na]
        at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setBinaryStream(WSJdbcPreparedStatement.java:1455) ~[com.ibm.ws.runtime.jar:na]
        at com.isomorphic.sql.SQLDriver.doUpdate(SQLDriver.java:856) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.sql.SQLDriver.update(SQLDriver.java:780) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.sql.SQLDriver.executeUpdate(SQLDriver.java:961) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.sql.SQLDataSource.executeNativeUpdate(SQLDataSource.java:575) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1989) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:448) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.sql.SQLDataSource.executeAdd(SQLDataSource.java:401) ~[isc_isomorphic_sql.jar:na]
        at com.isomorphic.datasource.DataSource.execute(DataSource.java:1609) ~[isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:723) ~[isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658) ~[isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.application.AppBase.execute(AppBase.java:491) ~[isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2535) [isc_isomorphic_core_rpc.jar:na]
        at qa.gov.moi.erp.web.dmi.ComponentAttachmentDMI.add(ComponentAttachmentDMI.java:145) ~[classes/:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) ~[na:1.6.0]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) ~[na:1.6.0]
        at java.lang.reflect.Method.invoke(Method.java:611) ~[na:1.6.0]
        at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975) [isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416) [isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64) [isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2531) [isc_isomorphic_core_rpc.jar:na]
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215) [isc_isomorphic_core_rpc.jar:na]
        at qa.gov.moi.erp.web.security.ERPIDACall.handleDSRequest(ERPIDACall.java:71) [classes/:na]
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:172) [isc_isomorphic_core_rpc.jar:na]
        at qa.gov.moi.erp.web.security.ERPIDACall.processRPCTransaction(ERPIDACall.java:83) [classes/:na]
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:137) [isc_isomorphic_core_rpc.jar:na]
        at qa.gov.moi.erp.web.security.ERPIDACall.processRequest(ERPIDACall.java:61) [classes/:na]
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73) [isc_isomorphic_core_rpc.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) [javax.j2ee.servlet.jar:na]
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152) [isc_isomorphic_core_rpc.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [javax.j2ee.servlet.jar:na]
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97) [com.ibm.ws.webcontainer.jar:na]
        at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260) [isc_isomorphic_core_rpc.jar:na]
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200) [com.ibm.ws.webcontainer.jar:na]
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459) [com.ibm.ws.runtime.jar:na]
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526) [com.ibm.ws.runtime.jar:na]
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312) [com.ibm.ws.runtime.jar:na]
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283) [com.ibm.ws.runtime.jar:na]
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) [na:CCX.CF [o1103.02]]
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) [na:CCX.CF [o1103.02]]
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) [com.ibm.ws.runtime.jar:na]
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) [com.ibm.ws.runtime.jar:na]
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) [com.ibm.ws.runtime.jar:na]
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) [com.ibm.ws.runtime.jar:na]
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) [com.ibm.ws.runtime.jar:na]
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) [com.ibm.ws.runtime.jar:na]
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) [com.ibm.ws.runtime.jar:na]
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862) [com.ibm.ws.runtime.jar:na]
[11/8/14 14:50:41:437 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,344 [: 21] DEBUG DataSourceDMI - Invocation threw exception
qa.gov.moi.erp.util.exceptions.ERPException: Error In  : ComponentAttachmentDMI  :  add  :  [ibm][db2][jcc][10145][10844] Invalid parameter 1: Parameter index is out of range.  :  -99999
        at qa.gov.moi.erp.web.dmi.ComponentAttachmentDMI.add(ComponentAttachmentDMI.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
        at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416)
        at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2531)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)
        at qa.gov.moi.erp.web.security.ERPIDACall.handleDSRequest(ERPIDACall.java:71)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:172)
        at qa.gov.moi.erp.web.security.ERPIDACall.processRPCTransaction(ERPIDACall.java:83)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:137)
        at qa.gov.moi.erp.web.security.ERPIDACall.processRequest(ERPIDACall.java:61)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
        at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
[11/8/14 14:50:41:438 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,438 [: 21] WARN  RequestContext - dsRequest.execute() failed:
qa.gov.moi.erp.util.exceptions.ERPException: Error In  : ComponentAttachmentDMI  :  add  :  [ibm][db2][jcc][10145][10844] Invalid parameter 1: Parameter index is out of range.  :  -99999
        at qa.gov.moi.erp.web.dmi.ComponentAttachmentDMI.add(ComponentAttachmentDMI.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
        at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416)
        at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2531)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)
        at qa.gov.moi.erp.web.security.ERPIDACall.handleDSRequest(ERPIDACall.java:71)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:172)
        at qa.gov.moi.erp.web.security.ERPIDACall.processRPCTransaction(ERPIDACall.java:83)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:137)
        at qa.gov.moi.erp.web.security.ERPIDACall.processRequest(ERPIDACall.java:61)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
        at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
        at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
[11/8/14 14:50:41:439 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,439 [: 21] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8
[11/8/14 14:50:41:439 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,439 [: 21] DEBUG SQLTransaction - Rolling back EAD transaction "1310229675"
[11/8/14 14:50:41:466 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,466 [: 21] DEBUG RPCManager - non-DMI response, dropExtraFields: false
[11/8/14 14:50:41:467 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,467 [: 21] DEBUG SQLTransaction - getConnection() found transactional connection for EAD with hashcode "1310229675"
[11/8/14 14:50:41:467 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,467 [: 21] DEBUG SQLTransaction - Ending EAD transaction "1310229675"
[11/8/14 14:50:41:469 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,469 [: 21] DEBUG SQLConnectionManager - About to close WSJccSQLJConnection with hashcode "1310229675"
[11/8/14 14:50:41:469 AST] 000000c1 SystemOut    O === 2014-11-08 14:50:41,469 [: 21] INFO  Compression - /ERP/isomorphic/IDACall: 786 -> 492 bytes
[11/8/14 14:50:39:122 AST] 000000c1 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\WebSphere\AppServer_1\profiles\AppSrv02\logs\ffdc\server1_eea56861_14.11.08_14.50.38.9645500107220713312411.txt com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setBinaryStream 566


We are working on the below environment:
SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)

Browser : IE9

Thanks in advance.

Attached Files
File Type: java ComponentAttachmentDMI.java (8.2 KB)

Viewing all articles
Browse latest Browse all 4756