cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain PERROT" <...@grotte.org>
Subject I come back after several tries ...
Date Mon, 11 Jun 2001 16:40:55 GMT
Hi back there :)

I try to rebuild cocoon on my Slackware Linux 7.1 box.
My environment is :
    root@www:/# java -version
    java version "1.2.2"
    Classic VM (build JDK-1.2.2_008, green threads, nojit)

    jakarta-tomcat-3.2.2

    and I used CVS version of xml-cocoon2 for building it !

then I run the command from the xml-cocoon2 directory :
/build.sh  -Dinclude.webapp.libs=yes webapp

and here is the bunch of error I get :

------------------- Apache Cocoon 2.1-dev [1999-2001] ----------------

compile:
Compiling 1 source file to /var/lib/xml-cocoon2/build/cocoon/classes
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:10: Class javax.naming.Context not found in import.
import javax.naming.Context;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:11: Class javax.naming.directory.Attribute not found in
import.
import javax.naming.directory.Attribute;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:12: Class javax.naming.directory.BasicAttribute not found in
import.
import javax.naming.directory.BasicAttribute;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:13: Class javax.naming.directory.DirContext not found in
import.
import javax.naming.directory.DirContext;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:14: Class javax.naming.directory.InitialDirContext not found
in import.
import javax.naming.directory.InitialDirContext;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:15: Class javax.naming.directory.ModificationItem not found
in import.
import javax.naming.directory.ModificationItem;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:16: Class javax.naming.directory.SearchControls not found in
import.
import javax.naming.directory.SearchControls;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:17: Class javax.naming.directory.SearchResult not found in
import.
import javax.naming.directory.SearchResult;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:18: Class javax.naming.NamingEnumeration not found in
import.
import javax.naming.NamingEnumeration;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:19: Class javax.naming.NamingException not found in import.
import javax.naming.NamingException;
       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1129: Class javax.naming.directory.DirContext not found.
    protected DirContext ctx;
                            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1204: Class javax.naming.NamingException not found in
