im a newbe in this server !
so need a help to much .
when i type
[root@dtiso /usr/local/jakarta-tomcat-4/bin]# ./catalina.sh start
Using CATALINA_BASE: /usr/local/jakarta-tomcat-4
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4/temp
Using JAVA_HOME: /usr/local/JDK_1.2.2
[root@dtiso /usr/local/jakarta-tomcat-4/bin]#
the catalina.out send me this error
tail -f catalina.out
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
javax.servlet.ServletContext:
method setAttribute(Ljava/lang/String;Ljava/lang/Object;)V not found
at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:3992)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3365)
at org.apache.catalina.core.ContainerBase.start(Compiled
Code)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(Compiled
Code)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(Compiled
Code)
at org.apache.catalina.core.StandardServer.start(Compiled
Code)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native
Method)
at java.lang.reflect.Method.invoke(Compiled
Code)
at org.apache.catalina.startup.Bootstrap.main(Compiled
Code)
my ls /usr/local/include/javax/
naming servlet
transaction
and the others
ls /usr/local/include/javax/servlet
Filter.class
ServletContextListener.class
FilterChain.class
ServletException.class
FilterConfig.class
ServletInputStream.class
GenericServlet.class
ServletOutputStream.class
LocalStrings.properties
ServletRequest.class
RequestDispatcher.class
ServletRequestWrapper.class
Servlet.class
ServletResponse.class
ServletConfig.class
ServletResponseWrapper.class
ServletContext.class
SingleThreadModel.class
ServletContextAttributeEvent.class UnavailableException.class
ServletContextAttributeListener.class http
ServletContextEvent.class
[root@dtiso /usr/local/jakarta-tomcat-4/bin]
i have this softwares installed in a Solaris 8 sparc
jakarta-tomcat-4.0.4
jakarta-ant-1.4.1
j2re1.4.0_01
j2sdk1.4.0_01
JDK_1.2.2
jakarta-tomcat-connectors-4.0.2-01-src
jndi112.zip
my profile is:
# The profile that all logins get before using their own .profile.
PS1="[\u@\h \w]\\$ "
HISTFILESIZE=10000
PATH=/usr/local/bin:/usr/local/sbin:/usr/openwin/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/ccs/bin:/usr/j2se/bin:/usr/j2se/jre/bin:/sbin:/usr/platform/sun4u/sbin:/usr/local/jakarta-tomcat-4/bin
MANPATH=/usr/local/man:/usr/openwin/man:/usr/dt/man:/usr/man:/usr/j2se/man
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/share/lib:/usr/dt/lib:/usr/ccs/lib:/usr/j2se/lib:/usr/j2se/jre/lib:/etc/lib:/lib:/usr/local/Apache2/modules:/usr/local/JDK_1.2.2/lib
JAVA_HOME=/usr/local/JDK_1.2.2
TOMCAT_HOME=/usr/local/jakarta-tomcat-4
CATALINA_HOME=/usr/local/jakarta-tomcat-4
#CATALINA_HOME=/usr/local/include/java
ANT_HOME=/usr/local/jakarta-ant-1.4.1
CLASSPATH=/usr/local/JDK_1.2.2/lib/jsdk.jar:/usr/local/JDK_1.2.2/lib/ApacheJServ.jar:/usr/local/JDK_1.2.2/lib/activation.jar:/usr/local/JDK_1.2.2/lib/collections.jar:/usr/local/JDK_1.2.2/lib/dt.jar:/usr/local/JDK_1.2.2/lib/jasper.jar:/usr/local/JDK_1.2.2/lib/jdbcpool-0.94.jar:/usr/local/JDK_1.2.2/lib/jdbcpool.jar:/usr/local/JDK_1.2.2/lib/jdom.jar:/usr/local/JDK_1.2.2/lib/jrefactory.jar:/usr/local/JDK_1.2.2/lib/junit.jar:/usr/local/JDK_1.2.2/lib/mail.jar:/usr/local/JDK_1.2.2/lib/servlet.jar:/usr/local/JDK_1.2.2/lib/sybase.jar:/usr/local/JDK_1.2.2/lib/tools.jar:/usr/local/JDK_1.2.2/lib/webserver.jar:/usr/local/JDK_1.2.2/lib/xalan.jar:/usr/local/JDK_1.2.2/lib/xerces.jar
trap "" 2 3
export LOGNAME PATH MANPATH LD_LIBRARY_PATH PS1 HISTFILESIZE JAVA_HOME
TOMCAT_HOME CATALINA_HOME ANT_HOME CLASSPATH PATH=${PATH}:${JAVA_HOME}/bin
any people can help me ?
thanks a lot
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>