Re: How to install Tomcat 7
Thanks to you all for your help! That hint below worked fine. Cheers, Andy On 21/02/2011 9:06 PM, Michael Powell wrote: Repair the damage you've done to /usr/ports/www/tomcat7. You can just rm -rf the entire directory and a ports tree refresh will fix it for you. Then change into /usr/ports/www/tomcat6 and do make deinstall. This removes Tomcat 6. Then cd to /usr/ports/www/tomcat7 and do make install clean. You do not need to be concerned with downloading the tarball, the port will fetch it for you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to install Tomcat 7
Hi All, This is my first post to this list, so I hope I get it right. I'm new to both Unix and freeBSD and I've been doing my first steps for three days now. I was able to install Java and Tomcat 6, because these products are part of the ports directory. However I'd prefer Tomcat 7, so I got the tomcat7.tar.gz and extracted the files to /usr/ports/www/tomcat7. The I tried the following and got the message: # pwd /usr/ports/www/tomcat7 # make install clean === Vulnerability check disabled, database not found === License accepted by the user = apache-tomcat-7.0.6.tar.gz is not in /usr/ports/www/tomcat7/distinfo. = Either /usr/ports/www/tomcat7/distinfo is out of date, or = apache-tomcat-7.0.6.tar.gz is spelled incorrectly. *** Error code 1 Stop in /usr/ports/www/tomcat7. To be honest, I don't understand that message. That file apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo, because distinfo is a file and not a directory. What went wrong? I got the missing file, however where is it supposed to be? Thanks for help, AndyJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to install Tomcat 7
On Mon, Feb 21, 2011 at 9:48 AM, Andreas Junius andreas.jun...@gmail.com wrote: To be honest, I don't understand that message. That file apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo, because distinfo is a file and not a directory. What went wrong? I got the missing file, however where is it supposed to be? Could you post your /etc/make.conf, please? All of it. I suspect there is something terribly wrong there. -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to install Tomcat 7
Andreas Junius wrote: Hi All, This is my first post to this list, so I hope I get it right. I'm new to both Unix and freeBSD and I've been doing my first steps for three days now. I was able to install Java and Tomcat 6, because these products are part of the ports directory. However I'd prefer Tomcat 7, so I got the tomcat7.tar.gz and extracted the files to /usr/ports/www/tomcat7. Sorry but this is not the way this works. Maybe study the sections in the Handbook which explain how to install software on FreeBSD. This is just totally a wrong procedure. The I tried the following and got the message: # pwd /usr/ports/www/tomcat7 # make install clean === Vulnerability check disabled, database not found === License accepted by the user = apache-tomcat-7.0.6.tar.gz is not in /usr/ports/www/tomcat7/distinfo. = Either /usr/ports/www/tomcat7/distinfo is out of date, or = apache-tomcat-7.0.6.tar.gz is spelled incorrectly. *** Error code 1 Stop in /usr/ports/www/tomcat7. To be honest, I don't understand that message. That file apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo, because distinfo is a file and not a directory. What went wrong? I got the missing file, however where is it supposed to be? The distinfo file contains a checksum hash and file size for the expected tarball. The message means the tarball isn't a match. When you try to make a port, it will fetch the source tarball and place it into /usr/ports/distfiles. What seems so totally bizarre about this is you indicated you installed Java and Tomcat 6 successfully? Why not just remove Tomcat 6 and install Tomcat 7 using a method which already worked to install Tomcat 6? Repair the damage you've done to /usr/ports/www/tomcat7. You can just rm -rf the entire directory and a ports tree refresh will fix it for you. Then change into /usr/ports/www/tomcat6 and do make deinstall. This removes Tomcat 6. Then cd to /usr/ports/www/tomcat7 and do make install clean. You do not need to be concerned with downloading the tarball, the port will fetch it for you. If you aren't clear on how to update the ports tree prior to installing or updating software this is covered in the Handbook. Dependency tracking depends on the ports tree. I suspect that you tried to 'add' the tomcat7 port to a stale ports tree, but the proper thing is to update the entire ports tree, as there is already a tomcat7 port present. Trying to add just one port to an old, out of date ports tree is asking for dependency issues. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to install Tomcat 7
On Mon, Feb 21, 2011 at 07:18:28PM +1030, Andreas Junius wrote: Hi All, This is my first post to this list, so I hope I get it right. I'm new to both Unix and freeBSD and I've been doing my first steps for three days now. I was able to install Java and Tomcat 6, because these products are part of the ports directory. However I'd prefer Tomcat 7, so I got the tomcat7.tar.gz and extracted the files to /usr/ports/www/tomcat7. I am not sure I understand all of what you say and I have never installed Tomcat separately.But,,, If I install something from source that is not in ports, I generally put the ...tar.gz file of its source in /usr/local/src and then un-gz/untar it (tar xzvf...) there. Normally, a well made open source product will make a directory for the product and put everything in there. Just cd to that and start building. That usually starts with running configure from within that directory, ge. NOTE here: Do not confuse this pre-build configure that sets up compiler and loader and system options with the post-build configure mentioned below that sets up running options for the utility. # ./configure --prefix=/usr/local/product_name \ / more_configure_options_if_necessary # make # make install Then do what it takes to configure it to run - there may be a config file typically in /usr/local/product_name/conf/... In FreeBSD some of the configuration items can be set in /etc/rc.conf If it is to run as a daemon, set up its startup in the rc.d Nowdays, most reasonable open source products that are set up with a good layout, conprehensive prebuild configure and well built make files to be installed on a UNIX or Lunix system follow this basic pattern with a few small variations. jerry The I tried the following and got the message: # pwd /usr/ports/www/tomcat7 # make install clean === Vulnerability check disabled, database not found === License accepted by the user = apache-tomcat-7.0.6.tar.gz is not in /usr/ports/www/tomcat7/distinfo. = Either /usr/ports/www/tomcat7/distinfo is out of date, or = apache-tomcat-7.0.6.tar.gz is spelled incorrectly. *** Error code 1 Stop in /usr/ports/www/tomcat7. To be honest, I don't understand that message. That file apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo, because distinfo is a file and not a directory. What went wrong? I got the missing file, however where is it supposed to be? Thanks for help, AndyJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Tomcat 6 log level
Hi, we've installed tomcat 6 via freebsd ports and would like to change the log level on our production server from INFO to SEVERE. However, the tomcat6 startup script in /usr/local/etc/rc.d did not load the logging.properties file of tomcat, so we've added a flag to the java_opts in /etc/rc.conf tomcat60_java_opts=-Djava.util.logging.config.file=/usr/local/apache-tomcat-6.0/conf/logging.properties When setting this option, it loads the config file, but throws some exceptions: Can't load log handler 4host-manager.org.apache.juli.FileHandler java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler ... Is there a recommended way to alter tomcat log level when installed through ports on freebsd? thanks! -robert___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Tomcat Debugging (OT most likely)
Hey all, This question is probably best suited for tomcat-users, but being this is an a FBSD machine I'd figure I'd ask here first. I have a client running apache w/ tomcat serving thousands of requests per second. It works, but with one caveat, pages load extremely slowly. When I first saw the request, I figured this client was running into some kind of resource bottleneck, but that's where my problems started. I'm unable to find any resource that is being starved. I turn to `the mighty list` for guidance. This particular machine is running FreeBSD 6.2. It has a bce network card that currently connected to a GigE switch with a 10G uplink. Even with all this available bandwidth, this client's application *currently* is not doing any more than 50Mb/sec. :: Rule out network congestion. Moving along to the system ram :: 2 Gigs are in the machine, with very little usage: Mem: 724M Active, 874M Inact, 338M Wired, 64M Cache, 112M Buf, 4944K Free A dual core cpu is in the machine, again with very little usage: CPU states: 8.6% user, 0.0% nice, 3.9% system, 2.8% interrupt, 84.7% idle Disk throughput is negligable at this time (50KB/sec :: 3tps). I did start off mentioning this machine uses tomcat...so let me continue. We've setup the java process to use libthr via libmap.conf: # cat /etc/libmap.conf [java] libpthread.so.2 libthr.so.2 libpthread.so libthr.so # And added the following to rc.conf:: ### tomcat55_java_opts=-XX:MaxPermSize=512m -Xmx512M ### Apache Configuration: ### MaxClients 1024 ### Tomcat Configuration: ### maxThreads=1200 ### So onto my question...the slowness being encountered. My initial thought was the slowness was due to quite possibly the cpu being hammered by numerous requests. After checking however that's not the case, then I looked at the networking equipment with my networking team, that's ok too. (I think) That leaves a) thread contention somewhere b) apache misconfiguration and c) tomcat configuration. Both myself and 2 other admins have looked over the apache configuration and tomcat configuration and we believe that side of things is probably ok. That's leaves weird contention in the kernel or userland mutexes or something along those lines. Here is our current connection count on the external interface :: sockstat -4cp 80 | wc -l 997 Here is our connection count on localhost (from apache to tomcat process and vica versa) :: sockstat -4cp 8009 | wc -l 1679 And finally.top output: last pid: 57747; load averages: 0.79, 1.12, 0.87 up 153+17:56:53 18:36:57 #--snip -- PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 57460 www 960 1385M 432M ucond 0 2:44 2.88% java 57460 www 960 1385M 432M ucond 0 2:44 2.73% java 57460 www 960 1385M 432M select 0 2:44 0.15% java 57460 www 960 1385M 432M select 1 2:44 0.15% java #--snip-- The above lines repeat up to the number of threads we have. `states` are in ucond and select. Hopefully I hven't bored anyoneyet, and would appreciate any guildance. Maybe good tools for debugged kernel threads, or a simple slap in the face will do nicely. Thanks in advance, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tomcat Debugging (OT most likely)
Paul Procacci wrote: Hey all, This question is probably best suited for tomcat-users, but being this is an a FBSD machine I'd figure I'd ask here first. I have a client running apache w/ tomcat serving thousands of requests per second. It works, but with one caveat, pages load extremely slowly. When I first saw the request, I figured this client was running into some kind of resource bottleneck, but that's where my problems started. I'm unable to find any resource that is being starved. I turn to `the mighty list` for guidance. This particular machine is running FreeBSD 6.2. It has a bce network card that currently connected to a GigE switch with a 10G uplink. Even with all this available bandwidth, this client's application *currently* is not doing any more than 50Mb/sec. :: Rule out network congestion. Moving along to the system ram :: 2 Gigs are in the machine, with very little usage: Mem: 724M Active, 874M Inact, 338M Wired, 64M Cache, 112M Buf, 4944K Free A dual core cpu is in the machine, again with very little usage: CPU states: 8.6% user, 0.0% nice, 3.9% system, 2.8% interrupt, 84.7% idle Disk throughput is negligable at this time (50KB/sec :: 3tps). I did start off mentioning this machine uses tomcat...so let me continue. We've setup the java process to use libthr via libmap.conf: # cat /etc/libmap.conf [java] libpthread.so.2 libthr.so.2 libpthread.so libthr.so # And added the following to rc.conf:: ### tomcat55_java_opts=-XX:MaxPermSize=512m -Xmx512M ### Apache Configuration: ### MaxClients 1024 ### Tomcat Configuration: ### maxThreads=1200 ### So onto my question...the slowness being encountered. My initial thought was the slowness was due to quite possibly the cpu being hammered by numerous requests. After checking however that's not the case, then I looked at the networking equipment with my networking team, that's ok too. (I think) That leaves a) thread contention somewhere b) apache misconfiguration and c) tomcat configuration. Both myself and 2 other admins have looked over the apache configuration and tomcat configuration and we believe that side of things is probably ok. That's leaves weird contention in the kernel or userland mutexes or something along those lines. Here is our current connection count on the external interface :: sockstat -4cp 80 | wc -l 997 Here is our connection count on localhost (from apache to tomcat process and vica versa) :: sockstat -4cp 8009 | wc -l 1679 And finally.top output: last pid: 57747; load averages: 0.79, 1.12, 0.87 up 153+17:56:53 18:36:57 #--snip -- PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 57460 www 960 1385M 432M ucond 0 2:44 2.88% java 57460 www 960 1385M 432M ucond 0 2:44 2.73% java 57460 www 960 1385M 432M select 0 2:44 0.15% java 57460 www 960 1385M 432M select 1 2:44 0.15% java #--snip-- The above lines repeat up to the number of threads we have. `states` are in ucond and select. Hopefully I hven't bored anyoneyet, and would appreciate any guildance. Maybe good tools for debugged kernel threads, or a simple slap in the face will do nicely. Thanks in advance, Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] List, Apologies, but I sever my head in shame as I have found the problem. In one word: KeepAlives. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring mod_jk for Apache and Tomcat
Am Tue, 19 Feb 2008 14:33:35 +1000 schrieb Da Rock [EMAIL PROTECTED]: OK. Tomcat is working- I managed to find out how to get direct access to it (had to uncomment a line in server.xml, web.xml). Still no Apache / Tomcat connector though. If I navigate to /webapps it says 404 - although this says the error comes from Apache Tomcat6. Is it the connector config I need to play with or the Tomcat? In either case, what do I need to change? I found through a search that older versions of Tomcat need to have a listener line in the server.xml. Is this true for Tomcat6? There are two separate things to do: * configure the connector in tomcats server.xml * make apache aware of tomcats contexts (how this needs to be done depends on which connector you use) here is the relevant snippet from my server.xml (works with tomcat6 and tomcat5.*): [..] Service name=Tomcat-Apache Connector address=127.0.0.1 redirectPort=8009 protocol=AJP/1.3 enableLookups=true debug=1/ Engine name=Apache defaultHost=localhost debug=3 Host name=localhost debug=0 appBase=webapps Aliassomename/Alias Context path=/a_wepapp reloadable=true docBase=/path/to/that/webapp / /Host /Engine /Service [..] for the httpd.conf and with mod_jk you need something like that: [..] JkMount /a_wepapp/* ajp13 [..] (if you have mappings in your web.xml. if you want to use the invoker servlet and skip mappings in your web.xml, you may remove the comments around that part in the tomcat/config/web.xml and use JkMount /a_wepapp/servlet/* ajp13 instead) some time ago i switched from mod_jk to apaches proxy_ajp modul (as i find it easier to maintain), the part for the httpd.conf would look like: [..] LoadModule proxy_ajp_module libexec/apache22/mod_proxy_ajp.so ProxyPass /a_wepapp ajp://127.0.0.1:8009/a_wepapp [..] HTH, reinhard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Configuring mod_jk for Apache and Tomcat
I'm trying to setup a tomcat server using Apache as the frontend. As usual, I'm having trouble (which is why I haven't bothered before, and given Tomcat apps a wide berth). Can someone let me know where I'm going wrong? I have setup inclusions in the httpd.conf file to use similar settings to other modules, etc. Therefore my worker.properties and mod_jk.conf is under /extras. I know something works because they are reflected when I navigate to /webapps on the Apache server. mod_jk.conf: # Replace jsp-hostname with the hostname of your JSP server, as # specified in workers.properties. # IfModule mod_jk.c JkWorkersFile etc/apache22/extra/workers.properties JkLogFile /var/log/jk.log JkShmFile /var/log/jk-runtime-status JkLogLevel error # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp localhost JkMount /servlet/* localhost JkMount /examples/* localhost /IfModule # Map encoded urls Location *;jsessionid= SetHandler jakarta-servlet /Location # Map subdirectory Location /webapps/ SetHandler jakarta-servlet /Location workers.properties: # Incredibly simple workers.properties file, intended for connecting # to one host, via AJP13. See the tomcat documentation for # information on more exotic configuration options. # # Change jsp-hostname to the hostname of your JSP server. # worker.list=localhost workers.tomcat_home=/usr/local/apache-tomcat6.0 workers.java_home=/usr/local/diablo-jdk1.5.0 worker.localhost.port=8009 worker.localhost.host=localhost worker.localhost.type=ajp13 worker.localhost.lbfactor=1 I figured I didn't need to worry about the setenv variable as I'm only testing currently and only need one connector atm. Any ideas why I shouldn't be seeing the index.jsp found in the Tomcat directories? I also tried navigating directly using port 8009 with no result either (And yes, Tomcat has been started- I checked the port using nmap). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring mod_jk for Apache and Tomcat
On Tue, 2008-02-19 at 10:54 +1000, Da Rock wrote: I'm trying to setup a tomcat server using Apache as the frontend. As usual, I'm having trouble (which is why I haven't bothered before, and given Tomcat apps a wide berth). Can someone let me know where I'm going wrong? I have setup inclusions in the httpd.conf file to use similar settings to other modules, etc. Therefore my worker.properties and mod_jk.conf is under /extras. I know something works because they are reflected when I navigate to /webapps on the Apache server. mod_jk.conf: # Replace jsp-hostname with the hostname of your JSP server, as # specified in workers.properties. # IfModule mod_jk.c JkWorkersFile etc/apache22/extra/workers.properties JkLogFile /var/log/jk.log JkShmFile /var/log/jk-runtime-status JkLogLevel error # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp localhost JkMount /servlet/* localhost JkMount /examples/* localhost /IfModule # Map encoded urls Location *;jsessionid= SetHandler jakarta-servlet /Location # Map subdirectory Location /webapps/ SetHandler jakarta-servlet /Location workers.properties: # Incredibly simple workers.properties file, intended for connecting # to one host, via AJP13. See the tomcat documentation for # information on more exotic configuration options. # # Change jsp-hostname to the hostname of your JSP server. # worker.list=localhost workers.tomcat_home=/usr/local/apache-tomcat6.0 workers.java_home=/usr/local/diablo-jdk1.5.0 worker.localhost.port=8009 worker.localhost.host=localhost worker.localhost.type=ajp13 worker.localhost.lbfactor=1 I figured I didn't need to worry about the setenv variable as I'm only testing currently and only need one connector atm. Any ideas why I shouldn't be seeing the index.jsp found in the Tomcat directories? I also tried navigating directly using port 8009 with no result either (And yes, Tomcat has been started- I checked the port using nmap). The two things I always screw up: permissions and DNS. If your /etc/hosts isn't set up properly, and/or hosts.conf's URL entries aren't correct, weird weird errors can happen. If something is set to 444 instead of 755 (as appropriate), other weirdnesses occur. Are you using a www user? Make sure they're added as appropriate for the file. I know *none* of this may be helpful, but I always check those and I've usually screwed one up. Otherwise, is there anything in /var/log/httpd-error? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring mod_jk for Apache and Tomcat
On Mon, 2008-02-18 at 18:07 -0700, James wrote: On Tue, 2008-02-19 at 10:54 +1000, Da Rock wrote: I'm trying to setup a tomcat server using Apache as the frontend. As usual, I'm having trouble (which is why I haven't bothered before, and given Tomcat apps a wide berth). Can someone let me know where I'm going wrong? I have setup inclusions in the httpd.conf file to use similar settings to other modules, etc. Therefore my worker.properties and mod_jk.conf is under /extras. I know something works because they are reflected when I navigate to /webapps on the Apache server. mod_jk.conf: # Replace jsp-hostname with the hostname of your JSP server, as # specified in workers.properties. # IfModule mod_jk.c JkWorkersFile etc/apache22/extra/workers.properties JkLogFile /var/log/jk.log JkShmFile /var/log/jk-runtime-status JkLogLevel error # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp localhost JkMount /servlet/* localhost JkMount /examples/* localhost /IfModule # Map encoded urls Location *;jsessionid= SetHandler jakarta-servlet /Location # Map subdirectory Location /webapps/ SetHandler jakarta-servlet /Location workers.properties: # Incredibly simple workers.properties file, intended for connecting # to one host, via AJP13. See the tomcat documentation for # information on more exotic configuration options. # # Change jsp-hostname to the hostname of your JSP server. # worker.list=localhost workers.tomcat_home=/usr/local/apache-tomcat6.0 workers.java_home=/usr/local/diablo-jdk1.5.0 worker.localhost.port=8009 worker.localhost.host=localhost worker.localhost.type=ajp13 worker.localhost.lbfactor=1 I figured I didn't need to worry about the setenv variable as I'm only testing currently and only need one connector atm. Any ideas why I shouldn't be seeing the index.jsp found in the Tomcat directories? I also tried navigating directly using port 8009 with no result either (And yes, Tomcat has been started- I checked the port using nmap). The two things I always screw up: permissions and DNS. If your /etc/hosts isn't set up properly, and/or hosts.conf's URL entries aren't correct, weird weird errors can happen. If something is set to 444 instead of 755 (as appropriate), other weirdnesses occur. Are you using a www user? Make sure they're added as appropriate for the file. I know *none* of this may be helpful, but I always check those and I've usually screwed one up. Otherwise, is there anything in /var/log/httpd-error? You could be right with that, but I think its in my setup somewhere. What shows up if I navigate to /webapps is it recognises Apache-Tomcat but gives me a 404. I can't navigate directly to Tomcat, but I'm not sure I've got it right. 8009 seems to be just for the connector, and 8443 does nothing. It appears to me that I haven't got a directory on Tomcat setup but I haven't a clue where to set it. Web.xml seems right, but then I'm not sure... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Configuring mod_jk for Apache and Tomcat
On Mon, 2008-02-18 at 19:28 -0700, James wrote: On Tue, 2008-02-19 at 11:54 +1000, Da Rock wrote: On Mon, 2008-02-18 at 18:07 -0700, James wrote: On Tue, 2008-02-19 at 10:54 +1000, Da Rock wrote: I'm trying to setup a tomcat server using Apache as the frontend. As usual, I'm having trouble (which is why I haven't bothered before, and given Tomcat apps a wide berth). Can someone let me know where I'm going wrong? I have setup inclusions in the httpd.conf file to use similar settings to other modules, etc. Therefore my worker.properties and mod_jk.conf is under /extras. I know something works because they are reflected when I navigate to /webapps on the Apache server. mod_jk.conf: # Replace jsp-hostname with the hostname of your JSP server, as # specified in workers.properties. # IfModule mod_jk.c JkWorkersFile etc/apache22/extra/workers.properties Is this line right? Shouldn't it be /etc/apache22 etc, or am I just misthinking? JkLogFile /var/log/jk.log JkShmFile /var/log/jk-runtime-status JkLogLevel error # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp localhost JkMount /servlet/* localhost JkMount /examples/* localhost /IfModule # Map encoded urls Location *;jsessionid= SetHandler jakarta-servlet /Location # Map subdirectory Location /webapps/ SetHandler jakarta-servlet /Location workers.properties: # Incredibly simple workers.properties file, intended for connecting # to one host, via AJP13. See the tomcat documentation for # information on more exotic configuration options. # # Change jsp-hostname to the hostname of your JSP server. # worker.list=localhost workers.tomcat_home=/usr/local/apache-tomcat6.0 workers.java_home=/usr/local/diablo-jdk1.5.0 worker.localhost.port=8009 worker.localhost.host=localhost worker.localhost.type=ajp13 worker.localhost.lbfactor=1 I figured I didn't need to worry about the setenv variable as I'm only testing currently and only need one connector atm. Any ideas why I shouldn't be seeing the index.jsp found in the Tomcat directories? I also tried navigating directly using port 8009 with no result either (And yes, Tomcat has been started- I checked the port using nmap). The two things I always screw up: permissions and DNS. If your /etc/hosts isn't set up properly, and/or hosts.conf's URL entries aren't correct, weird weird errors can happen. If something is set to 444 instead of 755 (as appropriate), other weirdnesses occur. Are you using a www user? Make sure they're added as appropriate for the file. I know *none* of this may be helpful, but I always check those and I've usually screwed one up. Otherwise, is there anything in /var/log/httpd-error? You could be right with that, but I think its in my setup somewhere. What shows up if I navigate to /webapps is it recognises Apache-Tomcat but gives me a 404. I can't navigate directly to Tomcat, but I'm not sure I've got it right. 8009 seems to be just for the connector, and 8443 does nothing. It appears to me that I haven't got a directory on Tomcat setup but I haven't a clue where to set it. Web.xml seems right, but then I'm not sure... OK. Tomcat is working- I managed to find out how to get direct access to it (had to uncomment a line in server.xml, web.xml). Still no Apache / Tomcat connector though. If I navigate to /webapps it says 404 - although this says the error comes from Apache Tomcat6. Is it the connector config I need to play with or the Tomcat? In either case, what do I need to change? I found through a search that older versions of Tomcat need to have a listener line in the server.xml. Is this true for Tomcat6? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD Tomcat
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Rambius Ivanov Sent: Friday, 28 September 2007 1:50 PM To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Tomcat Hello, On 9/28/07, Byung-Hee HWANG [EMAIL PROTECTED] wrote: In this case I think you are better to use Linux than to use FreeBSD because still it's difficult to operate Java stuff on FreeBSD. So I recommend that you should move to Linux. Actually nowadays it is easy to use java and tomcat on freebsd. First one has to install a JDK. I myself prefer diablo-jdk. Go to /usr/ports/java/diablo-jdk15, type make install and follow the instructions. Due to java licenses you have to manually fetch some files from internet and put them in /usr/ports/distfiles. If you are required to use sun jdk, you can install it from java/jdk15. Note that it will need an existing jdk to bootstrap. By default it uses linux-sun-jdk and I had problems with it in the past. In this case I used diablo-jdk and sun jdk15 installed correctly. From my experinece, however, I can tell that tomcat runs fine with diablo-jdk. Next go to /usr/ports/www/tomcat55/ and install it and you have java and tomcat. I/You/He/She/We love FreeBSD, though;; Oh yes, we loves FreeBSD, don't we, my precious? Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank you for the replies. I installed linux-sun-jdk, tomcat and mod_jk (tomcat apache connector) from ports. It seesm to work, but I have not have it tested in the production environment by the developers. Would you mind explaining the difference between sun-jdk and diablo jdk? Kind regards, Yance Check out the hottest 2008 models today at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Hello, On 9/28/07, John Nielsen [EMAIL PROTECTED] wrote: This is not correct. The Java packages available from the FreeBSD Foundation are based on the same codebase as any other 1.5 JDK or JRE from Sun. Thank you for correcting me. I was not (fully) aware of this fact. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Hello On 9/28/07, Yance Kowara [EMAIL PROTECTED] wrote: Would you mind explaining the difference between sun-jdk and diablo jdk? From the point of view of the end user or even the Java programmer there is no differences - both jdk's offer the same public APIs, compilers, runtime environments, etc. The differences are in the internal implementaions. Sun JDK is developed by Sun Microsystem. They officially offer binary downloads for Windows, Solaris and Linux, as well the source code (for their JDK). A FreeBSD port for Sun JDK does exists, but it is not made by Sun. Take a look at that page: http://www.freebsd.org/java/ Diablo JDK (I think) is another implementation of JDK - see http://freebsdfoundation.org/downloads/java.shtml. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Quoting Ivan \Rambius\ Ivanov [EMAIL PROTECTED]: On 9/28/07, Yance Kowara [EMAIL PROTECTED] wrote: Would you mind explaining the difference between sun-jdk and diablo jdk? From the point of view of the end user or even the Java programmer there is no differences - both jdk's offer the same public APIs, compilers, runtime environments, etc. The differences are in the internal implementaions. Sun JDK is developed by Sun Microsystem. They officially offer binary downloads for Windows, Solaris and Linux, as well the source code (for their JDK). A FreeBSD port for Sun JDK does exists, but it is not made by Sun. Take a look at that page: http://www.freebsd.org/java/ Diablo JDK (I think) is another implementation of JDK - see http://freebsdfoundation.org/downloads/java.shtml. This is not correct. The Java packages available from the FreeBSD Foundation are based on the same codebase as any other 1.5 JDK or JRE from Sun. The difference is that they are available as certified binary packages. See the original announcement for all the details: http://freebsdfoundation.org/press/20060405-PRrelease.shtml then consider donating to the Foundation to support ongoing and future porting and certification work for Java on FreeBSD. JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
On Fri, Sep 28, 2007 at 07:14:33AM -0700, Yance Kowara wrote: [...] Thank you for the replies. I installed linux-sun-jdk, tomcat and mod_jk (tomcat apache connector) from ports. It seesm to work, but I have not have it tested in the production environment by the developers. I suggest that you use the native jdk instead (which you can bootstrap build with the linux-sun-jdk). The linux-sun-jdk has various issues running correctly on FreeBSD; check the java-mailing archives. The native jdk removes the requirement of yet another layer of software to run (ie the linuxalator), and simplifies debugging. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- Irrationality is the square root of all evil - Douglas Hofstadter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
On Wed, 2007-09-26 at 21:30 -0700, Yance Kowara wrote: [...snip...] Many of the docs pointed out the need to switch onLinux emulation option in the kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is it now handled by KLDload? Attached is pkg_info output. I tried installingeverything from ports collection. Any missing software? In this case I think you are better to use Linux than to use FreeBSD because still it's difficult to operate Java stuff on FreeBSD. So I recommend that you should move to Linux. I/You/He/She/We love FreeBSD, though;; Byung-Hee ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Tomcat
Hello, On 9/28/07, Byung-Hee HWANG [EMAIL PROTECTED] wrote: In this case I think you are better to use Linux than to use FreeBSD because still it's difficult to operate Java stuff on FreeBSD. So I recommend that you should move to Linux. Actually nowadays it is easy to use java and tomcat on freebsd. First one has to install a JDK. I myself prefer diablo-jdk. Go to /usr/ports/java/diablo-jdk15, type make install and follow the instructions. Due to java licenses you have to manually fetch some files from internet and put them in /usr/ports/distfiles. If you are required to use sun jdk, you can install it from java/jdk15. Note that it will need an existing jdk to bootstrap. By default it uses linux-sun-jdk and I had problems with it in the past. In this case I used diablo-jdk and sun jdk15 installed correctly. From my experinece, however, I can tell that tomcat runs fine with diablo-jdk. Next go to /usr/ports/www/tomcat55/ and install it and you have java and tomcat. I/You/He/She/We love FreeBSD, though;; Oh yes, we loves FreeBSD, don't we, my precious? Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Tomcat
Hi All, A web and database developer requested me to build atomcat server. Is there any good integrated doco on FreeBSD andTomcat? All I get when I googled it is old docs on JDK 1.3(e.g. http://www.osnews.com/story.php/3558/Deploying-Apache-Tomcat-on-FreeBSD/)and http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/article.html Many of the docs pointed out the need to switch onLinux emulation option in the kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is it now handled by KLDload? Attached is pkg_info output. I tried installingeverything from ports collection. Any missing software? I am now reading on Apache Tomcat connector. Is itstill necessary to install it? Kind regards, Yance - Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!apache-2.2.6_1 Version 2.2 of Apache web server with prefork MPM. apache-ant-1.7.0_1 Java- and XML-based build tool, conceptually similar to mak autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms autoconf-2.59_3 Automatically configure source code on many Un*x platforms autoconf-2.61_2 Automatically configure source code on many Un*x platforms autoconf-wrapper-20070404 Wrapper script for GNU autoconf automake-1.4.6_4GNU Standards-compliant Makefile generator (1.4) automake-wrapper-20070404 Wrapper script for GNU automake bash-3.1.10_1 The GNU Project's Bourne Again SHell expat-2.0.0_1 XML 1.0 parser written in C gettext-0.14.5_2GNU gettext package gmake-3.80_2GNU version of 'make' utility help2man-1.36.4_1 Automatically generating simple manual pages from program o jakarta-tomcat-5.0.30_6 Open-source Java web server by Apache, 5.0.x branch javavmwrapper-2.3 Wrapper script for various Java Virtual Machines libiconv-1.9.2_2A character set conversion library libtool-1.5.22_4Generic shared library support script linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-sun-jdk-1.5.0.12,2 Sun Java Development Kit 1.5 for Linux linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64) m4-1.4.9GNU m4 p5-gettext-1.05_1 Message handling functions perl-5.8.8 Practical Extraction and Report Language popt-1.7_4 A getopt(3) like library with a number of enhancements, fro rpm-3.0.6_13The Red Hat Package Manager wget-1.10.2 Retrieve files from the Net via HTTP and FTP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd Tomcat
Hi All, A web and database developer requested me to build atomcat server. Is there any good integrated doco on FreeBSD andTomcat? All I get when I googled it is old docs on JDK 1.3(e.g. http://www.osnews.com/story.php/3558/Deploying-Apache-Tomcat-on-FreeBSD/)and http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/article.html Many of the docs pointed out the need to switch onLinux emulation option in the kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is it now handled by KLDload? Attached is pkg_info output. I tried installingeverything from ports collection. Any missing software? I am now reading on Apache Tomcat connector. Is itstill necessary to install it? Kind regards, Yance - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.apache-2.2.6_1 Version 2.2 of Apache web server with prefork MPM. apache-ant-1.7.0_1 Java- and XML-based build tool, conceptually similar to mak autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms autoconf-2.59_3 Automatically configure source code on many Un*x platforms autoconf-2.61_2 Automatically configure source code on many Un*x platforms autoconf-wrapper-20070404 Wrapper script for GNU autoconf automake-1.4.6_4GNU Standards-compliant Makefile generator (1.4) automake-wrapper-20070404 Wrapper script for GNU automake bash-3.1.10_1 The GNU Project's Bourne Again SHell expat-2.0.0_1 XML 1.0 parser written in C gettext-0.14.5_2GNU gettext package gmake-3.80_2GNU version of 'make' utility help2man-1.36.4_1 Automatically generating simple manual pages from program o jakarta-tomcat-5.0.30_6 Open-source Java web server by Apache, 5.0.x branch javavmwrapper-2.3 Wrapper script for various Java Virtual Machines libiconv-1.9.2_2A character set conversion library libtool-1.5.22_4Generic shared library support script linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-sun-jdk-1.5.0.12,2 Sun Java Development Kit 1.5 for Linux linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64) m4-1.4.9GNU m4 p5-gettext-1.05_1 Message handling functions perl-5.8.8 Practical Extraction and Report Language popt-1.7_4 A getopt(3) like library with a number of enhancements, fro rpm-3.0.6_13The Red Hat Package Manager wget-1.10.2 Retrieve files from the Net via HTTP and FTP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd Tomcat
-- Original message -- From: Yance Kowara [EMAIL PROTECTED] Hi All, A web and database developer requested me to build atomcat server. Is there any good integrated doco on FreeBSD andTomcat? All I get when I googled it is old docs on JDK 1.3(e.g. http://www.osnews.com/story.php/3558/Deploying-Apache-Tomcat-on-FreeBSD/)and http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/article.html Many of the docs pointed out the need to switch onLinux emulation option in the kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is it now handled by KLDload? Attached is pkg_info output. I tried installingeverything from ports collection. Any missing software? I am now reading on Apache Tomcat connector. Is itstill necessary to install it? Kind regards, Yance We use the diablo-jdk15 and tomcat 4.1 or 5.5 with postgres 8.1, all from ports. I'm not a web developer or DB guy, but that seems to suffice for us. ---BeginMessage--- apache-2.2.6_1 Version 2.2 of Apache web server with prefork MPM. apache-ant-1.7.0_1 Java- and XML-based build tool, conceptually similar to mak autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms autoconf-2.59_3 Automatically configure source code on many Un*x platforms autoconf-2.61_2 Automatically configure source code on many Un*x platforms autoconf-wrapper-20070404 Wrapper script for GNU autoconf automake-1.4.6_4GNU Standards-compliant Makefile generator (1.4) automake-wrapper-20070404 Wrapper script for GNU automake bash-3.1.10_1 The GNU Project's Bourne Again SHell expat-2.0.0_1 XML 1.0 parser written in C gettext-0.14.5_2GNU gettext package gmake-3.80_2GNU version of 'make' utility help2man-1.36.4_1 Automatically generating simple manual pages from program o jakarta-tomcat-5.0.30_6 Open-source Java web server by Apache, 5.0.x branch javavmwrapper-2.3 Wrapper script for various Java Virtual Machines libiconv-1.9.2_2A character set conversion library libtool-1.5.22_4Generic shared library support script linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig linux-sun-jdk-1.5.0.12,2 Sun Java Development Kit 1.5 for Linux linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries linux_base-fc-4_10 Base set of packages needed in Linux mode (for i386/amd64) m4-1.4.9GNU m4 p5-gettext-1.05_1 Message handling functions perl-5.8.8 Practical Extraction and Report Language popt-1.7_4 A getopt(3) like library with a number of enhancements, fro rpm-3.0.6_13The Red Hat Package Manager wget-1.10.2 Retrieve files from the Net via HTTP and FTP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]---End Message--- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd Tomcat
On Tue, 25 Sep 2007 06:23:17 -0700 (PDT) Yance Kowara [EMAIL PROTECTED] wrote: Hi All, A web and database developer requested me to build atomcat server. Is there any good integrated doco on FreeBSD andTomcat? All I get when I googled it is old docs on JDK 1.3(e.g. http://www.osnews.com/story.php/3558/Deploying-Apache-Tomcat-on-FreeBSD/)and http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/article.html Many of the docs pointed out the need to switch onLinux emulation option in the kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is it now handled by KLDload? Attached is pkg_info output. I tried installingeverything from ports collection. Any missing software? I am now reading on Apache Tomcat connector. Is itstill necessary to install it? I use - Diablo JDK 1.5 - JDK 1.6 - Tomcat 5.5 - PostgreSQL 8.2 - PL/Java 1.3.1 for development and had no problems so far. Bahman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tomcat 5.5 installation
Hi, I have installed Tomcat 5.5.23_1 on FreeBSD 6.2. I have used Servlets a lot in the past but have not used ant. I am now trying to get this development environment to work. Following the basic portinstall of Tomcat on FreeBSD I did the following: 1. sudo cp /usr/local/tomcat5.5/server/lib/catalina-ant.jar /usr/local/share/java/apache-ant/lib 2. Made a sample project 3. set manager url in build.xml property name=manager.url value=http://localhost:8180/manager/ 4. Chnage permissions in tomcat cd /usr/local/tomcat5.5] sudo chown -R www webapps Once this was done I was able to compile the project and install it using: ant ant install I did notice that it created a new directory in webapps with the new application. So far so good. If I try to install it again I get an error stating that it is already installed. Again, so far so good. The problem that I have is if I make changes to the project and reload the application using ant reload I get the following output: reload: [reload] OK - Reloaded application at context path /hello This looks ok. However, when I run it, the changes to the project do not show up. If I look into the directory under webapps, the changes have not been moved over. I have to manually copy the contents from my build to webapps under tomcat. What I am doing wrong. I am sure that it is someting simple but do not seem to figure it out. Thanks, Arend ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache+tomcat and helix server
Hi! I am experiencing something very strange, that I don't even know how to debug. We run apache+mod_ssl-1.3.34+2.8.25_2, jakarta-tomcat-5.0.30 and mod_jk-1.2.15,1 on FreeBSD 6.1-amd64, and it is really rock stable. Now, into this picture comes a helix server (aka Real server, real media server). Support for FreeBSD is rather poor, so we run an old binary, version 10.1.1.66 built for FreeBSD 5.x-x86 (SERVER_10_1_STABLE branch, https://helix-server.helixcommunity.org/2005/devdocs/builds) With it comes the problems. When the helix server is running, the apache-mod_jk-tomcat connection (tcp/ip on localhost using the AJP13 protocol, btw) gets into trouble, resulting in error 500 to the user fetching the web page. At first I thought the system was somehow exhausted of resources, but no other logs complain about that. The mod_jk log reports: [Mon Jan 08 15:12:43 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=tomcat failed [Mon Jan 08 15:12:43 2007] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:8008), err=-54 [Mon Jan 08 15:12:43 2007] [error] ajp_get_reply::jk_ajp_common.c (1503): Tomcat is down or refused connection. No response has been sent to the client (yet) Has anyone seen anything like this before. Is anyone running the helix server on FreeBSD? Regards, Palle Girgensohn [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 6.2/AMD64: supports TYAN Tomcat n3400B motherboard?
Dear Sirs. For building a server system I would like to use the TYAN Tomcat n3400B motherboard (TYAN S2925G2NR). As far as I know, this motherboard utilises the nVidia nForce 3400 chipset which is similar, or even identical to the new nForce5XX chipsets introduced shortly. The main question is: will FreeBSD 6.2/amd64 work with this board? I need especially both NICs and the SATA-II RAID-0/Mirroring facilities. Thank you very much for your comments. Regards, Oliver -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2/AMD64: supports TYAN Tomcat n3400B motherboard?
On 2006/12/13 4:47, O. Hartmann seems to have typed: TYAN Tomcat n3400B motherboard (TYAN S2925G2NR). [snip] The main question is: will FreeBSD 6.2/amd64 work with this board? I don't see it on the list of tested motherboards. If compatibility is really important to you, check the list: http://www.freebsd.org/platforms/amd64/motherboards.html It may work, it may not. Just because its not on the list, doesn't mean that it won't work, it just hasn't been tested. OTOH, it may not be on the list because it doesn't work. Just from skimming the list, it seems that many nVidia chipsets have issues with their ethernet controller. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2/AMD64: supports TYAN Tomcat n3400B motherboard?
On 12/13/06, Peter A. Giessel [EMAIL PROTECTED] wrote: On 2006/12/13 4:47, O. Hartmann seems to have typed: TYAN Tomcat n3400B motherboard (TYAN S2925G2NR). [snip] The main question is: will FreeBSD 6.2/amd64 work with this board? I don't see it on the list of tested motherboards. If compatibility is really important to you, check the list: http://www.freebsd.org/platforms/amd64/motherboards.html It may work, it may not. Just because its not on the list, doesn't mean that it won't work, it just hasn't been tested. OTOH, it may not be on the list because it doesn't work. Just from skimming the list, it seems that many nVidia chipsets have issues with their ethernet controller. ___ If this is the case than why not include a Doesn't Work list as well? That would stop the guessing on whether it doesn't work or hasn't been tested. If hardware doesn't appear on the It Works nor the Doesn't Work lists, than one can assume that it hasn't been tested. This could save a lot of headaches (and $$$). Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.2/AMD64: supports TYAN Tomcat n3400B motherboard?
On 2006/12/13 8:31, Chad Gross seems to have typed: If this is the case than why not include a Doesn't Work list as well? That would stop the guessing on whether it doesn't work or hasn't been tested. If hardware doesn't appear on the It Works nor the Doesn't Work lists, than one can assume that it hasn't been tested. This could save a lot of headaches (and $$$). Because it relies on user input. Someone may have tried it and just gave up instead of filing a PR. Read the list, there are a lot that say things like Stops booting while accessing the SATA drives. Problems with on-board ethernet. or Random freezes with onboard SATA controller, SATA-RAID not recognized. Onboard ethernet not recognized. AGP not recognized. That sounds like a doesn't work to me, however if the user just gives up, nothing is going to be reported. P.S. cross-posting two lists is bad form. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tomcat script
Hi list, The tomcat 5.5 script isn't working on free 6. I need to make a reboot on the machine to restart the tomcat. Help me, please. Aguiar __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tomcat script.
Hi list, The tomcat 5.5 script isn't working on free 6. I need to make a reboot on the machine to restart the tomcat. Help me, please. Aguiar This is a known issue with the rc.subr(5) file. Here's the fix: [EMAIL PROTECTED] logs {513}$ rcsdiff -r1.1 /etc/rc.subr === RCS file: /etc/rc.subr,v retrieving revision 1.1 diff -r1.1 /etc/rc.subr 3c3,12 # $Id: rc.subr,v 1.1 2006/04/21 18:25:56 drobilla Exp $ --- # $Id: rc.subr,v 1.2 2006/04/21 18:32:32 drobilla Exp $ # # Fixed for tomcat55.sh which was not working. See: # http://docs.freebsd.org/cgi/getmsg.cgi?fetch=85433+0+archive/2006/freebsd-java/20060219.freebsd-java # Bad original line: $_procname|$_procnamebn|${_procnamebn}:|(${_procnamebn}))' 271c280 $_procname|$_procnamebn|${_procnamebn}:|(${_procnamebn}))' --- $_procname|$_procnamebn|${_procnamebn}:|(${_procnamebn})|[${_procnamebn}])' Regards, David -- David Robillard [EMAIL PROTECTED] Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tomcat start/stop
Hi When I use tomcat_enable in my rc.conf, how do I start and stop my tmcat server so I can test my jsp pages? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java and tomcat
Martin, this 'how to' isn't working... It isn't up to date, some downloads doesn't exist What can I do ? The java page on the FreeBSD server is for an old version of Tomcat and Java. To get Tomcat 5.5 running, try this instead. Note that if you don't have porteasy(1), just install it: sudo pkg_add -rv porteasy # Change your Kernel configuration with this line: options COMPAT_LINUX # Rebuilt, install, reboot, as always... # Hint: Make sure you update your src tree with the latest sources from # your favorite cvsup mirror :) # Install the linux binary compatibility. sudo porteasy -uv emulators/linux_base-rh-9 cd /usr/ports/emulators/linux_base-rh-9 sudo make install clean # Make sure the /compat/linux/proc file system is mounted at each reboot. # Edit fstab(5) and add this line: linproc /compat/linux/proc linprocfs rw 0 0 # Check that it works by rebooting. sudo init 6 # Install port java/tomcat5.5 and follow instructions as they appear when you run make. sudo porteasy -uv www/tomcat55 cd /usr/ports/www/tomcat55 sudo make # Follow what will be printed. Basically, what you need to do is download # java from sun's website and place the file inside your ports tree. # It's super easy from there. Good luck, David --- Martin Hepworth [EMAIL PROTECTED] escreveu: Hi there's an excellant 'how to' here... http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/ -- Martin On 3/22/06, Aguiar Magalhaes [EMAIL PROTECTED] wrote: Hi list, I´d like to install java (virtual machine) and tomcat on the freebsd 6.0.. Are they full compatible ?? Are they in ports ?? Help me please, Aguiar -- David Robillard UNIX systems administrator, CISSP Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java and tomcat
Martin, this 'how to' isn't working... It isn't up to date, some downloads doesn't exist What can I do ? Aguiar --- Martin Hepworth [EMAIL PROTECTED] escreveu: Hi there's an excellant 'how to' here... http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/ -- Martin On 3/22/06, Aguiar Magalhaes [EMAIL PROTECTED] wrote: Hi list, I´d like to install java (virtual machine) and tomcat on the freebsd 6.0.. Are they full compatible ?? Are they in ports ?? Help me please, Aguiar ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java and tomcat
On Wed, 22 Mar 2006, eoghan wrote: Aguiar Magalhaes wrote: Hi list, I´d like to install java (virtual machine) and tomcat on the freebsd 6.0.. Are they full compatible ?? Are they in ports ?? Help me please, Aguiar Hi Tomcat is: /usr/ports/www/tomcat55 and there's detailed info on Java here: http://www.freebsd.org/java/ Hope that helps... Eoghan There are at least a couple of ways to find out if a thing is in ports. To look for foobar, you could: $ cd /usr/ports $ make search key=foobar ...or go to http://www.freebsd.org/ports/index.html and type your search term into the box. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ]___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java and tomcat
Hi there's an excellant 'how to' here... http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/ -- Martin On 3/22/06, Aguiar Magalhaes [EMAIL PROTECTED] wrote: Hi list, I´d like to install java (virtual machine) and tomcat on the freebsd 6.0.. Are they full compatible ?? Are they in ports ?? Help me please, Aguiar ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Java and tomcat
Hi list, I´d like to install java (virtual machine) and tomcat on the freebsd 6.0.. Are they full compatible ?? Are they in ports ?? Help me please, Aguiar ___ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java and tomcat
Aguiar Magalhaes wrote: Hi list, I´d like to install java (virtual machine) and tomcat on the freebsd 6.0.. Are they full compatible ?? Are they in ports ?? Help me please, Aguiar Hi Tomcat is: /usr/ports/www/tomcat55 and there's detailed info on Java here: http://www.freebsd.org/java/ Hope that helps... Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
On Monday 13 March 2006 21:21, eoghan wrote: Yes, that was correct. It says it starting at boot. Do i still need to run: /usr/local/etc/rc.d/tomcat55.sh start? When I do this is says: Starting tomcat55 So I go to localhost to check and it is still not working... Any ideas? Thanks Eoghan Sorry my fault for confusing you with tomcat_enable :) Tomcat normally runs on port 8180, did you try http://localhost:8180/ ? Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
Ashley Moran wrote: On Monday 13 March 2006 21:21, eoghan wrote: Yes, that was correct. It says it starting at boot. Do i still need to run: /usr/local/etc/rc.d/tomcat55.sh start? When I do this is says: Starting tomcat55 So I go to localhost to check and it is still not working... Any ideas? Thanks Eoghan Sorry my fault for confusing you with tomcat_enable :) Tomcat normally runs on port 8180, did you try http://localhost:8180/ ? Ashley Hi Ashley Yes I tried that port also, and it did not work. Is there a log file I can check out and maybe post details of? I know where the normal tomcat logs are, but since im starting it from /usr/local/etc/rc.d/ does it log somewhere else? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
Ashley Moran wrote: On Wednesday 08 March 2006 21:48, eoghan wrote: Bosch Rogier wrote: I think its port 8180 (by default). Goodluck, TC Ok, 8180 worked. But when i run ./startup.sh (as root) it seems to work, once only. If i run it again, it works again, once. I can view the tomcat default page, but have to keep running the startup script. # ./startup.sh Using CATALINA_BASE: /usr/local/tomvat5.5 Using CATALINA_HOME: /usr/local/tomvat5.5 Using CATALINA_TMPDIR: /usr/local/tomvat5.5/temp Using JRE_HOME: /usr/local/jdk1.4.2 # So is there some way I can keep it running? Seems very strange I have to keep running the startup script... Can anyone help? Thanks Eoghan ___ Have you got tomcat55_enable=YES in /etc/rc.conf? You should really use the /usr/local/etc/rc.d/tomcat55.sh script to start and stop tomcat. Only works with the above line though. Ashley Hi Nope I dont have that. I did try run /usr/local/etc/rc.d/tomcat55.sh to start it but without having added tomcat_enable=YES to my rc.conf. Nothing happened. So I will add that line and try it again... Thanks for the info. Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
On Wednesday 08 March 2006 21:48, eoghan wrote: Bosch Rogier wrote: I think its port 8180 (by default). Goodluck, TC Ok, 8180 worked. But when i run ./startup.sh (as root) it seems to work, once only. If i run it again, it works again, once. I can view the tomcat default page, but have to keep running the startup script. # ./startup.sh Using CATALINA_BASE: /usr/local/tomvat5.5 Using CATALINA_HOME: /usr/local/tomvat5.5 Using CATALINA_TMPDIR: /usr/local/tomvat5.5/temp Using JRE_HOME: /usr/local/jdk1.4.2 # So is there some way I can keep it running? Seems very strange I have to keep running the startup script... Can anyone help? Thanks Eoghan ___ Have you got tomcat55_enable=YES in /etc/rc.conf? You should really use the /usr/local/etc/rc.d/tomcat55.sh script to start and stop tomcat. Only works with the above line though. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
Hi Nope I dont have that. I did try run /usr/local/etc/rc.d/tomcat55.sh to start it but without having added tomcat_enable=YES to my rc.conf. Nothing happened. So I will add that line and try it again... Thanks for the info. Eoghan All the rc.d scripts work the same - they check to see if they are enabled (from the script's point of view, when you call them manually it's no different than being called at boot time). You can also call /usr/local/etc/rc.d/tomcat55.sh with force/one before the start to make it run without the rc.conf variable but I've never actually used them) Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
Lowell Gilbert wrote: eoghan [EMAIL PROTECTED] writes: Ashley Moran wrote: Hi Nope I dont have that. I did try run /usr/local/etc/rc.d/tomcat55.sh to start it but without having added tomcat_enable=YES to my rc.conf. Nothing happened. So I will add that line and try it again... Thanks for the info. Eoghan All the rc.d scripts work the same - they check to see if they are enabled (from the script's point of view, when you call them manually it's no different than being called at boot time). You can also call /usr/local/etc/rc.d/tomcat55.sh with force/one before the start to make it run without the rc.conf variable but I've never actually used them) Ashley Thanks I have added tomcat_enable=YES to my rc.conf. When I try run /usr/local/etc/rc.d/tomcat55.sh start it just does not seem to do anything. Is there something I am missing? Look at the top of that script file. Perhaps you want tomcat55_enable for the variable name? Yes, that was correct. It says it starting at boot. Do i still need to run: /usr/local/etc/rc.d/tomcat55.sh start? When I do this is says: Starting tomcat55 So I go to localhost to check and it is still not working... Any ideas? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
eoghan [EMAIL PROTECTED] writes: Ashley Moran wrote: Hi Nope I dont have that. I did try run /usr/local/etc/rc.d/tomcat55.sh to start it but without having added tomcat_enable=YES to my rc.conf. Nothing happened. So I will add that line and try it again... Thanks for the info. Eoghan All the rc.d scripts work the same - they check to see if they are enabled (from the script's point of view, when you call them manually it's no different than being called at boot time). You can also call /usr/local/etc/rc.d/tomcat55.sh with force/one before the start to make it run without the rc.conf variable but I've never actually used them) Ashley Thanks I have added tomcat_enable=YES to my rc.conf. When I try run /usr/local/etc/rc.d/tomcat55.sh start it just does not seem to do anything. Is there something I am missing? Look at the top of that script file. Perhaps you want tomcat55_enable for the variable name? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
Ashley Moran wrote: Hi Nope I dont have that. I did try run /usr/local/etc/rc.d/tomcat55.sh to start it but without having added tomcat_enable=YES to my rc.conf. Nothing happened. So I will add that line and try it again... Thanks for the info. Eoghan All the rc.d scripts work the same - they check to see if they are enabled (from the script's point of view, when you call them manually it's no different than being called at boot time). You can also call /usr/local/etc/rc.d/tomcat55.sh with force/one before the start to make it run without the rc.conf variable but I've never actually used them) Ashley Thanks I have added tomcat_enable=YES to my rc.conf. When I try run /usr/local/etc/rc.d/tomcat55.sh start it just does not seem to do anything. Is there something I am missing? I type the command (as root) hit enter and it just goes to the next prompt line. Tried to go to localhost:8080 (and 8180) but nothing. Is there somewhere I can check to find out what is going wrong? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tomcat on freebsd
Hi I have installed tomcat 5.5 from ports without problems and consulted the freebsd docs on it: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x159.html It seems to start fine, at least it deosnt show any errors... but when i try to go to: http://127.0.0.1:8080 i am unable to connect. I checked the logs in /usr/local/tomcat5.5/logs at both catalina and localhost but I cant really make out what I am meant to be seeing as a problem. Its the first time I have used tomcat. I have pasted the contents of the catalina log below, could anyone let me know where I am going wrong? Thanks Mar 8, 2006 8:45:49 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.4.2/jre/lib/i386/client:/usr/local/jdk1.4.2/jre/lib/i386:/usr/local/jdk1.4.2/jre/../lib/i386:/usr/lib:/usr/local/lib Mar 8, 2006 8:45:50 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8180 Mar 8, 2006 8:45:50 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2770 ms Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.12 Mar 8, 2006 8:45:50 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Mar 8, 2006 8:45:56 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8180 Mar 8, 2006 8:45:57 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Mar 8, 2006 8:45:57 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/451 config=null Mar 8, 2006 8:45:57 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Mar 8, 2006 8:45:57 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 7739 ms Mar 8, 2006 8:45:57 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: create[8005]: java.net.BindException: Can't assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:318) at java.net.ServerSocket.init(ServerSocket.java:185) at org.apache.catalina.core.StandardServer.await(StandardServer.java:343) at org.apache.catalina.startup.Catalina.await(Catalina.java:600) at org.apache.catalina.startup.Catalina.start(Catalina.java:560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Mar 8, 2006 8:45:57 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8180 Mar 8, 2006 8:45:57 PM org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java.net.NoRouteToHostException: Can't assign requested address at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.init(Socket.java:309) at java.net.Socket.init(Socket.java:153) at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:463) at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:270) at org.apache.jk.server.JkMain.pause(JkMain.java:679) at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:162) at org.apache.catalina.connector.Connector.pause(Connector.java:1031) at org.apache.catalina.core.StandardService.stop(StandardService.java:491) at org.apache.catalina.core.StandardServer.stop(StandardServer.java:714) at org.apache.catalina.startup.Catalina.stop(Catalina.java:586) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:629) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freebsd
Bosch Rogier wrote: I think its port 8180 (by default). Goodluck, TC Ok, 8180 worked. But when i run ./startup.sh (as root) it seems to work, once only. If i run it again, it works again, once. I can view the tomcat default page, but have to keep running the startup script. # ./startup.sh Using CATALINA_BASE: /usr/local/tomvat5.5 Using CATALINA_HOME: /usr/local/tomvat5.5 Using CATALINA_TMPDIR: /usr/local/tomvat5.5/temp Using JRE_HOME: /usr/local/jdk1.4.2 # So is there some way I can keep it running? Seems very strange I have to keep running the startup script... Can anyone help? Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More tomcat wierdness
sh -x /usr/local/etc/rc.d/tomcat55.sh stop may shed some light. Ceri On Monday 13 February 2006 15:50, Ceri Davies wrote: sh -x /usr/local/etc/rc.d/tomcat55.sh stop may shed some light. Thanks for the -x tip... unfortunately the output is very long, and I don't have time to study the rc scripts right now as my company's servers are randomly exploding. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
More tomcat wierdness
I've reinstalled Tomcat (now in www/tomcat55) because it was going mental (100% CPU) and now the stop/start isn't working through the rc.d script. Tomcat starts and records the PID in /var/run/tomcat55.pid. But when I call the script with stop I get an error saying tomcat not started? check pid file, or something to that effect. [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid drwxr-xr-x 5 root wheel 512 Feb 13 12:10 /var/run/. -rw-r--r-- 1 www wheel6 Feb 13 12:22 /var/run/tomcat55.pid It worked fine when it was running off the old www/jakarta-tomcat55 port - I don't know if anything has changed. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More tomcat wierdness
On 13 Feb 2006, at 13:00, Ashley Moran wrote: I've reinstalled Tomcat (now in www/tomcat55) because it was going mental (100% CPU) and now the stop/start isn't working through the rc.d script. Tomcat starts and records the PID in /var/run/tomcat55.pid. But when I call the script with stop I get an error saying tomcat not started? check pid file, or something to that effect. [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid drwxr-xr-x 5 root wheel 512 Feb 13 12:10 /var/run/. -rw-r--r-- 1 www wheel6 Feb 13 12:22 /var/run/tomcat55.pid It worked fine when it was running off the old www/jakarta-tomcat55 port - I don't know if anything has changed. sh -x /usr/local/etc/rc.d/tomcat55.sh stop may shed some light. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere PGP.sig Description: This is a digitally signed message part
Re: More tomcat wierdness
Ashley Moran [EMAIL PROTECTED] writes: I've reinstalled Tomcat (now in www/tomcat55) because it was going mental (100% CPU) and now the stop/start isn't working through the rc.d script. Tomcat starts and records the PID in /var/run/tomcat55.pid. But when I call the script with stop I get an error saying tomcat not started? check pid file, or something to that effect. [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid drwxr-xr-x 5 root wheel 512 Feb 13 12:10 /var/run/. -rw-r--r-- 1 www wheel6 Feb 13 12:22 /var/run/tomcat55.pid It worked fine when it was running off the old www/jakarta-tomcat55 port - I don't know if anything has changed. Maybe these are the changes in the UPDATING file? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: More tomcat wierdness
On Mon, Feb 13, 2006 at 01:00:37PM +, Ashley Moran wrote: I've reinstalled Tomcat (now in www/tomcat55) because it was going mental (100% CPU) and now the stop/start isn't working through the rc.d script. Tomcat starts and records the PID in /var/run/tomcat55.pid. But when I call the script with stop I get an error saying tomcat not started? check pid file, or something to that effect. [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid drwxr-xr-x 5 root wheel 512 Feb 13 12:10 /var/run/. -rw-r--r-- 1 www wheel6 Feb 13 12:22 /var/run/tomcat55.pid It worked fine when it was running off the old www/jakarta-tomcat55 port - I don't know if anything has changed. There were several changes relating to the use of rc-scripts over the `old-way' of tomcatctl binaries. I suggest you Cc: the maintainer of the project. -- Jonathan Chen [EMAIL PROTECTED] -- Beer. Now there's a temporary solution. - Homer Simpson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tomcat + apache + java
Can anyone point me to a surefire how-to to get tomcat java apache running on a FreeBSD 5.3R box. Here are the current setup. OS : FreeBSD 5.3R Apache 2.0.50 Tomcat 5.0.28 mod_jk - seems to be 1.2.5 java - jdk1.4.2 Thanks, Ed This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat + apache + java
On 11/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone point me to a surefire how-to to get tomcat java apache running on a FreeBSD 5.3R box. Start here. http://www.freebsd.org/java/ It worked for me. JDK 1.4.2 and Tomcat 5.5.9. I haven't set up mod_jk yet, I'm just using ProxyPass from apache. Mike Here are the current setup. OS : FreeBSD 5.3R Apache 2.0.50 Tomcat 5.0.28 mod_jk - seems to be 1.2.5 java - jdk1.4.2 Thanks, Ed This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Michael P. Soulier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat + apache + java
[EMAIL PROTECTED] wrote: Can anyone point me to a surefire how-to to get tomcat java apache running on a FreeBSD 5.3R box. Here are the current setup. OS : FreeBSD 5.3R Apache 2.0.50 Tomcat 5.0.28 mod_jk - seems to be 1.2.5 java - jdk1.4.2 Thanks, Ed Your best off using mod_proxy to connect tomcat and apache2 especially since your after a sure fire way. I also assume because your using Java your after performance, so you the threaded apache2 worker MPM, but it isn't a good idea to load a module like PHP with worker because they aren't particularly thread safe and uses more memory. portupgrade -NRr -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' /usr/ports/www/apache2 Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports: www/jakarata-tomcat*
Lo all, [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install clean jakarta-tomcat-4.1.31_1: Environment error: JAVA_PORT should not be defined. *** Error code 1 I did tripple check, at the time of running make, the variable is NOT defined. I can't install any of the tomcat versions Help??? -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports: www/jakarata-tomcat*
On 07/07/05 04:06 PM, Chris Knipe sat at the `puter and typed: Lo all, [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install clean jakarta-tomcat-4.1.31_1: Environment error: JAVA_PORT should not be defined. *** Error code 1 I did tripple check, at the time of running make, the variable is NOT defined. I can't install any of the tomcat versions Help??? Are you sure that didn't say JAVA_HOME? That gets me every time I try to upgrade Tomcat. Just `unset JAVA_HOME` then try again. Good luck. Lou -- Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 Allen's Axiom: When all else fails, read the instructions. pgpexi6vJykYL.pgp Description: PGP signature
Re: ports: www/jakarata-tomcat*
Nopes. I'm sure I'm afraid... [EMAIL PROTECTED]:~# cd /usr/ports/www/jakarta-tomcat41/ [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# unset JAVA_HOME [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# make WITHOUT_X11=yes install clean jakarta-tomcat-4.1.31_1: Environment error: JAVA_PORT should not be defined. *** Error code 1 Stop in /usr/ports/www/jakarta-tomcat41. [EMAIL PROTECTED]:/usr/ports/www/jakarta-tomcat41# -- Chis. - Original Message - From: Louis LeBlanc [EMAIL PROTECTED] To: freebsd-questions@freebsd.org; [EMAIL PROTECTED] Sent: Thursday, July 07, 2005 5:21 PM Subject: Re: ports: www/jakarata-tomcat* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports: www/jakarata-tomcat*
What about /etc/make.conf or the Makefiles in the jakarta-tomcat ports directories? John. Thanks John :) /etc/make.conf had it defined. -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache2 + Tomcat
I am looking for a good HOWTO on configuring Tomcat + Apache2 - I have successfully installed: jakarta-tomcat-5.0.30 mod_jk-apache2-1.2.6,1 - The documentation I have been able to find on the web (apache.org / google / yahoo) seems somewhat sparse. Would I be better served to purchase a good book? If so, are there any titles that are recommended? - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
passing custom parameters to java when starting tomcat ?
Dear Sirs, I tried to investigate supplied tomcat50ctl script, but I couldn't find where I add -Djava.awt.headless=true to java machine command line options. Can anyone help me ? Cheers, Ilia Chipitsine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: passing custom parameters to java when starting tomcat ?
On Fri, Jun 10, 2005 at 06:42:12PM +0600, Ilia Chipitsine wrote: I tried to investigate supplied tomcat50ctl script, but I couldn't find where I add -Djava.awt.headless=true to java machine command line options. Can anyone help me ? tomcat50ctl isn't actually a script. It's a setuid binary. Which is good in the sense that it allows you to control tomcat without needing root access to a box, but inflexible when it comes to modifying the Java command line. When I ran into the problem you're seeing I ended up modifying the Makefile in the www/jakarta-tomcat5 port so that my custom arguments got compiled into the tomcat50ctl program. This diff probably isn't exactly what you need, but it should show you the idea: caernarvon:...ports/www/jakarta-tomcat5:% diff -u Makefile.orig Makefile --- Makefile.orig Thu Mar 3 13:22:56 2005 +++ MakefileThu Mar 3 14:05:51 2005 @@ -136,7 +136,7 @@ @${ECHO_MSG} -n Compiling and installing control program... @${SED} \ - -e /%%JAVA_ARGS%%/s//\-Dcatalina.home=${APP_HOME:S/\//\\\//g}\,/g \ + -e /%%JAVA_ARGS%%/s//\-server\, \-Xmx1500m\, \-Djava.awt.headless=true\, \-Dcatalina.home=${APP_HOME:S/\//\\\//g}\,/g \ -e /%%JAR_ARGS%%/s//\start\,/g \ ${WRKDIR}/daemonctl.c ${WRKDIR}/daemonctl_.c @cd ${WRKDIR} ${CC} -ansi -o ${CONTROL_SCRIPT_NAME} daemonctl_.c Alternatively, you can modify the /usr/local/etc/rc.d/020.jakarta-tomcat50.sh script to use the standard $CATALINA_HOME/bin/startup.sh and other similar scripts to stop and start the server, which will permit you to set various environment variables to achieve the effect you want. Plans are afoot to produce an enhanced tomcatNNctl program: search the archives of the [EMAIL PROTECTED] mailing list for more information. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgp4rTGR7J1Rj.pgp Description: PGP signature
Re: Apache 2.0 + Tomcat 4.1 + mod_jk build on FreeBSD 4.4
On Fri, Mar 25, 2005 at 09:08:42AM -0500, Danny Rubis wrote: Can you direct me to someone who can give some clues about this jakarta-tomcat-connectors-1.2.8-src (mod_jk) build error message: /bin/sh /usr/local/share/apache2/build/libtool --silent --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. *** Error code 1 Notice the cp `pwd`/mod_jk.so Seems something is missing after the cp. Hmm. But what? mod_jk is the connector between Apache and Tomcat. It handles the passoff of JSP requests from Apache webserver to Tomcat servlet engine. As I recall, this error comes about because the autoconf stuff in mod_jk doesn't find the location of some C header files included with the JDK. Typical value should be something like: /usr/local/jdk1.4.2/include However, passing this value on the configure command line does not work, which seems to be a bug in the mod_jk-1.2.8 autoconf stuff that I don't have enough autoconf-fu to be able to fix. Instead, you need to define JAVA_HOME in the environment before running configre. I've attached a diff against the www/mod_jk port (currently mod_jk-1.2.6) which works for me. I have submitted this to the mod_jk port maintainer but he says he's getting strange slowdowns from mod_jk-1.2.8, so he's not happy about committing it. This patch also adds a build dependency on Java to the port. Personally I haven't seen any slowdown problems. I guess the upshot is: use at your own risk. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK diff -Nur /usr/ports/www/mod_jk/Makefile mod_jk/Makefile --- /usr/ports/www/mod_jk/Makefile Mon Dec 6 09:38:40 2004 +++ mod_jk/Makefile Thu Feb 17 15:47:33 2005 @@ -6,17 +6,22 @@ # PORTNAME= mod_jk -PORTVERSION= 1.2.6 +PORTVERSION= 1.2.8 PORTEPOCH?=1 CATEGORIES=www MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} -MASTER_SITE_SUBDIR=tomcat-connectors/jk/source -DISTNAME= jakarta-tomcat-connectors-jk-${PORTVERSION}-src +MASTER_SITE_SUBDIR=tomcat-connectors/jk/source/jk-${PORTVERSION} +DISTNAME= jakarta-tomcat-connectors-${PORTVERSION}-src MAINTAINER?= [EMAIL PROTECTED] COMMENT?= Apache JK module for connecting to Tomcat using AJP1X USE_APACHE=YES +USE_JAVA= YES +JAVA_BUILD=YES + +SUB_FILES= pkg-message mod_jk.conf.sample +SUB_LIST+= APACHE_CONF=${APACHE_CONF} .include bsd.port.pre.mk @@ -36,15 +41,15 @@ .endif APACHE_CONF= ${LOCALBASE}/etc/apache${APACHE2} -WRKSRC= ${WRKDIR}/jakarta-tomcat-connectors-jk-${PORTVERSION}-src/jk/native +WRKSRC= ${WRKDIR}/jakarta-tomcat-connectors-${PORTVERSION}-src/jk/native USE_GMAKE= YES GNU_CONFIGURE= YES +CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME} CONFIGURE_ARGS+= --with-apxs=${APXS} do-install: ${APXS} -i -A -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so - ${SED} -e s#%%APACHE_CONF%%#${APACHE_CONF}#g ${FILESDIR}/mod_jk.conf.sample ${WRKDIR}/mod_jk.conf.sample ${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${APACHE_CONF} ${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${APACHE_CONF} diff -Nur /usr/ports/www/mod_jk/distinfo mod_jk/distinfo --- /usr/ports/www/mod_jk/distinfo Thu Nov 25 13:23:57 2004 +++ mod_jk/distinfo Tue Feb 8 14:56:48 2005 @@ -1,2 +1,2 @@ -MD5 (jakarta-tomcat-connectors-jk-1.2.6-src.tar.gz) = 018b91a0ce874cbc3dae7700f452838b -SIZE (jakarta-tomcat-connectors-jk-1.2.6-src.tar.gz) = 849481 +MD5 (jakarta-tomcat-connectors-1.2.8-src.tar.gz) = eb579c47f8dd71e526d7561c919ce06d +SIZE (jakarta-tomcat-connectors-1.2.8-src.tar.gz) = 798199 diff -Nur /usr/ports/www/mod_jk/files/mod_jk.conf.sample mod_jk/files/mod_jk.conf.sample --- /usr/ports/www/mod_jk/files/mod_jk.conf.sample Wed Jun 11 11:30:58 2003 +++ mod_jk/files/mod_jk.conf.sample Thu Jan 1 01:00:00 1970 @@ -1,14 +0,0 @@ -# Replace jsp-hostname with the hostname of your JSP server, as -# specified in workers.properties. -# -IfModule mod_jk.c - JkWorkersFile %%APACHE_CONF%%/workers.properties - JkLogFile logs/jk.log - JkLogLevel warn - - # Sample JkMounts. Replace these with the paths you would - # like to mount from your JSP server. - JkMount /*.jsp jsp-hostname - JkMount /servlet/* jsp-hostname - JkMount /examples/* jsp-hostname -/IfModule diff -Nur /usr/ports/www/mod_jk/files/mod_jk.conf.sample.in mod_jk/files/mod_jk.conf.sample.in --- /usr/ports/www/mod_jk/files/mod_jk.conf.sample.in Thu Jan 1 01:00:00 1970 +++ mod_jk/files/mod_jk.conf.sample.in Wed Jun 11 11:30:58 2003 @@ -0,0 +1,14 @@ +# Replace jsp-hostname with the hostname of your
Apache 2.0 + Tomcat 4.1 + mod_jk build on FreeBSD 4.4
Hey! Can you direct me to someone who can give some clues about this jakarta-tomcat-connectors-1.2.8-src (mod_jk) build error message: /bin/sh /usr/local/share/apache2/build/libtool --silent --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. *** Error code 1 Notice the cp `pwd`/mod_jk.so Seems something is missing after the cp. Hmm. But what? mod_jk is the connector between Apache and Tomcat. It handles the passoff of JSP requests from Apache webserver to Tomcat servlet engine. Any help would be much appreciated. Sans adieu, Danny ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: www/jakarta-tomcat5: Customizing server.xml...sed: /jakarta-tomcat-5.0.30/conf/server.xml: No such file or directory
Solved. Updating ports with CVSup made this error go away. Wed, Mar 23, 2005 at 09:08:07 PM, Alexander Anderson wrote: Can someone give a clue why this happens? Thanks. alex:/usr/ports/www/jakarta-tomcat5# make ... Customizing server.xml...sed: /jakarta-tomcat-5.0.30/conf/server.xml: No such file or directory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
www/jakarta-tomcat5: Customizing server.xml...sed: /jakarta-tomcat-5.0.30/conf/server.xml: No such file or directory
Can someone give a clue why this happens? Thanks. alex:/usr/ports/www/jakarta-tomcat5# make === Vulnerability check disabled, database not found === Extracting for jakarta-tomcat-5.0.30 = Checksum OK for jakarta-tomcat-5.0.30.tar.gz. === Patching for jakarta-tomcat-5.0.30 Installation settings: Destination directory:/usr/local/jakarta-tomcat5.0 Control program location: /usr/local/bin/tomcat50ctl Startup script location: /usr/local/etc/rc.d/020.jakarta-tomcat50.sh Location of JDK: /usr/local/jdk1.4.2 Location of Java port:java/jdk14 Running as (user/group): www/www HTTP port:8180 Shutdown listener port: 8005 WARP port:8008 AJP 1.3 connector port: 8009 Logfile stdout: /usr/local/jakarta-tomcat5.0/logs/stdout.log Logfile stderr: /usr/local/jakarta-tomcat5.0/logs/stderr.log Starting after install: NO Stop time-out:5 sec. Removing unneeded files... [ DONE ] Customizing daemonctl.c... [ DONE ] Customizing daemonctl.1... [ DONE ] Customizing startup.sh... [ DONE ] Customizing server.xml...sed: /jakarta-tomcat-5.0.30/conf/server.xml: No such file or directory *** Error code 1 Stop in /usr/ports/www/jakarta-tomcat5. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Switching Tomcat 4 to Tomcat 5
On Sat, 29 Jan 2005 10:34:10 +0100, Java News [EMAIL PROTECTED] wrote: Hi, Some ports as eg. jetspeed or axis requires Tomcat 4 to install, I have already installed Tomcat but 5.0 version. So when I make a port install of eg. axis this port also installs Tomcat 4.1, which I don't want on my system. What can I do to prevent of installing such dependency and use Tomcat 5 instead? Best regards, Lee ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to [EMAIL PROTECTED] did you try to edit the make.conf WITH_TOMCAT_VER=5 i dont know what you have to write excatly for tomcat do ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_jk2 + tomcat + java question
Hi, Does anybody have experience with tomcat en mod_jk? I installed java, tomcat5, mod_jk2 and apache2 via the ports. The mod_jk2 module is now loaded in the httpd.conf I copied mod_jk.conf in /usr/local/etc/apache2 and it looks now like this: IfModule mod_jk.c JkWorkersFile /usr/local/etc/apache2/workers.properties JkLogFile logs/jk.log JkLogLevel warn # Sample JkMounts. Replace these with the paths you would # like to mount from your JSP server. JkMount /*.jsp myname.com JkMount /servlet/* myname.com JkMount /examples/* myname.com I also copied workers.properties and workers2.properties to /usr/local/etc/apache2. However, i see errors in the http log: [Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file /usr/local/conf/workers2.properties [Wed Nov 24 10:09:50 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [notice] Apache/2.0.52 (FreeBSD) mod_jk2/2.0.2 PHP/4.3.9 configured -- resuming normal operations [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] mod_jk child init 1 0 [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:51 2004] [error] shm.init(): No file [Wed Nov 24 10:09:57 2004] [error] shm.init(): No file [Wed Nov 24 10:09:58 2004] [error] shm.init(): No file [Wed Nov 24 10:09:58 2004] [error] shm.init(): No file There is a tomcat dir here: /usr/local/jakarta-tomcat5.0 Any hints how i could make things work? What to change? Bye, Mipam. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mod_jk2 + tomcat + java question
Does anybody have experience with tomcat en mod_jk? Well, I got Apache2, mod_jk2 with Tomcat 4.1.29 running on FreeBSD 4.9. So I might not be fully up-to-date. First, this seems to bite: JkWorkersFile /usr/local/etc/apache2/workers.properties ^^^ [Wed Nov 24 10:09:50 2004] [error] config.update(): Can't find config file /usr/local/conf/workers2.properties I did not specify a JkWorkersFile in httpd.conf. Just put the workers.properties file into /usr/local/conf directory. Apache seems to try to read the file from the default location. [Wed Nov 24 10:09:50 2004] [error] shm.init(): No file This is a follow-up error since the shm file is declared in workers2.properties. HTH, Dave ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What is common practice on starting Tomcat on serverstartup?
Joachim Dagerot [EMAIL PROTECTED] writes: When during startup is it good to start Tomcat 5.*, and do anyone have any example scripts that can be of use? This is probably very common knowledge, because I can't find anything useful Googeling around. The port seems to be able to do that for you. Also note that there's a whole article in the FreeBSD documentation collection covering use of Tomcat. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What is common practice on starting Tomcat on serverstartup?
When during startup is it good to start Tomcat 5.*, and do anyone have any example scripts that can be of use? This is probably very common knowledge, because I can't find anything useful Googeling around. Regards, Joachim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
jsp/tomcat/apache
hrm, any guides or urls to install apache+tomcat to read jsp? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: jsp/tomcat/apache
On Tue, Nov 02, 2004 at 10:15:40PM +0800, Spades wrote: hrm, any guides or urls to install apache+tomcat to read jsp? http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpqCF9O32tC2.pgp Description: PGP signature
Re: jsp/tomcat/apache
On 2004-11-02 22:15, Spades [EMAIL PROTECTED] wrote: hrm, any guides or urls to install apache+tomcat to read jsp? I haven't installed apache+tomcat but this may be useful to you: http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/java-tomcat/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
JBoss ports in use - tomcat
I am running 4.10R and have installed JBoss3.2.5. I also installed Tomcat5 When i boot the machine and try to startup JBoss it reports ports in use. I have to run the shutdown script first, and then the startup script works fine. I notice when I boot up that three packages appear to start under 'local package initialisation'. These are Tomcat4, Tomcat5, and JBoss3starting. I did not install Tomcat4 - i think this might have come from the JBoss installation. I have found a directory called rc.d which seems to hold the scripts which run these initialisations. I think my solution to the JBoss problem is to prevent these scripts running, but I dont know how to do this. Has anyone else had this problem with JBoss ? (it does not seem have been reported) How do I get rid of these initialisation scripts in an orderly manner ? I am very new to all this. Any suggestions gratefully received. Thanks Peter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JBoss ports in use - tomcat
On Sat, Oct 02, 2004 at 08:40:49PM +0800, Peter Ryan wrote: I am running 4.10R and have installed JBoss3.2.5. I also installed Tomcat5 When i boot the machine and try to startup JBoss it reports ports in use. I have to run the shutdown script first, and then the startup script works fine. I notice when I boot up that three packages appear to start under 'local package initialisation'. These are Tomcat4, Tomcat5, and JBoss3starting. I did not install Tomcat4 - i think this might have come from the JBoss installation. JBoss-3.2.5 comes with Tomcat-5. If you have manually installed Tomcat-5 and or Tomcat-4, I suggest that you deinstall those ports. It would seem that your configuration for Tomcat4/5 are using listener ports that are conflicting with the JBoss-3.2.5's Tomcat setup. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- The Internet: an empirical test of the idea that a million monkeys banging on a million keyboards can produce Shakespeare ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
tomcat on freeBSD 4.9
Can any body pl. tell me what version of tomcat to install on freeBSD 4.9. also i've jdk 1.3 on my machine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat on freeBSD 4.9
Hi, I had successfully set up Apache 2.0, Tomcat 4.1.29 and mod_jk2 using JDK 1.3.1 on a FreeBSD 4.9 test server. HTH, Dave. Can any body pl. tell me what version of tomcat to install on freeBSD 4.9. also i've jdk 1.3 on my machine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tomcat
On Wed, Aug 25, 2004 at 06:38:42PM -0400, Rail mail wrote: there doesn't seem to be a linux-jdk13 in the ports I just have a fresh install of 5.2.1 and 5.1 Ummm... I wouldn't use FreeBSD 5.1 on any new installs. That was an unstable developer preview release that has long since been superceeded. Stick with 5.2.1 for now, and plan on upgrading to 5.3-STABLE sometime after it comes out in October. all the tutorials I find seem to want linux-jdk13 I only see things like linux-sun-jdk13 linux-ibm-jdk13 linux-blackdown-jdk13 any help would be much appreciated Any of those three ports should work for you. Unless you've got a good reason not to, I'd choose linux-sun-jdk13 out of those. Actually, if I was going to use a Linux JDK, I'd tend to choose java/linux-sun-jdk14 nowadays, as that's the current stable release version of Java. However, on FreeBSD, you are generally better off using a native JDK. With 5.x, that really boils down to installing java/jdk14 from source. It's a monumental pain in the bottom, having to jump through all of the hoops that SDSL forces you to just to download the sources, and then the actual compilation step is a bit monumental as well, but in the end it's all worth it because of the improved stability and speed of native java 1.4.x over other JDKs. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpvkYsTcXQ3n.pgp Description: PGP signature
tomcat
there doesn't seem to be a linux-jdk13 in the ports I just have a fresh install of 5.2.1 and 5.1 all the tutorials I find seem to want linux-jdk13 I only see things like linux-sun-jdk13 linux-ibm-jdk13 linux-blackdown-jdk13 any help would be much appreciated ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tomcat Goes Its Own Way
Hi, I am having a weird problem with Tomcat: If I go into the jsp examples and modify the .jspx files, my changes have no effect on how they are executed! I can even delete them, it doesn't matter - they run just as before. But deleting or modifying .html files in the same directory has the expected effected. I have tried restarting Tomcat, and I 've even rebooted my machine - it doesn't seem to make any difference. How is this happening? Does Tomcat keep redundant copies of the .jspx files somewhere? - Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tomcat Goes Its Own Way
On Fri, Jul 16, 2004 at 09:33:42AM -0500, Jason Dusek wrote: Hi, I am having a weird problem with Tomcat: If I go into the jsp examples and modify the .jspx files, my changes have no effect on how they are executed! I can even delete them, it doesn't matter - they run just as before. But deleting or modifying .html files in the same directory has the expected effected. I have tried restarting Tomcat, and I 've even rebooted my machine - it doesn't seem to make any difference. How is this happening? Does Tomcat keep redundant copies of the .jspx files somewhere? Tomcat keeps it's own copies in $TOMCAT_HOME/work/ of the .java and .class files generated from the JSPs (JSPs are really converted to servlets at runtime). However if you update the JSP Tomcat is *supposed* to recompile the JSP next time you hit it.. I believe it does this by checking the mtime of the file, did you have the date set incorrectly at any point? Could the initial modification time of the JSP have been in the future? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
perl 5.8, Apache, Tomcat mod_webapp
Does the subject line give it all away? Let me elaborate: I'm running FreeBSD 5.2 with the latest port of Tomcat and Perl 5.6.1. So, this is what I'd like to do: 1- Install Apache (latest port) with mod_webapp to forward my port 8080 requests to the appropriate container 2- Upgrade Perl to 5.8.x (to run CGI web apps) Please, I would love your feedback before I proceed to hose my current configuration. If you know of any issues that I must be aware of, please give me your feedback. Thank you in advance, Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What versions of Tomcat and Java work on FreeBSD
lrnobs [EMAIL PROTECTED] writes: I had a jsp web application written for me which was setup on RedHat9. I would like to move this onto FreeBSD or OpenBSD if possible. The Tomcat version used was 4.1 and the Java SDK used was Java 2 SDK Standard Edition 1.4.2 Will these versions run on FreeBSD 4.8, 4.9, or 5.2 or do I have to stay with Linux without a rewrite. If it will run, are there big changes in file paths, etc.? I currently have 4.8 but could of course get newer stuff. Those things are in the ports system and should work with little to no changes in your application. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What versions of Tomcat and Java work on FreeBSD
I had a jsp web application written for me which was setup on RedHat9. I would like to move this onto FreeBSD or OpenBSD if possible. The Tomcat version used was 4.1 and the Java SDK used was Java 2 SDK Standard Edition 1.4.2 Will these versions run on FreeBSD 4.8, 4.9, or 5.2 or do I have to stay with Linux without a rewrite. If it will run, are there big changes in file paths, etc.? I currently have 4.8 but could of course get newer stuff. Thanks, Larry Nobs ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Diablo-jdk1.3.1 Tomcat Newbie Needs Install Help (Core Dumps)
I've been trying for longer than I care to admit to get a non-gui FreeBSD server working with Tomcat. Now I have FreeBSD 4.9 Stable, Diablo JDK 1.3.1, and I'm trying to install Tomcat 4 or 5 from ports, but every time I try it, I get a core dump from java every time I restart the computer. I've set the java environment variable: JAVA_HOME=/USR/LOCAL/DIABLO-JDK1.3.1 Did I miss something obvious in installation? Have I chosen a combination of versions that won't work together? Below is a running commentary on the most recent things I've tried, my installation procedure, etc., so you can see if I'm doing something fundamentally wrong. The detail may seem odd to you because I was thinking of writing my experience as a guide for other newbies trying to do the same. Here's the commentary: Installing Java and Tomcat on FreeBSD 4.9: (Tomcat naturally expects diablo Java, so that's what I'll install.) Once you've switched to 5.x, or if you use a shell other than csh (or compatible, like the default tcsh) See the FreeBSD manual at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/x174.html check for old javas on the FreeBSD Computer: cd /usr/local ls In my case there was a bad install of diablo-jdk1.3.1 there. First, uninstall it using ports: cd /usr/ports/java/diablo-jdk1.3.1 make deinstall Then see if there's anything left of the original install: cd /usr/local ls I found some leftovers from Java, so I removed the directory: rm -dfr diablo-jdk1.3.1 remove apache if it's there. (They're supposed to work together, but I'm having trouble, so I removed it as a precaution.) First check packages: pkg_version if it's there, it might not tell you the version, but if it's up to date, just find the newest version in ports: cd /usr/ports/www ls ap* cd apache21 make deinstall receive message unable to completely remove directory '/usr/local/etc/apache2', so that's where it was. Go there and remove the directory: cd /usr/local/etc ls remaining file was original-httpd.conf which means I modified httpd.conf in the directory to make apache work. I should have saved a copy of the modified httpd.conf so that I'd know what to change if I installed it again. rm -dfr apache2 Now, go get Java: cd /usr/ports/java/diablo-jdk13 make receive instructions to fetch the distribution manually Open browser on other computer and access http://www.FreeBSDFoundation.org/cgi-bin/download.cgi?package=diablo-caffe-1.3.1-0.tar.bz2 save the file to cd, put the cd in the FreeBSD computer mount_cd9660 /dev/acd0c /cdrom (your cd mounting command may vary at /dev/??? depending on cd interface) cd /usr/ports/distfiles cp /cdrom/diablo-caffe*.* ./ Then unmount the cd: umount /cdrom Then go back to the port folder and build the port: cd /usr/ports/java/diablo-jdk13 make make install cd /etc vi csh.cshrc go to bottom line, then open a new line with the following command: o cursor will jump to new line. Now type: setenv JAVA_HOME /usr/local/diablo-jdk1.3.1 follow the line with a carriage return, then save and exit. Hit the Esc key, then type: ZZ then reboot and test it: shutdown -r now don't login yet. Check the hard disk access light and see if it continues to stay on after boot is complete. If it does, you're getting a core dump. Wait until the light goes out and the core dump message displays. If that happens, it's not working yet. login Print the environment to be sure you got the variable there correctly: printenv (Now, you really should find some manual way to verify that Java works, like creating a hello world application in java and running it, but remember there's no web server at this point.) Someone suggested: mount -t linprocfs non /compat/linux/proc But, I doubt that I need that for diablo. I think it's supposed to be the native mode java, which doesn't require linux compatibility. Anyway, I get: No such file or directory as response to that. Now install tomcat. Go to the tomcat port: cd /usr/ports/www ls jak* Look on the jakarta website and see what the status of these versions is. Pick a nice, stable version that works with the java you installed above, and install it: I'll try jakarta 5.0, and hope it's the right one for diablo jdk 1.3.1. cd jakarta-tomcat5 make make install reboot to see if it will still core dump: shutdown -r now After restart, I received the message: Jan29 08:20:47 www /kernel: pid 116 (java), uid 80: exited on signal 6 (core dumped) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Getting Evolution, Java, Tomcat, OpenOffice outside of Ports
Is there a CD set that has these common/larger pieces of software for purchase. I'm on a modem and just starting to run FreeBSD. I'd like to run a couple of these, but imagine that download would take forever. Any advice would be appreciated. Preston ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Is Java/Tomcat on FBSD practical?
Thanks for the replies. I ran Tomcat as root (or other users, doesn't matter). What happens means absolutely nothing to me. I get on screen: lefty /kernel: pid 22239 (java), uid 0: exited on signal 6 (core dumped) This is what I get in Catalina.out: SIGABRT 6* abort (generated by abort(3) routine) Full thread dump Classic VM (diablo-1.3.1-0, green threads): Finalizer (TID:0x28e9d528, sys_thread_t:0x80d6080, state:CW) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) Reference Handler (TID:0x28e9d300, sys_thread_t:0x8096480, state:CW) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) Signal dispatcher (TID:0x28e9d330, sys_thread_t:0x8096280, state:CW) prio=5 main (TID:0x28e9d1b0, sys_thread_t:0x8054080, state:R) prio=5 at java.lang.Long.toString(Long.java:91) at java.lang.String.valueOf(String.java:2071) at java.lang.StringBuffer.append(StringBuffer.java:532) at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:3 81) at org.apache.catalina.startup.Catalina.load(Catalina.java:481) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396) Monitor Cache Dump: [EMAIL PROTECTED]/28ED2F98: unowned Waiting to be notified: Reference Handler (0x8096480) [EMAIL PROTECTED]/28ED3478: unowned Waiting to be notified: Finalizer (0x80d6080) Registered Monitor Dump: utf8 hash table: unowned JNI pinning lock: unowned JNI global reference lock: unowned BinClass lock: unowned Class linking lock: unowned System class loader lock: unowned Code rewrite lock: unowned Heap lock: unowned Monitor cache lock: owner main (0x8054080) 1 entry Dynamic loading lock: unowned Monitor IO lock: unowned User signal monitor: unowned Waiting to be notified: Signal dispatcher (0x8096280) Child death monitor: unowned I/O monitor: unowned Alarm monitor: unowned Waiting to be notified: unknown thread (0x8054280) Thread queue lock: owner main (0x8054080) 1 entry Monitor registry: owner main (0x8054080) 1 entry -Original Message- From: Dirk-Willem van Gulik [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:03 AM To: Heath Volmer Cc: [EMAIL PROTECTED] Subject: Re: Is Java/Tomcat on FBSD practical? My biggest problem has been Java. I've done the diablo 1.3 package and java seemed to work (java -v), but when I install Tomcat it won't start. I've done the same install on mac and windows with no problem. The stack trace is completely alien to me and I can try to get it if it would help. If the stacktrace looks like it is some VM issue - posting it here may help - otherwise the tomcat folks may be a better bet. One quick test - try running it as root and see if that changes anything - some JDK version had that problem - which since is fixed if I recall correctly. I'm basically wondering if running Tomcat or any other java on this machine is realistic or not. We are using it with no great issue (other than that java can be quite memory hungry :-) DW. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Java/Tomcat on FBSD practical?
My biggest problem has been Java. I've done the diablo 1.3 package and java seemed to work (java -v), but when I install Tomcat it won't start. I've done the same install on mac and windows with no problem. The stack trace is completely alien to me and I can try to get it if it would help. If the stacktrace looks like it is some VM issue - posting it here may help - otherwise the tomcat folks may be a better bet. One quick test - try running it as root and see if that changes anything - some JDK version had that problem - which since is fixed if I recall correctly. I'm basically wondering if running Tomcat or any other java on this machine is realistic or not. We are using it with no great issue (other than that java can be quite memory hungry :-) DW. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Java/Tomcat on FBSD practical?
On Tue, 4 Nov 2003, Heath Volmer wrote: Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and Debian/Suse linux. I've been generally very happy with the performance and relative ease of setup on my 4.8 system. My biggest problem has been Java. I've done the diablo 1.3 package and java seemed to work (java -v), but when I install Tomcat it won't start. I've done the same install on mac and windows with no problem. The stack trace is completely alien to me and I can try to get it if it would help. I'm basically wondering if running Tomcat or any other java on this machine is realistic or not. Thanks, Heath Check on how up-to-date your system is. There were fixes that went into the base system post 4.8-R which are probably relevant. FWIW I've got tomcat running happily under the 1.3 and the 1.4 native ports on a -stable freebsd. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ (Things I've found in my attic, #2: A hundredweight of pornography.) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Java/Tomcat on FBSD practical?
On Tue, 4 Nov 2003 16:58:19 -0700, Heath Volmer wrote Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and Debian/Suse linux. I've been generally very happy with the performance and relative ease of setup on my 4.8 system. My biggest problem has been Java. I've done the diablo 1.3 package and java seemed to work (java -v), but when I install Tomcat it won't start. I've done the same install on mac and windows with no problem. The stack trace is completely alien to me and I can try to get it if it would help. I'm basically wondering if running Tomcat or any other java on this machine is realistic or not. Thanks, Heath I have Tomcat 4.1.27 running with a native compile of JDK1.4. It's been working fine for me for almost a year now. It's a low volume site, but I've been happy running it on FreeBSD. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is Java/Tomcat on FBSD practical?
Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and Debian/Suse linux. I've been generally very happy with the performance and relative ease of setup on my 4.8 system. My biggest problem has been Java. I've done the diablo 1.3 package and java seemed to work (java -v), but when I install Tomcat it won't start. I've done the same install on mac and windows with no problem. The stack trace is completely alien to me and I can try to get it if it would help. I'm basically wondering if running Tomcat or any other java on this machine is realistic or not. Thanks, Heath ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is Java/Tomcat on FBSD practical?
Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and Debian/Suse linux. I've been generally very happy with the performance and relative ease of setup on my 4.8 system. My biggest problem has been Java. I've done the diablo 1.3 package and java seemed to work (java -v), but when I install Tomcat it won't start. I've done the same install on mac and windows with no problem. The stack trace is completely alien to me and I can try to get it if it would help. I'm basically wondering if running Tomcat or any other java on this machine is realistic or not. How did you install tomcat? Which version? You say you are new to FreeBSD, so maybe this will help... cd /usr/ports/ make search name=tomcat I see 4 different versions in ports... and they all depend on the java-1.4 port (not 1.3) so that is probably one part of the problem. _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.8, Tomcat and Java servelts
Thomas T. Veldhouse wrote: Java will work better on 5.x then it will on 4.x. If it is just a home server, I wouldn't hesistate to give 5.1 a try first. A question regarding Java and 4.8. We are planning to setup a FreeBSD box that would for example run Java servelts on the Tomcat platform. I read on the FreeBSD page that it is possible (and not even that difficult to set up...) but can anyone shed a light on the question regarding stability? Best regards, Johan Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mod_jk2 + Tomcat/4.1.18 404 error
I ALMOST have mod_jk2 with Apache 1.3.27 working, so if you know the answer to this one, it would really help! Whenever I request a jsp page it invokes the connector, but I always get a Tomcat/4.1.18 404 error. I am running virtual hosts, part of my server.xml looks like this: Host name=www.myserver.com Context path=/ docBase=/webapps/myserver.com crossContext=false debug=0 reloadable=true /Context /Host It seems it could be mapping to the root Tomcat/4.1.18 server, because whenever I request /examples it works. Any ideas? Thanks in advance, Julian _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Solved: Any working combination of jdk and tomcat with stable
On Thursday 23 January 2003 16:08, Ernst de Haan wrote: On Thursday 23 January 2003 15:38, Fritz Heinrichmeyer wrote: Tomcat4.0.6 and tomcat4.1.18 do not work here with 4.7-STABLE, 4.1.12 did some month ago (stand alone server). I am interested to hear of working combination. I use native jdk-1.3.1 (appletviewer works ...) new tomcat also works now. The problem was that somehow tomcat JAR-files where placed in the lib/ext directory under JAVA_HOME. This afternoon i googled for the right phrases (CLASSPATH tomcat problem) and found hints for the problem. Of course i looked for such old files before but i thought everything for tomcat was placed only under the /usr/local/tomcat hierarchy as indicated by pkg_info for the new 4.1.18 port. Maybe others should be warned? -- Fritz Heinrichmeyer mailto:[EMAIL PROTECTED] FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany) tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
JDK, Tomcat, + argh!
Hi, I have been trying to build and install the www/jakarta-tomcat41 package. As you may know, you must download the file jdk1_2_2-src.tar.gz from Sun only. The only problem is, they don't seem to have it on their site. All of the documentation I have read indicates that I need to NOT download the linux, but the alternatives are Solaris, Solaris SPARC, and Windows. Surely it's not one of those?! I did manage to find a copy of the jdk1_2_2-src.tar.gz on a server in Taiwan, but the checksums don't match and naturally it raises lots of warning flags in my mind. This is making me crazy! Can anyone tell me where I can get a trusted copy of this silly file from? Thanks, Rich. | Rich Fox | [EMAIL PROTECTED] | 86 Nobska Road | Woods Hole, MA 02543 | MA 508 548 4358 | VA 703 201 6050 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: JDK, Tomcat, + argh!
Rich Fox [EMAIL PROTECTED] writes: Hi, I have been trying to build and install the www/jakarta-tomcat41 package. As you may know, you must download the file jdk1_2_2-src.tar.gz from Sun only. The only problem is, they don't seem to have it on their site. All of the documentation I have read indicates that I need to NOT download the linux, but the alternatives are Solaris, Solaris SPARC, and Windows. Surely it's not one of those?! I did manage to find a copy of the jdk1_2_2-src.tar.gz on a server in Taiwan, but the checksums don't match and naturally it raises lots of warning flags in my mind. This is making me crazy! Can anyone tell me where I can get a trusted copy of this silly file from? http://wwws.sun.com/software/java2/download.html It's the second Download link listed for 1.2.2. The checksums match too :) You could also install jdk 1.3.1 (/usr/ports/java/jdk13) instead of 1.2.2, then install tomcat. -- Robin Damm [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message