Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 81695 invoked from network); 15 Jan 2001 06:21:27 -0000 Received: from unknown (HELO telesoft.indts.com) (root@164.164.71.52) by h31.sny.collab.net with SMTP; 15 Jan 2001 06:21:27 -0000 Received: from indts_fs.indts.com (indts_fs [201.64.64.29]) by telesoft.indts.com (8.8.7/8.8.7) with ESMTP id MAA27153; Mon, 15 Jan 2001 12:07:44 +0530 Received: by INDTS_FS with Internet Mail Service (5.5.2650.21) id ; Mon, 15 Jan 2001 11:54:23 +0530 Message-ID: <3939481A31CFD411B9630040056E8796061349@INDTS_FS> From: veeras To: "'cocoon-users@xml.apache.org'" , "'cocoon-dev@xml.apache.org'" Subject: problem with Date: Mon, 15 Jan 2001 11:54:23 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C07EBB.CD5110C0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_001_01C07EBB.CD5110C0 Content-Type: text/plain; charset="iso-8859-1" Hi all, I am using Cocoon1.8 on Apache1.3.12 with Tomcat3.1.1 on Solaris 2.7. While i am trying to use JNDI classes in my XSP page, Cocoon is not able to findout it, saying ClassNotFoundException. [ Pls. note, i included all the JNDI related jars in the CLASSPATH, and I used tags to import JNDI package in my XSP page]. But If I gave full path for the JNDI class without mentioning it in the tag, Cocoon was able to find out the class without fail. [ Example : Hashtable env; ......... ......... javax.naming.directory.InitialDirContext ctx = new javax.naming.directory.InitialDirContext(env); ] ---> working fine. [ Example : javax.naming.directory.InitialDirContext ........... ........... Hashtable env; ......... ......... InitialDirContext ctx = new InitialDirContext(env); ............. ] ---> not working, throwing ClassNotFoundException pls.help me to solve this problem Thanks in advance - - - - - - - Rajkumar ------_=_NextPart_001_01C07EBB.CD5110C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,
    I=20 am using Cocoon1.8 on Apache1.3.12 with Tomcat3.1.1 on Solaris=20 2.7.
   =20 While i am trying to use JNDI classes in my XSP page, Cocoon is = not able to=20 findout it, saying ClassNotFoundException.
    [=20 Pls. note, i included all the JNDI related jars in the CLASSPATH, and I = used=20 <xsp:include> tags to import JNDI package in my XSP=20 page].
   =20
   =20 But If I gave full path for the JNDI class  without = mentioning it in=20 the <xsp:include> tag, Cocoon was able to find out the class = without=20 fail.
    [=20 Example :
       &nb= sp;        Hashtable=20 env;
       &nb= sp;        .........
       &nb= sp;        .........
       =20
       &nb= sp;       =20 javax.naming.directory.InitialDirContext ctx =3D new=20 javax.naming.directory.InitialDirContext(env);
 
     ] ---> = working fine.
 
   [=20 Example :
       &nb= sp;       =20 <xsp:structure>
       &nb= sp;           =20 <xsp:include>javax.naming.directory.InitialDirContext<xsp:inclu= de>
       &nb= sp;       =20 </xsp:structure>
       &nb= sp;       =20 ...........
       &nb= sp;       =20 ...........
 
       &nb= sp;        Hashtable=20 env;
       &nb= sp;        .........
       &nb= sp;        .........
       =20
       &nb= sp;       =20 InitialDirContext ctx =3D new = InitialDirContext(env);
       &nb= sp;       =20 .............
 
     ] ---> = not working, throwing=20 ClassNotFoundException
 
    
    pls.help me to solve = this=20 problem
 
   =20 Thanks in advance
    -=20 - - - - - -
 
Rajkumar
------_=_NextPart_001_01C07EBB.CD5110C0--