Question

i've created a rather simple Web application for demo purposes. It works perfectly fine when running it from netbeans (using tomcat). there is a search form and a search results display page. The search result display page uses AJAX with JQuery and it datatables plugin. a column in the datatable contains a dynamically generated image.

When i deployed it statically in tomcat applications works and no errors are thrown but the images are not created. the column displays the content of the image tags alt attribute.

How could I "debug" this issue? Is it a tomcat config problem?

EDIT:

I can render image by going to the render servlet directly i then get following message displayed instead of the image:

The image cannot be displayed because it contains errors

This is on Windows. The images are created from an existing library that does the work. This works perfectly fine when deploying the application from netbeans. Also note I'm not a tomcat expert.

Was it helpful?

Solution

sry guys my bad. The Webapp is a database app supposedly independent of which database. however postgresql is the issue as certain method parameters of it's JBDC driver are case-sensitive (IMHO a bad decision) while in others like hsqldb upperCase is required. this caused the issue.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top