DB2 JDBC
I need to make JSP files on tomcat to connect to a DB2 database. I installed the DB2 client for Linux, but I have problems, how can I configure it to work with JSP files ? where is the JDBC ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: DB2 JDBC
Thanks for your help, I have done what you said, but I am running tomcat4 on Linux, I do not have tomcat_install_dir/bin/setclasspath.sh in tomcat_install_dir/bin I have : bootstrap.jar commons-daemon.jar tomcat-jni.jar so I added JAVA_OPTS=-Djava.library.path=/db2_user_dir/sqllib/java12/ to tomcat_install_dir/conf/tomcat4.conf I am not sure if that it right or wrong, will test and see, if you find I need something else pls advise. Thank you. Sherif - Original Message - From: Fabio Mengue [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 16, 2002 4:08 AM Subject: Re: DB2 JDBC Hello, DB2 JDBC library files are usually in db2_user_dir/sqllib/java12 The file name is db2java.zip. You can copy it to tomcat_install_dir/common/lib Change its name to db2java.jar or something with .jar extension, so Tomcat will be aware of it. I had to do other things to DB2 work. I added the line JAVA_OPTS=-Djava.library.path=/db2_user_dir/sqllib/java12/ To tomcat_install_dir/bin/setclasspath.sh, and copied db2profile to tomcat_install_dir/bin, changing its name to setenv.sh After that, DB2 worked :) Good luck, Fabio. Sherif D Mohamad wrote: I need to make JSP files on tomcat to connect to a DB2 database. I installed the DB2 client for Linux, but I have problems, how can I configure it to work with JSP files ? where is the JDBC ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Fabio Mengue - Centro de Computacao - Unicamp [EMAIL PROTECTED] [EMAIL PROTECTED] Quem se mata de trabalhar merece mesmo morrer. - Millor -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
virtual hosting on tomcat
I am trying to add a virtual host on tomcat, I added this lines to server.xml file: Host name=mydom.net debug=0 appBase=/home/username/webapps/ROOT unpackWARs=true Aliasmysite.mydom.net/Alias Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=menanet.net. suffix=.log timestamp=true/ Context path= docBase= debug=0 reloadable=true/ Context path=/test docBase= debug=0 reloadable=true/ /Host and copied all $CATALINE_HOME/webapps to /home/username/webapps , I can get the default index.jsp of tomcat, but when I click on manager application it says status 404, not available , so how can I install an application on the new site ? or how can I run the manager on the new site, is there other things that I need to copy other than $CATALINE_HOME/webapps ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help using manager of tomcat
Dear All, I successfully installed tomcat standalone on rehat linux 7.3 and seems working ok, I am trying to use the manager to I can make changes to sites without restarting server When I try the command : http://www.myserver.com/manager/deploy?path=/firsttest I have the following error FAIL - Unknown command /deploy Although docs says it should respond with : OK - Deployed application at context path /firsttest Also the list command work http://www.myserver.com/manager/list OK - Listed applications for virtual host localhost /examples:running:0:examples /webdav:running:0:/var/tomcat4/webapps/webdav /tomcat-docs:running:0:/var/tomcat4/webapps/tomcat-docs /manager:running:0:../server/webapps/manager /admin:running:0:../server/webapps/admin /:running:3:/home/webdevtest/ What could be the reason of this problem ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]