Error in the tomcat compilation in SUN

2002-12-06 Thread capa
Hello friends, i try to install Tomcat 4.1.12 in Solaris 8 SPARC, but appear
this problem in the compilation:

[style] : Fatal Error! java.lang.NullPointerException Cause: 
java.lang.NullPointerException
[style] Failed to process /www2/websev/uportal/tomcat/webapps/tomcat-
docs/manager-howto.xml

BUILD FAILED
file:/www2/websev/uportal/tomcat/webapps/tomcat-docs/build.xml:82: Fatal error 
during transformation

Total time: 1 minute 37 seconds

What can i do ?
Thank's



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: PLEASE! Tomcat compilation error

2002-09-04 Thread Peter Goode

Try putting tyrex jar into TDK_HOME/common/lib

Andres Hernandez wrote:

  this appear while i compile tomcat 4.0

   --

   build-main:

   [echo] - Java-utils -

   [echo] -- puretls.present = ${puretls.present}

   [echo] -- jsse.present = true

   [echo] -- commons-logging = true

   [echo] -- jmx = true

   build-catalina:

   [javac] Compiling 3 source files to
   /usr/local/jakarta-tomcat-4.0/catalina/build/server/classes

   [javac] Note: sun.tools.javac.Main has been deprecated.

   [javac]

 /usr/local/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/T
   yrexDataSourceFactory.java:77: Class tyrex.jdbc.ServerDataSource not found
   in import.

   [javac] import tyrex.jdbc.ServerDataSource;

   [javac]   ^

   [javac]

 /usr/local/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/T
   yrexDataSourceFactory.java:78: Class tyrex.jdbc.xa.EnabledDataSource not
   found in import.

   [javac] import tyrex.jdbc.xa.EnabledDataSource;

   [javac] ^

   [javac]

 /usr/local/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/T
   yrexTransactionFactory.java:75: Class tyrex.tm.Tyrex not found in import.

   [javac] import tyrex.tm.Tyrex;

   [javac] ^

   [javac] 3 errors, 1 warning

   BUILD FAILED

   /usr/local/jakarta-tomcat-4.0/catalina/build.xml:789: Compile failed,
   messages should have been provided.

   -

 But I have installed the tyrex jar file in the build.properties directory
 indicate
 PLEASE!! this is very important to me
 If you know the problem, please, tell me that solution.

   Best regards

   Andrew H

 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




PLEASE! Tomcat compilation error

2002-09-03 Thread Andres Hernandez

 this appear while i compile tomcat 4.0

  --

  build-main:

  [echo] - Java-utils -

  [echo] -- puretls.present = ${puretls.present}

  [echo] -- jsse.present = true

  [echo] -- commons-logging = true

  [echo] -- jmx = true

  build-catalina:

  [javac] Compiling 3 source files to
  /usr/local/jakarta-tomcat-4.0/catalina/build/server/classes

  [javac] Note: sun.tools.javac.Main has been deprecated.

  [javac]


/usr/local/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/T
  yrexDataSourceFactory.java:77: Class tyrex.jdbc.ServerDataSource not found
  in import.

  [javac] import tyrex.jdbc.ServerDataSource;

  [javac]   ^

  [javac]


/usr/local/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/T
  yrexDataSourceFactory.java:78: Class tyrex.jdbc.xa.EnabledDataSource not
  found in import.

  [javac] import tyrex.jdbc.xa.EnabledDataSource;

  [javac] ^

  [javac]


/usr/local/jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory/T
  yrexTransactionFactory.java:75: Class tyrex.tm.Tyrex not found in import.

  [javac] import tyrex.tm.Tyrex;

  [javac] ^

  [javac] 3 errors, 1 warning

  BUILD FAILED

  /usr/local/jakarta-tomcat-4.0/catalina/build.xml:789: Compile failed,
  messages should have been provided.

  -

But I have installed the tyrex jar file in the build.properties directory
indicate
PLEASE!! this is very important to me
If you know the problem, please, tell me that solution.


  Best regards

  Andrew H


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat Compilation and Installation SSL Errors

2001-12-07 Thread Juan Casero

Hi -

Having read the letter that explains how the jakarta developers feel about
misinformed losers posting easy questions to the list I went ahead and
plowed through the process of compiling jakarta on a RedHat 7.1 Linux box
all by myself.  The build has failed and I am now stumped. Maybe exhaustion
is not letting me focus but either way I have decided to post the error
message on this list to see if any of you can help me.  When trying to
compile the code I get the following errors.  I know there is a little more
info here than what you might need but I figured it couldn't hurt to include
it.  So, does anyone know why the SSL part of the build process is failing?
Any and all help you can provide is much appreciated.


Thanks,
Juan Casero
[EMAIL PROTECTED]




BUILD SUCCESSFUL

