Re: Segmentation Fault with JDK 1.1.8

2000-05-26 Thread Urban Widmark

On Thu, 25 May 2000, Chad Lemmen wrote:

> JDK versions 1.2 and 1.2.2 don't have classes.zip in the lib dir, but
> 1.1.8 does.  This might be why even though 1.2 seems to work on my
> system it won't run this app properly.

The classes.lib has been replaced by rt.jar (and possibly some other jars
too), so that's ok.

> It looks to me like I have glibc 2.0.7 is that right?

Yes, and you need 2.1.2 for the newer JDKs. For 1.2-pre there is a
glibc2.0 version, I assume you picked that and not the glibc2.1 version.

/Urban


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




Re: official linux j2ee sun release

2000-05-26 Thread Glenn Holmer

[EMAIL PROTECTED] wrote:
> 
> That's great, only you follow their links to find the download page which
> hasn't been updated in months, hence, no linux download
> 
> I don't suppose anyone out there has any idea when IBM's WebSphere
> application server version 3 *advanced* is going to be made available for
> linux... Or is it not going to be made available?  Or is it already
> available, and simply not advertised anywhere?

IBM recently gave an e-business seminar here in Milwaukee.  I asked
one of their people about VisualAge Java Enterprise Edition for Linux,
and he said that a 3.5 release of WebSphere would dovetail with a new
release of VisualAge in the late July/early August timeframe, and that
Linux would be fully supported.

-- 
  ===
   Glenn Holmer ([EMAIL PROTECTED])
  ---
   Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
   (In his house at R'lyeh dead Cthulhu waits dreaming.)
  ---
   H. P. Lovecraft, "The Call of Cthulhu", 1926
  ===


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




Re: Segmentation Fault with JDK 1.1.8

2000-05-26 Thread Chad Lemmen

The 1.2-pre glibc2.0 version does seem to work.  When I run the
applications startup script a login box comes up and it lets me login. 
The application doesn't work beyond that when I click on any of the
applications buttons it beeps at me and won't do anything.  Could this
be because the app was written to work with 1.1.8 and not 1.2?  As I
said in my last message the startup script points to the classes.zip
file. I changed that to point at rt.jar.  Could this be a problem?

I changed the CLASSPATH

Original startup script
cd /mytrack
JAVA=/jdk12/bin/java
CLASSPATH=/jdk12/lib/classes.zip:./xTrack001.jar:./jctable362.jar
$JAVA -classpath $CLASSPATH xTrack  

Modified startup script
cd /mytrack
JAVA=/jdk12/bin/java
CLASSPATH=/jdk12/jre/lib/rt.jar:./xTrack001.jar:./jctable362.jar
$JAVA -classpath $CLASSPATH xTrack  

Also when executing this script I get the following warning message:

Warning: JIT compiler "sunwjit" not found. Will use interpreter. 


Urban Widmark wrote:
> 
> On Thu, 25 May 2000, Chad Lemmen wrote:
> 
> > JDK versions 1.2 and 1.2.2 don't have classes.zip in the lib dir, but
> > 1.1.8 does.  This might be why even though 1.2 seems to work on my
> > system it won't run this app properly.
> 
> The classes.lib has been replaced by rt.jar (and possibly some other jars
> too), so that's ok.
> 
> > It looks to me like I have glibc 2.0.7 is that right?
> 
> Yes, and you need 2.1.2 for the newer JDKs. For 1.2-pre there is a
> glibc2.0 version, I assume you picked that and not the glibc2.1 version.
> 
> /Urban
> 
> --
> 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]




Re: official linux j2ee sun release

2000-05-26 Thread Edwin van Ouwerkerk Moria



On Thu, 25 May 2000, [EMAIL PROTECTED] wrote:

> I don't suppose anyone out there has any idea when IBM's WebSphere
> application server version 3 *advanced* is going to be made available for
> linux... Or is it not going to be made available?  Or is it already
> available, and simply not advertised anywhere?

It isn't, and isn't going to - at least, that's what sources (oooh. Doesn't
that sound mysterious) in IBM told me. Anyway, the current planning is for
a WAS 3.5 (NT/AS400/AIX) release somewhere in Q3 or 4, and a 4.0 release
somwhere next year. With all the time and energy invested in those two
releases, the Advanced edition is probably not high on the list...

CU, 
  Edwin

-- 
. . . every morning is the dawn of a new error.


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




Re: Persistency for java on Linux

2000-05-26 Thread Timothy Reaves

Well, I hate to disagree, but I'm going to have to.   I still don't
understand why one would use an OO language but not an OO storage system.

Try PSE from http://www.objectdesign.com/.   PSE is free for
development, while PSEPro is like $99.  The difference is that the Pro
gives you OQL, the querying language.  Support for XML is also there.

Another option is Ozone from http://www.ozone-db.org/.  This is an
open-source OODB, with a built in XML DOM for full integrated XML support.
The current version is 0.52, so this is not of the quality of PSEPro, but
will get there.

One of the differences between to two is that Ozone uses a RMI model
for object access, whereas PSEPro uses actual object storage and
retrieval.  I prefer the later myself.  PSE/PSEPro is a multi-threaded
single connection OODB whereas Ozone is mulie-threaded multi-session.  When
we use PSEPro to deploy, we use RMI ourselves to to the single session
thing, but the DB code is cleaner in my opinion.

One of the nice things with PSEPro is that the API between PSE, PSEPro,
and ObjectStor are identical.  So if you ever need to move up to the big
boy, much expensive ObjectStor, the code is the same.

