I couldn't install tomcat4.0.5 beta with jdk1.4 on REDHAT 6.2. I get following errors. I tried both SOURCE/BINARY it gives the same error. I will be really thankfull to u if u could tell me where did I went wrong or whats needed exactly to install tomcat4.0.5 with jdk1.4. REGARDS Himanshu Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/
From: [EMAIL PROTECTED] (usera) Newsgroups: comp.lang.java.programmer Subject: TOMCAT 4.0.5 BETA NNTP-Posting-Host: 202.68.140.53 Message-ID: <[EMAIL PROTECTED]> Hi, I'am trying to install jakarta-tomcat bet 4.05 on linux but I get error like 'import javax.ObjectName.* not found' below is my .bash_profile file and error at the end: ======================================================== ENVIRONMENT SETTING: ========================== ANT_HOME=/var/local/jakarta-ant-1.3/dist BASH=/bin/bash BASH_VERSION=1.14.7(1) CLASSPATH=/var/local/classes/mail.jar:/classes/activation.jar:/var/local/classes/cimapi.jar:/var/local/classes/freemarker.jar:/var/local/classes/gnuregexp.jar:/var/local/classes/imap.jar:/var/local/classes/jta.jar:/var/local/classes/mail.jar:/var/local/classes/mailapi.jar:/var/local/classes/mof2mbean.jar:/var/local/classes/mofcomp.jar:/var/local/classes/niggle.jar:/var/local/classes/oreo.jar:/var/local/classes/pop3.jar:/var/local/classes/servlet.jar:/var/local/classes/smtp.jar:/var/local/classes/webmacro.jar:/var/local/classes/xerces.jar:/var/local/classes/xml.jar:/home/download/src/j2sdk1.4.0/lib/dt.jar:/home/download/src/j2sdk1.4.0/lib/htmlconverter.jar:/home/download/src/j2sdk1.4.0/lib/tools.jar:/home/download/src/j2sdk1.4.0/jre/lib/i18n.jar:/home/download/src/j2sdk1.4.0/jre/lib/javaplu in.jar:/home/download/src/j2sdk1.4.0/jre/lib/jce.jar:/home/download/src/j2sdk1.4.0/jre/lib/jsse.jar:/home/download/src/j2sdk1.4.0/jre/lib/rt.jar:/home/download/src/j2sdk1.4.0/jre/lib/sunrsasign.jar:/home/download/src/j2sdk1.4.0/src.zip: COLORTERM=gnome-terminal COLUMNS=80 DISPLAY=:0 ENV=/root/.bashrc EUID=0 HISTFILE=/root/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HOME=/root HOSTNAME=dummy144 HOSTTYPE=i386 IFS= INPUTRC=/etc/inputrc JAVA_HOME=/home/download/src/j2sdk1.4.0 JAXP_HOME=/var/local/jaxp-1.1 JMX_HOME=/var/local/jmx-1_0_1-ri_bin JNDI_HOME=/var/local/classes/jndi JSSE_HOME=/var/local/jsse1.0.2 KDEDIR=/usr LANG=en_US LESSOPEN=|/usr/bin/lesspipe.sh %s LINES=24 LOGNAME=root LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MAIL=/var/spool/mail/root MAILCHECK=60 MYPATH=/var/local OLDPWD=/var/local/jakarta-tomcat-4.0-b5-src/catalina/src OPTERR=1 OPTIND=1 OSTYPE=Linux PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/var/local/jakarta-ant-1.3/dist/dist/bin:/root/bin:/home/download/src/j2sdk1.4.0/bin::/var/local/jakarta-ant-1.3/dist/dist/bin:/root/bin:/home/download/src/j2sdk1.4.0/bin: PPID=2880 PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007" PS1=[\u@\h \W]\$ PS2=> PS4=+ PWD=/var/local/jakarta-tomcat-4.0-b5-src/catalina QTDIR=/usr/lib/qt-2.1.0 REGEXP_HOME=/var/local/jakarta-regexp-1.2 SERVLETAPI_HOME=/var/local/jakarta-servletapi-4.0-b5 SESSION_MANAGER=local/dummy144:/tmp/.ICE-unix/2614,tcp/dummy144:2487 SHELL=/bin/bash SHLVL=4 TERM=xterm UID=0 USER=root USERNAME=root WINDOWID=62914671 _=aa i=/etc/profile.d/which-2.sh ================================ Compiling jakarta-tomcat-4.0b5-src/catalina/ $ sh build.sh Buildfile: build.xml build-prepare: copy-jaxp-jar: build-static: build-main: [javac] Compiling 163 source files to /var/local/jakarta-tomcat-4.0-b5-src/catalina/build/classes [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:66: Class javax.management.NotificationBroadcasterSupport not found in import. [javac] import javax.management.NotificationBroadcasterSupport; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:67: Class javax.management.ObjectName not found in import. [javac] import javax.management.ObjectName; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:68: Class javax.management.MBeanServer not found in import. [javac] import javax.management.MBeanServer; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:69: Class javax.management.MBeanRegistration not found in import. [javac] import javax.management.MBeanRegistration; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:70: Class javax.management.AttributeChangeNotification not found in import. [javac] import javax.management.AttributeChangeNotification; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:71: Class javax.management.Notification not found in import. [javac] import javax.management.Notification; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:84: Superclass javax.management.NotificationBroadcasterSupport of class org.apache.catalina.startup.CatalinaManager not found. [javac] extends NotificationBroadcasterSupport [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/CatalinaManager.java:85: Interface javax.management.MBeanRegistration of class org.apache.catalina.startup.CatalinaManager not found. [javac] implements CatalinaManagerMBean, MBeanRegistration { [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:79: Class javax.management.NotificationBroadcasterSupport not found in import. [javac] import javax.management.NotificationBroadcasterSupport; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:80: Class javax.management.ObjectName not found in import. [javac] import javax.management.ObjectName; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:81: Class javax.management.MBeanServer not found in import. [javac] import javax.management.MBeanServer; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:82: Class javax.management.MBeanRegistration not found in import. [javac] import javax.management.MBeanRegistration; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:83: Class javax.management.AttributeChangeNotification not found in import. [javac] import javax.management.AttributeChangeNotification; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:84: Class javax.management.Notification not found in import. [javac] import javax.management.Notification; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:94: Superclass javax.management.NotificationBroadcasterSupport of class org.apache.catalina.startup.EmbeddedManager not found. [javac] extends NotificationBroadcasterSupport [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/catalina/startup/EmbeddedManager.java:95: Interface javax.management.MBeanRegistration of class org.apache.catalina.startup.EmbeddedManager not found. [javac] implements EmbeddedManagerMBean, MBeanRegistration { [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:67: Class javax.management.NotificationBroadcasterSupport not found in import. [javac] import javax.management.NotificationBroadcasterSupport; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:68: Class javax.management.ObjectName not found in import. [javac] import javax.management.ObjectName; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:69: Class javax.management.MBeanServer not found in import. [javac] import javax.management.MBeanServer; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:70: Class javax.management.MBeanRegistration not found in import. [javac] import javax.management.MBeanRegistration; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:71: Class javax.management.AttributeChangeNotification not found in import. [javac] import javax.management.AttributeChangeNotification; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:72: Class javax.management.Notification not found in import. [javac] import javax.management.Notification; [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:82: Superclass javax.management.NotificationBroadcasterSupport of class org.apache.naming.NamingService not found. [javac] extends NotificationBroadcasterSupport [javac] ^ [javac] /var/local/jakarta-tomcat-4.0-b5-src/catalina/src/share/org/apache/naming/NamingService.java:83: Interface javax.management.MBeanRegistration of class org.apache.naming.NamingService not found. [javac] implements NamingServiceMBean, MBeanRegistration { [javac] ^ thanks in advance for any help REGARDS HB