Problems with java3d and MesaGL

1999-10-22 Thread tpeter


I'm having problems running java3d on redhat linux 6.0.  
I've downloaded and installed the jdk1.2.2 from blackdown and the
demo applets seem to be running as they were intended.  I've also
downloaded and installed the java3d1_1_1pre-v1-linux-sdk and installed it
as directed, and the Mesa-3.1beta3-1.i386 as the other required file (also
tried the 3.0 version).  When I try to run the HelloUniverse demo that
comes with the distribution it spits out the following: 

java.lang.UnsatisfiedLinkError: /jdk1.2/jre/lib/i386/libJ3D.so:
libMesaGL.so.3: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Compiled Code)
at java.lang.ClassLoader.loadLibrary(Compiled Code)
at java.lang.Runtime.loadLibrary0(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at javax.media.j3d.UniverseManager$1.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.UniverseManager.(Compiled Code)
at javax.media.j3d.VirtualUniverse$2.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:464)
at HelloUniverse.(Compiled Code)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Compiled Code)
at sun.applet.AppletPanel.createApplet(Compiled Code)
at sun.applet.AppletPanel.runLoader(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)

I've check to ensure that both /jdk1.2/jre/lib/i386/libJ3D.so and
libMesaGL.so.3 are correctly installed, and even reinstalled them.  I
suspected the libMesaGL.so.3 is causing the problem so I downloaded and
installed a binary rpm mean specifically for red hat 6.0 but to no avail.
What can I try next?  


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Having problems running 1.1.7

1999-10-25 Thread tpeter



I dealt with this problem not a week ago.  You need to edit your dynamic
lookup file /etc/ld.so.conf to include the path of the shared object file. 



On Mon, 25 Oct 1999 [EMAIL PROTECTED] wrote:

> 
> 
>  Hello,
> 
>  I am new to Java on Linux. I followed all of the directions on
>  Blackdown's web site on how to install Java and I keep getting the
>  error:
> 
>  > java -version
>  java: error in loading shared libraries: libjava.so: cannot open
>  shared object file: No such file or directory
> 
> 
>  environment:
> 
>  $JAVA_HOME = /usr/local/jdk117_v3
>  $CLASSPATH = .:/usr/local/jdk117_v3/lib
>  $PATH = /usr/local/jdk117_v3/bin:.
> 
> 
>  Did I do something wrong? libjava.so is located in
>  /usr/local/jdk117_v3/lib and there isn't a "classes.zip" file
>  anywhere.
> 
>  Please help.
> 
>  Thanks
> 
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Config problems with ApacheJServ-1.0

1999-10-26 Thread tpeter


I'm trying to install ApacheJServ-1.0 with a previous install of
Apache_1.3.6 and I'm runing into problems configuring jserv.  I use the
following command line argument according to the instructions: 

"
./configure  \
--with-apxs=/usr/local/apache/bin/apxs \
--prefix=/java/jserv \ 
--with-JSDK=/java/JSDK2.0/lib/jsdk.jar  
"


It spits out the following (in part):

"
checking host system type... Configuration name missing.
Usage: src/scripts/build/unix/config.sub CPU-MFR-OPSYS
or src/scripts/build/unix/config.sub ALIAS
"

And also:

"
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
"

The problem may be occuring in configure starting at line 995:

"
# Make sure we can run config.sub.
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi

echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:962: checking host system type" >&5
"

, Or it may be in config.sub   starting on line 48:

"
if [ x$1 = x ]
then
echo Configuration name missing. 1>&2
echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
echo "or $0 ALIAS" 1>&2
echo where ALIAS is a recognized configuration type. 1>&2
exit 1
fi
"



I'm confused.  Does the host information need to be prespecified in some
file, or is this configure script supposed to get the info from the os.  
I haven't a very good understanding of shell scripts, so I could use some
help here. 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



JDBC useing MySQL and mm.msql InstantiationError

1999-11-01 Thread tpeter


I'm trying to connect to MySQL 3.22 via JDBC and mm.mysql.jdbc-1.2b.
I can get a Connection object, however when I try to create a statement
useing this connection i get the following java.lang.InstantiationError:


[Loaded org.gjt.mm.mysql.Util] 
[Loaded org.gjt.mm.mysql.Statement] 
[Loaded java.lang.InstantiationError from /java/jdk1.2/jre/lib/rt.jar]
[Loaded java.lang.IncompatibleClassChangeError from /java/jdk1.2/jre/lib/rt.jar]
Exception in thread "main" java.lang.InstantiationError: org/gjt/mm/mysql/Statement
at org.gjt.mm.mysql.Connection.createStatement(Compiled Code)
at exps.jdbc.Test1.useConnection(Compiled Code)
at exps.jdbc.Test1.main(Compiled Code) 


Have any of you dealt with this?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



linux port of JSDK2.0 ?

1999-11-17 Thread tpeter



I'm looking, but I don't see a linux port of JSDK2.0.   JSDK1.0 is
avaliable from javasoft but the 2.0 version is only avaliable to win and
solaris.  

Has anyone found a way to use this 2.0 version on linux?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



