Thanks Martin I will look into maven.

Switching to solaris has been a steep learning curve, one more thing wont
hurt :)

___________________________

Gary Johnstone
PLM System Administrator
Cummins Turbo Technologies Ltd



Martin Gainty <[EMAIL PROTECTED]> wrote on 23/10/2008 16:19:43:

>
> Hi Gary-
> i noticed you're using ./configure.sh?
> the only suggestion I can offer would be to use maven for this effort
> http://maven.apache.org
>
> that way version specific anomalies/abnormalities would be addressed
> by the <version> attribute-specifier an example:
>
>   <dependencies>
>     <dependency>
>       <groupId>fu</groupId>
>       <artifactId>bar</artifactId>
>       <version>1.0</version>
>     </dependency>
> ...
>
> //Here are the instructions I see from tcnative.spec which include
> includedir and define tcnver as 1 and not 1.1.10?
> %define tcnver 1
>
> ##Summary: Tomcat Native Java library
> ##Name: tcnative
> ##Version: 1.1.10
> ##Release: 1
>
> %prep
> %setup -q
>
> %build
> %configure --with-apr=%{_prefix} \
>         --includedir=%{_includedir}/apr-%{tcnver}
> make %{?_smp_mflags} && make dox
>
> %check
> # Run non-interactive tests
> pushd test
> make %{?_smp_mflags} testall CFLAGS=-fno-strict-aliasing
> ./testall -v || exit 1
> popd
>
> %install
> rm -rf $RPM_BUILD_ROOT
> make install DESTDIR=$RPM_BUILD_ROOT
>
> # Documentation
> mv docs/dox/html html
>
> # Unpackaged files
> rm -f $RPM_BUILD_ROOT%{_libdir}/tcnative.exp
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %post -p /sbin/ldconfig
>
> %postun -p /sbin/ldconfig
>
> %files
> %defattr(-,root,root,-)
> %doc CHANGES LICENSE NOTICE
> %{_libdir}/libtcnative-%{tcnver}.so.*
>
> %files devel
> %defattr(-,root,root,-)
> %{_libdir}/libtcnative-%{tcnver}.*a
> %{_libdir}/libtcnative-%{tcnver}.so
> %{_libdir}/pkgconfig/tcnative-%{tcnver}.pc
> %{_includedir}/apr-%{tcnver}/*.h
> %doc --parents html
>
> maybe mladen or some of the committers can weigh in?
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the
> official business of Sender. This transmission is of a confidential
> nature and Sender does not endorse distribution to any party other
> than intended recipient. Sender does not necessarily endorse content
> contained within this transmission.
>
>
> > Date: Thu, 23 Oct 2008 15:08:13 +0100
> > From: [EMAIL PROTECTED]
> > Subject: RE: Possible causes of connection timeouts?
> > To: users@tomcat.apache.org
> >
> > It looks like this is an issue with the tomcat native connector. If I
> > remove it I have no connection issues at all.
> >
> > Any ideas why the native connector could be causing issues?
> >
> > I built the connector using
> >
> >    TC native      -> 1.1.14
> >    apr            -> 1.2.12
> >    OpenSSL  -> 0.9.8h 28 May 2008
> >    Java     -> 1.6.0_07-b06
> >
> >    ./configure --with-apr=/CTT/apr-1.2.12 --with-ssl=/usr/local/ssl
> >    --prefix=/CTT/tomcat6 --with-java-home=/usr/java
>
> >
> > I see there is a new version of the TC native so I will experiment with
> > that and different versions of APR.
> >
> > ___________________________
> >
> > Gary Johnstone
> > PLM System Administrator
> > Cummins Turbo Technologies Ltd
> >
> >
> >
> >
> >
> >

> >              gary.l.johnstone@

> >              cummins.com

> >
To
> >              22/10/2008 08:12          Tomcat Users List

> >                                        <users@tomcat.apache.org>

> >
cc
> >              Please respond to

> >              Tomcat Users List
Subject
> >              <[EMAIL PROTECTED]         RE: Possible causes of
connection
> >                  che.org>              timeouts?

> >

> >

> >

> >

> >

> >

> >
> >
> >
> >
> >     <Connector port="8080" protocol="HTTP/1.1"
> >                connectionTimeout="20000"
> >                redirectPort="8443"
> >                acceptCount="100"
> >                address="160.95.14.76"/>
> >
> >
> > One thing I have found is that when I set
> >
> > keepAliveTimeout="30000"
> >
> > i.e different to the connectionTimeout
> >
> > The delay then becomes 30 seconds and not 20s as it would default to
with
> > just connectionTimeout set to 20000.
> > I think this means I am seeing issues with new requests for pages/items
on
> > a page rather than issues mid serving of a page.
> >
> > ___________________________
> >
> > Gary Johnstone
> > PLM System Administrator
> > Cummins Turbo Technologies Ltd
> >
> >
> >
> >
> >
> >
> >
> >              Martin Gainty
> >              <[EMAIL PROTECTED]
> >              com>
To
> >                                        Tomcat Users List
> >              21/10/2008 19:40          <users@tomcat.apache.org>
> >
cc
> >
> >              Please respond to
Subject
> >              Tomcat Users List         RE: Possible causes of
connection
> >              <[EMAIL PROTECTED]         timeouts?
> >                  che.org>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > what are the values of your server.xml connection timeout parameters?
> > connectionTimeout
> > The number of milliseconds this Connector will wait, after accepting a
> > connection, for the request URI line to be presented. The default value
is
> > 60000 (i.e. 60 seconds).
> > connectionTimeout="60000"
> > connectionLinger: The number of ms during which the sockets used by
this
> > connector will linger when they are closed..-1 keeps the connection
open
> > until socket read/write operation is complete
> > connectionLinger="-1"
> > disableUploadTimeout
> > Allowed the servlet container to use a different longer connection
timeout
> > while a servlet is being executed. Allows the servlet a longer amount
of
> > time to complete execution or longer time during data upload
> > disableUploadTimeout="true"
> > socketBuffer
> > size of the socket buffer to be used for socket output buffering. -1
> > disables default is 9000 bytes
> > socketBuffer="9000"
> >
> > Regards
> > Martin
> > ______________________________________________
> > Disclaimer and confidentiality note
> > Everything in this e-mail and any attachments relates to the official
> > business of Sender. This transmission is of a confidential nature and
> > Sender does not endorse distribution to any party other than intended
> > recipient. Sender does not necessarily endorse content contained within
> > this transmission.
> >
> >
> > > Date: Tue, 21 Oct 2008 16:59:30 +0100
> > > From: [EMAIL PROTECTED]
> > > Subject: Possible causes of connection timeouts?
> > > To: users@tomcat.apache.org
> > >
> > >
> > > Hi,
> > >
> > > I am having intermitent but far too frequent issues with connection
> > > timeouts on a local tomcat server.
> > >
> > > The server is on the local network and 9 times out of 10 the pages
are
> > > served up with no issues but now and then the connection is dropped
and a
> > > delay of connectionTimeout occurs until the server/client resume
> > > communication. I do not want to drop the value of connectionTimeout
too
> > low
> > > as this server will be accessed from around the globe.
> > >
> > > What could be causing these timeouts?
> > > Is there a way I can look into what is causing them?
> > >
> > > Are there any specific settings I need on Solaris to run Tomcat
> > correctly?
> > >
> > > After plenty of googling and searching these lists on MARC I have not
> > found
> > > anything.
> > >
> > > The server is running tomcat 6, java 1.6 on solaris 10.
> > >
> > > Thanks
> > >
> > > ___________________________
> > >
> > > Gary Johnstone
> > > PLM System Administrator
> > > Cummins Turbo Technologies Ltd
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > _________________________________________________________________
> > You live life beyond your PC. So now Windows goes beyond your PC.
> > http://clk.atdmt.com/MRT/go/115298556/direct/01/
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.messagelabs.com/email
> > ______________________________________________________________________
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.messagelabs.com/email
> > ______________________________________________________________________
> >
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> You live life beyond your PC. So now Windows goes beyond your PC.
> http://clk.atdmt.com/MRT/go/115298556/direct/01/
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to