Hi All ,
In our project(Struts+Flex) , we have upgraded Our JBoss Server to 6.00 final and our database to Postgresql 9.0 , Before we have used Jboss 4 and PostgreSql 8.0(in this our application runs fine without errors).But after upgraded to new version we have so many problems with this.
For Ex : We r getting User Image and Organization image(Used Servlets) from DB and after login to application we are showing these image in application.
Now my Problem is : Now i am not getting the image here..
I degugged the application ie servlet which has code to get the image from DB , here the image bytes ie byte[] , iam getting bytes from db and i am passing this through write() , but afte this statement :
response.getOutputStream().write(byte[]);
I am getting these errors :
ERROR [org.jboss.web.tomcat.service.jca.CachedConnectionValve] Application error: OrganizationLogoServlet did not complete its transaction
ERROR [org.jboss.web.tomcat.service.jca.CachedConnectionValve] Application error: OrganizationLogoServlet did not complete its transaction.
even though byte[] is coming perfectly ... the images are not showing in application..
And Other errors I am Working :
1. Connection is not associated with a managed connection.org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@178317c,
2. You cannot commit during a managed transaction!
Please Help ......
Comments