RE: Apache-Tomcat Configuring....
No problem, glad to help. John > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 1:27 PM > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > John... > > Thanks...I was able to get things going with a binary of the > mod_jk.so. > > Appreciate the help > > Allen > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache-Tomcat Configuring....
John... Thanks...I was able to get things going with a binary of the mod_jk.so. Appreciate the help Allen This message may contain proprietary or confidential company information. Any unauthorized use or disclosure is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache-Tomcat Configuring....
John My file looks exactly like yours I also followed the steps that you outline in your HOW-TO documents(the only difference I have is that I am using Apache 1.3.27 and I did not do the configure to enable ssl I did it with enable-rule=Shared_Core and I came up with the exactly same errors (see below). If there is any idea of where I should go now..please let me know. I may have to consider just running Tomcat by itself but that really hurts me for the other things I want to do with the site. Allen Making all in common /usr/local/bin/libtool --mode=compile gcc -I/opt/WWW/include -g -O2 -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE -g -O2 -I /usr/java 1.2/include -I /usr/java1.2/include/ -c jk_ajp12_worker.c mkdir .libs gcc -I/opt/WWW/include -g -O2 -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE -g -O2 -I /usr/java1.2/include -I /usr/java1.2/include/ -c jk_ajp12_worker.c -fPIC -DPIC -o .libs/jk_ajp12_worker.lo In file included from jk_global.h:103, from jk_logger.h:67, from jk_ajp12_worker.h:67, from jk_ajp12_worker.c:65: /usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:55: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:223: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:224: parse error before `so_addr_size' /usr/include/sys/socketvar.h:224: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:225: parse error before `so_opt_size' /usr/include/sys/socketvar.h:225: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:226: parse error before `so_tidu_size' /usr/include/sys/socketvar.h:226: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:227: parse error before `so_serv_type' /usr/include/sys/socketvar.h:227: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id' /usr/include/sys/socketvar.h:230: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:274: parse error before `}' /usr/include/sys/socketvar.h:623: parse error before `t_scalar_t' /usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:624: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len' /usr/include/sys/socketvar.h:625: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:630: parse error before `}' /usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known /usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known *** Error code 1 make: Fatal error: Command failed for target `jk_ajp12_worker.lo' Current working directory /opt/WWW/tomcat-connectors-jk-1.2.0-src/jk/native/common *** Error code 1 make: Fatal error: Command failed for target `all-recursive' -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 11:13 AM To: 'Tomcat Users List' Subject: RE: Apache-Tomcat Configuring There's nothing that I know of that will check patch versions prior to running ./configure. This is just a stab in the dark...have you looked at that file? The error message seems to be saying that there is a simple syntax error (missing semicolon). The first error is at line 54, this is what my /usr/include/sys/socketvar.h looks like at that line: /* * Internal representation used for addresses. */ struct soaddr { struct sockaddr *soa_sa;/* Actual address */ t_uscalar_t soa_len;/* Length in bytes for kmem_free */ t_uscalar_t soa_maxlen; /* Allocated length */ }; HTH John > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 12:02 PM > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > I just talk to the individual who add the OS...and he says the system > has the most up to date patches > > Is there something that I can run to make sure that I have > the necessary > patches to do the configuration... > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 9:54 AM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat Configuring > > > > I would download the patch cluster and apply
RE: Apache-Tomcat Configuring....
There's nothing that I know of that will check patch versions prior to running ./configure. This is just a stab in the dark...have you looked at that file? The error message seems to be saying that there is a simple syntax error (missing semicolon). The first error is at line 54, this is what my /usr/include/sys/socketvar.h looks like at that line: /* * Internal representation used for addresses. */ struct soaddr { struct sockaddr *soa_sa;/* Actual address */ t_uscalar_t soa_len;/* Length in bytes for kmem_free */ t_uscalar_t soa_maxlen; /* Allocated length */ }; HTH John > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 12:02 PM > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > I just talk to the individual who add the OS...and he says the system > has the most up to date patches > > Is there something that I can run to make sure that I have > the necessary > patches to do the configuration... > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 9:54 AM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat Configuring > > > > I would download the patch cluster and apply it just the same...the > script > will tell you if the patches don't need to be applied and behave > accordingly. > > You'll want the 8_Recommended patch cluster for your architecture. I > would > do that first. > > John > > > -Original Message- > > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 10, 2003 10:48 AM > > To: Tomcat Users List > > Subject: RE: Apache-Tomcat Configuring > > > > > > I'll check for the patches but this is a new machine with > > Solaris 2.8. I > > would think it would have a the current patches...but you > never know. > > > > Allen > > > > -Original Message- > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 07, 2003 11:18 PM > > To: 'Tomcat Users List' > > Subject: RE: Apache-Tomcat Configuring > > > > > > > > What errors? You got the same errors? Do you have the recommended > > patch > > cluster installed? Your error messages look like > system-level library > > problems. /usr/include/sys has nothing to do with Tomcat, the > > connectors, > > or Apache, as far as I know. /usr/include/sys is where OS > headers and > > libs > > are kept, I believe. > > > > John > > > > > > -Original Message- > > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 07, 2003 10:01 PM > > To: Tomcat Users List; Tomcat Users List > > Subject: RE: Apache-Tomcat Configuring > > > > > > Thanks for the info > > > > I read through what you have and I ran into the errors below > > when I did > > the > > make on the JK connector configuration. I did not use the connectors > > that > > your steps indicated...I just the one provided in the > > jakarta-tomcat-connectors-4.1.18 file. > > > > Allen > > > > -Original Message- > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > Sent: Fri 2/7/2003 6:32 PM > > To: 'Tomcat Users List' > > Cc: > > Subject: RE: Apache-Tomcat Configuring > > > > > > > > > > I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. > > It > > uses > > Apache 2, but if you have the source to Apache the steps are the > > same. Just > > sub in "apache" wherever it says "apache2". I'm assuming you > > are > > using > > Solaris because you have paths with /opt in them. > > > > In my experience, you want to use: > > > > ./configure --with-apxs=/some/path/to/apache/bin/apxs > > make > > make install > > > > ...to build the connector...it's much easier than ant, assuming > > you > > have a > > sane GNU build environment. > > > > John > > > > > > -Original Message- > > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 07, 2003 6:00 PM > > To: Tomcat Users List > > Subject: Apache-Tomcat Configuring > > > > >
RE: Apache-Tomcat Configuring....
I just talk to the individual who add the OS...and he says the system has the most up to date patches Is there something that I can run to make sure that I have the necessary patches to do the configuration... Allen -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:54 AM To: 'Tomcat Users List' Subject: RE: Apache-Tomcat Configuring I would download the patch cluster and apply it just the same...the script will tell you if the patches don't need to be applied and behave accordingly. You'll want the 8_Recommended patch cluster for your architecture. I would do that first. John > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 10:48 AM > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > I'll check for the patches but this is a new machine with > Solaris 2.8. I > would think it would have a the current patches...but you never know. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 11:18 PM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat Configuring > > > > What errors? You got the same errors? Do you have the recommended > patch > cluster installed? Your error messages look like system-level library > problems. /usr/include/sys has nothing to do with Tomcat, the > connectors, > or Apache, as far as I know. /usr/include/sys is where OS headers and > libs > are kept, I believe. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 10:01 PM > To: Tomcat Users List; Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > Thanks for the info > > I read through what you have and I ran into the errors below > when I did > the > make on the JK connector configuration. I did not use the connectors > that > your steps indicated...I just the one provided in the > jakarta-tomcat-connectors-4.1.18 file. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Fri 2/7/2003 6:32 PM > To: 'Tomcat Users List' > Cc: > Subject: RE: Apache-Tomcat Configuring > > > > > I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. > It > uses > Apache 2, but if you have the source to Apache the steps are the > same. Just > sub in "apache" wherever it says "apache2". I'm assuming you > are > using > Solaris because you have paths with /opt in them. > > In my experience, you want to use: > > ./configure --with-apxs=/some/path/to/apache/bin/apxs > make > make install > > ...to build the connector...it's much easier than ant, assuming > you > have a > sane GNU build environment. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 6:00 PM > To: Tomcat Users List > Subject: Apache-Tomcat Configuring > > > Hello > > I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to > work > together in preparation for adding JetSpeed. > > I have tried to following the instructions for creating > mod_jk.so > provided > by the Wrox Professional Tomcat book and the Galatea.com Flash > Guides and > came up with errors on both. > > - With the Wrox book, I attempted to build it using the > buildconf.so > script > and received the following errors when running the make.. > > In file included from jk_global.h:103, >from jk_logger.h:67, >from jk_ajp12_worker.h:67, >from jk_ajp12_worker.c:65: > /usr/include/sys/socketvar.h:54: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:54: warning: no semicolon at end of > struct or > union > /usr/include/sys/socketvar.h:55: warning: data definition has no > type or > storage class > /usr/include/sys/socketvar.h:222: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:222: warning: no semicolon at end > of > struct or > union > /usr/include/sys/socketvar.h:223: warning: data definition has > no > type or > sto
RE: Apache-Tomcat Configuring....
Yeah...I know... The company has made the decision to stay at 2.8 for now...since our other machines are on that OS -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 10:15 AM To: Tomcat Users List Subject: RE: Apache-Tomcat Configuring Allen, Solaris 2.9 has been the latest operating system for about 6 months... I'd definitely patch it I was you. Andy > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: 10 February 2003 15:48 > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > I'll check for the patches but this is a new machine with Solaris 2.8. I > would think it would have a the current patches...but you never know. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 11:18 PM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat Configuring > > > > What errors? You got the same errors? Do you have the recommended > patch > cluster installed? Your error messages look like system-level library > problems. /usr/include/sys has nothing to do with Tomcat, the > connectors, > or Apache, as far as I know. /usr/include/sys is where OS headers and > libs > are kept, I believe. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 10:01 PM > To: Tomcat Users List; Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > Thanks for the info > > I read through what you have and I ran into the errors below when I did > the > make on the JK connector configuration. I did not use the connectors > that > your steps indicated...I just the one provided in the > jakarta-tomcat-connectors-4.1.18 file. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Fri 2/7/2003 6:32 PM > To: 'Tomcat Users List' > Cc: > Subject: RE: Apache-Tomcat Configuring > > > > > I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. > It > uses > Apache 2, but if you have the source to Apache the steps are the > same. Just > sub in "apache" wherever it says "apache2". I'm assuming you > are > using > Solaris because you have paths with /opt in them. > > In my experience, you want to use: > > ./configure --with-apxs=/some/path/to/apache/bin/apxs > make > make install > > ...to build the connector...it's much easier than ant, assuming > you > have a > sane GNU build environment. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 6:00 PM > To: Tomcat Users List > Subject: Apache-Tomcat Configuring > > > Hello > > I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to > work > together in preparation for adding JetSpeed. > > I have tried to following the instructions for creating > mod_jk.so > provided > by the Wrox Professional Tomcat book and the Galatea.com Flash > Guides and > came up with errors on both. > > - With the Wrox book, I attempted to build it using the > buildconf.so > script > and received the following errors when running the make.. > > In file included from jk_global.h:103, >from jk_logger.h:67, >from jk_ajp12_worker.h:67, >from jk_ajp12_worker.c:65: > /usr/include/sys/socketvar.h:54: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:54: warning: no semicolon at end of > struct or > union > /usr/include/sys/socketvar.h:55: warning: data definition has no > type or > storage class > /usr/include/sys/socketvar.h:222: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:222: warning: no semicolon at end > of > struct or > union > /usr/include/sys/socketvar.h:223: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:224: parse error before > `so_addr_size' > /usr/include/sys/socketvar.h:224: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:225: par
RE: Apache-Tomcat Configuring....
Allen, Solaris 2.9 has been the latest operating system for about 6 months... I'd definitely patch it I was you. Andy > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: 10 February 2003 15:48 > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > I'll check for the patches but this is a new machine with Solaris 2.8. I > would think it would have a the current patches...but you never know. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 11:18 PM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat Configuring > > > > What errors? You got the same errors? Do you have the recommended > patch > cluster installed? Your error messages look like system-level library > problems. /usr/include/sys has nothing to do with Tomcat, the > connectors, > or Apache, as far as I know. /usr/include/sys is where OS headers and > libs > are kept, I believe. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 10:01 PM > To: Tomcat Users List; Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > Thanks for the info > > I read through what you have and I ran into the errors below when I did > the > make on the JK connector configuration. I did not use the connectors > that > your steps indicated...I just the one provided in the > jakarta-tomcat-connectors-4.1.18 file. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Fri 2/7/2003 6:32 PM > To: 'Tomcat Users List' > Cc: > Subject: RE: Apache-Tomcat Configuring > > > > > I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. > It > uses > Apache 2, but if you have the source to Apache the steps are the > same. Just > sub in "apache" wherever it says "apache2". I'm assuming you > are > using > Solaris because you have paths with /opt in them. > > In my experience, you want to use: > > ./configure --with-apxs=/some/path/to/apache/bin/apxs > make > make install > > ...to build the connector...it's much easier than ant, assuming > you > have a > sane GNU build environment. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 6:00 PM > To: Tomcat Users List > Subject: Apache-Tomcat Configuring > > > Hello > > I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to > work > together in preparation for adding JetSpeed. > > I have tried to following the instructions for creating > mod_jk.so > provided > by the Wrox Professional Tomcat book and the Galatea.com Flash > Guides and > came up with errors on both. > > - With the Wrox book, I attempted to build it using the > buildconf.so > script > and received the following errors when running the make.. > > In file included from jk_global.h:103, >from jk_logger.h:67, >from jk_ajp12_worker.h:67, >from jk_ajp12_worker.c:65: > /usr/include/sys/socketvar.h:54: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:54: warning: no semicolon at end of > struct or > union > /usr/include/sys/socketvar.h:55: warning: data definition has no > type or > storage class > /usr/include/sys/socketvar.h:222: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:222: warning: no semicolon at end > of > struct or > union > /usr/include/sys/socketvar.h:223: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:224: parse error before > `so_addr_size' > /usr/include/sys/socketvar.h:224: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:225: parse error before > `so_opt_size' > /usr/include/sys/socketvar.h:225: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:226: parse error before > `so_tidu_size' > /usr/include/sys/socketvar.h:226: warnin
RE: Apache-Tomcat Configuring....
I would download the patch cluster and apply it just the same...the script will tell you if the patches don't need to be applied and behave accordingly. You'll want the 8_Recommended patch cluster for your architecture. I would do that first. John > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 10:48 AM > To: Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > I'll check for the patches but this is a new machine with > Solaris 2.8. I > would think it would have a the current patches...but you never know. > > Allen > > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 11:18 PM > To: 'Tomcat Users List' > Subject: RE: Apache-Tomcat Configuring > > > > What errors? You got the same errors? Do you have the recommended > patch > cluster installed? Your error messages look like system-level library > problems. /usr/include/sys has nothing to do with Tomcat, the > connectors, > or Apache, as far as I know. /usr/include/sys is where OS headers and > libs > are kept, I believe. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 10:01 PM > To: Tomcat Users List; Tomcat Users List > Subject: RE: Apache-Tomcat Configuring > > > Thanks for the info > > I read through what you have and I ran into the errors below > when I did > the > make on the JK connector configuration. I did not use the connectors > that > your steps indicated...I just the one provided in the > jakarta-tomcat-connectors-4.1.18 file. > > Allen > > -----Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Fri 2/7/2003 6:32 PM > To: 'Tomcat Users List' > Cc: > Subject: RE: Apache-Tomcat Configuring > > > > > I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. > It > uses > Apache 2, but if you have the source to Apache the steps are the > same. Just > sub in "apache" wherever it says "apache2". I'm assuming you > are > using > Solaris because you have paths with /opt in them. > > In my experience, you want to use: > > ./configure --with-apxs=/some/path/to/apache/bin/apxs > make > make install > > ...to build the connector...it's much easier than ant, assuming > you > have a > sane GNU build environment. > > John > > > -Original Message- > From: Wilson, Allen [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 6:00 PM > To: Tomcat Users List > Subject: Apache-Tomcat Configuring > > > Hello > > I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to > work > together in preparation for adding JetSpeed. > > I have tried to following the instructions for creating > mod_jk.so > provided > by the Wrox Professional Tomcat book and the Galatea.com Flash > Guides and > came up with errors on both. > > - With the Wrox book, I attempted to build it using the > buildconf.so > script > and received the following errors when running the make.. > > In file included from jk_global.h:103, >from jk_logger.h:67, >from jk_ajp12_worker.h:67, >from jk_ajp12_worker.c:65: > /usr/include/sys/socketvar.h:54: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:54: warning: no semicolon at end of > struct or > union > /usr/include/sys/socketvar.h:55: warning: data definition has no > type or > storage class > /usr/include/sys/socketvar.h:222: parse error before > `t_uscalar_t' > /usr/include/sys/socketvar.h:222: warning: no semicolon at end > of > struct or > union > /usr/include/sys/socketvar.h:223: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:224: parse error before > `so_addr_size' > /usr/include/sys/socketvar.h:224: warning: data definition has > no > type or > storage class > /usr/include/sys/socketvar.h:225: parse error before > `so_opt_size' > /usr/include/sys/socketvar.h:225: warning: data definition has > no > type or > s
RE: Apache-Tomcat Configuring....
I'll check for the patches but this is a new machine with Solaris 2.8. I would think it would have a the current patches...but you never know. Allen -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 11:18 PM To: 'Tomcat Users List' Subject: RE: Apache-Tomcat Configuring What errors? You got the same errors? Do you have the recommended patch cluster installed? Your error messages look like system-level library problems. /usr/include/sys has nothing to do with Tomcat, the connectors, or Apache, as far as I know. /usr/include/sys is where OS headers and libs are kept, I believe. John -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 10:01 PM To: Tomcat Users List; Tomcat Users List Subject: RE: Apache-Tomcat Configuring Thanks for the info I read through what you have and I ran into the errors below when I did the make on the JK connector configuration. I did not use the connectors that your steps indicated...I just the one provided in the jakarta-tomcat-connectors-4.1.18 file. Allen -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Fri 2/7/2003 6:32 PM To: 'Tomcat Users List' Cc: Subject: RE: Apache-Tomcat Configuring I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. It uses Apache 2, but if you have the source to Apache the steps are the same. Just sub in "apache" wherever it says "apache2". I'm assuming you are using Solaris because you have paths with /opt in them. In my experience, you want to use: ./configure --with-apxs=/some/path/to/apache/bin/apxs make make install ...to build the connector...it's much easier than ant, assuming you have a sane GNU build environment. John -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 6:00 PM To: Tomcat Users List Subject: Apache-Tomcat Configuring Hello I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work together in preparation for adding JetSpeed. I have tried to following the instructions for creating mod_jk.so provided by the Wrox Professional Tomcat book and the Galatea.com Flash Guides and came up with errors on both. - With the Wrox book, I attempted to build it using the buildconf.so script and received the following errors when running the make.. In file included from jk_global.h:103, from jk_logger.h:67, from jk_ajp12_worker.h:67, from jk_ajp12_worker.c:65: /usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:55: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:223: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:224: parse error before `so_addr_size' /usr/include/sys/socketvar.h:224: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:225: parse error before `so_opt_size' /usr/include/sys/socketvar.h:225: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:226: parse error before `so_tidu_size' /usr/include/sys/socketvar.h:226: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:227: parse error before `so_serv_type' /usr/include/sys/socketvar.h:227: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id' /usr/include/sys/socketvar.h:230: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:274: parse error before `}' /usr/include/sys/socketvar.h:623: parse error before `t_scalar_t' /usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:624: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len' /usr/include/sys/socketvar.h:62
RE: Apache-Tomcat Configuring....
What errors? You got the same errors? Do you have the recommended patch cluster installed? Your error messages look like system-level library problems. /usr/include/sys has nothing to do with Tomcat, the connectors, or Apache, as far as I know. /usr/include/sys is where OS headers and libs are kept, I believe. John -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 10:01 PM To: Tomcat Users List; Tomcat Users List Subject: RE: Apache-Tomcat Configuring Thanks for the info I read through what you have and I ran into the errors below when I did the make on the JK connector configuration. I did not use the connectors that your steps indicated...I just the one provided in the jakarta-tomcat-connectors-4.1.18 file. Allen -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Fri 2/7/2003 6:32 PM To: 'Tomcat Users List' Cc: Subject: RE: Apache-Tomcat Configuring I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. It uses Apache 2, but if you have the source to Apache the steps are the same. Just sub in "apache" wherever it says "apache2". I'm assuming you are using Solaris because you have paths with /opt in them. In my experience, you want to use: ./configure --with-apxs=/some/path/to/apache/bin/apxs make make install ...to build the connector...it's much easier than ant, assuming you have a sane GNU build environment. John -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 6:00 PM To: Tomcat Users List Subject: Apache-Tomcat Configuring Hello I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work together in preparation for adding JetSpeed. I have tried to following the instructions for creating mod_jk.so provided by the Wrox Professional Tomcat book and the Galatea.com Flash Guides and came up with errors on both. - With the Wrox book, I attempted to build it using the buildconf.so script and received the following errors when running the make.. In file included from jk_global.h:103, from jk_logger.h:67, from jk_ajp12_worker.h:67, from jk_ajp12_worker.c:65: /usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:55: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:223: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:224: parse error before `so_addr_size' /usr/include/sys/socketvar.h:224: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:225: parse error before `so_opt_size' /usr/include/sys/socketvar.h:225: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:226: parse error before `so_tidu_size' /usr/include/sys/socketvar.h:226: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:227: parse error before `so_serv_type' /usr/include/sys/socketvar.h:227: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id' /usr/include/sys/socketvar.h:230: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:274: parse error before `}' /usr/include/sys/socketvar.h:623: parse error before `t_scalar_t' /usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:624: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len' /usr/include/sys/socketvar.h:625: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:630: parse error before `}' /usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known /usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known *** Error code 1
RE: Apache-Tomcat Configuring....
Thanks for the info I read through what you have and I ran into the errors below when I did the make on the JK connector configuration. I did not use the connectors that your steps indicated...I just the one provided in the jakarta-tomcat-connectors-4.1.18 file. Allen -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Fri 2/7/2003 6:32 PM To: 'Tomcat Users List' Cc: Subject: RE: Apache-Tomcat Configuring I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. It uses Apache 2, but if you have the source to Apache the steps are the same. Just sub in "apache" wherever it says "apache2". I'm assuming you are using Solaris because you have paths with /opt in them. In my experience, you want to use: ./configure --with-apxs=/some/path/to/apache/bin/apxs make make install ...to build the connector...it's much easier than ant, assuming you have a sane GNU build environment. John -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 6:00 PM To: Tomcat Users List Subject: Apache-Tomcat Configuring Hello I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work together in preparation for adding JetSpeed. I have tried to following the instructions for creating mod_jk.so provided by the Wrox Professional Tomcat book and the Galatea.com Flash Guides and came up with errors on both. - With the Wrox book, I attempted to build it using the buildconf.so script and received the following errors when running the make.. In file included from jk_global.h:103, from jk_logger.h:67, from jk_ajp12_worker.h:67, from jk_ajp12_worker.c:65: /usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:55: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:223: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:224: parse error before `so_addr_size' /usr/include/sys/socketvar.h:224: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:225: parse error before `so_opt_size' /usr/include/sys/socketvar.h:225: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:226: parse error before `so_tidu_size' /usr/include/sys/socketvar.h:226: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:227: parse error before `so_serv_type' /usr/include/sys/socketvar.h:227: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id' /usr/include/sys/socketvar.h:230: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:274: parse error before `}' /usr/include/sys/socketvar.h:623: parse error before `t_scalar_t' /usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:624: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len' /usr/include/sys/socketvar.h:625: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:630: parse error before `}' /usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known /usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known *** Error code 1 make: Fatal error: Command failed for target `jk_ajp12_worker.lo' Current working directory /opt/WWW/tomcat-connectors-4.1.18/jk/native/common *** Error code 1 make: Fatal error: Command failed for target `all-recursive' When I followed the steps in the Flash Guide. - I changed the mod_jk-1.3.eapi.so file to mod_jk.so and then put it in the libexec directory. This gave an about the wrong file type. - When I tried to bui
RE: Apache-Tomcat Configuring....
I have a Solaris 8 HOWTO here: http://www.johnturner.com/howto. It uses Apache 2, but if you have the source to Apache the steps are the same. Just sub in "apache" wherever it says "apache2". I'm assuming you are using Solaris because you have paths with /opt in them. In my experience, you want to use: ./configure --with-apxs=/some/path/to/apache/bin/apxs make make install ...to build the connector...it's much easier than ant, assuming you have a sane GNU build environment. John -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 6:00 PM To: Tomcat Users List Subject: Apache-Tomcat Configuring Hello I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work together in preparation for adding JetSpeed. I have tried to following the instructions for creating mod_jk.so provided by the Wrox Professional Tomcat book and the Galatea.com Flash Guides and came up with errors on both. - With the Wrox book, I attempted to build it using the buildconf.so script and received the following errors when running the make.. In file included from jk_global.h:103, from jk_logger.h:67, from jk_ajp12_worker.h:67, from jk_ajp12_worker.c:65: /usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:54: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:55: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t' /usr/include/sys/socketvar.h:222: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:223: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:224: parse error before `so_addr_size' /usr/include/sys/socketvar.h:224: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:225: parse error before `so_opt_size' /usr/include/sys/socketvar.h:225: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:226: parse error before `so_tidu_size' /usr/include/sys/socketvar.h:226: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:227: parse error before `so_serv_type' /usr/include/sys/socketvar.h:227: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:230: parse error before `so_acceptor_id' /usr/include/sys/socketvar.h:230: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:274: parse error before `}' /usr/include/sys/socketvar.h:623: parse error before `t_scalar_t' /usr/include/sys/socketvar.h:623: warning: no semicolon at end of struct or union /usr/include/sys/socketvar.h:624: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:625: parse error before `si_faddr_soa_len' /usr/include/sys/socketvar.h:625: warning: data definition has no type or storage class /usr/include/sys/socketvar.h:630: parse error before `}' /usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't known /usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't known *** Error code 1 make: Fatal error: Command failed for target `jk_ajp12_worker.lo' Current working directory /opt/WWW/tomcat-connectors-4.1.18/jk/native/common *** Error code 1 make: Fatal error: Command failed for target `all-recursive' When I followed the steps in the Flash Guide. - I changed the mod_jk-1.3.eapi.so file to mod_jk.so and then put it in the libexec directory. This gave an about the wrong file type. - When I tried to build it and used ant...it could not find the coyote.jar. I tried to use ant to build coyote and go the following errors BUILD FAILED file:/opt/WWW/tomcat-connectors-4.1.18/coyote/build.xml:189: Compile failed; see the compiler error output for details. If someone could point me in the right direction to get the mod_jk.so and Apache/Tomcat configuration going it would be appreciated Allen --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]