Total time: 28 seconds
+ cd ../jakarta-tomcat-3.2.3-src
+ export
CLASSPATH=/usr/src/redhat/BUILD/tomcat-3.2.3/dist/servletapi/lib/servlet.jar
:/usr/src/redhat/BUILD/tomcat-3.2.3/jakarta-tools/moo.jar:/usr/src/redhat/BU
ILD/tomcat-3.2.3/build/tomcat/classes:/usr/java/jdk1.3.1_01/lib/tools.jar:/u
sr/java/jdk1.3.1_01/lib/dev.jar:/usr/java/jdk1.3.1_01/lib/tools.jar:/usr/sha
re/java/jaxp.jar:/usr/share/java/crimson.jar
+
CLASSPATH=/usr/src/redhat/BUILD/tomcat-3.2.3/dist/servletapi/lib/servlet.jar
:/usr/src/redhat/BUILD/tomcat-3.2.3/jakarta-tools/moo.jar:/usr/src/redhat/BU
ILD/tomcat-3.2.3/build/tomcat/classes:/usr/java/jdk1.3.1_01/lib/tools.jar:/u
sr/java/jdk1.3.1_01/lib/dev.jar:/usr/java/jdk1.3.1_01/lib/tools.jar:/usr/sha
re/java/jaxp.jar:/usr/share/java/crimson.jar
+
ant -Dbuild.compiler=jikes -Dant.home=/usr/share/ant -Djavalib.home=/usr/sha
re/java -Djaxp=/usr/share/java -Dservlet.jar=/usr/src/redhat/BUILD/tomcat-3.
2.3/dist/servletapi/lib/servlet.jar dist
Buildfile: build.xml

prepare:
[mkdir] Created dir: /usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat
[mkdir] Created dir: /usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/bin
[mkdir] Created dir:
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/classes
[mkdir] Created dir:
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/conf
[mkdir] Created dir: /usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/doc
[mkdir] Created dir: /usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib
[mkdir] Created dir:
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib/test
[mkdir] Created dir:
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib/test/Golden
[mkdir] Created dir:
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/logs
[mkdir] Created dir: /usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/src
[mkdir] Created dir:
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/webapps
 [copy] Copying 15 files to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/bin
 [copy] Copying 17 files to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/conf
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/conf
 [copy] Copying 41 files to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/doc
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib
 [copy] Copying 1 file to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib
 [copy] Copying 36 files to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/lib/test/Golden
  [fixcrlf] DEPRECATED: The cr attribute has been deprecated,
  [fixcrlf] Please us the eol attribute instead
  [fixcrlf] DEPRECATED: The cr attribute has been deprecated,
  [fixcrlf] Please us the eol attribute instead

tomcat:
[javac] Compiling 220 source files to
/usr/src/redhat/BUILD/tomcat-3.2.3/build/tomcat/classes
[javac]
[javac] Found 26 semantic errors compiling
/usr/src/redhat/BUILD/tomcat-3.2.3/jakarta-tomcat-3.2.3-src/src/share/org/a
pache/tomcat/net/SSLSocketFactory.java:
[javac]
[javac] 67. import javax.net.ServerSocketFactory;
[javac]---
[javac] *** Error: javax/net/ServerSocketFactory is either a misplaced
package name or a non-existent entity.
[javac]
[javac]
[javac] 68. import javax.net.ssl.SSLServerSocket;
[javac]---
[javac] *** Error: javax/net/ssl/SSLServerSocket is either a misplaced
package name or a non-existent entity.
[javac]
[javac]
[javac] 69. import javax.net.ssl.SSLSocket;
[javac]-
[javac] *** Error: javax/net/ssl/SSLSocket is either a misplaced
package name or a non-existent entity.
[javac]
[javac]
[javac] 70. import javax.net.ssl.SSLServerSocketFactory;
[javac]

Tomcat Compilation

2001-12-05 Thread Laurent Michenaud

Hi,

I've compiled Tomcat 3.3.
Quite easy, with the options debug=false and optimize=true

Do we get better performance compiling Tomcat ?

Are there any other flags to increase the optimization level ?

Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat Compilation

2001-12-05 Thread Larry Isaacs

I'm not aware of any additional flags.  Also, I'm
not certain that optimize=true has any impact.

Cheers,
Larry

 -Original Message-
 From: Laurent Michenaud [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 05, 2001 4:54 AM
 To: [EMAIL PROTECTED]
 Subject: Tomcat Compilation
 
 
 Hi,
 
 I've compiled Tomcat 3.3.
 Quite easy, with the options debug=false and optimize=true
 
 Do we get better performance compiling Tomcat ?
 
 Are there any other flags to increase the optimization level ?
 
 Michenaud Laurent
 - Adeuza -
 [ Développeur Web - Administrateur Réseau ]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat compilation error on Linux 7.0

2001-08-30 Thread Naji Haddara

Hi,

I am trying to compile tomcat on linux 7.0 but  I got error message saying that
unresolved symbol
TagAttributeInfo.

Can someone tell me what I did wrong please

Thanks

I have the following environment:

jakarta-tomcat-3.2.3-src]# echo RED HAT LINUX  7.0
RED HAT LINUX 7.0
 jakarta-tomcat-3.2.3-src]#
