I am currently getting a feel for writing Servlets and JSP in Eclipse
and WTP, something I've previously always used NetBeans for in the past.
One issue I'm having [at least it looks like an issue] is that when I
start Tomcat either by itself or via running a JSP or Servlet 'on the
server', the console shows this message:
Mar 10, 2009 7:57:19 PM org.apache.catalina.core.AprLifecycleListener
init
INFO: The Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: [it then lists the folders/files in my classpath ].
In java.library.path it lists is the folder that contains
catalina.jar [ C:\apache-tomcat-6.0.14\lib ].
In addition, I have copied catalina.jar to the web directory in Tomcat
it is using:
C:\apache-tomcat-6.0.14\wtpwebapps\web1\WEB-INF\lib
but that actually caused an error, so I removed it.
I am not sure if this is the issue or not, but in my project's Properties
Java Build Path, the Libraries tab has a library, "Apache Tomcat v6.0
[Apache Tomcat v6.0]", and under that there is "catalina.jar", which
points to the correct place. However, for the three attributes of the
jar file [Source Attachment, Javadoc Location, Native Library
Location] are listed as (None), and the Access Rules are (No
restrictions).
I don't know if there is supposed to be something else there.
I don't know if this is actually a problem, because things are
working, but it does seem that there is an issue. Any help fixing
this would be greatly appreciated.
Matt
Eclipse 3.4.1
WTP Windows XP Pro, SP3