Orion can't find my jar file for my servlet....!

2000-10-19 Thread Keith Kwiatek

Hello,

I loaded a new servlet of mine into the "classes" directory this new
servlet needed a jar file, which I put into the ./orion/lib directory  (as
well in the ./orion  and ./classes) ... all seemed to be fine. The servlet
worked great for a long time. BUT I then I started to get the errors below.
I am pretty sure I didn't touch a thing configuration wise. All I had been
doing was recompiling my servlet code. Now it seems it can' t find the jar
file??!!! The other example servlets still run fine. Any ideas?


500 Internal Server Error
java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable. at
sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at
sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java, Compiled Code) at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
.java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled
Code) at java.awt.Font.init(Font.java, Compiled Code) at
javachart.chart.Gc.clinit(Gc.java:74) at
javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at
javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at
javachart.chart.Chart.init(Chart.java, Compiled Code) at
javachart.chart.BarChart.init(BarChart.java, Compiled Code) at
javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at
javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
MagicServlet.doGet(MagicServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
com.evermind.server.http.d1.si(JAX, Compiled Code) at
com.evermind.server.http.d1.forward(JAX, Compiled Code) at
com.evermind.server.http.ed.sp(JAX, Compiled Code) at
com.evermind.server.http.ed.so(JAX, Compiled Code) at
com.evermind.util.f.run(JAX, Compiled Code

ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET:

500 Internal Server Error
java.lang.NoClassDefFoundError: javachart/chart/Gc at
javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at
javachart.chart.Chart.init(Chart.java, Compiled Code) at
javachart.chart.PieChart.init(PieChart.java, Compiled Code) at
javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at
javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
m.doGet(m.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
com.evermind.server.http.d1.si(JAX, Compiled Code) at
com.evermind.server.http.d1.forward(JAX, Compiled Code) at
com.evermind.server.http.ed.sp(JAX, Compiled Code) at
com.evermind.server.http.ed.so(JAX, Compiled Code) at
com.evermind.util.f.run(JAX, Compiled Code)







Re: Orion can't find my jar file for my servlet....!

2000-10-19 Thread Al Fogleson

This is not a servlet error really, this is an xwindows error. try being
root and typing xhost + (a temporary fix this will open up your x server to
the world..) if that works you can man xhost to see how to open specific
IP's to connect to the Xserver. If this is not your box but a company box
(highly likely coming from a .gov domain) someone reconfigured the Xserver
to lock it down. Sysadmins do that when unknown users start hitting Xservers
hehe.

Al


- Original Message -
From: "Keith Kwiatek" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, October 19, 2000 2:57 PM
Subject: Orion can't find my jar file for my servlet!


 Hello,

 I loaded a new servlet of mine into the "classes" directory this new
 servlet needed a jar file, which I put into the ./orion/lib directory  (as
 well in the ./orion  and ./classes) ... all seemed to be fine. The servlet
 worked great for a long time. BUT I then I started to get the errors
below.
 I am pretty sure I didn't touch a thing configuration wise. All I had been
 doing was recompiling my servlet code. Now it seems it can' t find the jar
 file??!!! The other example servlets still run fine. Any ideas?


 500 Internal Server Error
 java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as
 the value of the DISPLAY variable. at
 sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at
 sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at
 java.lang.Class.forName0(Native Method) at
 java.lang.Class.forName(Class.java, Compiled Code) at

java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
 .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled
 Code) at java.awt.Font.init(Font.java, Compiled Code) at
 javachart.chart.Gc.clinit(Gc.java:74) at
 javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at
 javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at
 javachart.chart.Chart.init(Chart.java, Compiled Code) at
 javachart.chart.BarChart.init(BarChart.java, Compiled Code) at
 javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at
 javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
 javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
 javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
 MagicServlet.doGet(MagicServlet.java, Compiled Code) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
 com.evermind.server.http.d1.si(JAX, Compiled Code) at
 com.evermind.server.http.d1.forward(JAX, Compiled Code) at
 com.evermind.server.http.ed.sp(JAX, Compiled Code) at
 com.evermind.server.http.ed.so(JAX, Compiled Code) at
 com.evermind.util.f.run(JAX, Compiled Code

 ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET:

 500 Internal Server Error
 java.lang.NoClassDefFoundError: javachart/chart/Gc at
 javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at
 javachart.chart.Chart.init(Chart.java, Compiled Code) at
 javachart.chart.PieChart.init(PieChart.java, Compiled Code) at
 javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at
 javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at
 javachart.servlet.Bean.generate(Bean.java, Compiled Code) at
 javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at
 m.doGet(m.java, Compiled Code) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at
 com.evermind.server.http.d1.si(JAX, Compiled Code) at
 com.evermind.server.http.d1.forward(JAX, Compiled Code) at
 com.evermind.server.http.ed.sp(JAX, Compiled Code) at
 com.evermind.server.http.ed.so(JAX, Compiled Code) at
 com.evermind.util.f.run(JAX, Compiled Code)