jakarta-tomcat-3.2.3-src]# echo JAKARTA_HOME:
JAKARTA_HOME:
 jakarta-tomcat-3.2.3-src]# echo $JAKARTA_HOME
/install
jakarta-tomcat-3.2.3-src]# echo JAVA_HOME:
JAVA_HOME:
 jakarta-tomcat-3.2.3-src]# echo $JAVA_HOME
/usr/java/jdk1.3.1
jakarta-tomcat-3.2.3-src]# echo CLASSPATH:
CLASSPATH:
 jakarta-tomcat-3.2.3-src]# echo $CLASSPATH
:.:/install/jaxp-1.1/jaxp.jar:/install/jaxp-1.1/xalan.jar:/install/jaxp-1.1/crimson.jar:/usr/share/java/ant.jar:/install/jsse1.0.2/lib/jcert.jar:/install/jsse1.0.2/lib/jnet.jar:/install/jsse1.0.2/lib/jsse.jar:/install/servletapi/lib/servlet.jar

[root@naji jakarta-tomcat-3.2.3-src]# echo PATH:
PATH:
jakarta-tomcat-3.2.3-src]# echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:.:/root/bin:/home/oracle/bin:/home/oracle/mybin:/usr/java/jdk1.3.1/bin:/root/bin

jakarta-tomcat-3.2.3-src]#
jakarta-tomcat-3.2.3-src]# #ls /download
jakarta-tomcat-3.2.3-src]# echo ls /install:
ls /install:
jakarta-tomcat-3.2.3-src]# ls /install
build  env.ksh  jakarta-tomcat-3.2.3-src  jar  jaxp-1.1  jre1.3.1
jsse1.0.2  servletapi  test  x  x1  xs
jakarta-tomcat-3.2.3-src]# echo

jakarta-tomcat-3.2.3-src]# echo ls /usr/java/jdk1.3.1;
ls /usr/java/jdk1.3.1
jakarta-tomcat-3.2.3-src]# ls /usr/java/jdk1.3.1
COPYRIGHT  LICENSE  LICENSE.fr  README  README.html  bin  demo  include
include-old  jre  lib  man  src.jar
jakarta-tomcat-3.2.3-src]# echo

jakarta-tomcat-3.2.3-src]# echo ls /usr/share/java;
ls /usr/share/java
jakarta-tomcat-3.2.3-src]# ls /usr/share/java
ant.jar  jaxp.jar  optional.jar  parser.jar
jakarta-tomcat-3.2.3-src]# echo
jakarta-tomcat-3.2.3-src]# echo ls /usr/share/ant/bin:
ls /usr/share/ant/bin:
jakarta-tomcat-3.2.3-src]# ls /usr/share/ant/bin
antRun  runant.pl
jakarta-tomcat-3.2.3-src]# echo

jakarta-tomcat-3.2.3-src]#
jakarta-tomcat-3.2.3-src]#


I got the following error message:

Buildfile: build.xml

prepare:
[mkdir] Created dir: /install/build/tomcat
[mkdir] Created dir: /install/build/tomcat/bin
[mkdir] Created dir: /install/build/tomcat/classes
[mkdir] Created dir: /install/build/tomcat/conf
[mkdir] Created dir: /install/build/tomcat/doc
[mkdir] Created dir: /install/build/tomcat/lib
[mkdir] Created dir: /install/build/tomcat/lib/test
[mkdir] Created dir: /install/build/tomcat/lib/test/Golden
[mkdir] Created dir: /install/build/tomcat/logs
[mkdir] Created dir: /install/build/tomcat/src
[mkdir] Created dir: /install/build/tomcat/webapps
 [copy] Copying 11 files to /install/build/tomcat/bin
 [copy] Copying 16 files to /install/build/tomcat/conf
 [copy] Copying 1 file to /install/build/tomcat/conf
 [copy] Copying 41 files to /install/build/tomcat/doc
 [copy] Copying 1 file to /install/build/tomcat
 [copy] Copying 1 file to /install/build/tomcat
 [copy] Copying 1 file to /install/build/tomcat
 [copy] Copying 1 file to /install/build/tomcat/lib
 [copy] Copying 1 file to /install/build/tomcat/lib
 [copy] Copying 1 file to /install/build/tomcat/lib
 [copy] Could not find file /install/jaxp-1.1/parser.jar to copy.
 [copy] Copying 36 files to /install/build/tomcat/lib/test/Golden
[chmod] /bin/chmod: too few arguments
[chmod] Try `/bin/chmod --help' for more information.

tomcat:
[javac] Compiling 221 source files to /install/build/tomcat/classes
[javac]
/install/jakarta-tomcat-3.2.3-src/src/share/org/apache/jasper/compiler/TagLibraryInfoImpl.java:524:

cannot resolve symbol
[javac] symbol  : constructor TagAttributeInfo
(java.lang.String,boolean,java.lang.String,boolean)
[javac] location: class javax.servlet.jsp.tagext.TagAttributeInfo
[javac] return new TagAttributeInfo(name, required, type,
rtexprvalue);
[javac]^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

Total time: 45 seconds