jsdk2.0 connection problem

1999-11-17 Thread tpeter



When I run the jsdk2.0 server and try to bring up a servlet it gives me
the following error:

"A network error occured while netscape was recieving data: (Network
error:
connection reset by peer.)

try connecting again."



This doesn't happen when using the jsdk1.0 version.  

Can anyone suggest a fix, or a reason this might be happening  






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: jsdk2.0 connection problem

1999-01-15 Thread tpeter



Just a little update on this connection problem.  I've done a little
investigating and found that the error only occures when the "post" method
is used to invoke the servlet.  When "get" is used everything works fine.  




On Thu, 18 Nov 1999, Gordon Keith wrote:

> [EMAIL PROTECTED] wrote:
> > 
> > When I run the jsdk2.0 server and try to bring up a servlet it gives me
> > the following error:
> > 
> > "A network error occured while netscape was recieving data: (Network
> > error:
> > connection reset by peer.)
> > 
> > try connecting again."
> > 
> > This doesn't happen when using the jsdk1.0 version.
> 
> I certainly got this problem with jsdk1.0 and 2.0, but it happens much
> earlier and more often in 2.0. The problem doesn't occur on Solaris or
> NT using the same JSDK (which is pure java).
> 
> I found it occurred on about half the connections on 1.0, but normally
> after all the data had been sent to the client.
> 
> With 2.0 it occurs much more often, often before significant amounts of
> data have been sent to the client.
> 
> I suspect some sort of bug in JSDK that relies on some sort of automatic
> buffer flushing that doesn't occur on the linux JVM. 
> 
> I think I've tested under both the blackdown 1.1.7 and 1.2pre2. 
> 
> I don't think the problem exists under the IBM JVMs.
> 
> I haven't tested extensively, but those are my observations.
> 
> Let me know if you find a solution.
> 
> Hope it helps
> Gordon
> 
> 
> Gordon Keith
> Programmer
> Marine Science Support
> Australian Antarctic Division
> http://www.antdiv.gov.au
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



JSWDK1.0.1 on linux problem

1999-01-16 Thread tpeter



I'm using the JSWDK1.0.1 with the provided html server. The program
initialized ok, but when I try getting calling the server to get one of
the pages, and or servlets, even those provide in the distribution I get
the following output: 

HelloWorldExample: init HANDLER THREAD PROBLEM:
java.io.UnsupportedEncodingException: ANSI_X3.4-1968
java.io.UnsupportedEncodingException:
ANSI_X3.4-1968 at sun.io.Converters.getConverterClass(Compiled Code) 
at sun.io.Converters.newConverter(Compiled Code) 
at sun.io.CharToByteConverter.getConverter(Compiled Code) 
at java.io.OutputStreamWriter.(CompiledCode) 
at com.sun.web.server.ServerResponse.getWriter(Compiled Code) 
at com.sun.web.core.Response.sendBodyText(Compiled Code) 
at com.sun.web.core.Response.sendError(Compiled Code) 
at com.sun.web.core.HttpServletResponseFacade.sendError(Compiled Code) 
at com.sun.web.core.ServletWrapper.sendInternalServletError(Compiled Code)
at com.sun.web.core.ServletWrapper.handleRequest(Compiled Code) 
at com.sun.web.core.Context.handleRequest(Compiled Code) 
at com.sun.web.server.ConnectionHandler.run(Compiled Code) 

Has anyone dealt with this problem?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: jsdk2.0 connection problem

1999-01-16 Thread tpeter



I'm using jsdk2.1 from javasoft.  
I have used Jserv with apache but it was using the jsdk1.0 from javasoft
without any problems. 

In case you missed it I did find a way around this problem.  I'm useing
"get" instead of "post" and it seems to be working fine. 


On Thu, 18 Nov 1999, Joseph Shraibman wrote:

> Gordon Keith wrote:
> 
> > [EMAIL PROTECTED] wrote:
> > >
> > > When I run the jsdk2.0 server and try to bring up a servlet it gives me
> > > the following error:
> > >
> > > "A network error occured while netscape was recieving data: (Network
> > > error:
> > > connection reset by peer.)
> > >
> > > try connecting again."
> > >
> > > This doesn't happen when using the jsdk1.0 version.
> >
> > I certainly got this problem with jsdk1.0 and 2.0, but it happens much
> > earlier and more often in 2.0. The problem doesn't occur on Solaris or
> > NT using the same JSDK (which is pure java).
> >
> > I found it occurred on about half the connections on 1.0, but normally
> > after all the data had been sent to the client.
> >
> > With 2.0 it occurs much more often, often before significant amounts of
> > data have been sent to the client.
> >
> > I suspect some sort of bug in JSDK that relies on some sort of automatic
> > buffer flushing that doesn't occur on the linux JVM.
> >
> > I think I've tested under both the blackdown 1.1.7 and 1.2pre2.
> >
> > I don't think the problem exists under the IBM JVMs.
> >
> > I haven't tested extensively, but those are my observations.
> >
> > Let me know if you find a solution.
> 
> What servlet engine are you using?  Apache Jserv?
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]