----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello, well sorry to bother you again, but I am just a little frustrated
with all of  this.

Anyway, it looks like i need to use classes12.zip because that is intended
for jdk1.2.2, but now when I try to make a connection it gives me an
exception :

java.lang.ClassNotFoundException: java.util.Map

and I looked inside src.jar file of jdk1.2.2 and there is that class. I
really do not know why is this happening.

If anybody could help I would apreciate it greatly.

Thanx,

Darko

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Cheshire
Sent: January 16, 2001 1:51 PM
To: Java Apache Users
Subject: Re: ApacheJServ-oracle


----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Darko,

Since you are using JDK 1.3, I assume you have to go through the
same security properties changes as for 1.2. There is something
on the JServ FAQ about it (#58) -  here is what I added to my
configuration files. You have to give Java permission to use
the sockets to make an outbound connection from the machine,
otherwise it violates the default JVM security.

This is put in the java.security file. Mine resides in the path
/usr/local/jdk/jre/lib/security

grant codeBase "file:/usr/local/jserv/libexec/ApacheJServ.jar"

        permission java.io.FilePermission "/usr/local/jserv/servlets/-",
"read";
        permission java.lang.RuntimePermission "createClassLoader";
        permission java.net.SocketPermission
"*:","connect,accept,listen,resolve";
};

As for the classes12.zip etc, these are the versions of the JDBC thin
client for Java 1.2. Go to oracles web site and make sure you have the
correct version of the thin client for the JDK you are running. You will
also see there under a readme somewhere whether you will really need the
nls_charset classes or not. I have a feeling that you are using the
wrong
thin client version for the JDK you have, but confirm this at
technet.oracle.com.

HTH

Chris

Darko Stankovic wrote:
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hello,
>
> I changed classes12.zip to classes111.zip, and it seems to be working
> better, but I still get this error now :
> java.sql.SQLException: Io exception: The Network Adapter could not
establish
> the connection
>
> Well it looks like my network card is no good, but it is since I am able
to
> telnet, ftp and so on. Also there is nothing in my logs that says anything
> about this.
>
> Does anybody know why it could not establish a connection ?
>
> Thanx,
>
> Darko
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Ricker
> Sent: January 15, 2001 5:36 PM
> To: Java Apache Users
> Subject: Re: ApacheJServ-oracle
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> I do not think so, that is, I never set it in my LD_LIBRARY path.
> Anyway, if you can send me the complete error trace from the log I can
> help you a little bit better.
>
> Ben Ricker
>
> Darko Stankovic wrote:
>
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files.  Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > Also here is the catch I think.
> >
> > Well ai have nost set LD_LIBRARY_PATH, do I need this in order for
> > oracle-jdbc-thin driver to work ?
> >
> > Thanx
> >
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]

--
Chris Cheshire
Manager of Software Development
bigredwire.com
Phone : +1 805 560 6666 (w)
        +1 805 559 9166 (m)
Fax :   +1 805 560 8901
Email : [EMAIL PROTECTED]

   Real Programmers don't draw flowcharts.
   Flowcharts are the illiterate's form of
   documentation. Cavemen drew flowcharts;
   look at how much good it did for them


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to