Re: Java Server Pages

2005-12-29 Thread Andy W Clements
That is correct... and you can use mod_jk to connect them.
http://tomcat.apache.org/connectors-doc/
that page contains the download and the instructions

--Andy


On Thu, 2005-12-29 at 22:24 +, Soo-Hyun Choi wrote:
 So what you mean is that I need to install Tomcat alongside Apache? Is
 this correct?
 
 On 12/29/05, Jon Brisbin [EMAIL PROTECTED] wrote:
  On Thu, 2005-12-29 at 20:38 +, Soo-Hyun Choi wrote:
   hi,
  
   apart from apache, what sort of things do i need to get JSP (java
   server pages) working? (maybe, do i need to manually install tomcat on
   top of apache?)
 
  It doesn't actually work that way. You install Tomcat, Jetty, JBoss,
  Resin, or Enhydra (the top choices for JSP/Servlet containers)
  *alongside* Tomcat. You then either access the Tomcat server on it's own
  port (http://your-server:8080) or you install mod_jk in Apache and map
  certain URLs or patterns to your servlet container.
 
  We use JBoss, but if you're just looking to do plain JSP, you can get a
  tar-gz'd archive of tomcat and unzip it onto your BSD box. It's not
  necessary to install it from ports.
 
  Jetty and Resin seem like faster application servers, but I've had more
  trouble getting them configured than I have Tomcat. Maybe that's because
  I started with Tomcat back in the JServ days and am just more familiar
  with it.
 
  Good luck.
 
  Jon Brisbin
  Webmaster
  NPC International, Inc.
 
 
 ___
 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: old pc

2005-07-22 Thread Andy W Clements
You need to increase the memory, otherwise you are fine.  I have three
133-166 pentiums w/ 64 MB each, running 5.4 doing various jobs (i.e.
DNS, DHCP server, etc.) and they have just been tooting along.  Mind
you, I have not installed X windows on any of these machines

--Andy

On Fri, 2005-07-22 at 13:19 +0300, [EMAIL PROTECTED] wrote:
 I have a Pentium-S with 133Mhz , 8MB RAM and 1,7 GB Hard Disk
 Can i install freebsd 5.4 on such a machine or i need an older freebsd
 
 ___
 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: Sendmail with sasl2 build fails.

2005-05-03 Thread Andy W. Clements
On Tue, 2005-05-03 at 19:10 -0400, Richard Mcintyre wrote:
 I have installed cyrus-sasl2-saslauthd from ports.

 I then added the following to /etc/make.conf:
 # SASL (cyrus-sasl v2) sendmail build flags...
 SENDMAIL_CFLAGS+= -I/usr/local/include -DSASL=2
 SENDMAIL_LDFLAGS+= -L/usr/local/lib
 SENDMAIL_LDADD+= -lsasl2
 # Adding to enable alternate port (smtps) for sendmail...
 SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL


I just went through this same process, however my flags are different
than yours:

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

But I don't think that is what is causing the error belowcontinue:

 All return the same problem at the make on /usr/src/usr.sbin/sendmail...
 SNIP
 cc -O -pipe  -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
 -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB 
 -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS 
 -D_FFR_TLS_1 -I/usr/local/include -DSASL=2 -D_FFR_SMTP_SSL  -c 
 /usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/version.c
 make: don't know how to make 
 /usr/src/usr.sbin/sendmail/../../lib/libsmutil/libsmutil.a. Stop
 /SNIP
 
 Can anyone help out? Thanks in advance...
 ~REM
 

I have read somewhere that your source needs to be prestine in order for
the compile to work correctly.  I pulled the source directly from cvsup
just before attempting this manuver and it worked out all right.  When
did you last retrieve the source?

I did it on the same build as you:

zeppo:awc# uname -a
FreeBSD zeppo.candhsoftware.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri
Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Does the make at the end of libsmutil show the libsmutil.a file being
created?

--Andy


-- 
Andy Clements
Chief Engineer
C  H Software L.L.C.
[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: help w/ Dell PowerEdge sc420

2005-04-29 Thread Andy W. Clements
On Fri, 2005-04-29 at 11:33 -0700, Tom Lord wrote:
 I'm trying to bring FreeBSD up on a Dell PowerEdge sc420.
 
 The machine has a built-in (on the motherboard) Ethernet engine
 described as Broadcom NetXtreme Gigabit Ethernet Adaptor.  The 
 BIOS screens accessible during booting don't provide much by
 way of additional useful information, afaict.
 

The best thing to do is to look on the FreeBSD site and see if the
hardware is supported: 
http://www.freebsd.org/releases/5.2R/hardware-i386.html

 I am bringing up a slightly old FreeBSD -- 5.2 -- with hopes of
 getting ethernet support up, plugging into a DSL line, and upgrading
 over the net.
 
 Alas, 5.2 does not seem to detect the Ethernet engine.  There is no
 /dev/bge, for example.   Thus, I can't even get to the upgrade 
 step short of busting out an old modem :-)
 
 Help?  I'm unfamiliar with:
 
 (i) how FreeBSD autodetects this kind of hardware
 (ii) how to brute-force install a driver by hand and try to help
  it find this hardware
 

The handbook also offers information in regards to the configuration
file for recompiling the kernel with the driver in it, if the driver was
not placed in the generic kernel.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

The Handbook and the hardware requirements are also the CDs, if you are
installing from that.

 I am competent to rebuild the kernel if there is some config file 
 I ought to tweak although it's been a few years since I've done so -- 
 so hints about that process, if necessary, would be appreciated.
 
 Alternatively (but less desirably): if I scrape up my pennies and buy
 a more recent distro will I have better results?
 
 Thanks,
 -t
 

Have fun,
Andy

-- 
Andy Clements
Chief Engineer
C  H Software L.L.C.
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Printing with Samba an a HP Deskjet 870Cse

2003-09-22 Thread Andy W Clements
Hello,

I've been struggling with this problem for the last week and I am close to
getting it to work, but I seem to be missing something.

I currently have a HP DeskJet 870Cse hooked up via lpt0 to FreeBSD 5.1
i386 machine.  I can print text files via lpr with no problem.  This is
done through apsfilter.  I have been able to print from other BSD machines
on the network.

However, when I try to print from my Windows 2000 Server machine, it
fails.  I have Samba installed on my print server and I can see the
printer from explorer on my windows box, but any attempt to access them
gives me a  security error.  I have tried using the wizard for setting up
printers and it would complete successfully, however the test page would
not print.  The windows queue would state that the printer is either busy
or was not allowed to print there.  I suspect that there is some security
protocol in Samba that I need to remove, but I don't know what that is...

The logs from samba and the spools are empty.

my /etc/printcap file:

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
hp|hpdj/unspec;r=300x300;q=medium;c=full;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/hp870:\
:lf=/var/spool/lpd/hp870/log:\
:af=/var/spool/lpd/hp870/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this

lp|windows|raw:\
:lp=/dev/lpt0:\
:sd=/var/spool/samba:\
:lf=/var/spool/samba/log:\
:af=/var/spool/samba/acct:\
:mx#0:\
:sf:\
:sh:

my smb.conf file:

[global]
   workgroup = WORK
   server string = printer
   hosts allow = 192.168.1. 127.
   load printers = yes
   printcap name = /etc/printcap
   printing = bsd
   guest account = root
   log file = /var/log/samba.log.%m
   max log size = 50
   security = share
   socket options = TCP_NODELAY
   interfaces = 192.168.1.45
   domain master = yes
   preferred master = yes
   dns proxy = no

   load printers = yes
   use client driver = yes
   show add printer wizard

[homes]
   comment = Home Directories
   public = no
   browseable = no
   writeable = yes

[printers]
   comment = HP DeskJet 870Cse
   path = /var/spool/samba
   browseable = yes
   public = yes
   printable = yes

I have tried multiple combinations of variables in my smb.conf but have
been unsuccessful.  I've tried using some of the combinations found in
various webpages, but it seems that most are out of date as their
parameters for samba are deprecated.

Any and all help is greatly appreciated.  Thanks in advance.

--Andy Clements


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]