RE: CLASSPATH setup

2001-02-23 Thread Arved Sandstrom

The one thing that will clear things up for you is to realize that APIs and
implementation are not one and the same. Sun specifies the J2EE APIs;
however, the j2sdkee is a _reference implementation_ of those APIs. In other
words, it does what Orion does, or what other application servers do.

So you don't need both. If you want to use Orion you don't need the j2sdkee
at all. The Orion distribution already includes the J2EE interfaces and any
third-party implementation (including Sun's) that it needs.

A lot of the Sun J2EE documentation is very good. But when it comes to
installation, configuration and server-specific deployment (like using the
deploytool) then refer to the docs that accompany the specific server you
are using.

Hope this helps.

Regards,
Arved Sandstrom

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Peltonen
Sent: Friday, February 23, 2001 8:27 AM
To: Orion-Interest
Subject: CLASSPATH setup



I'm a beginner with Orion and Java setup with Linux. I would like to know if
I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sdkee1.2.1/lib/
system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to happen. My
J2EE_CLASSPATH variable did not appear to be existing when I ran echo. So,
when is this file read, then?

And what does this warning mean (quoted from the installation instructions):

"Note: You should remove the driver .jar files from the CLASSPATH
environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter






RE: CLASSPATH setup

2001-02-23 Thread Jeff Schnitzer

The J2EE sdk is not necessary, and probably should be removed.  It is
the reference implementation of a J2EE server.  You will be using Orion
instead.

Why aren't you using the 1.3 jdk?

Put the postgres jdbc driver in the orion/lib directory.

That should work :-)

Jeff

-Original Message-
From: Peter Peltonen [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:27 AM
To: Orion-Interest
Subject: CLASSPATH setup



I'm a beginner with Orion and Java setup with Linux. I would 
like to know if I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH 
variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added 
the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sd
kee1.2.1/lib/system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to 
happen. My
J2EE_CLASSPATH variable did not appear to be existing when I 
ran echo. So,
when is this file read, then? 

And what does this warning mean (quoted from the installation 
instructions):

"Note: You should remove the driver .jar files from the 
CLASSPATH environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in 
CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the 
variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7
.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter






RE: CLASSPATH setup

2001-02-23 Thread SureTicket.com

The way i do it is modify /etc/profile,
there is already PATH variable setuped, so
just setup CLASSPATH in a same manner and
it going to be available for all users.

Hope this helps

-Anton aka sigg-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Peltonen
Sent: Friday, February 23, 2001 7:27 AM
To: Orion-Interest
Subject: CLASSPATH setup



I'm a beginner with Orion and Java setup with Linux. I would like to know if
I
have setup my system correctly.

I have installed the following on my RedHat 6.2 system:

postgresql-jdbc-7.0.2-2
jdk-1.2.2
j2sdkee-1.2.1
orion-1.4.5

For everything work right, I should have the CLASSPATH variable setup right,
yes? I am a bit confused where to setup it, actually.


Java 2 SDK Enterprise Edition
-

Reading the j2sdkee-1.2.1 installation instructions  I added the postgres
jdbc-driver to the J2EE_CLASSPATH variable in
/usr/local/java/j2sdkee1.2.1/bin/userconfig.sh:

--snip--
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/j2ee.jar:/usr/src/j2sdkee1.2.1/lib/
system/jdbc7.0-1.2.jar
export J2EE_CLASSPATH
--snip--

I tried running the userconfig.sh script but nothing seems to happen. My
J2EE_CLASSPATH variable did not appear to be existing when I ran echo. So,
when is this file read, then?

And what does this warning mean (quoted from the installation instructions):

"Note: You should remove the driver .jar files from the CLASSPATH
environment
variable."

So, what is the relation with J2EE_CLASSPATH and CLASSPATH?

In my setup (see below) J2EE_CLASSPATH is included in CLASSPATH, is this
wrong?



/etc/profile


As running usreconfig.sh did nothing, I configured the variables I needed in
/etc/profile. In my /etc/profile reads:

--snip--
JAVA_HOME=/usr/local/java/jdk1.2.2
J2EE_CLASSPATH=/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar
CLASSPATH=$JAVA_HOME:$J2EE_CLASSPATH

export JAVA_HOME J2EE_CLASSPATH CLASSPATH
--snip--

So, my current setup is this:

[peter@cayman orion]$ echo $CLASSPATH
/usr/local/java/jdk1.2.2:/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar

[peter@cayman orion]$ echo $JAVA_HOME
/usr/local/java/jdk1.2.2

[peter@cayman orion]$ echo $J2EE_CLASSPATH
/usr/src/j2sdkee1.2.1/lib/system/jdbc7.0-1.2.jar


Is this alright? Am I missing something etc.?


Regards,
Peter