OK, I had the netbeans jdk installed, so I went ahead and uninstalled it (I didn't like netbeans - to slow) and installed the latest jdk from sun. I have JAVA_HOME set correct as evidenced by the fact that my regular Tomcat4.1 installation works fine. However, the same issue has happened.
I'm thinking this might be a bug in the way the appserver plugin invokes Tomcat. Was it ever tested on Windows 2000 server? Thanks, Aaron -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 7:15 PM To: 'Maven Users List' Subject: RE: Adding tools.jar to the classpath? > I used appserver:install and appserver:start to run a local > web server. In plugin properties, I pointed maven at my > functioning, but not started Tomcat server install. > However, when it tried to compile the first jsp page, Jk > yelled at me for not having tools.jar in my classpath. I > used the plugin property (which is there for adding things > like database drivers) to manually add this, and now I'm in business. You probably didn't set JAVA_HOME, so Tomcat was started in the JRE instead of the JDK. > My other related question is: does maven have a way to deploy > .war files directly into the local app server? Currently I'm > doing an ant <copy> as a <postGoal> to war. I've got a few additions such as this to add to war/appserver, I just haven't gotten around to cleaning up and adding them. It is basically just a postGoal anyway though :) Cheers, Brett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