As an aside, I was out at ParcPlace in Sunnyvale (ParcPlace was the
spin off from Xerox Parc that took the SmallTalk language commercial - they
have since changed names and been acquired by another company) for training
with SmallTalk and databases, in this case Oracle.  ParcPlace showed that
when a SQL database is used, 60% to 70% of the code is nothing more than
the RDB layer, whereas an ODB it was only 5% to 10%.  This was odd because
they were still pushing Oracle, whom was a partner.  Go figure.



Vincent Trussart wrote:

> JDBM : JDBM aims to be a gdbm-style persistence library for Java. It
>offers a simple interface based on java.util.Hashtable, simple
>semantics, transactions, and comes as a small jar.
>
> http://jdbm.sourceforge.net
>
> Or you could setup a postgresql 7 server and connect to it using JDBC
> (postgresql 7 is great... it finally has foreign keys support and
> it is much faster that previous versions)


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




Re: official linux j2ee sun release

2000-05-26 Thread Mark Shacklette

> That's great, only you follow their links to find the download page which
> hasn't been updated in months, hence, no linux download
> 
That's funny.  I went there two days ago and downloaded the following:

j2sdkee-1_2_1-doc-linux.tar.gz :   4466923 bytes
j2sdkee-1_2_1-linux.tar.gz:   10079329 bytes

Cheers,

Mark



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




Stack dump on BlackDown 1.2.2RC4?

2000-05-26 Thread Avi Cherry

Is there any way to get a stack dump using this version of Java on 
linux?  The IBM 1.1.8 (and probably 1.3, I dunno) supports sending 
SIGQUIT to any of the threads and getting a stack dump of what all 
the threads are doing at the moment, what locks are in place, etc...
Is there any way to do something like this in BlackDown 1.2.2 RC4?  I 
have a servlet that's stalling every few -days- and I can't think of 
any practical way of debugging it.

TIA,
Avi Cherry


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




java.net.UnknownHostException:

2000-05-26 Thread Timothy Reaves

I am getting this thrown when I try to create a socket.  It does not
matter if I use 172.16.1.50 or double.silverfields.com or localhost or
what.  They all resolve with nslookup.

Am am using IBM 1.3 and Sun/Borland 1.2.2 with the same result.  Any
ideas?


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




Re: Segmentation Fault with JDK 1.1.8

2000-05-26 Thread Urban Widmark

On Fri, 26 May 2000, Chad Lemmen wrote:

> The 1.2-pre glibc2.0 version does seem to work.  When I run the
> applications startup script a login box comes up and it lets me login. 
> The application doesn't work beyond that when I click on any of the
> applications buttons it beeps at me and won't do anything.  Could this
> be because the app was written to work with 1.1.8 and not 1.2?  As I

Definitly possible. But also the 1.2-pre is a pre version, so maybe you
are suffering from some bug in that version.

Why not upgrade your glibc (your distribution) to a version that 118 will
run on? There is probably some info on Corel's site on how to do that.


> said in my last message the startup script points to the classes.zip
> file. I changed that to point at rt.jar.  Could this be a problem?

You shouldn't have to point at rt.jar at all, but if that is what it takes
to make it work :)


> Warning: JIT compiler "sunwjit" not found. Will use interpreter. 

I don't think there was a jit compiler included in the 1.2-pre, but this
message should be safe to ignore.

/Urban



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




RE: java.net.UnknownHostException:

2000-05-26 Thread Riyad Kalla

What is the code you are using to open the socket? Are you specifying a port
( port 80 ) and are you sure its not in use?

i.e.

String hostName = "www.yahoo.com";
Socket HTTPConnection = new Socket( hostName, 80 );

-Riyad

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 2:34 PM
To: java-linux
Subject: java.net.UnknownHostException:


I am getting this thrown when I try to create a socket.  It does not
matter if I use 172.16.1.50 or double.silverfields.com or localhost or
what.  They all resolve with nslookup.

Am am using IBM 1.3 and Sun/Borland 1.2.2 with the same result.  Any
ideas?


--
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]




RE: Segmentation Fault with JDK 1.1.8

2000-05-26 Thread Riyad Kalla

Urban is right, as long as you have the jdk/bin directory in your path, you
don't need to point at anything, the java runtime finds everything it needs
based on that base bin directory. Do you know if the app is using AWT or
Swing? Urban had a point with the fact that you might be running into some
1.2-pre issues, and updating your glibc, althought sometimes a headache,
might be the best idea. Realize though that you might break some apps that
rely on older glibc in the process. THere is really no easy way to make
everything happy with one swoop, you might want to look into updating your
distro, I do not know how Corel works unfortunately. Do you have a Win32 box
at your disposal to test the code atleast, to narrow down the possibiltiy of
it being the JDK and not your machine?

-Riyad Kalla

-Original Message-
From: Urban Widmark [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 4:00 PM
To: Chad Lemmen
Cc: [EMAIL PROTECTED]
Subject: Re: Segmentation Fault with JDK 1.1.8


On Fri, 26 May 2000, Chad Lemmen wrote:

> The 1.2-pre glibc2.0 version does seem to work.  When I run the
> applications startup script a login box comes up and it lets me login.
> The application doesn't work beyond that when I click on any of the
> applications buttons it beeps at me and won't do anything.  Could this
> be because the app was written to work with 1.1.8 and not 1.2?  As I

Definitly possible. But also the 1.2-pre is a pre version, so maybe you
are suffering from some bug in that version.

Why not upgrade your glibc (your distribution) to a version that 118 will
run on? There is probably some info on Corel's site on how to do that.


> said in my last message the startup script points to the classes.zip
> file. I changed that to point at rt.jar.  Could this be a problem?

You shouldn't have to point at rt.jar at all, but if that is what it takes
to make it work :)


> Warning: JIT compiler "sunwjit" not found. Will use interpreter.

I don't think there was a jit compiler included in the 1.2-pre, but this
message should be safe to ignore.

/Urban



--
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]