throws.
    protected void execute() throws Exception, NamingException {
                                               ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1210: Class javax.naming.directory.SearchControls not found.
SearchControls constraints = new SearchControls();
^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1210: Class javax.naming.directory.SearchControls not found.
SearchControls constraints = new SearchControls();
                                 ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1213: Class javax.naming.NamingException not found in try.
      try {
      ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1225: Variable constraints may not have been initialized.
            constraints.setTimeLimit(time_limit);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1231: Class javax.naming.NamingEnumeration not found.
    NamingEnumeration ldapresults = ctx.search(searchbase, filter,
constraints);
    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1231: Variable constraints may not have been initialized.
    NamingEnumeration ldapresults = ctx.search(searchbase, filter,
constraints);
                                                                   ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1237: Variable ldapresults may not have been initialized.
    while (ldapresults != null && ldapresults.hasMore()) {
           ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1241: Class javax.naming.directory.SearchResult not found.
SearchResult si = (SearchResult)ldapresults.next();
^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1241: Class javax.naming.directory.SearchResult not found.
SearchResult si = (SearchResult)ldapresults.next();
                   ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1241: Variable ldapresults may not have been initialized.
SearchResult si = (SearchResult)ldapresults.next();
                                ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1242: Class javax.naming.directory.Attributes not found.
        javax.naming.directory.Attributes attrs = si.getAttributes();
                              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1244: Class javax.naming.NamingEnumeration not found.
        NamingEnumeration ae = attrs.getAll();
        ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1246: Class javax.naming.directory.Attribute not found.
    Attribute at = (Attribute)ae.next();
    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1246: Class javax.naming.directory.Attribute not found.
    Attribute at = (Attribute)ae.next();
                    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1299: Variable constraints may not have been initialized.
            constraints.setTimeLimit(time_limit);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1308: Class javax.naming.NamingEnumeration not found.
    NamingEnumeration ldapresults = ctx.search(searchbase, filter,
constraints);
    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1311: Class javax.naming.directory.SearchResult not found.
SearchResult si = null;
^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1313: Class javax.naming.directory.SearchResult not found.
si = (SearchResult)ldapresults.next();
      ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1314: Class javax.naming.directory.Attributes not found.
        javax.naming.directory.Attributes attrs = si.getAttributes();
                              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1316: Class javax.naming.NamingEnumeration not found.
        NamingEnumeration ae = attrs.getAll();
        ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1318: Class javax.naming.directory.Attribute not found.
    Attribute at = (Attribute)ae.next();
    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1318: Class javax.naming.directory.Attribute not found.
    Attribute at = (Attribute)ae.next();
                    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1327: Class javax.naming.directory.ModificationItem not
found.
ModificationItem[] mods = new ModificationItem[1];
^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1327: Class javax.naming.directory.ModificationItem not
found.
ModificationItem[] mods = new ModificationItem[1];
                              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1329: Class javax.naming.directory.ModificationItem not
found.
mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE,
              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1347: Class javax.naming.NamingException not found.
} catch (NamingException e) {
         ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1349: Class javax.naming.NamingException not found.
        throw new NamingException ("[LDAPTransformer] Failed ldap-connection
to directory service: " + e.toString());
                  ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1357: Class javax.naming.NamingException not found in try.
      try {
      ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1359: Class javax.naming.NamingException not found.
      } catch (NamingException e) {
               ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1361: Class javax.naming.NamingException not found.
    throw new NamingException ("[LDAPTransformer] Failed ldap-disconnection
from directory service: " + e.toString());
              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1375: Class javax.naming.NamingException not found in
throws.
    protected void connect() throws NamingException {
                                    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1377: Class javax.naming.Context not found.
      env.put(Context.SECURITY_AUTHENTICATION, authentication);
              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1377: Undefined variable or class name: Context
      env.put(Context.SECURITY_AUTHENTICATION, authentication);
              ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1378: Class javax.naming.Context not found.
    env.put(Context.SECURITY_PRINCIPAL, root_dn);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1378: Undefined variable or class name: Context
    env.put(Context.SECURITY_PRINCIPAL, root_dn);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1379: Class javax.naming.Context not found.
    env.put(Context.SECURITY_CREDENTIALS, password);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1379: Undefined variable or class name: Context
    env.put(Context.SECURITY_CREDENTIALS, password);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1383: Class javax.naming.Context not found.
    env.put(Context.INITIAL_CONTEXT_FACTORY, initializer);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1383: Undefined variable or class name: Context
    env.put(Context.INITIAL_CONTEXT_FACTORY, initializer);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1384: Class javax.naming.Context not found.
    env.put(Context.PROVIDER_URL, serverurl + ":" + port);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1384: Undefined variable or class name: Context
    env.put(Context.PROVIDER_URL, serverurl + ":" + port);
            ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1387: Class javax.naming.directory.InitialDirContext not
found.
          ctx = new InitialDirContext(env);
                    ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1388: Class javax.naming.NamingException not found.
    } catch (NamingException e) {
             ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1390: Class javax.naming.NamingException not found.
throw new NamingException (e.toString());
          ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1394: Class javax.naming.NamingException not found in
throws.
    protected void disconnect() throws NamingException {
                                       ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1396: Class javax.naming.directory.DirContext not found in
void disconnect().
            if (ctx != null) ctx.close();
                                      ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1397: Class javax.naming.NamingException not found.
    } catch (NamingException e) {
             ^
/var/lib/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/LDAPT
ransformer.java:1400: Class javax.naming.NamingException not found.
throw new NamingException (e.toString());
          ^
60 errors

Total time: 38 seconds




It seems I missed to include some libraries ...
can you provide me some information ...

(I run perfectly cocoon on windows 2000 with IIS but I want to get it
working on my linux server)

thanks

Sylvain


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message