Jump to content
JasperReports Library 7.0 is now available ×

Jasper/Linux 7.1/JSP working?


ktrinad

Recommended Posts

By: Dave Cook - butsafire

Jasper/Linux 7.1/JSP working?

2002-04-03 18:27

Hi:

I know I've posted here already but has anyone got Jasper running in a Linux environment via the web with JSP?

I can't get around the JRBand thing.

Dave

 

 

 

By: Matt Furister - fearnot

RE: Jasper/Linux 7.1/JSP working?

2002-04-17 14:48

I have had illusive success with this very setup on Mandrake 8.1/8.2. I believe it is due to the order in which the Xvfb and Tomcat are started. I finally have it working now. Here is what I did, hope it helps.

Disable Tomcat from starting on boot.

Reboot your machine (I'm not kidding)

Login as a normal user and su - root

Start Xvfb; command ( Xvfb :1 -fbdir /tmp )

Start Tomcat

This has worked for me and Jasper is finally functioning correctly.

 

If anyone knows how to start Xvfb on boot before Tomcat I would appreciate the knowledge as I have Jasper running on a remote machine for a clent and do not want to ssh into the machine everytime power goes out.

 

 

By: Vincent Chu - centrix

RE: Jasper/Linux 7.1/JSP working?

2002-04-17 23:42

Hi:

I have encounter this problem when run in redhat7.2 + tomcat4.0

even I install Xvfb, an error can't connect to X11 server still come out,

when i type the command Xvfb :1 -fbdir /tmp

and it is no response, anyone can help me??

 

 

By: Matt Furister - fearnot

RE: Jasper/Linux 7.1/JSP working

2002-04-18 09:04

Hi,

 

I have never gotten a response either, however all seems

to work well. I simply close the console even without the

response.

 

 

By: Vincent Chu - centrix

RE: Jasper/Linux 7.1/JSP working??

2002-04-18 20:53

Hi fearnot,

 

Would you mind to tell me which version of Xvfb you are using? I try Xvfb-3.3.6-29 and Xvfb-4.1.0-15 still doesn't work...

I try the method you post, i want to clarify that should I close the console after start Xvfb first, and then open another console to start tomcat?

or I open another console to start tomcat, and ignore the Xvfb console?

thanks for your help!!

 

 

By: Matt Furister - fearnot

RE: Jasper/Linux 7.1/JSP working 4.2

2002-04-22 15:21

Centrix,

 

I am using 4.2.0 from mandrake 8.2. Once you have Xvfb started

go ahead and close the console. Start a new session to

start tomcat. You can leave both console open if you wish. The

important thing is to start Xvfb first, before Tomcat.

 

Sorry for taking so long to get back to you. I was out of town for a

little while.

 

 

By: Vincent Chu - centrix

RE: Jasper/Linux 7.1/JSP working 4.2

2002-04-22 21:22

but can i install Xvfb4.2 for mandrake in redhat?

anyway, thanks for your help, if finally i still can't solve this problem, i'll try to switch the platform to windows, it is because i can run in windows platform for the jasper report.

 

 

 

 

By: Keith Berman - bobbassen

RE: HP-Unix X11 error

2002-09-23 09:25

Hi,

 

We are running jasper on HP Unix using Tomcate and Apach and also getting the following error:

 

java.lang.InternalError: Can't connect to X11 window server using '167.18.184.132:0.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:63)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)

 

We have installed Xserver as well.

 

We are only getting this error when the memory on the server is running low. After we freed up some memory, the problem went away but we may not be able to guarantee that the memory will remain low.

 

Any suggestions?

 

 

By: Frans Thamura - fthamura

RE: Jasper/Linux 7.1/JSP working?

2004-02-01 04:48

Hi Keith,

 

What are your step? 167.18.184.132, my server is 0.0.0.0:0.0

 

Frans

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...