Thanks everyone,
I've just managed to get rid of the error.
I set the display variable ":0" and then did a "xhost +". I also had to get
rid of the headless parameter, as you said I didn't need it.
Now my report successfully appears on my server.
The thing is that I wanted it to be shown on the mach
Why not just set the environment variable to wherever the reports are
expected to be produced.
In other words, if it is the macine you are on, use "unix:0.0" if it is
another machine, get ip of that machine and set the DISPLAY variable to
"whateverip:0.0" that is providing there is an XServer ru
Letícia Álvares Barbalho wrote:
I developed my webapp using netbeans and its embedded tomcat. I did some
reports in jasper reports and they were working just fine with the embedded
tomcat.
Then, I moved my app to the tomcat directory in the server (which is the
same machine) and the reports stop
Hello,
Though I generally do not reply to people who repost their own questions
daily, I did miss your original post and I spent some considerable time
trying to solve this problem myself.
Checking the JavaDoc for HeadlessException you should note that it is
"thrown when code that is depende
Anyone?
On 2/7/06, Letícia Álvares Barbalho <[EMAIL PROTECTED]> wrote:
>
> Hello everyone,
>
> I developed my webapp using netbeans and its embedded tomcat. I did some
> reports in jasper reports and they were working just fine with the embedded
> tomcat.
>
> Then, I moved my app to the tomcat dir