This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have Apache and Tomcat together on a WinNT 4.0 but something is strange. I start Apache as a service. I can start Tomcat A. as a service or B. with a batch file The batch file is : start "Tomcat" "%JAVA_HOME%\bin\java" -Djava.endorsed.dirs="%CATALINA_HOME%\bin;%CATALINA_HOM%\common\lib" -classpath "%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar" -Dcatalina.base="%CATALINA_HOME%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_HOME%\temp" org.apache.catalina.startup.Bootstrap start
Installing the service is : "%CATALINA_HOME%\bin\tomcat.exe" -install Tomcat "%JAVA_HOME%\jre\bin\server\jvm.dll" -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%CATALINA_HOME%" -Djava.endorsed.dirs="%CATALINA_HOME%\bin;%CATALINA_HOME%\common\lib" -Djava.io.tmpdir="%CATALINA_HOME%\temp" -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out "%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log" Starting Tomcat with the Batch, my JSP projects compile just fine but starting Tomcat as a service the JSP projects will not compile !!! For simple.jsp, a simple$jsp.java file is generated then it stops !!! It doesn't go on to compile it and make the necessary simple$jsp.class file for my simple.jsp page. Using the batch method the simple$jsp.java file is both generated *And* the simple$jsp.class file is created !!. But that dos box hanging there is ugly. With the class file generated by the batch I can look at the simple.jsp with the Tomcat as a service or as a batch file. Why is the service ready to write the java but not willing generate the class file? Any ideas ?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com