You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Steffen <in...@apachelounge.com> on 2011/12/01 11:22:49 UTC

Win 2.3.15 :: Build Warnings

Build warnings on Win32:



Warning 1 warning C4018: '<' : signed/unsigned mismatch 
util_expr_scan.c
Warning 2 warning C4180: qualifier applied to function type has no 
meaning; ignored \server\util_expr_eval.c 50
Warning 3 warning C4180: qualifier applied to function type has no 
meaning; ignored \server\util_expr_eval.c 103
Warning 4 warning C4018: '<' : signed/unsigned mismatch 
\server\util_expr_eval.c 116
Warning 5 warning C4180: qualifier applied to function type has no 
meaning; ignored \server\util_expr_eval.c 629
Warning 6 warning C4090: 'initializing' : different 'const' qualifiers 
\server\util_expr_eval.c 629
Warning 7 warning C4180: qualifier applied to function type has no 
meaning; ignored \server\util_expr_eval.c 642
Warning 8 warning C4090: 'initializing' : different 'const' qualifiers 
\server\util_expr_eval.c 642
Warning 9 warning C4715: 'ap_expr_str_exec_re' : not all control paths 
return a value \server\util_expr_eval.c 826
Warning 10 warning C4018: '<=' : signed/unsigned mismatch 
\server\util.c 414
Warning 11 warning C4018: '>=' : signed/unsigned mismatch 
\server\util.c 1012
Warning 12 warning C4018: '>=' : signed/unsigned mismatch 
\server\protocol.c 712
Warning 13 warning C4244: '=' : conversion from 'unsigned long' to 
'apr_uint16_t', possible loss of data \server\core.c 4691
Warning 14 warning C4018: '>=' : signed/unsigned mismatch 
\server\config.c 1653
Warning 15 warning C4133: 'function' : incompatible types - from 
'timeval *' to 'l_timeval *' \modules\ldap\util_ldap.c 481
Warning 16 warning C4133: 'function' : incompatible types - from 
'timeval *' to 'l_timeval *' \modules\ldap\util_ldap.c 916
Warning 17 warning C4133: 'function' : incompatible types - from 
'timeval *' to 'l_timeval *' \modules\ldap\util_ldap.c 1667
Warning 18 warning C4133: 'function' : incompatible types - from 
'timeval *' to 'l_timeval *' \modules\ldap\util_ldap.c 1925
Warning 48 warning C4018: '<=' : signed/unsigned mismatch 
\modules\filters\mod_substitute.c 250
Warning 55 warning C4090: 'function' : different 'const' qualifiers 
\modules\filters\mod_filter.c 596
Warning 71 warning C4244: '=' : conversion from 'time_t' to 'int', 
possible loss of data \modules\metadata\mod_usertrack.c 356
Warning 104 warning C4018: '<' : signed/unsigned mismatch 
.\ssl_util_ssl.c




Re: Validation Error with AddResource

Posted by Martin Marinschek <ma...@gmail.com>.
strange... tidy is also supposed to be based on code by the W3C

maybe it's you using transitional and me using strict?

In principle, you are right - we ought to have different renderkits
for different html versions, but to implement this, we won't have the
time ;)

it might be easier to have an attribute
org.apache.myfaces.HTML_VERSION which changes the rendering where
tweaks are necessary.

regards,

Martin

On 6 Jun 2005 16:43:24 -0000, mfaine <mf...@knology.net> wrote:
> Perhaps the problem is with the validator then.  I was using the HTML
> Validator at http://validator.w3.org/
> 
> Thanks,
> -Mark
> 
> On Mon, 6 Jun 2005 18:32:13 +0200, Martin Marinschek
> <ma...@gmail.com> wrote :
> 
> > Strange..
> >
> > if I use that:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> >    "http://www.w3.org/TR/html4/strict.dtd">
> > <HTML>
> > <HEAD>
> >   <TITLE>Chapter 2</TITLE>
> >   <LINK rel="Index" href="../index.html"/>
> >   <LINK rel="Next"  href="Chapter3.html"/>
> >   <LINK rel="Prev"  href="Chapter1.html"/>
> > </HEAD>
> > <body>
> > </body>
> > </html>
> >
> > it validates without a prob in Tidy?
> >
> > regards,
> >
> > Martin
> >
> > On 6 Jun 2005 15:07:07 -0000, mfaine <mf...@knology.net> wrote:
> > > I came across a validation error when validating a page and the cause was
> > > that the page is HTML 4.0.1 Transitional and the <link> tag was ended in XML
> > > style, like <link .... />
> > >
> > > I was able to fix this by removing the "/" from line 423 of
> > > org.apache.myfaces.component.html.util.AddResource.  I did not submit a diff
> > > because I don't think this is the correct way to fix it.  I'm not sure of
> > > how each renderkit works?  For example is there a renderkit for each type of
> > > HTML and XHTML?  To me it seems there would have to be a separate render kit
> > > for every type of HTML/XHTML that could be validated?  That is how it should
> > > properly be fixed.  Anyway I thought I would at least submit it as an FYI.
> > >
> > > If I knew more about the structure/organization of the code, as I'm sure I
> > > will in time, I would have attempted to fix it on my own.
> > >
> > > Thanks,
> > > -Mark
> > >
> > >
> >
> >
> >
> 
>

Re: Validation Error with AddResource

Posted by mfaine <mf...@knology.net>.
Perhaps the problem is with the validator then.  I was using the HTML
Validator at http://validator.w3.org/

Thanks,
-Mark

On Mon, 6 Jun 2005 18:32:13 +0200, Martin Marinschek
<ma...@gmail.com> wrote :

> Strange..
> 
> if I use that:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>    "http://www.w3.org/TR/html4/strict.dtd">
> <HTML>
> <HEAD>
>   <TITLE>Chapter 2</TITLE>
>   <LINK rel="Index" href="../index.html"/>
>   <LINK rel="Next"  href="Chapter3.html"/>
>   <LINK rel="Prev"  href="Chapter1.html"/>
> </HEAD>
> <body>
> </body>
> </html>
> 
> it validates without a prob in Tidy?
> 
> regards,
> 
> Martin
> 
> On 6 Jun 2005 15:07:07 -0000, mfaine <mf...@knology.net> wrote:
> > I came across a validation error when validating a page and the cause was
> > that the page is HTML 4.0.1 Transitional and the <link> tag was ended in XML
> > style, like <link .... />
> > 
> > I was able to fix this by removing the "/" from line 423 of
> > org.apache.myfaces.component.html.util.AddResource.  I did not submit a diff
> > because I don't think this is the correct way to fix it.  I'm not sure of
> > how each renderkit works?  For example is there a renderkit for each type of
> > HTML and XHTML?  To me it seems there would have to be a separate render kit
> > for every type of HTML/XHTML that could be validated?  That is how it should
> > properly be fixed.  Anyway I thought I would at least submit it as an FYI.
> > 
> > If I knew more about the structure/organization of the code, as I'm sure I
> > will in time, I would have attempted to fix it on my own.
> > 
> > Thanks,
> > -Mark
> > 
> >
> 
> 
> 

Re: instantiating bean within managed bean

Posted by mfaine <mf...@knology.net>.
On Mon, 10 Jan 2005 16:54:35 +0100 (CET), "Bruno Aranda - Dev"
<br...@ebiointel.com> wrote :

> Hi Mark, I don't understand very well your problem but I think you have
> here a problem with hibernate, when saving the user there is a property of
> Center that is null and in your hibernate mapping files this property has
> the not-null="true" attribute...
> 
> I wish I could be more helpful... :-)
> 
> Bruno
> 

Thanks Bruno,

You are correct that center_id is set to not-null in the hibernate mapping
file because I should never have a user created who does not have a center_id.

The problem is that Center is null. When a UserBean object is created it
should instantiate Center and when a user picks a center from the menu:

        <h:selectOneMenu id="center" value="#{userBean.center.centerId}">
           <f:selectItems value="#{applicationBean.centerSelectItems}"/>
        </h:selectOneMenu>

The center.centerId should be set.

Then when the saveAction executes the UserBean's center.centerId property
should be set and should be copied from UserBean to an instance of User
which then gets saved by hibernate.

-Mark


RE: practical difference between 'backingbean' and bean

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
Mark,

> On page 51 they write:
> 
> "Backing beans have their uses, but they can also be abused.  
> You should not use the user interface components as a 
> repository for business data. If you use backing beans for 
> your forms, you should still use beans for business objects."


see David's answer and my comment here.

The comment on 51 is fine! Since you realy should *not*
use UI-components for data.

In J2EE-Patterns there are Objects called ValueObjects (or
TransferObjekts)
for transfer between the tiers. JSF is in Web-Presentation-Tier.

You have layers like this:

JSP-file containing JSF-Tags *refers* --> BackingBean
BackingBean *uses* TransferObjects ---> BusinessDelegate (uses what else
:-))

Your BackingBean (e.g. customer) has a method the is trigerd after
*submit* (e.g. buttonPressed...)
like:
public String buttonPressed(){

 CustomerDataTransferObject dto = new ...();
 //copy properties for *this* to dto
 j2eeBusinessDelegate.storeCustomer(dto);
...
...
}


HTH,
Matthias

> 
> -Mark
> 


RE: practical difference between 'backingbean' and bean

Posted by mfaine <mf...@knology.net>.
On Fri, 10 Dec 2004 17:31:32 +0100, "Matthias Wessendorf"
<ma...@matthias-wessendorf.de> wrote :

> > The authors sugest using backing beans rarely if 
> 
> what did they write exactly? I don't know the book
> (its content...)
> 
> -Matthias
> 
> 
> 
> 
On page 51 they write:

"Backing beans have their uses, but they can also be abused.  You should not
use the user interface components as a repository for business data. If you
use backing beans for your forms, you should still use beans for business
objects."



-Mark


[users@httpd] Re: SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Posted by Aman Raheja <am...@techquotes.com>.
Though I don't have a response yet. Issue already resolved
Hope this helps someone else
I had V-hosts on same IP for http and https
On the former
<VirtualHost --IP-Addr-->
was changed to
<VirtualHost --IP-Addr--:80>

and that's it. Since I didn't have the port # 80, the server didn't
allow the SSL connection to the 443 port, it was intercepted by the
first V-host. though netstat showed server listening on port 443,
apache's port 80 V-host would intercept and throw back the error.

Regards
Aman Raheja
http://www.techquotes.com


Aman wrote:
> Some more verbosity
>
> # openssl s_client -connect <IP-address>:443 -state -debug
> CONNECTED(00000003)
> SSL_connect:before/connect initialization
> write to 080AECC8 [080AF208] (142 bytes => 142 (0x8E))
> 0000 - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00   ......c... ..9..
> 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0   8..5............
> 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00   ..3..2../.....f.
> 0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00   .............c..
> 0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40   b..a...........@
> 0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00   ..e..d..`.......
> 0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 0c 99   ................
> 0070 - a0 e4 3a 9c 23 71 27 88-bb de 34 70 30 97 00 ea   ..:.#q'...4p0...
> 0080 - a8 7e c7 96 21 80 c4 a8-c3 e1 47 f3 59 b1         .~..!.....G.Y.
> SSL_connect:SSLv2/v3 write client hello A
> read from 080AECC8 [080B4768] (7 bytes => 7 (0x7))
> 0000 - 3c 21 44 4f 43 54 59                              <!DOCTY
> SSL_connect:error in SSLv2/v3 read server hello A
> 28314:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
> protocol:s23_clnt.c:475:
>
>
> Please advice what could be wrong?
> Thanks
> Aman
>
>
> On 14 Jan 2007 14:19:20 -0000, "Aman" <am...@techquotes.com> wrote :
>
>   
>> I have 3 SSL sites configured on the server. 
>> Two are working absolutely fine and for the one I am configuring now - 
>> doesn't work. Here's the output of manual test. Please suggest.
>>
>> # openssl s_client -connect <IP-addr>:443
>> CONNECTED(00000003)
>> 18069:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
>> protocol:s23_clnt.c:475:
>>
>>
>> Thank you.
>> Aman
>>
>>
>>
>>     
>
>
>   


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Posted by Aman <am...@techquotes.com>.
Some more verbosity

# openssl s_client -connect <IP-address>:443 -state -debug
CONNECTED(00000003)
SSL_connect:before/connect initialization
write to 080AECC8 [080AF208] (142 bytes => 142 (0x8E))
0000 - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00   ......c... ..9..
0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0   8..5............
0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00   ..3..2../.....f.
0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00   .............c..
0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40   b..a...........@
0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00   ..e..d..`.......
0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 0c 99   ................
0070 - a0 e4 3a 9c 23 71 27 88-bb de 34 70 30 97 00 ea   ..:.#q'...4p0...
0080 - a8 7e c7 96 21 80 c4 a8-c3 e1 47 f3 59 b1         .~..!.....G.Y.
SSL_connect:SSLv2/v3 write client hello A
read from 080AECC8 [080B4768] (7 bytes => 7 (0x7))
0000 - 3c 21 44 4f 43 54 59                              <!DOCTY
SSL_connect:error in SSLv2/v3 read server hello A
28314:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:s23_clnt.c:475:


Please advice what could be wrong?
Thanks
Aman


On 14 Jan 2007 14:19:20 -0000, "Aman" <am...@techquotes.com> wrote :

> I have 3 SSL sites configured on the server. 
> Two are working absolutely fine and for the one I am configuring now - 
> doesn't work. Here's the output of manual test. Please suggest.
> 
> # openssl s_client -connect <IP-addr>:443
> CONNECTED(00000003)
> 18069:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
> protocol:s23_clnt.c:475:
> 
> 
> Thank you.
> Aman
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: x:dataTable doesn't render an id per row?

Posted by Sean Schofield <se...@gmail.com>.
I don't have time right now to look at your example but you mentioned
that the behavior you wanted was working fine in the master detail
example.  If that is the case it would seem to be a problem on your
end.  (I'm not saying there is not a bug, just interpreting your
findings.)

Please keep us posted.  Feel free to dig into the source code and
debug it that way.  You may end up discovering a legit bug and help us
with the patch.

sean

On 5/31/05, Kris Verhoye <kr...@synergetic-solutions.be> wrote:
> Hi Mark!
> 
> Thanks for replying!
> 
> I just tried it: I'm using the action method that implements the
> navigation I put behind the commandLink to read the param. If I print
> out the object id of the object that should reside in the x:dataTable
> var variable (in my case 'publication'), it just prints nothing (which
> is weird, I would've expected the id).
> It does seem that the event is handled for every single row, so if I
> print out the param (or try to), it will just do it for every row... In
> my opinion nothing will work as long as the table can't distinguish its
> rows by id. Or am I wrong about this?
> Another strange thing is; if I narrow my table down to the standard tags
> of h:dataTable, the latter does render ids!
> 
> I thought about using params, but I was just trying to get the table to
> generate those ids as that would simply seem more normal to me. If it
> would generate those, it would be much easier to get the selected
> values. I want to add a checkbox per row next. Those checkboxes will not
> get their ids either...
> 
> Is this normal behaviour or is it something that's simply not working?
> 
> Thanks again for the help!
> 
> Greetings,
> Kris
> 
> -----Original Message-----
> From: mfaine [mailto:mfaine@knology.net]
> Sent: 31 May 2005 19:03
> To: myfaces-user@incubator.apache.org
> Subject: Re: x:dataTable doesn't render an id per row?
> 
> 
> 
> On Tue, 31 May 2005 15:35:05 +0200, "Kris Verhoye"
> <kr...@synergetic-solutions.be> wrote :
> 
> > This is a multi-part message in MIME format.
> >
> >
> > Hi!
> >
> > I know that there have been a lot of questions regarding the
> > dataTable, but I still can't get mine to work.
> >
> > I have a table which looks like this:
> >
> >             <x:dataTable id="pubTable"
> >                          styleClass="publicationTable"
> >                          headerClass="publicationTable_SortHeader"
> >
> > rowClasses="publicationTable_row1,publicationTable_row2"
> >                          var="publication"
> >                          value="#{publicationsBean.publicationModel}"
> >                          sortColumn="#{publicationsBean.sort}"
> >                          sortAscending="#{publicationsBean.ascending}"
> >                          preserveDataModel="true"
> >                          preserveSort="true">
> >               <h:column>
> >                 <f:facet name="header">
> >                   <h:panelGroup></h:panelGroup>
> >                 </f:facet>
> >                 <h:graphicImage
> > alt="#{pubmgr_messages['alt_validated']}"
> >                                 url="#{publicationsBean.validated ==
> > 'true' ? pubmgr_messages['img_greenlight'] :
> > pubmgr_messages['img_redlight']}">
> >                 </h:graphicImage>
> >               </h:column>
> >               <h:column>
> >                 <f:facet name="header">
> >                   <x:commandSortHeader columnName="code" arrow="true">
> >                     <h:outputText value="Code" />
> >                   </x:commandSortHeader>
> >                 </f:facet>
> >                 <x:commandLink
> > action="#{publicationsBean.goToPublicationDetail}" immediate="true"
> > styleClass="publication_select">
> >                   <x:outputText value="#{publication.code}" />
> >                 </x:commandLink>
> >               </h:column>
> >               <h:column>
> >                 <f:facet name="header">
> >                   <x:commandSortHeader columnName="name" arrow="true">
> >                     <h:outputText value="Name" />
> >                   </x:commandSortHeader>
> >                 </f:facet>
> >                 <h:outputText value="#{publication.names['en']}" />
> >               </h:column>
> >             </x:dataTable>
> >
> > The table is rendered to this:
> >
> > <table id="pubForm:pubTable" class="publicationTable"> <thead>
> >
> > <tr><th class="publicationTable_SortHeader"></th><th
> > class="publicationTable_SortHeader"><a href="#"
> > onclick="clear_pubForm();document.forms['pubForm'].elements['autoScrol
> > l'
> >
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> >
> _hidden_'].value='pubForm:pubTable:_id11';if(document.forms['pubForm'].o
> >
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> > .submit();return false;" id="pubForm:pubTable:_id11">Code</a></th><th
> > class="publicationTable_SortHeader"><a href="#"
> >
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> >
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> >
> _hidden_'].value='pubForm:pubTable:_id16';if(document.forms['pubForm'].o
> >
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> > .submit();return false;"
> > id="pubForm:pubTable:_id16">Name&#x2193;</a></th></tr></thead>
> > <tbody>
> > <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> > src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> > href="#"
> >
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> >
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> >
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> >
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> > .submit();return false;" id="pubForm:pubTable:_id13"
> > class="publication_select">testcode1</a></td><td>testname1</td></tr>
> > <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> > src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> > href="#"
> >
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> >
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> >
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> >
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> > .submit();return false;" id="pubForm:pubTable:_id13"
> > class="publication_select">testcode2</a></td><td>testname2</td></tr>
> > <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> > src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> > href="#"
> >
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> >
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> >
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> >
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> > .submit();return false;" id="pubForm:pubTable:_id13"
> > class="publication_select">testcode3</a></td><td>testname3</td></tr>
> > <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> > src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> > href="#"
> >
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> >
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> >
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> >
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> > .submit();return false;" id="pubForm:pubTable:_id13"
> >
> class="publication_select">testcode4</a></td><td>testname4</td></tr><tbo
> > dy></table>
> >
> > The publicationsBean backing bean has the following setters/getters:
> >
> >   public DataModel getPublicationModel()
> >   {
> >     if (this.publicationModel == null)
> >     {
> >       this.publicationModel = new ListDataModel();
> >     }
> >     if (this.sortablePublications == null)
> >     {
> >       this.sortablePublications = new
> > SortablePublicationList(loadPublications());
> >     }
> >
> > this.publicationModel.setWrappedData(this.sortablePublications.getPubl
> > ic
> > ations()); <--- so I just put a list of Publications in the DataModel
> >     this.publicationModel.addDataModelListener(new DataModelListener()
> >     {
> >    public void rowSelected(DataModelEvent e)
> >    {
> >     System.out.println("row selected:" + e.getRowIndex()); <-----
> > clicking on a link in the table activates this for the whole column?!
> >    }
> >     });
> >     return this.publicationModel;
> >   }
> >
> >   public void setPublicationModel(DataModel dataModel)
> >   {
> >     this.publicationModel = dataModel;
> >   }
> >
> >   private List loadPublications()
> >   {
> >     <return a List of Publication>
> >   }
> >
> >   public String getSort()
> >   {
> >     if (this.sortablePublications == null)
> >     {
> >       this.sortablePublications = new
> > SortablePublicationList(loadPublications());
> >     }
> >     return this.sortablePublications.getSort();
> >   }
> >
> >   public void setSort(String sort)
> >   {
> >     this.sortablePublications.setSort(sort);
> >   }
> >
> >   public boolean isAscending()
> >   {
> >     if (this.sortablePublications == null)
> >     {
> >       this.sortablePublications = new
> > SortablePublicationList(loadPublications());
> >     }
> >     return this.sortablePublications.isAscending();
> >   }
> >
> >   public void setAscending(boolean ascending)
> >   {
> >     this.sortablePublications.setAscending(ascending);
> >   }
> >
> > The sorting works, as it is I'm already quite happy with the output
> > ;-)
> >
> > Yet! I can't get the id of selected Publication once the commandLink
> > is pressed as there seems to be a problem with the generated ids of
> > each row!
> >
> > As far as I know, each id should be something like
> > pubForm:pubTable_0:_id13, pubForm:pubTable_1:_id13, etc...?!
> >
> > As all my rows have the same id (see the rendered table), the
> > DataModel's getDataRow() method always returns the last item from the
> > row (after having iterated over the whole column it seems).
> >
> > Does anyone know what my problem could be?
> >
> > The master/detail example from the myfaces examples does get an id per
> 
> > row so I'm reckoning it's still possible.
> >
> > I tried using <x:updateActionListener
> > property="#{publicationsBean.selectedPublication}"
> > value="#{publication}" />, but the problem remains as the system can't
> 
> > differentiate between the rows...
> >
> > Many thanks in advance for any help!!
> >
> > Greetings,
> > Kris
> >
> >
> 
> Hi Kris,
> 
> Have you tried passing a param with a unique identifier for the row and
> using an actionlistener to get the selected row?
> 
> -Mark
> 
>

RE: x:dataTable doesn't render an id per row?

Posted by Kris Verhoye <kr...@synergetic-solutions.be>.
Hi Mark!

Thanks for replying!

I just tried it: I'm using the action method that implements the
navigation I put behind the commandLink to read the param. If I print
out the object id of the object that should reside in the x:dataTable
var variable (in my case 'publication'), it just prints nothing (which
is weird, I would've expected the id).
It does seem that the event is handled for every single row, so if I
print out the param (or try to), it will just do it for every row... In
my opinion nothing will work as long as the table can't distinguish its
rows by id. Or am I wrong about this?
Another strange thing is; if I narrow my table down to the standard tags
of h:dataTable, the latter does render ids!

I thought about using params, but I was just trying to get the table to
generate those ids as that would simply seem more normal to me. If it
would generate those, it would be much easier to get the selected
values. I want to add a checkbox per row next. Those checkboxes will not
get their ids either...

Is this normal behaviour or is it something that's simply not working?

Thanks again for the help!

Greetings,
Kris

-----Original Message-----
From: mfaine [mailto:mfaine@knology.net] 
Sent: 31 May 2005 19:03
To: myfaces-user@incubator.apache.org
Subject: Re: x:dataTable doesn't render an id per row?



On Tue, 31 May 2005 15:35:05 +0200, "Kris Verhoye"
<kr...@synergetic-solutions.be> wrote :

> This is a multi-part message in MIME format.
> 
> 
> Hi!
>  
> I know that there have been a lot of questions regarding the 
> dataTable, but I still can't get mine to work.
>  
> I have a table which looks like this:
>  
>             <x:dataTable id="pubTable"
>                          styleClass="publicationTable"
>                          headerClass="publicationTable_SortHeader"
>  
> rowClasses="publicationTable_row1,publicationTable_row2"
>                          var="publication"
>                          value="#{publicationsBean.publicationModel}"
>                          sortColumn="#{publicationsBean.sort}"
>                          sortAscending="#{publicationsBean.ascending}"
>                          preserveDataModel="true"
>                          preserveSort="true">
>               <h:column>
>                 <f:facet name="header">
>                   <h:panelGroup></h:panelGroup>
>                 </f:facet>
>                 <h:graphicImage 
> alt="#{pubmgr_messages['alt_validated']}"
>                                 url="#{publicationsBean.validated == 
> 'true' ? pubmgr_messages['img_greenlight'] : 
> pubmgr_messages['img_redlight']}">
>                 </h:graphicImage>
>               </h:column>
>               <h:column>
>                 <f:facet name="header">
>                   <x:commandSortHeader columnName="code" arrow="true">
>                     <h:outputText value="Code" />
>                   </x:commandSortHeader>
>                 </f:facet>
>                 <x:commandLink 
> action="#{publicationsBean.goToPublicationDetail}" immediate="true" 
> styleClass="publication_select">
>                   <x:outputText value="#{publication.code}" />
>                 </x:commandLink>
>               </h:column>
>               <h:column>
>                 <f:facet name="header">
>                   <x:commandSortHeader columnName="name" arrow="true">
>                     <h:outputText value="Name" />
>                   </x:commandSortHeader>
>                 </f:facet>
>                 <h:outputText value="#{publication.names['en']}" />
>               </h:column>
>             </x:dataTable>
>  
> The table is rendered to this:
>  
> <table id="pubForm:pubTable" class="publicationTable"> <thead>
>  
> <tr><th class="publicationTable_SortHeader"></th><th
> class="publicationTable_SortHeader"><a href="#" 
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScrol
> l'
>
].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
>
_hidden_'].value='pubForm:pubTable:_id11';if(document.forms['pubForm'].o
>
nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id11">Code</a></th><th
> class="publicationTable_SortHeader"><a href="#"
>
onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
>
].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
>
_hidden_'].value='pubForm:pubTable:_id16';if(document.forms['pubForm'].o
>
nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;"
> id="pubForm:pubTable:_id16">Name&#x2193;</a></th></tr></thead>
> <tbody>
> <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
>
onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
>
].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
>
_hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
>
nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode1</a></td><td>testname1</td></tr>
> <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
>
onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
>
].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
>
_hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
>
nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode2</a></td><td>testname2</td></tr>
> <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
>
onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
>
].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
>
_hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
>
nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode3</a></td><td>testname3</td></tr>
> <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
>
onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
>
].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
>
_hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
>
nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
>
class="publication_select">testcode4</a></td><td>testname4</td></tr><tbo
> dy></table>
>  
> The publicationsBean backing bean has the following setters/getters:
>  
>   public DataModel getPublicationModel()
>   {
>     if (this.publicationModel == null)
>     {
>       this.publicationModel = new ListDataModel();
>     }
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new 
> SortablePublicationList(loadPublications());
>     }
>  
> this.publicationModel.setWrappedData(this.sortablePublications.getPubl
> ic
> ations()); <--- so I just put a list of Publications in the DataModel
>     this.publicationModel.addDataModelListener(new DataModelListener()
>     {
>    public void rowSelected(DataModelEvent e)
>    {
>     System.out.println("row selected:" + e.getRowIndex()); <-----
> clicking on a link in the table activates this for the whole column?!
>    }
>     });
>     return this.publicationModel;
>   }
>   
>   public void setPublicationModel(DataModel dataModel)
>   {
>     this.publicationModel = dataModel;
>   }
>  
>   private List loadPublications()
>   {
>     <return a List of Publication>
>   }
>  
>   public String getSort()
>   {
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new 
> SortablePublicationList(loadPublications());
>     }
>     return this.sortablePublications.getSort();
>   }
>  
>   public void setSort(String sort)
>   {
>     this.sortablePublications.setSort(sort);
>   }
>  
>   public boolean isAscending()
>   {
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new 
> SortablePublicationList(loadPublications());
>     }
>     return this.sortablePublications.isAscending();
>   }
>  
>   public void setAscending(boolean ascending)
>   {
>     this.sortablePublications.setAscending(ascending);
>   }
>  
> The sorting works, as it is I'm already quite happy with the output 
> ;-)
>  
> Yet! I can't get the id of selected Publication once the commandLink 
> is pressed as there seems to be a problem with the generated ids of 
> each row!
>  
> As far as I know, each id should be something like 
> pubForm:pubTable_0:_id13, pubForm:pubTable_1:_id13, etc...?!
>  
> As all my rows have the same id (see the rendered table), the 
> DataModel's getDataRow() method always returns the last item from the 
> row (after having iterated over the whole column it seems).
>  
> Does anyone know what my problem could be?
>  
> The master/detail example from the myfaces examples does get an id per

> row so I'm reckoning it's still possible.
>  
> I tried using <x:updateActionListener 
> property="#{publicationsBean.selectedPublication}"
> value="#{publication}" />, but the problem remains as the system can't

> differentiate between the rows...
>  
> Many thanks in advance for any help!!
>  
> Greetings,
> Kris
> 
> 

Hi Kris,

Have you tried passing a param with a unique identifier for the row and
using an actionlistener to get the selected row?

-Mark


Re: x:dataTable doesn't render an id per row?

Posted by mfaine <mf...@knology.net>.
On Tue, 31 May 2005 15:35:05 +0200, "Kris Verhoye"
<kr...@synergetic-solutions.be> wrote :

> This is a multi-part message in MIME format.
> 
> 
> Hi!
>  
> I know that there have been a lot of questions regarding the dataTable,
> but I still can't get mine to work.
>  
> I have a table which looks like this:
>  
>             <x:dataTable id="pubTable"
>                          styleClass="publicationTable"
>                          headerClass="publicationTable_SortHeader"
>  
> rowClasses="publicationTable_row1,publicationTable_row2"
>                          var="publication"
>                          value="#{publicationsBean.publicationModel}"
>                          sortColumn="#{publicationsBean.sort}"
>                          sortAscending="#{publicationsBean.ascending}"
>                          preserveDataModel="true"
>                          preserveSort="true">
>               <h:column>
>                 <f:facet name="header">
>                   <h:panelGroup></h:panelGroup>
>                 </f:facet>
>                 <h:graphicImage
> alt="#{pubmgr_messages['alt_validated']}"
>                                 url="#{publicationsBean.validated ==
> 'true' ? pubmgr_messages['img_greenlight'] :
> pubmgr_messages['img_redlight']}">
>                 </h:graphicImage>
>               </h:column>
>               <h:column>
>                 <f:facet name="header">
>                   <x:commandSortHeader columnName="code" arrow="true">
>                     <h:outputText value="Code" />
>                   </x:commandSortHeader>
>                 </f:facet>
>                 <x:commandLink
> action="#{publicationsBean.goToPublicationDetail}" immediate="true"
> styleClass="publication_select">
>                   <x:outputText value="#{publication.code}" />
>                 </x:commandLink>
>               </h:column>
>               <h:column>
>                 <f:facet name="header">
>                   <x:commandSortHeader columnName="name" arrow="true">
>                     <h:outputText value="Name" />
>                   </x:commandSortHeader>
>                 </f:facet>
>                 <h:outputText value="#{publication.names['en']}" />
>               </h:column>
>             </x:dataTable>
>  
> The table is rendered to this:
>  
> <table id="pubForm:pubTable" class="publicationTable">
> <thead>
>  
> <tr><th class="publicationTable_SortHeader"></th><th
> class="publicationTable_SortHeader"><a href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id11';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id11">Code</a></th><th
> class="publicationTable_SortHeader"><a href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id16';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;"
> id="pubForm:pubTable:_id16">Name&#x2193;</a></th></tr></thead>
> <tbody>
> <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode1</a></td><td>testname1</td></tr>
> <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode2</a></td><td>testname2</td></tr>
> <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode3</a></td><td>testname3</td></tr>
> <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode4</a></td><td>testname4</td></tr><tbo
> dy></table>
>  
> The publicationsBean backing bean has the following setters/getters:
>  
>   public DataModel getPublicationModel()
>   {
>     if (this.publicationModel == null)
>     {
>       this.publicationModel = new ListDataModel();
>     }
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new
> SortablePublicationList(loadPublications());
>     }
>  
> this.publicationModel.setWrappedData(this.sortablePublications.getPublic
> ations()); <--- so I just put a list of Publications in the DataModel
>     this.publicationModel.addDataModelListener(new DataModelListener()
>     {
>    public void rowSelected(DataModelEvent e)
>    {
>     System.out.println("row selected:" + e.getRowIndex()); <-----
> clicking on a link in the table activates this for the whole column?!
>    }
>     });
>     return this.publicationModel;
>   }
>   
>   public void setPublicationModel(DataModel dataModel)
>   {
>     this.publicationModel = dataModel;
>   }
>  
>   private List loadPublications()
>   {
>     <return a List of Publication>
>   }
>  
>   public String getSort()
>   {
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new
> SortablePublicationList(loadPublications());
>     }
>     return this.sortablePublications.getSort();
>   }
>  
>   public void setSort(String sort)
>   {
>     this.sortablePublications.setSort(sort);
>   }
>  
>   public boolean isAscending()
>   {
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new
> SortablePublicationList(loadPublications());
>     }
>     return this.sortablePublications.isAscending();
>   }
>  
>   public void setAscending(boolean ascending)
>   {
>     this.sortablePublications.setAscending(ascending);
>   }
>  
> The sorting works, as it is I'm already quite happy with the output ;-)
>  
> Yet! I can't get the id of selected Publication once the commandLink is
> pressed as there seems to be a problem with the generated ids of each
> row!
>  
> As far as I know, each id should be something like
> pubForm:pubTable_0:_id13, pubForm:pubTable_1:_id13, etc...?!
>  
> As all my rows have the same id (see the rendered table), the
> DataModel's getDataRow() method always returns the last item from the
> row (after having iterated over the whole column it seems).
>  
> Does anyone know what my problem could be?
>  
> The master/detail example from the myfaces examples does get an id per
> row so I'm reckoning it's still possible.
>  
> I tried using <x:updateActionListener
> property="#{publicationsBean.selectedPublication}"
> value="#{publication}" />, but the problem remains as the system can't
> differentiate between the rows...
>  
> Many thanks in advance for any help!!
>  
> Greetings,
> Kris
> 
> 

Hi Kris,

Have you tried passing a param with a unique identifier for the row and
using an actionlistener to get the selected row?

-Mark

Re: [users@httpd] Read errors for GET when is more than 64K

Posted by Aman Raheja <ar...@techquotes.com>.
Are you running on Windows.
Please provide more info about your platform and configuration for better help.
I have seen the same issue reported in the past on this mailing list but
don't recall a successful solution - you may please search.
In the meantime provide more details, for us to try to figure out what might
be happening.
I opened the pics page with Firefox and each time I refresh I get some more
of the pic (may be 64k but not sure).

- Aman Raheja


On Sat, 28 May 2005 11:55:52 -0700, Mark Slater <ma...@analogsoftware.com>
wrote :

> I compiled a clean version of Apache2 2.0.54 last week and things  
> seemed to work fine for a few days. However, now whenever anyone  
> tries to access a file larger than 64 K, the browser will fail to  
> download. The failure occurs on Safari and Firefox. The access log  
> shows a successful response, with the correct file size, but the file  
> is always cut off before transfer completes.
> 
> What is the best way to debug this problem? Apache isn't giving very  
> helpful error messages because it doesn't seem to notice the error,  
> and the browsers just say they can't download the whole file. Or is  
> this a known problem?
> 
> To view the problem, you can look at this user's site:
> http://whisper.cse.ucsc.edu/~ryang/photos.html
> 
> Any of the photo albums linked from this page will demonstrate the  
> problem. The small thumbnails are downloaded without problems, but  
> the large versions of the photos cut off before finishing.
> 
> Mark
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: build prepare-testdb

Posted by kikik yaranusa <ky...@atqona.com>.
Hi Armin,

see, your few words "when using version 0.9.7 without any modification all
tests pass well" is great step for me as a newbie.
your word:"without modification" inspired me to start from beginning. i 
downloaded all stuffs again, since i did many modifications on this and 
that, here and there in order to get just this simple word "BUILD 
SUCCESSFUL" at my windows console with blind eye, ooh what stupid i was.

i downloaded and installed apache ant too

i run 
- ant junit
- ant prepare-tutorials
- ant prepare-testdb ... etc etc
- tuturial1.bat

IT WORKS GREAT!
i never feel satisfaction, i did some modification in mysql.profile and 
build.property in order to port database to mysql database, no more than 3 
minutes -> AMAZING!!! IT WORKS GREAT!

this is my lucky day .... Armin thanks a lot
Thomas, I like you, guy! .. Keep on the good work


cheers
kikik

==============
O/S: Windows98
java: j2sdk1.4.0_01
OJB: 0.9.7
Database: mysql
   Release mysql-3.23.38


On Sat, 14 Dec 2002 17:26:37 +0100, "Armin Waibel" <ar...@code-au-lait.de> 
wrote :

> Hi Kikik,
> 
> when using version 0.9.7 without any modification all
> tests pass well.
> How did you start the ant task?
> Correct use:
> ...\jakarta-ojb>bin\build.bat junit
> or only DB prepare
> ...\jakarta-ojb>bin\build.bat prepare-testdb
> 
> regards,
> Armin
> 
> ----- Original Message -----
> From: "kikik yaranusa" <ky...@atqona.com>
> To: <oj...@jakarta.apache.org>
> Sent: Saturday, December 14, 2002 5:05 PM
> Subject: HELP: build prepare-testdb
> 
> 
> > dear all,
> > im newbie, i do everything to run build junit,but it fails,i seems
> > something's wrong with db, then i try to run build prepare-testdb
> first as
> > described at my last posting (bellow).
> >
> > please, help me, your few words or comments are great help and
> valuable for
> > me, so i can move on. it has been more than 2 weeks without any
> significant
> > progress diging/reading info from ojb-documents before asking to you
> all
> > and posting this stupid question :-).
> >
> > thanks in advance
> > kikik
> >
> > ------------- Forwarded message follows -------------
> >
> > hi all,
> >
> > i'm having a problem running build prepare-testdb
> > when i open file D:\ojb\target\src\sql\report.ojbtest.sql.generation
> > it is empty!
> > plz anyone can help me?
> >
> > ohter info:
> > ObJectBridge: 0.9.7
> > o/s:win98
> >
> > thanks in advance
> > kikik
> >
> > =====================
>[deleted] 



---

Re: Don't load the taglibs of MyFaces ...

Posted by Sean Schofield <se...@gmail.com>.
OK I got it working with JBuilder2005.  Here's what to do:

- configure a MyFaces library (like you normally would) that points to
the myfaces.jar
- when configuring the library there is a "framework" tag, click that
and choose to add JSP library

- use the following values

tld: [browse to your jar file and then inside the META-INF directory
choose myfaces_ext.tld]
name: myfaces_extended
prefix: x
URI: http://myfaces.apache.org/extensions
location: [wherever your jar is located]

Voila!

No more complaints about unknown tags in my JSP editor.  Also if you
type "<x:" you get the code insight or whatever they call it where it
lists the tags.

sean


On Fri, 21 Jan 2005 09:21:38 -0500, Sean Schofield
<se...@gmail.com> wrote:
> >Just be sure that you add all the tld files to the framework tab
> > in the library configuration and then in the properties/web section of the
> > web application be sure that myfaces (or whatever you called the libary)
> > framework is checked.
>  
> This is probably what I need to do.  I'll check this and report back
> if it fixes the problem.
> 
> > -Mark
> 
> sean
>

Re: Don't load the taglibs of MyFaces ...

Posted by mfaine <mf...@knology.net>.
On Wed, 19 Jan 2005 11:09:50 -0500, Sean Schofield
<se...@gmail.com> wrote :

> Yeah I'm having a problem with JBuilder 2005 also.  The editor
> complains that it doesn't recognize the "x" tags.  I'm using the
> correct URI in my taglib statement and the myfaces.jar is in the class
> path (of the project).
> 
> Anyone run into this with JBuilder?
> 
> sean

The problem I'm having is that if you use myfaces you loose the JSF
integration features that come with Jbuilder 2005.  It doesn't seem to
recognize them.  I have experiemented with mixed results on renaming the
myfaces jar files and tricking Jbuilder into believing it is still using the
Sun RI but you still loose some of tag library drag and drop features and
tag insight.

If you don't care about the integration problems then myfaces should work
just fine.  Just be sure that you add all the tld files to the framework tab
in the library configuration and then in the properties/web section of the
web application be sure that myfaces (or whatever you called the libary)
framework is checked.  You may need to clean and rebuild the project.

Hope that helps.

-Mark




Re: Translation of Apache Doc

Posted by Joshua Slive <jo...@slive.ca>.
JHKChan wrote:
> Where should I discuss this? I have visited that site and it told me to 
> talk about this in the mailing list. As I find that there is no Chinese 
> version for Apache doc, we have the eager to translate it.

It says to discuss it on the docs@httpd mailing list, not the user@httpd
mailing list.

Joshua


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Translation of Apache Doc

Posted by JHKChan <jh...@itzone.info>.
Where should I discuss this? I have visited that site and it told me to 
talk about this in the mailing list. As I find that there is no Chinese 
version for Apache doc, we have the eager to translate it.


On Sun, 02 Jun 2002 12:00:36 -0400, Joshua Slive <jo...@slive.ca> wrote :

> JHKChan wrote:
> > I want to how many languages are now available for apache doc? As my 
team 
> > is going to translate it to traditional and/or simplified Chinese 
edition. 
> > I just want to confirm that there is no overlapping on work. Thx.
> 
> This is the wrong mailing list to discuss this.  See:
> http://httpd.apache.org/docs-project/
> 
> The only relatively-complete set of documentation is in english.  There
> is significant work going on in Japanese and some work in, at least,
> German, French, and Spanish.
> 
> Joshua.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [apache-2.1.3] buffering content in input filter

Posted by Pawel Niewiadomski <ne...@foo-baz.com>.
On Wed, 12 Jan 2005 18:43:53 +0000 (GMT), Nick Kew <ni...@webthing.com> wrote :

> I meant to add: there are C code examples in my stuff at
> apache.webthing.com.  Can't recollect OTTOMH what's published, but
> mod_upload is definitely opensource and its tmpfile_filter does
> what you're asking (though it's not an ideal example).

Thanks! I didn't think about calling ap_get_brigade in a loop. 
I was ROTFL from myself when I saw your response.
Now the problem is solved.

-- 
**Paweł Niewiadomski**, new()foo-baz.com, http://new.foo-baz.com/
Virtual Qmail (http://v-q.foo-baz.com), qmail-patches (http://q-p.foo-baz.com)


Re: checkboxes and sorting in a datatable

Posted by Sean Schofield <se...@gmail.com>.
Mark,

I assume you have looked at the simple examples and saw the sortable
table examples there.  None of them have checkboxes but they will help
you to set up a simple sortable table (that's probably not your issue
though.)

Most likely you are experiencing a known issue:
http://issues.apache.org/jira/browse/MYFACES-228

We are currently working on a solution to it.  It may be a couple of
weeks until we get a patch.  So far I have been one of the main people
looking at the issue and I'm leaving the country next week for two
weeks.

sean


On 6/1/05, Slawek <ss...@o2.pl> wrote:
> ok, but plese by lenient;)
> thats my old stuff (while w was jaunty php developer who was jus learning
> OOP) that after somme copy-paste;) work started working im my jsf app.
> 
> 1. JS code is procedural cause i hate that ridiculous quasi-object js oop
> 2. somme idenifiers are named in polish language, bu i have commented them
> in english
> 
> so...
> first we need somme global variables:
> 
> 
> var collumnToSort=0; //number of collumnt that will be sorted. we will
> need them cause that cant be passed to comparator (explained later)
> var sortMode=1;// 1-means that we will sort strings, 2-means that we will
> sort numbers (int or float)
> var directions=new Array();// array o sort orders per each collumn (i
> assume that there will be 11 collumns-change array dimenson to fit your
> heeds) 1-means desc sort, -1 - means inc sort
> 
> directions[0]=1;directions[1]=1;directions[2]=1;directions[3]=1;directions[4]=1;directions[5]=1;
> directions[6]=1;directions[7]=1;directions[8]=1;directions[9]=1;directions[10]=1;
> 
> there is posibilty that our table data could be links to details or sth or
> could be surronded in span tag.
> so to compare data from each cell of table we must get rid of <a> or
> <span> tag, those 2 functions do it:
> 
> function takeCareAboutSpan(elem){
>         res=elem.match(/<span.*>(.*)<\/span>/i);
>         if (res==null)//nie znaleziono znacnzika span
>                 return elem; //zwrocenie elementu
>         else
>                 return res[1];
> }
> 
> function takeCareAboutAHref(elem){
>         res=elem.match(/<a.*>(.*)<\/a>/i);
>         if (res==null)//nie znaleziono znacnzika span
>                 return elem; //zwrocenie elementu
>         else
>                 return res[1];
> }
> 
> u give them the innerHTML of table cell and they give u pure data, without
> garbage;)
> 
> 
> 
> in poland we use , insted of . to write float numbers so i have hunction
> that change polish notation to "normal world" notation;)   ...maybe can be
> helpfull for someone
> 
> function removeComas(s){
>         return s.replace(',' , '');
> }
> 
> 
> what we need are two comparing finctions, one to inc sort and secont to
> desc sort. they takes 2 parameters to compare and return -1 when order is
> wrong, 1 when is ok, 0 when paramters are the same (whatever same means in
> js - i cant remeber;)
> 
> //desc sort
> function sortujMalejaco(a,b){
>    slowo1=takeCareAboutAHref(takeCareAboutSpan(a[collumnToSort]));
>    slowo2=takeCareAboutAHref(takeCareAboutSpan(b[collumnToSort]));
> 
>    if (sortMode==2){//numbers sort mode
>                 slowo1=parseFloat(removeComas(slowo1));
>                 slowo2=parseFloat(removeComas(slowo2));
>    }
>    else{//string sort mode
>                 slowo1=slowo1.toLowerCase();
>                 slowo2=slowo2.toLowerCase();
>    }
> 
>    if (slowo1>slowo2){
>                 return -1;
>    }
>    else{
>        if (slowo1<slowo2)
>          return 1;
>        else
>          return 0;
>    }
> }
> 
> //inc sort
> function sortujRosnaco(a,b){
>    slowo1=takeCareAboutAHref(takeCareAboutSpan(a[collumnToSort]));
>    slowo2=takeCareAboutAHref(takeCareAboutSpan(b[collumnToSort]));
> 
>    if (sortMode==2){//sortowanie liczb
>                 slowo1=parseFloat(removeComas(slowo1));
>                 slowo2=parseFloat(removeComas(slowo2));
>    }
>    else{
>                 slowo1=slowo1.toLowerCase();
>                 slowo2=slowo2.toLowerCase();
>    }
> 
>    if (slowo1<slowo2){
>                 return -1;
>    }
>    else{
>        if (slowo1>slowo2)
>          return 1;
>        else
>          return 0;
>    }
> }
> 
> and the most importand function... sorting monster. the idea is to copy
> data from table (DOM stuff) to my own model (matrix), sort that model, and
> than copy data from model to table.
> a i remember sorting rows of table was impossible so i had to sort somme
> separated variable.
> 
> /*
>         idTable-id of table tag (remember about jsf colons;)
>         col-which columf of that table u want to sort
>         mode-1sort as strings, 2sort as numbers
>         lastRows-how many rows (counting from the end) have to be ommited while
> sorting (for example footer of the table)
>         btw: funtion omits first row from the begining (header)
> */
> function sortTable(idTable, col, mode, lastRows){
>         collumnToSort=col;//get global variables cause comparators must get
> values from them-cant pass paramters to comparators cause they are called
> as function references
>         sortMode=mode;
>         table=document.getElementById(idTable);
>         if (!table)
>                 return false;
>         wiersze=table.rows;//all rows of table
>         dane = new Array();//my own data model (that will be matrix)
> 
>   for (i=1; i<wiersze.length-lastRows; i++){//copy data from table to model
> omiting first (zero) row and few last rows
>     dane[i-1]=new Array();
>     for (j=0; j<wiersze[i].cells.length; j++){ //copy each cell of row
>        dane[i-1][j]=wiersze[i].cells[j].innerHTML;//!!! notice that we are
> copying innerHTML so everithing what is inside <td> will be copied (ex:
> links, spans and so on)
>     }
>   }
> 
> //==========sort==========
>    if(directions[col]==1)
>           dane.sort(sortujMalejaco); //pass reference to comparator function
>    else
>           dane.sort(sortujRosnaco);
> 
>    directions[col]*=(-1);//reverse direction of sorting
> 
> 
>   //copy data from model to table
>   for (i=1; i<wiersze.length-lastRows; i++){//przepsianie sortowanych
> danych do htmla
>          for (j=0; j<wiersze[i].cells.length; j++){
>             wiersze[i].cells[j].innerHTML=dane[i-1][j];
>          }
>   }
>   return false;//to eventually stop submit event to propagate when clickin
> on jsf component (ex command button) - page wont be sent on server
> }
> 
> 
> how to use that?
> simply:
> <h:column>
>    <f:facet name="header">
>      <h:commandLink value="#{msg.TABLE_PRODUCT_NAME}" onclick="return
> sortTable('f:data', 0, 1,1)" />
>    </f:facet>
> .
> .
> .
> 
> 
> 
> so thats all
> i may look like shit but works fine;)
> 
> im using it to sort curenty dispalyed data
> im also using server side sorter (order by in hibernate) to global sort
> all data from database-but it doesnt matter
> 
> notice that after reload page u loose your JS sorting!
> actually i have my global JS variables saved in hidden fileds so i can
> restore sorting by <body onload>
> 
> cheers
> slawek
> 
> >
> > The checkbox setters would get executed first because they have
> > onchange="submit()" attribute.  I've also noticed that the checkboxes do
> > not
> > stay checked when paging with a dataScroller, this may be related, though
> > I'm not quite sure how, just feels like it.  I'm thinking that the
> > arrayList
> > that backs the dataTable is not being saved before paging and/or
> > sorting?  I
> > though this was inherit in the component?
> >
> > Any clarifications on any of this would be appreciated.
> >
> > Also, I would be interested in seeing your sort script.
> >
> > Thanks,
> > -Mark
> >
> 
> 
>

Re: checkboxes and sorting in a datatable

Posted by Slawek <ss...@o2.pl>.
ok, but plese by lenient;)
thats my old stuff (while w was jaunty php developer who was jus learning 
OOP) that after somme copy-paste;) work started working im my jsf app.

1. JS code is procedural cause i hate that ridiculous quasi-object js oop
2. somme idenifiers are named in polish language, bu i have commented them 
in english

so...
first we need somme global variables:


var collumnToSort=0; //number of collumnt that will be sorted. we will 
need them cause that cant be passed to comparator (explained later)
var sortMode=1;// 1-means that we will sort strings, 2-means that we will 
sort numbers (int or float)
var directions=new Array();// array o sort orders per each collumn (i 
assume that there will be 11 collumns-change array dimenson to fit your 
heeds) 1-means desc sort, -1 - means inc sort

directions[0]=1;directions[1]=1;directions[2]=1;directions[3]=1;directions[4]=1;directions[5]=1;
directions[6]=1;directions[7]=1;directions[8]=1;directions[9]=1;directions[10]=1;

there is posibilty that our table data could be links to details or sth or 
could be surronded in span tag.
so to compare data from each cell of table we must get rid of <a> or 
<span> tag, those 2 functions do it:

function takeCareAboutSpan(elem){
	res=elem.match(/<span.*>(.*)<\/span>/i);		
	if (res==null)//nie znaleziono znacnzika span
		return elem; //zwrocenie elementu
	else
		return res[1];
}

function takeCareAboutAHref(elem){
	res=elem.match(/<a.*>(.*)<\/a>/i);		
	if (res==null)//nie znaleziono znacnzika span
		return elem; //zwrocenie elementu
	else
		return res[1];
}

u give them the innerHTML of table cell and they give u pure data, without 
garbage;)



in poland we use , insted of . to write float numbers so i have hunction 
that change polish notation to "normal world" notation;)   ...maybe can be 
helpfull for someone

function removeComas(s){	
	return s.replace(',' , '');	
}


what we need are two comparing finctions, one to inc sort and secont to 
desc sort. they takes 2 parameters to compare and return -1 when order is 
wrong, 1 when is ok, 0 when paramters are the same (whatever same means in 
js - i cant remeber;)

//desc sort
function sortujMalejaco(a,b){
   slowo1=takeCareAboutAHref(takeCareAboutSpan(a[collumnToSort]));
   slowo2=takeCareAboutAHref(takeCareAboutSpan(b[collumnToSort]));

   if (sortMode==2){//numbers sort mode
   		slowo1=parseFloat(removeComas(slowo1));
   		slowo2=parseFloat(removeComas(slowo2));  		
   }
   else{//string sort mode
   		slowo1=slowo1.toLowerCase();
   		slowo2=slowo2.toLowerCase();  	
   }

   if (slowo1>slowo2){
   		return -1;
   }
   else{
       if (slowo1<slowo2)
         return 1;
       else
         return 0;
   }
}

//inc sort
function sortujRosnaco(a,b){
   slowo1=takeCareAboutAHref(takeCareAboutSpan(a[collumnToSort]));
   slowo2=takeCareAboutAHref(takeCareAboutSpan(b[collumnToSort]));

   if (sortMode==2){//sortowanie liczb
   		slowo1=parseFloat(removeComas(slowo1));
   		slowo2=parseFloat(removeComas(slowo2));  		
   }
   else{
	  	slowo1=slowo1.toLowerCase();
   		slowo2=slowo2.toLowerCase();  	
   }

   if (slowo1<slowo2){
   		return -1;
   }
   else{
       if (slowo1>slowo2)
         return 1;
       else
         return 0;
   }
}

and the most importand function... sorting monster. the idea is to copy 
data from table (DOM stuff) to my own model (matrix), sort that model, and 
than copy data from model to table.
a i remember sorting rows of table was impossible so i had to sort somme 
separated variable.

/*
	idTable-id of table tag (remember about jsf colons;)
	col-which columf of that table u want to sort
	mode-1sort as strings, 2sort as numbers
	lastRows-how many rows (counting from the end) have to be ommited while 
sorting (for example footer of the table)
	btw: funtion omits first row from the begining (header)
*/
function sortTable(idTable, col, mode, lastRows){
	collumnToSort=col;//get global variables cause comparators must get 
values from them-cant pass paramters to comparators cause they are called 
as function references
	sortMode=mode;
	table=document.getElementById(idTable);
	if (!table)
		return false;
	wiersze=table.rows;//all rows of table
  	dane = new Array();//my own data model (that will be matrix)

  for (i=1; i<wiersze.length-lastRows; i++){//copy data from table to model 
omiting first (zero) row and few last rows
    dane[i-1]=new Array();
    for (j=0; j<wiersze[i].cells.length; j++){ //copy each cell of row
       dane[i-1][j]=wiersze[i].cells[j].innerHTML;//!!! notice that we are 
copying innerHTML so everithing what is inside <td> will be copied (ex: 
links, spans and so on)
    }
  }

//==========sort==========
   if(directions[col]==1)
	  dane.sort(sortujMalejaco); //pass reference to comparator function
   else
	  dane.sort(sortujRosnaco);    	
	
   directions[col]*=(-1);//reverse direction of sorting


  //copy data from model to table
  for (i=1; i<wiersze.length-lastRows; i++){//przepsianie sortowanych 
danych do htmla
	 for (j=0; j<wiersze[i].cells.length; j++){
	    wiersze[i].cells[j].innerHTML=dane[i-1][j];
	 }
  }
  return false;//to eventually stop submit event to propagate when clickin 
on jsf component (ex command button) - page wont be sent on server
}


how to use that?
simply:
<h:column>
   <f:facet name="header">
     <h:commandLink value="#{msg.TABLE_PRODUCT_NAME}" onclick="return 
sortTable('f:data', 0, 1,1)" />
   </f:facet>
.
.
.



so thats all
i may look like shit but works fine;)

im using it to sort curenty dispalyed data
im also using server side sorter (order by in hibernate) to global sort 
all data from database-but it doesnt matter

notice that after reload page u loose your JS sorting!
actually i have my global JS variables saved in hidden fileds so i can 
restore sorting by <body onload>

cheers
slawek

>
> The checkbox setters would get executed first because they have
> onchange="submit()" attribute.  I've also noticed that the checkboxes do 
> not
> stay checked when paging with a dataScroller, this may be related, though
> I'm not quite sure how, just feels like it.  I'm thinking that the 
> arrayList
> that backs the dataTable is not being saved before paging and/or 
> sorting?  I
> though this was inherit in the component?
>
> Any clarifications on any of this would be appreciated.
>
> Also, I would be interested in seeing your sort script.
>
> Thanks,
> -Mark
>



Re: checkboxes and sorting in a datatable

Posted by mfaine <mf...@knology.net>.
On Wed, 01 Jun 2005 17:53:49 +0200, Slawek <ss...@o2.pl> wrote :

> check what is executed first: sort method or checkbox setters...
> 
> btw: im using my_own_client_side_java_script_sort_stuff. on p4 2.8GHz it 
> sorts and rerenders 10x100 table in 1 second. if someone would like to 
> save server power and use client power to perferm sorting on "not big" 
> tables i can share my script (not elegant but works;)
> 
> slawek
> 
> > I have an x:dataTable which presents a row of results from a database 
> > each
> > with a checkbox.  If I sort on a column in the database after selecting a
> > checkbox the checkbox does not also sort relative to the sorted column.  
> > For
> > example, if I check the first checkbox and then sort the column 
> > descending
> > the first checkbox is still checked, not the last.  I guess I need to 
> > link
> > the checkbox with the row somehow but I'm not sure how.   Any 
> > suggestions,
> > tips would be appreciated.
> >
> > Thanks,
> > -Mark
> >
> 


The checkbox setters would get executed first because they have
onchange="submit()" attribute.  I've also noticed that the checkboxes do not
stay checked when paging with a dataScroller, this may be related, though
I'm not quite sure how, just feels like it.  I'm thinking that the arrayList
that backs the dataTable is not being saved before paging and/or sorting?  I
though this was inherit in the component?

Any clarifications on any of this would be appreciated.

Also, I would be interested in seeing your sort script.

Thanks,
-Mark

Re: 2.4.0 GA This week?

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Tuesday 03 January 2012, William A. Rowe Jr. wrote:
> On 1/3/2012 3:30 AM, Steffen wrote:
> > Still, I want to ask to reconsider going back to the 2.2 behavior
> > (for the time being).
> 
> Highly unlikely for the reasons I responded nearly a year or so
> back. This bug is irritating, but it is exactly that, a bug.  Not
> 1000's of lines of redundant code.
> 
> Spent last week investigating this and several other obstacles, but
> I don't have an affirmative response yet.  Gregg's recent post will
> likely help me a bunch.

I am glad that there has been some activity on this in the background, 
thanks.

> Stefan, you could likely help on the logging puzzle.  If you look

s/Stefan/Steffen/

> at http://httpd.apache.org/dev/debugging.html#backtrace-win you
> have some basic steps to trigger a core for a -running- httpd.exe.
>  If you could do this once a collection of 'L' statuses have
> accumulated for the child process, the backtraces of those threads
> would be very helpful.  I would anticipate this bug is relatively
> new, in core, and not the win32 mpm, but could be surprised.

One thing that comes to mind was the changing of the EOR bucket 
cleanup to a pre-cleanup. But that was already > 1 year ago. I have no 
idea how this could lead to a hang, do you think it could have broken 
some assumption in the win32 mpm?

Re: 2.4.0 GA This week?

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 1/3/2012 3:30 AM, Steffen wrote:
> 
> Still, I want to ask to reconsider going back to the 2.2 behavior (for the time being).

Highly unlikely for the reasons I responded nearly a year or so back.
This bug is irritating, but it is exactly that, a bug.  Not 1000's of
lines of redundant code.

Spent last week investigating this and several other obstacles, but
I don't have an affirmative response yet.  Gregg's recent post will
likely help me a bunch.

Stefan, you could likely help on the logging puzzle.  If you look at
http://httpd.apache.org/dev/debugging.html#backtrace-win you have some
basic steps to trigger a core for a -running- httpd.exe.  If you could
do this once a collection of 'L' statuses have accumulated for the child
process, the backtraces of those threads would be very helpful.  I would
anticipate this bug is relatively new, in core, and not the win32 mpm,
but could be surprised.


Re: virtual directory in tomcat

Posted by ab...@knology.net.
The application is not accepting absolute paths for some reason...hence 
looking for some other way to get around it.
Any ideas?

Thanks for your response, though.

-Abby

On Sun, 05 Oct 2003 14:47:12 -0400, Dov Rosenberg 
<do...@conviveon.com> wrote :

> Instead of using relative paths in your application, use absolute paths ,
> i.e. http://media.company.com/images/....
> 
> What force Tomcat to serve your application and images, let Apache do the
> image serving, makes your application loads more scalable.
> 
> Dov Rosenberg
> 
> 
> 
> On 10/5/03 2:26 AM, "abhivarsha@knology.net" <ab...@knology.net> 
wrote:
> 
> > 
> > 
> > 
> > Hello guys,
> > 
> > Can anybody advise me on this...is it possible to create a virtual
> > directory in Tomcat which points to a directory on a different
> > machine? ... something similar to what IIS does?
> > I need to store lots of images for my website and am hence using a
> > separate machine with lot of space in it. I will tomcat to point to 
that
> > directory on the other machine.
> > Any suggestions?
> > 
> > -Abby
> > 
> > 
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: 2.4.0 GA This week?

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 1/3/2012 2:15 AM, Gregg L. Smith wrote:
> 
> I all for stop any and all API changes other than anything that may require fixing these.

Hopefully, there is consensus that the API is baked :)

> I am all for RCs if it means changing the -dev is to -rc#

-rc# isn't an httpd concept.  Long threads explain the position
of the group on -rc#'s vs .0, .1, .2 etc.  Other than Jim's post
proposing rc's I didn't see any interest in this, and it certainly
violates the principals that 1) version numbers are cheap, and
2) don't recycle burnt revisions.

That was actually my only point, that it is likely time for 2.4.0,
but rc's don't fit here without some group consensus that we use
rc's.  AFAIK we resoundingly rejected that model.

> I'm sorry I signed off before I realized SSL with  "AcceptFilter httpd none"  was still a
> problem on Windoze.

Nothing to apologize for, thank you for reporting once you had
discovered them.  It would have been lovely if someone had caught
this during my last refactoring when we fixed the 80/20... but...
c'est la vie.


Re: 2.4.0 GA This week?

Posted by Jim Jagielski <ji...@jagunet.com>.
On Jan 3, 2012, at 10:01 AM, William A. Rowe Jr. wrote:

> On 1/3/2012 7:48 AM, Jim Jagielski wrote:
>> One reason to announce my intent was to basically "encourage"
>> people to try HEAD and see how it works for them. If we lack
>> sufficient people with access and/or knowledge about Windows,
>> or if they don't bother to try things out until they get a
>> tagged and rolled tarball (or whatever), then that is the
>> issue that needs to be discussed and resolved.
> 
> +1 (or branches/2.4.x/ rather ;-)
> 

Yeppers.... Thats why I said HEAD instead of trunk...
HEAD of the 2.4 branch...


Re: 2.4.0 GA This week?

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 1/3/2012 7:48 AM, Jim Jagielski wrote:
> One reason to announce my intent was to basically "encourage"
> people to try HEAD and see how it works for them. If we lack
> sufficient people with access and/or knowledge about Windows,
> or if they don't bother to try things out until they get a
> tagged and rolled tarball (or whatever), then that is the
> issue that needs to be discussed and resolved.

+1 (or branches/2.4.x/ rather ;-)

> Another reason was to also encourage people to practice some
> restraint against willy-nilly changes, so that the delta
> between the last beta and what we hope to go GA with isn't
> so large as to warrant YAB (Yet Another Beta)... Of course,
> bugs should be squashed, but YAR (Yet Another Refactor) should
> be carefully considered.

+1


Re: 2.4.0 GA This week?

Posted by Jim Jagielski <ji...@jaguNET.com>.
One reason to announce my intent was to basically "encourage"
people to try HEAD and see how it works for them. If we lack
sufficient people with access and/or knowledge about Windows,
or if they don't bother to try things out until they get a
tagged and rolled tarball (or whatever), then that is the
issue that needs to be discussed and resolved.

Another reason was to also encourage people to practice some
restraint against willy-nilly changes, so that the delta
between the last beta and what we hope to go GA with isn't
so large as to warrant YAB (Yet Another Beta)... Of course,
bugs should be squashed, but YAR (Yet Another Refactor) should
be carefully considered.

Re: 2.4.0 GA This week?

Posted by Mario Brandt <jb...@gmail.com>.
I agree with Gregg, this server is the best I ever worked with. Since
one of the early betas I run it on my prod systems on windows and
*nix. Except for known issues it works like a charm.
A public beta or RC does not hurt. More testers may find some more
stuff to fix. An api freeze coulod gve the 3rd party module guys give
the time to fix and or build
their modules against coming 2.4

Go the way on releasing it for one system as GA and others as beta is
confusing in my eyes.

Just my 2 cents
Mario

> I all for stop any and all API changes other than anything that may require
> fixing these.
> I am all for RCs if it means changing the -dev is to -rc#
>
> I'm sorry I signed off before I realized SSL with  "AcceptFilter httpd none"
>  was still a problem on Windoze.
> Yes, Mario's mod_proxy_balancer/slotmem shm errors I am also still getting/
> Mario, I know you read this list ... chime in your PR#
>
> and any other possitivle showstopper that may be on any platform other than
> building  ... not that I count :)
>
> Other than these few ... bummers ... guys ... this is one of the best
> servers I have seen.
>
> Cheets
>
> Gregg
>

Re: 2.4.0 GA This week?

Posted by "Gregg L. Smith" <gl...@gknw.net>.
0On 1/2/2012 3:06 PM, William A. Rowe Jr. wrote:
> On Sunday 01/01/2012 at 19:03, Mario Brandt wrote:
>>>> The loadbalancer still crashes on windows. See
>>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52402
>> We should try to get at least the rewrite/proxy issue resolved, first.
>>
>> About the Windows-onlly issues... Well, if there are not sufficient
>> developers who have time and inclination to look into those, I would
>> rather release 2.4.0 as "GA on unix, beta on Windows", than delay it
>> indefinitely.
> When we tag and roll 2.4.0, if it isn't up to snuff, it won't pass the
> vote for GA, but perhaps it will pass the vote for beta (or alpha).
>
> I'm not sure where the impetus came from to change the way the HTTP
> Project operates at this particular point in time.  It certainly hasn't
> been discussed much on this list, or put up for a vote.  The methodology
> for handling releases was all hashed out a number of years ago and was
> assembled from consensus.  Has that consensus changed?

I all for stop any and all API changes other than anything that may 
require fixing these.
I am all for RCs if it means changing the -dev is to -rc#

I'm sorry I signed off before I realized SSL with  "AcceptFilter httpd 
none"  was still a problem on Windoze.
Yes, Mario's mod_proxy_balancer/slotmem shm errors I am also still getting/
Mario, I know you read this list ... chime in your PR#

and any other possitivle showstopper that may be on any platform other 
than building  ... not that I count :)

Other than these few ... bummers ... guys ... this is one of the best 
servers I have seen.

Cheets

Gregg


Re: 2.4.0 GA This week?

Posted by "Gregg L. Smith" <gl...@gknw.net>.
My vote ... Stefan, wherever it fits (depends on whom I speak to) , 
these are showstoppers. But, it can be said these are one OS specific 
... which usually does not stop the press AFAIK. I can say however .. as 
a small time distributor ...  this will be noted as the problems yet 
remaining on this one platform (windows) ... and if these few problems 
do not affect any of my distributees ... then they should move on to 2.4.

Regards,

Gregg


On 1/2/2012 10:50 PM, Stefan Fritsch wrote:
> On Tuesday 03 January 2012, William A. Rowe Jr. wrote:
>> On 1/2/2012 4:10 PM, Stefan Fritsch wrote:
>>> On Sunday 01 January 2012, Steffen wrote:
>>>> Also IMHO blocking GA:
>>>>
>>>> - SSL on windows not usable
>>>> - Hanging "logging" workers
>>>> - Rewrite P
>>>>
>>>> On Sunday 01/01/2012 at 19:03, Mario Brandt  wrote:
>>>>> The loadbalancer still crashes on windows. See
>>>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52402
>>> We should try to get at least the rewrite/proxy issue resolved,
>>> first.
>>>
>>> About the Windows-onlly issues... Well, if there are not
>>> sufficient developers who have time and inclination to look into
>>> those, I would rather release 2.4.0 as "GA on unix, beta on
>>> Windows", than delay it indefinitely.
>> When we tag and roll 2.4.0, if it isn't up to snuff, it won't pass
>> the vote for GA, but perhaps it will pass the vote for beta (or
>> alpha).
>>
>> I'm not sure where the impetus came from to change the way the HTTP
>> Project operates at this particular point in time.  It certainly
>> hasn't been discussed much on this list, or put up for a vote.
>> The methodology for handling releases was all hashed out a number
>> of years ago and was assembled from consensus.  Has that consensus
>> changed?
> No. The status of 2.4.0 will be determined by vote. I was just
> pointing out how I intend to vote in the face of the Windows issues
> and am lobbying for other people to consider this as a valid option,
> too.
>


Re: 2.4.0 GA This week?

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Tuesday 03 January 2012, William A. Rowe Jr. wrote:
> On 1/2/2012 4:10 PM, Stefan Fritsch wrote:
> > On Sunday 01 January 2012, Steffen wrote:
> >> Also IMHO blocking GA:
> >> 
> >> - SSL on windows not usable
> >> - Hanging "logging" workers
> >> - Rewrite P
> >> 
> >> On Sunday 01/01/2012 at 19:03, Mario Brandt  wrote:
> >>> The loadbalancer still crashes on windows. See
> >>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52402
> > 
> > We should try to get at least the rewrite/proxy issue resolved,
> > first.
> > 
> > About the Windows-onlly issues... Well, if there are not
> > sufficient developers who have time and inclination to look into
> > those, I would rather release 2.4.0 as "GA on unix, beta on
> > Windows", than delay it indefinitely.
> 
> When we tag and roll 2.4.0, if it isn't up to snuff, it won't pass
> the vote for GA, but perhaps it will pass the vote for beta (or
> alpha).
> 
> I'm not sure where the impetus came from to change the way the HTTP
> Project operates at this particular point in time.  It certainly
> hasn't been discussed much on this list, or put up for a vote. 
> The methodology for handling releases was all hashed out a number
> of years ago and was assembled from consensus.  Has that consensus
> changed?

No. The status of 2.4.0 will be determined by vote. I was just 
pointing out how I intend to vote in the face of the Windows issues 
and am lobbying for other people to consider this as a valid option, 
too.

Re: 2.4.0 GA This week?

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 1/2/2012 4:10 PM, Stefan Fritsch wrote:
> On Sunday 01 January 2012, Steffen wrote:
>> Also IMHO blocking GA:
>>
>> - SSL on windows not usable
>> - Hanging "logging" workers
>> - Rewrite P
> 
>> On Sunday 01/01/2012 at 19:03, Mario Brandt  wrote:
>>> The loadbalancer still crashes on windows. See
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52402
> 
> We should try to get at least the rewrite/proxy issue resolved, first.
> 
> About the Windows-onlly issues... Well, if there are not sufficient 
> developers who have time and inclination to look into those, I would 
> rather release 2.4.0 as "GA on unix, beta on Windows", than delay it 
> indefinitely.

When we tag and roll 2.4.0, if it isn't up to snuff, it won't pass the
vote for GA, but perhaps it will pass the vote for beta (or alpha).

I'm not sure where the impetus came from to change the way the HTTP
Project operates at this particular point in time.  It certainly hasn't
been discussed much on this list, or put up for a vote.  The methodology
for handling releases was all hashed out a number of years ago and was
assembled from consensus.  Has that consensus changed?




Re: 2.4.0 GA This week?

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Sunday 01 January 2012, Steffen wrote:
> Also IMHO blocking GA:
> 
> - SSL on windows not usable
> - Hanging "logging" workers
> - Rewrite P

> On Sunday 01/01/2012 at 19:03, Mario Brandt  wrote:
> > The loadbalancer still crashes on windows. See
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=52402

We should try to get at least the rewrite/proxy issue resolved, first.

About the Windows-onlly issues... Well, if there are not sufficient 
developers who have time and inclination to look into those, I would 
rather release 2.4.0 as "GA on unix, beta on Windows", than delay it 
indefinitely.


Re: inputFileUpload - accept multiple file formats

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
Mark,
> Yes, the form is multipart/form-data but I have extensionsFilter not
> MulitpartFilter aren't they the same thing?

Yes, extensionsFilter is right the MulitpartFilter
isn't still in CVS. ExtensionsFilter is the newer
version of that...

-Matthias

RE: inputFileUpload - accept multiple file formats

Posted by mfaine <mf...@knology.net>.
On Fri, 18 Feb 2005 09:28:17 -0500, "Srikanth Madarapu"
<sr...@senior-systems.com> wrote :

> have you added this enctype="multipart/form-data" to your form ? Also
there is a filter that need to be setup, if you have not already done so....
> 
> 
> <filter>
>         <filter-name>multipartFilter</filter-name>
>        
<filter-class>net.sourceforge.myfaces.custom.fileupload.MultipartFilter</filter-class>
>         <init-param>
>             <param-name>maxFileSize</param-name>
>             <param-value>10m</param-value>
>             <description>....
>             </description>
>         </init-param>
>     </filter>
> 
> 

Yes, the form is multipart/form-data but I have extensionsFilter not
MulitpartFilter aren't they the same thing?

I'm considering moving this form from a page with just the upload controls
to a page with other form fields, will having multipart/form-data for the
form affect the other fields or (can/should) I have two forms on the same
page, one for the upload, one for the other form fields?
 

Thanks,
-Mark


> 
> -----Original Message-----
> From: mfaine [mailto:mfaine@knology.net]
> Sent: Friday, February 18, 2005 9:08 AM
> To: MyFaces Discussion
> Subject: x:inputFileUpload - accept multiple file formats 
> 
> 
> Is it possible to accept multiple mime types.  What is the format?  Should
> this work?
> 
>  <x:inputFileUpload id="fileupload"                                      
> accept="image/*,application/pdf" ...
> 
> 
> At the moment I can't even get it to accept only one mime type so I'm
> obviously doing something wrong:
> 
> 
>  <x:inputFileUpload id="fileupload"                                      
> accept="application/pdf" ...
> 
> The above still alows any mime type to be uploaded.
> 
> Thanks,
> -Mark
> 
> 
> 
> 

Re: Critique implementation of managed bean access

Posted by Sean Schofield <se...@gmail.com>.
> Shouldn't this happen with request scope to request scope bean associations
> as well?  If I set a parameter on a commandButton, shoudn't it be passed as
> a request parameter?  I have not been able to get JSF to automatically set a
> request-scoped bean's property upon creation from a request parameter using
> the managed property facility.
> 
> If I understand correctly this:
> 
> <h:commandButton id="somebutton" action="#{bean.someAction}"
> actionListenter="#{bean.someActionListener}" >
>  <f:param name="someParam" value="#{bean.someProperty}" />
> </h:commandButton>
> 
> Should result in request parameter "someParam" being sent to the result of
> the navigation outcome of "someAction"?

I believe what is actually happening here is that you are setting the 
value of someParam when you are creating the commandButton for the
first time.  You are setting that parameter to the value of
bean.someProperty which is presumably null.

When the form is submitted the command button (and its param) are
restored from state (restore view phase).  If "bean" is request scope
that bean is created all over again with whatever default values you
"someProperty" would have (again, presumably null).

The requestScope parameter is never mapped back to your bean.  Its
just for setting an extra hidden value to be posted back via your
form.  I would use this to post back an id or something and then use
requestMap in your action listener to get the value.

Make sense?

> -Mark

sean

Re: Critique implementation of managed bean access

Posted by Ray Clark <rc...@yahoo.com>.
Sorry Mark, I'm to new at JSF to answer that one. 
Perhaps you could reply back to Heath on the other
thread that you have going.  He knows more about this
stuff than I do.

Ray

--- Mark <mf...@knology.net> wrote:

> Ray Clark wrote:
> 
> >Mark:
> >
> >Maybe you should try using the x:saveState tag.  In
> >the Struts apps that we have at work, we have a
> user
> >object that gets created in a filter and put in to
> >session.  Then the app accesses the user object
> when
> >it needs to.  Well, I'm at home trying to mimick
> some
> >of the things that we do as a proof of concept.  So
> I
> >have a login page that has a login request scope
> bean.
> > Then when the user types in a valid user id and
> >password it builds the user object and puts it in
> >session.  The login page works fine if the login
> bean
> >had session scope but didn't work if it was request
> >scope.  Following the advice from a couple of days
> ago
> >on this list I tried the x:saveState tag and poof,
> it
> >works like a champ.  Here is the tag that I have
> for
> >the request scope login bean on the login page.
> >
> ><x:saveState id="userBean" value="#{user}"/>
> >
> >It sounds like this might be what you are looking
> for.
> >
> >Ray
> >  
> >
> Thanks for the advice. I tried it but it didn't
> work.  I may be doing 
> something wrong but I'm not sure.
> 
> Would it make any difference that the value I need
> to save is initially 
> null and is set via an action listener?
> 
> thanks,
> -Mark
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


Re: Critique implementation of managed bean access

Posted by Mark <mf...@knology.net>.
Ray Clark wrote:

>Mark:
>
>Maybe you should try using the x:saveState tag.  In
>the Struts apps that we have at work, we have a user
>object that gets created in a filter and put in to
>session.  Then the app accesses the user object when
>it needs to.  Well, I'm at home trying to mimick some
>of the things that we do as a proof of concept.  So I
>have a login page that has a login request scope bean.
> Then when the user types in a valid user id and
>password it builds the user object and puts it in
>session.  The login page works fine if the login bean
>had session scope but didn't work if it was request
>scope.  Following the advice from a couple of days ago
>on this list I tried the x:saveState tag and poof, it
>works like a champ.  Here is the tag that I have for
>the request scope login bean on the login page.
>
><x:saveState id="userBean" value="#{user}"/>
>
>It sounds like this might be what you are looking for.
>
>Ray
>  
>
Thanks for the advice. I tried it but it didn't work.  I may be doing 
something wrong but I'm not sure.

Would it make any difference that the value I need to save is initially 
null and is set via an action listener?

thanks,
-Mark


Re: Critique implementation of managed bean access

Posted by Ray Clark <rc...@yahoo.com>.
Mark:

Maybe you should try using the x:saveState tag.  In
the Struts apps that we have at work, we have a user
object that gets created in a filter and put in to
session.  Then the app accesses the user object when
it needs to.  Well, I'm at home trying to mimick some
of the things that we do as a proof of concept.  So I
have a login page that has a login request scope bean.
 Then when the user types in a valid user id and
password it builds the user object and puts it in
session.  The login page works fine if the login bean
had session scope but didn't work if it was request
scope.  Following the advice from a couple of days ago
on this list I tried the x:saveState tag and poof, it
works like a champ.  Here is the tag that I have for
the request scope login bean on the login page.

<x:saveState id="userBean" value="#{user}"/>

It sounds like this might be what you are looking for.

Ray

--- mfaine <mf...@knology.net> wrote:

> On Thu, 3 Feb 2005 00:12:50 -0600, Heath Borders
> <he...@gmail.com>
> wrote :
> 
> > I think what he's saying is that if you have a
> request-scoped bean
> > that needs to reference a session scoped bean. 
> You can have JSF
> > automatically set the request-scoped bean's
> property upon creation
> > with the managed-property facility.
> > 
> 
> Shouldn't this happen with request scope to request
> scope bean associations
> as well?  If I set a parameter on a commandButton,
> shoudn't it be passed as
> a request parameter?  I have not been able to get
> JSF to automatically set a
> request-scoped bean's property upon creation from a
> request parameter using
> the managed property facility.
> 
> If I understand correctly this:
> 
> <h:commandButton id="somebutton"
> action="#{bean.someAction}"
> actionListenter="#{bean.someActionListener}" >
>  <f:param name="someParam"
> value="#{bean.someProperty}" />
> </h:commandButton>
> 
> Should result in request parameter "someParam" being
> sent to the result of
> the navigation outcome of "someAction"?  
> 
> I've had to employ what I see as a hack.  In the
> first request scope managed
> bean I set a property to a session scoped managed
> bean and save my object
> within this session scoped object.  Then I have the
> managed bean facility
> set this property in the second request-scoped bean.
>  I should however just
> be able to set this property using
> #{param.someParam} but it always returns
> null.  This means that in addition to having an
> additional otherwise useless
> session bean hanging around, I also have to litter
> my code with lines that
> set and null the session scoped bean's property and
> that is not good.
> 
> 
> -Mark
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Critique implementation of managed bean access

Posted by mfaine <mf...@knology.net>.
On Thu, 3 Feb 2005 00:12:50 -0600, Heath Borders <he...@gmail.com>
wrote :

> I think what he's saying is that if you have a request-scoped bean
> that needs to reference a session scoped bean.  You can have JSF
> automatically set the request-scoped bean's property upon creation
> with the managed-property facility.
> 

Shouldn't this happen with request scope to request scope bean associations
as well?  If I set a parameter on a commandButton, shoudn't it be passed as
a request parameter?  I have not been able to get JSF to automatically set a
request-scoped bean's property upon creation from a request parameter using
the managed property facility.

If I understand correctly this:

<h:commandButton id="somebutton" action="#{bean.someAction}"
actionListenter="#{bean.someActionListener}" >
 <f:param name="someParam" value="#{bean.someProperty}" />
</h:commandButton>

Should result in request parameter "someParam" being sent to the result of
the navigation outcome of "someAction"?  

I've had to employ what I see as a hack.  In the first request scope managed
bean I set a property to a session scoped managed bean and save my object
within this session scoped object.  Then I have the managed bean facility
set this property in the second request-scoped bean.  I should however just
be able to set this property using #{param.someParam} but it always returns
null.  This means that in addition to having an additional otherwise useless
session bean hanging around, I also have to litter my code with lines that
set and null the session scoped bean's property and that is not good.


-Mark

Re: Request Parameters are not set by managed bean facility

Posted by Mike Kienenberger <mk...@gmail.com>.
Thanks for the information.   I didn't know that.

I took a quick look at the source, and I see the following.   

        s_standardImplicitObjects.put(
            "param",
            new ImplicitObject()
            {
                public Object get(FacesContext facesContext)
                {
                    return
facesContext.getExternalContext().getRequestParameterMap();
                }
            });

Since you're using 

this.name = (String)
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");

then I'd think you'd need to use something like "#{param.form1:name}"
instead of #{param.name} to have the same result.   I'm not sure that
the first expression is legal, though.   You probably know more about
EL than I do and could probably make that work somehow, though.


On 8 Jul 2005 15:36:46 -0000, mfaine <mf...@knology.net> wrote:
> param is a predefined object in the value binding expression language.
> 
> There are 11 of these:
> 
> header
> headerValues
> param
> paramValues
> cookie
> initParam
> requestScope
> sessionScope
> applicationScope
> facesContext
> view
> 
> 
> -Mark
> 
> 
> 
> On Fri, 8 Jul 2005 11:08:47 -0400, Mike Kienenberger <mk...@gmail.com>
> wrote :
> 
> > [Maybe "param" is an advanced feature of JSF that I don't know about,
> > and if so, ignore the following.]
> >
> > Why would this work as you described?
> >
> > "param" would need to be a managed bean.
> > You'd have to create a getName() method on this bean that executes
> >
> > return
> >
> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> >
> > in order for your expression to work.
> >
> > That said, I think you could create your own
> > javax.faces.el.VariableResolver that could do this for you
> > automatically, if I understand the VariableResolver concept.  Once you
> > did that, then param.name could be handled as you expect it to work.
> > Sounds like it might be a useful extension for myfaces.
> >
> > -Mike
> >
> > On 8 Jul 2005 14:32:16 -0000, mfaine <mf...@knology.net> wrote:
> > > I'm trying to use the managed bean facility to set fields in my beans from
> > > values passed in a certain scope.  I'm having trouble setting the value for
> > > a field if I use request scope.
> > >
> > > In my faces.config I have a bean that is request scope.  If I set the value
> > > of of the managed property "name" to #{param.name} it does not get set in
> > > the bean.
> > >
> > > However, if I use something like:
> > >
> > > this.name = (String)
> > >
> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> > >
> > > in the init method of the bean, this works.
> > >
> > > It is very frustrating as I would like to do it using the managed bean
> facility.
> > >
> > > Thanks,
> > > -Mark
> > >
> > >
> > >
> >
> >
> >
>

Re: Request Parameters are not set by managed bean facility

Posted by mfaine <mf...@knology.net>.
param is a predefined object in the value binding expression language.

There are 11 of these:

header 
headerValues 
param
paramValues
cookie
initParam
requestScope
sessionScope
applicationScope
facesContext
view


-Mark



On Fri, 8 Jul 2005 11:08:47 -0400, Mike Kienenberger <mk...@gmail.com>
wrote :

> [Maybe "param" is an advanced feature of JSF that I don't know about,
> and if so, ignore the following.]
> 
> Why would this work as you described?
> 
> "param" would need to be a managed bean.
> You'd have to create a getName() method on this bean that executes
> 
> return
>
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> 
> in order for your expression to work.
> 
> That said, I think you could create your own
> javax.faces.el.VariableResolver that could do this for you
> automatically, if I understand the VariableResolver concept.  Once you
> did that, then param.name could be handled as you expect it to work. 
> Sounds like it might be a useful extension for myfaces.
> 
> -Mike
> 
> On 8 Jul 2005 14:32:16 -0000, mfaine <mf...@knology.net> wrote:
> > I'm trying to use the managed bean facility to set fields in my beans from
> > values passed in a certain scope.  I'm having trouble setting the value for
> > a field if I use request scope.
> > 
> > In my faces.config I have a bean that is request scope.  If I set the value
> > of of the managed property "name" to #{param.name} it does not get set in
> > the bean.
> > 
> > However, if I use something like:
> > 
> > this.name = (String)
> >
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> > 
> > in the init method of the bean, this works.
> > 
> > It is very frustrating as I would like to do it using the managed bean
facility.
> > 
> > Thanks,
> > -Mark
> > 
> > 
> >
> 
> 
> 

Re: Win 2.3.15 :: New log entries

Posted by Eric Covener <co...@gmail.com>.
On Tue, Nov 22, 2011 at 4:42 PM, Stefan Fritsch <sf...@sfritsch.de> wrote:
> Hi Steffen,
>
> thanks for your testing and your feed-back.
>
> On Tuesday 22 November 2011, Steffen wrote:
>> Other log entries which I did not see in 2.2 with loglevel notice.
>>
>>
>> [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was
>> forcibly closed by the remote host.  : [client
>> 220.134.192.77:42107] mod_fcgid: ap_pass_brigade failed in
>> handle_request_ipc function, referer: .......
>
> It is possible that we did not propagate that error back to the
> handler. But this needs to be adjusted in mod_fcgid.
>
>> [core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107]
>> Handler for type-map returned invalid result code 620018, referer:
>> .....
>
> This message denotes that there is a bug in the handler (maybe in
> mod_negotiation). The log message itself is new, the bug probably
> isn't. Can somebody find out what 620018 is on Windows?

APR_ECONNABORTED  --  mod_negotiation has a 'return
ap_pass_brigade()...' in a handler.

-- 
Eric Covener
covener@gmail.com

Re: Win 2.3.16 :: New log entries

Posted by Eric Covener <co...@gmail.com>.
On Mon, Jan 2, 2012 at 9:21 AM, Steffen <in...@apachelounge.com> wrote:
>> This message denotes that there is a bug in the handler (maybe in
>> mod_negotiation). The log message itself is new, the bug probably isn't. Can
>> somebody find out what 620018 is on Windows?
>
> Any news on this bug ?
>

mod_negotiation issue was resolved.

mod_fcgid is unchanged.  Without regard for 2.2 vs 2.4, handlers treat
this many different ways:

default_handler: DEBUG message if !c->aborted
proxy_http: ERR message all the time
fcgid: WARN message if !ECONNABORTED (but we have ECONNRESET)

I am tempted to copy the style of default handler in fcgid.  Any thoughts?

Re: Win 2.3.16 :: New log entries

Posted by Steffen <in...@apachelounge.com>.
>This message denotes that there is a bug in the handler (maybe in 
>mod_negotiation). The log message itself is new, the bug probably 
>isn't. Can somebody find out what 620018 is on Windows?

Any news on this bug ?

-----Original Message----- 
From: Stefan Fritsch 
Sent: Tuesday, November 22, 2011 10:42 PM 
To: dev@httpd.apache.org 
Cc: Steffen 
Subject: Re: Win 2.3.15 :: New log entries 

Hi Steffen,

thanks for your testing and your feed-back.

On Tuesday 22 November 2011, Steffen wrote:
> Other log entries which I did not see in 2.2 with loglevel notice.
> 
> 
> [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was
> forcibly closed by the remote host.  : [client
> 220.134.192.77:42107] mod_fcgid: ap_pass_brigade failed in
> handle_request_ipc function, referer: .......

It is possible that we did not propagate that error back to the 
handler. But this needs to be adjusted in mod_fcgid.

> [core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107]
> Handler for type-map returned invalid result code 620018, referer:
> .....

This message denotes that there is a bug in the handler (maybe in 
mod_negotiation). The log message itself is new, the bug probably 
isn't. Can somebody find out what 620018 is on Windows?

Cheers,
Stefan

Re: Win 2.3.15 :: New log entries

Posted by Rainer Jung <ra...@kippdata.de>.
On 22.11.2011 22:42, Stefan Fritsch wrote:
>> [core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107]
>> Handler for type-map returned invalid result code 620018, referer:
>> .....
>
> This message denotes that there is a bug in the handler (maybe in
> mod_negotiation). The log message itself is new, the bug probably
> isn't. Can somebody find out what 620018 is on Windows?

IMHO:

#define APR_ECONNABORTED   (APR_OS_START_CANONERR + 18)

Does that make sense?

Regards,

Rainer


Re: Win 2.3.15 :: New log entries

Posted by Stefan Fritsch <sf...@sfritsch.de>.
Hi Steffen,

thanks for your testing and your feed-back.

On Tuesday 22 November 2011, Steffen wrote:
> Other log entries which I did not see in 2.2 with loglevel notice.
> 
> 
> [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was
> forcibly closed by the remote host.  : [client
> 220.134.192.77:42107] mod_fcgid: ap_pass_brigade failed in
> handle_request_ipc function, referer: .......

It is possible that we did not propagate that error back to the 
handler. But this needs to be adjusted in mod_fcgid.

> [core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107]
> Handler for type-map returned invalid result code 620018, referer:
> .....

This message denotes that there is a bug in the handler (maybe in 
mod_negotiation). The log message itself is new, the bug probably 
isn't. Can somebody find out what 620018 is on Windows?

Cheers,
Stefan

Re: Win 2.3.15 :: New log entries

Posted by Eric Covener <co...@gmail.com>.
>> [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly
>> closed by the remote host.  : [client 220.134.192.77:42107] mod_fcgid:
>> ap_pass_brigade failed in handle_request_ipc function, referer: .......
>
> fcgid is supressing this error message if the error is ECONNABORTED
> but we get ECONNRESET here.
>

Just change to debug?

Re: Win 2.3.15 :: New log entries

Posted by Eric Covener <co...@gmail.com>.
On Tue, Nov 22, 2011 at 6:06 AM, Steffen <in...@apachelounge.com> wrote:
> Other log entries which I did not see in 2.2 with loglevel notice.
>
>
> [:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly
> closed by the remote host.  : [client 220.134.192.77:42107] mod_fcgid:
> ap_pass_brigade failed in handle_request_ipc function, referer: .......

fcgid is supressing this error message if the error is ECONNABORTED
but we get ECONNRESET here.

>
> [core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107] Handler for
> type-map returned invalid result code 620018, referer: .....

This one should now be gone in current 2.4.x/trunk.

Win 2.3.15 :: New log entries

Posted by Steffen <in...@apachelounge.com>.
Other log entries which I did not see in 2.2 with loglevel notice.


[:warn] [pid 3800:tid 2216] (OS 10054)An existing connection was forcibly 
closed by the remote host.  : [client 220.134.192.77:42107] mod_fcgid: 
ap_pass_brigade failed in handle_request_ipc function, referer: .......

[core:error] [pid 3800:tid 2216] [client 220.134.192.77:42107] Handler for 
type-map returned invalid result code 620018, referer: .....




Re: Win 2.3.15 :: Server Status Entries

Posted by Steffen <in...@apachelounge.com>.
Update: that one with a L is gone after ~33 hours 

-----Original Message----- 
From: Rainer Jung 
Sent: Tuesday, December 06, 2011 9:33 PM 
To: dev@httpd.apache.org 
Subject: Re: Win 2.3.15 :: Server Status Entries 

On 06.12.2011 11:56, Steffen wrote:
>> Those requests are no longer processed (status is "_"). The seconds
>> since is the time since this request was last processed, the column
>> after that shows how long processing took (here: "1" millisecond for
>> each of them).
>
> There are also with status L, for example for almost a day sitting there:
>
> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
> www.apachelounge.com GET
> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0

That's not expected. Can any Windows Seniors comment on that? Why could 
we have the Logging status in server-status for a long time for the 
winnt MPM?

> -----Original Message----- From: Rainer Jung
> Sent: Tuesday, November 22, 2011 11:32 AM
> To: dev@httpd.apache.org
> Subject: Re: Win 2.3.15 :: Server Status Entries
>
> On 22.11.2011 10:28, Steffen wrote:
>> Seeing a huge number of hanging entries in the Server Status,
>> already for 20 hours and looks they are staying there forever.
>>
>> The requests are invalid, not sure since I do not keep the raw logs.
>>
>> ...
>> ...
>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>> ....
>> ....
>> etc. etc.
>>
>> SS = 70878 seconds now and counting.
>
> Those requests are no longer processed (status is "_"). The seconds
> since is the time since this request was last processed, the column
> after that shows how long processing took (here: "1" millisecond for
> each of them).
>
> It looks like you have spare slots that are occasionally used during
> load spikes but are idle later for a long time. Don't know how the
> Windows MPM decides which idle slot to use.
>
> Regards,
>
> Rainer

Re: Win 2.3.16 :: Server Status Entries

Posted by Mario Brandt <jb...@gmail.com>.
Ok, I should have been more exact
EnableMMAP off + EnableSendfile Off  ---> L status stays
EnableMMAP off + EnableSendfile On ---> normal behaviour
EnableMMAP on + EnableSendfile On ---> normal behaviour
EnableMMAP on + EnableSendfile Off  ---> normal behaviour


Mario

On Wed, Jan 4, 2012 at 11:37, Rainer Jung <ra...@kippdata.de> wrote:
> On 04.01.2012 11:02, Mario Brandt wrote:
>>
>> I figured out that using EnableMMAP off causes the L status. I tried
>> it in combination with EnableSendfile off and without.
>
>
> By "without" you mean "EnableSendfile On" or just default? Note that the
> default for EnableSendfile is again "Off" in 2.4, so it is expected we don't
> see a difference between Off and default.
>
>
>> I hope that helps finding the error.
>
>
> Thanks,
>
> Rainer
>
>
>> On Sat, Dec 31, 2011 at 21:08, Steffen<in...@apachelounge.com>  wrote:
>>>>
>>>> That's not expected. Can any Windows Seniors comment on that? Why could
>>>> we
>>>> have the Logging status in server-status for a long time for the winnt
>>>> MPM?
>>>
>>>
>>>
>>> This bug is still there in 2.3.16, have "L" entries for more then a week
>>> !
>>> They are occupying  workers all the time, so the busyorkers are far high:
>>>
>>> L__L_L___L____L_L______L___L_L_L__
>>>
>>>
>>> Happy (2.4) new year to all,
>>> Steffen
>>>
>>> -----Original Message----- From: Rainer Jung
>>> Sent: Tuesday, December 06, 2011 9:33 PM Newsgroups:
>>> gmane.comp.apache.devel
>>> To: dev@httpd.apache.org
>>> Subject: Re: Win 2.3.15 :: Server Status Entries
>>>
>>> On 06.12.2011 11:56, Steffen wrote:
>>>>>
>>>>>
>>>>> Those requests are no longer processed (status is "_"). The seconds
>>>>> since is the time since this request was last processed, the column
>>>>> after that shows how long processing took (here: "1" millisecond for
>>>>> each of them).
>>>>
>>>>
>>>>
>>>> There are also with status L, for example for almost a day sitting
>>>> there:
>>>>
>>>> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
>>>> www.apachelounge.com GET
>>>> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0
>>>
>>>
>>>
>>> That's not expected. Can any Windows Seniors comment on that? Why could
>>> we have the Logging status in server-status for a long time for the
>>> winnt MPM?
>>>
>>>> -----Original Message----- From: Rainer Jung
>>>> Sent: Tuesday, November 22, 2011 11:32 AM
>>>> To: dev@httpd.apache.org
>>>> Subject: Re: Win 2.3.15 :: Server Status Entries
>>>>
>>>> On 22.11.2011 10:28, Steffen wrote:
>>>>>
>>>>>
>>>>> Seeing a huge number of hanging entries in the Server Status,
>>>>> already for 20 hours and looks they are staying there forever.
>>>>>
>>>>> The requests are invalid, not sure since I do not keep the raw logs.
>>>>>
>>>>> ...
>>>>> ...
>>>>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>>>>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>>>>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>>>>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>>>>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>>>>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>>>>> ....
>>>>> ....
>>>>> etc. etc.
>>>>>
>>>>> SS = 70878 seconds now and counting.
>>>>
>>>>
>>>>
>>>> Those requests are no longer processed (status is "_"). The seconds
>>>> since is the time since this request was last processed, the column
>>>> after that shows how long processing took (here: "1" millisecond for
>>>> each of them).
>>>>
>>>> It looks like you have spare slots that are occasionally used during
>>>> load spikes but are idle later for a long time. Don't know how the
>>>> Windows MPM decides which idle slot to use.
>>>>
>>>> Regards,
>>>>
>>>> Rainer
>>>
>>>
>>>
>>
>

Re: Win 2.3.16 :: Server Status Entries

Posted by Rainer Jung <ra...@kippdata.de>.
On 04.01.2012 11:02, Mario Brandt wrote:
> I figured out that using EnableMMAP off causes the L status. I tried
> it in combination with EnableSendfile off and without.

By "without" you mean "EnableSendfile On" or just default? Note that the 
default for EnableSendfile is again "Off" in 2.4, so it is expected we 
don't see a difference between Off and default.

> I hope that helps finding the error.

Thanks,

Rainer

> On Sat, Dec 31, 2011 at 21:08, Steffen<in...@apachelounge.com>  wrote:
>>> That's not expected. Can any Windows Seniors comment on that? Why could we
>>> have the Logging status in server-status for a long time for the winnt
>>> MPM?
>>
>>
>> This bug is still there in 2.3.16, have "L" entries for more then a week !
>> They are occupying  workers all the time, so the busyorkers are far high:
>>
>> L__L_L___L____L_L______L___L_L_L__
>>
>>
>> Happy (2.4) new year to all,
>> Steffen
>>
>> -----Original Message----- From: Rainer Jung
>> Sent: Tuesday, December 06, 2011 9:33 PM Newsgroups: gmane.comp.apache.devel
>> To: dev@httpd.apache.org
>> Subject: Re: Win 2.3.15 :: Server Status Entries
>>
>> On 06.12.2011 11:56, Steffen wrote:
>>>>
>>>> Those requests are no longer processed (status is "_"). The seconds
>>>> since is the time since this request was last processed, the column
>>>> after that shows how long processing took (here: "1" millisecond for
>>>> each of them).
>>>
>>>
>>> There are also with status L, for example for almost a day sitting there:
>>>
>>> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
>>> www.apachelounge.com GET
>>> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0
>>
>>
>> That's not expected. Can any Windows Seniors comment on that? Why could
>> we have the Logging status in server-status for a long time for the
>> winnt MPM?
>>
>>> -----Original Message----- From: Rainer Jung
>>> Sent: Tuesday, November 22, 2011 11:32 AM
>>> To: dev@httpd.apache.org
>>> Subject: Re: Win 2.3.15 :: Server Status Entries
>>>
>>> On 22.11.2011 10:28, Steffen wrote:
>>>>
>>>> Seeing a huge number of hanging entries in the Server Status,
>>>> already for 20 hours and looks they are staying there forever.
>>>>
>>>> The requests are invalid, not sure since I do not keep the raw logs.
>>>>
>>>> ...
>>>> ...
>>>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>>>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>>>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>>>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>>>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>>>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>>>> ....
>>>> ....
>>>> etc. etc.
>>>>
>>>> SS = 70878 seconds now and counting.
>>>
>>>
>>> Those requests are no longer processed (status is "_"). The seconds
>>> since is the time since this request was last processed, the column
>>> after that shows how long processing took (here: "1" millisecond for
>>> each of them).
>>>
>>> It looks like you have spare slots that are occasionally used during
>>> load spikes but are idle later for a long time. Don't know how the
>>> Windows MPM decides which idle slot to use.
>>>
>>> Regards,
>>>
>>> Rainer
>>
>>
>

Re: Win 2.3.16 :: Server Status Entries

Posted by Mario Brandt <jb...@gmail.com>.
I figured out that using EnableMMAP off causes the L status. I tried
it in combination with EnableSendfile off and without.

I hope that helps finding the error.

Greetz
Mario

On Sat, Dec 31, 2011 at 21:08, Steffen <in...@apachelounge.com> wrote:
>> That's not expected. Can any Windows Seniors comment on that? Why could we
>> have the Logging status in server-status for a long time for the winnt
>> MPM?
>
>
> This bug is still there in 2.3.16, have "L" entries for more then a week !
> They are occupying  workers all the time, so the busyorkers are far high:
>
> L__L_L___L____L_L______L___L_L_L__
>
>
> Happy (2.4) new year to all,
> Steffen
>
> -----Original Message----- From: Rainer Jung
> Sent: Tuesday, December 06, 2011 9:33 PM Newsgroups: gmane.comp.apache.devel
> To: dev@httpd.apache.org
> Subject: Re: Win 2.3.15 :: Server Status Entries
>
> On 06.12.2011 11:56, Steffen wrote:
>>>
>>> Those requests are no longer processed (status is "_"). The seconds
>>> since is the time since this request was last processed, the column
>>> after that shows how long processing took (here: "1" millisecond for
>>> each of them).
>>
>>
>> There are also with status L, for example for almost a day sitting there:
>>
>> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
>> www.apachelounge.com GET
>> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0
>
>
> That's not expected. Can any Windows Seniors comment on that? Why could
> we have the Logging status in server-status for a long time for the
> winnt MPM?
>
>> -----Original Message----- From: Rainer Jung
>> Sent: Tuesday, November 22, 2011 11:32 AM
>> To: dev@httpd.apache.org
>> Subject: Re: Win 2.3.15 :: Server Status Entries
>>
>> On 22.11.2011 10:28, Steffen wrote:
>>>
>>> Seeing a huge number of hanging entries in the Server Status,
>>> already for 20 hours and looks they are staying there forever.
>>>
>>> The requests are invalid, not sure since I do not keep the raw logs.
>>>
>>> ...
>>> ...
>>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>>> ....
>>> ....
>>> etc. etc.
>>>
>>> SS = 70878 seconds now and counting.
>>
>>
>> Those requests are no longer processed (status is "_"). The seconds
>> since is the time since this request was last processed, the column
>> after that shows how long processing took (here: "1" millisecond for
>> each of them).
>>
>> It looks like you have spare slots that are occasionally used during
>> load spikes but are idle later for a long time. Don't know how the
>> Windows MPM decides which idle slot to use.
>>
>> Regards,
>>
>> Rainer
>
>

Re: Win 2.3.16 :: Server Status Entries

Posted by Steffen <in...@apachelounge.com>.
Maybe a clue:

Seems to happen when there is an error.
For example during  Partial Downloading (206)

[http:error] [pid 3244:tid 2656] (70007)The timeout specified has expired:
[client 114.79.60.32:11091] Timeout while writing data for URI
/download/binaries/httpd-2.2.21-win32.zip to the client

-----Original Message----- 
From: Steffen
Sent: Saturday, December 31, 2011 9:08 PM
To: dev@httpd.apache.org
Subject: Re: Win 2.3.16 :: Server Status Entries

>That's not expected. Can any Windows Seniors comment on that? Why could we
>have the Logging status in server-status for a long time for the winnt MPM?

This bug is still there in 2.3.16, have "L" entries for more then a week !
They are occupying  workers all the time, so the busyorkers are far high:

L__L_L___L____L_L______L___L_L_L__


Happy (2.4) new year to all,
Steffen

-----Original Message----- 
From: Rainer Jung
Sent: Tuesday, December 06, 2011 9:33 PM Newsgroups: gmane.comp.apache.devel
To: dev@httpd.apache.org
Subject: Re: Win 2.3.15 :: Server Status Entries

On 06.12.2011 11:56, Steffen wrote:
>> Those requests are no longer processed (status is "_"). The seconds
>> since is the time since this request was last processed, the column
>> after that shows how long processing took (here: "1" millisecond for
>> each of them).
>
> There are also with status L, for example for almost a day sitting there:
>
> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
> www.apachelounge.com GET
> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0

That's not expected. Can any Windows Seniors comment on that? Why could
we have the Logging status in server-status for a long time for the
winnt MPM?

> -----Original Message----- From: Rainer Jung
> Sent: Tuesday, November 22, 2011 11:32 AM
> To: dev@httpd.apache.org
> Subject: Re: Win 2.3.15 :: Server Status Entries
>
> On 22.11.2011 10:28, Steffen wrote:
>> Seeing a huge number of hanging entries in the Server Status,
>> already for 20 hours and looks they are staying there forever.
>>
>> The requests are invalid, not sure since I do not keep the raw logs.
>>
>> ...
>> ...
>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>> ....
>> ....
>> etc. etc.
>>
>> SS = 70878 seconds now and counting.
>
> Those requests are no longer processed (status is "_"). The seconds
> since is the time since this request was last processed, the column
> after that shows how long processing took (here: "1" millisecond for
> each of them).
>
> It looks like you have spare slots that are occasionally used during
> load spikes but are idle later for a long time. Don't know how the
> Windows MPM decides which idle slot to use.
>
> Regards,
>
> Rainer


Re: Win 2.3.16 :: Server Status Entries

Posted by Steffen <in...@apachelounge.com>.
>That's not expected. Can any Windows Seniors comment on that? Why could we
>have the Logging status in server-status for a long time for the winnt MPM?

This bug is still there in 2.3.16, have "L" entries for more then a week !
They are occupying  workers all the time, so the busyorkers are far high:

L__L_L___L____L_L______L___L_L_L__


Happy (2.4) new year to all,
Steffen

-----Original Message----- 
From: Rainer Jung
Sent: Tuesday, December 06, 2011 9:33 PM Newsgroups: gmane.comp.apache.devel
To: dev@httpd.apache.org
Subject: Re: Win 2.3.15 :: Server Status Entries

On 06.12.2011 11:56, Steffen wrote:
>> Those requests are no longer processed (status is "_"). The seconds
>> since is the time since this request was last processed, the column
>> after that shows how long processing took (here: "1" millisecond for
>> each of them).
>
> There are also with status L, for example for almost a day sitting there:
>
> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
> www.apachelounge.com GET
> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0

That's not expected. Can any Windows Seniors comment on that? Why could
we have the Logging status in server-status for a long time for the
winnt MPM?

> -----Original Message----- From: Rainer Jung
> Sent: Tuesday, November 22, 2011 11:32 AM
> To: dev@httpd.apache.org
> Subject: Re: Win 2.3.15 :: Server Status Entries
>
> On 22.11.2011 10:28, Steffen wrote:
>> Seeing a huge number of hanging entries in the Server Status,
>> already for 20 hours and looks they are staying there forever.
>>
>> The requests are invalid, not sure since I do not keep the raw logs.
>>
>> ...
>> ...
>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>> ....
>> ....
>> etc. etc.
>>
>> SS = 70878 seconds now and counting.
>
> Those requests are no longer processed (status is "_"). The seconds
> since is the time since this request was last processed, the column
> after that shows how long processing took (here: "1" millisecond for
> each of them).
>
> It looks like you have spare slots that are occasionally used during
> load spikes but are idle later for a long time. Don't know how the
> Windows MPM decides which idle slot to use.
>
> Regards,
>
> Rainer 


Re: Win 2.3.15 :: Server Status Entries

Posted by Rainer Jung <ra...@kippdata.de>.
On 06.12.2011 11:56, Steffen wrote:
>> Those requests are no longer processed (status is "_"). The seconds
>> since is the time since this request was last processed, the column
>> after that shows how long processing took (here: "1" millisecond for
>> each of them).
>
> There are also with status L, for example for almost a day sitting there:
>
> 0-0 2852 1/2920/2920 L 79507 49835 2893.9 114.05 114.05 80.91.181.75
> www.apachelounge.com GET
> /download/binaries/httpd-2.2.21-win32-x86-ssl.zip HTTP/1.0

That's not expected. Can any Windows Seniors comment on that? Why could 
we have the Logging status in server-status for a long time for the 
winnt MPM?

> -----Original Message----- From: Rainer Jung
> Sent: Tuesday, November 22, 2011 11:32 AM
> To: dev@httpd.apache.org
> Subject: Re: Win 2.3.15 :: Server Status Entries
>
> On 22.11.2011 10:28, Steffen wrote:
>> Seeing a huge number of hanging entries in the Server Status,
>> already for 20 hours and looks they are staying there forever.
>>
>> The requests are invalid, not sure since I do not keep the raw logs.
>>
>> ...
>> ...
>> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
>> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
>> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
>> www.familieland.com GET //scripts/setup.php HTTP/1.1
>> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
>> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
>> ....
>> ....
>> etc. etc.
>>
>> SS = 70878 seconds now and counting.
>
> Those requests are no longer processed (status is "_"). The seconds
> since is the time since this request was last processed, the column
> after that shows how long processing took (here: "1" millisecond for
> each of them).
>
> It looks like you have spare slots that are occasionally used during
> load spikes but are idle later for a long time. Don't know how the
> Windows MPM decides which idle slot to use.
>
> Regards,
>
> Rainer

Re: Win 2.3.15 :: Server Status Entries

Posted by Steffen <in...@apachelounge.com>.
>Those requests are no longer processed (status is "_"). The seconds since 
>is the time since this request was last processed, the column after that 
>shows how long processing took (here: "1" millisecond for each of them).

There are also with status L, for example for almost a day sitting there:

0-0 2852 1/2920/2920 L  79507 49835 2893.9 114.05 114.05  80.91.181.75 
www.apachelounge.com GET /download/binaries/httpd-2.2.21-win32-x86-ssl.zip 
HTTP/1.0



-----Original Message----- 
From: Rainer Jung
Sent: Tuesday, November 22, 2011 11:32 AM
To: dev@httpd.apache.org
Subject: Re: Win 2.3.15 :: Server Status Entries

On 22.11.2011 10:28, Steffen wrote:
> Seeing a huge number of hanging entries in the Server Status,
> already for 20 hours and looks they are staying there forever.
>
> The requests are invalid, not sure since I do not keep the raw logs.
>
> ...
> ...
> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
> www.familieland.com GET //scripts/setup.php HTTP/1.1
> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
> ....
> ....
> etc. etc.
>
> SS = 70878 seconds now and counting.

Those requests are no longer processed (status is "_"). The seconds
since is the time since this request was last processed, the column
after that shows how long processing took (here: "1" millisecond for
each of them).

It looks like you have spare slots that are occasionally used during
load spikes but are idle later for a long time. Don't know how the
Windows MPM decides which idle slot to use.

Regards,

Rainer 


Re: Win 2.3.15 :: Server Status Entries

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Tuesday 22 November 2011, Rainer Jung wrote:
> On 22.11.2011 10:28, Steffen wrote:
> > Seeing a huge number of hanging entries in the Server Status,
> > already for 20 hours and looks they are staying there forever.
> > 
> > The requests are invalid, not sure since I do not keep the raw
> > logs.
> > 
> > ...
> > ...
> > 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
> > www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
> > 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
> > www.familieland.com GET //scripts/setup.php HTTP/1.1
> > 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
> > www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
> > ....
> > ....
> > etc. etc.
> > 
> > SS = 70878 seconds now and counting.
> 
> Those requests are no longer processed (status is "_"). The seconds
> since is the time since this request was last processed, the column
> after that shows how long processing took (here: "1" millisecond
> for each of them).

With MPM event, the SS column does not increase for unused slots. 
Maybe this is actually a bug in the windows mpm?

> It looks like you have spare slots that are occasionally used
> during load spikes but are idle later for a long time. Don't know
> how the Windows MPM decides which idle slot to use.
> 
> Regards,
> 
> Rainer


Re: Win 2.3.15 :: Server Status Entries

Posted by Rainer Jung <ra...@kippdata.de>.
On 22.11.2011 10:28, Steffen wrote:
> Seeing a huge number of hanging entries in the Server Status,
> already for 20 hours and looks they are staying there forever.
>
> The requests are invalid, not sure since I do not keep the raw logs.
>
> ...
> ...
> 0-0 3800 0/177/177 _ 64980 1 0.0 0.09 0.09 94.76.244.212
> www.familieland.com GET //phpMyAdmin/scripts/setup.php HTTP/1.1
> 0-0 3800 0/157/157 _ 69024 1 0.0 10.65 10.65 94.76.244.212
> www.familieland.com GET //scripts/setup.php HTTP/1.1
> 0-0 3800 0/224/224 _ 69023 1 0.0 21.96 21.96 94.76.244.212
> www.familieland.com GET //admin/pma/scripts/setup.php HTTP/1.1
> ....
> ....
> etc. etc.
>
> SS = 70878 seconds now and counting.

Those requests are no longer processed (status is "_"). The seconds 
since is the time since this request was last processed, the column 
after that shows how long processing took (here: "1" millisecond for 
each of them).

It looks like you have spare slots that are occasionally used during 
load spikes but are idle later for a long time. Don't know how the 
Windows MPM decides which idle slot to use.

Regards,

Rainer

Re: [users@httpd] Graceful restart doesn't work when adding aVirtualHost.

Posted by Nakayama <ht...@nakayama.com.ar>.
Hello Charlie. Thanks for your answer.

I didn't understand.
What do you want to kill? What for?

I don't want to kill any pid, just restart gracefully.

Could you explain what you said, please?

Many thanks, Alberto Nakayama.


On Sat, 31 Jan 2004 10:17:21 -0700, "Charlie Smith" 
<.S...@l.d.s.c.h.u.r.c.h.o.r.g> wrote :

> 
> Look at process list to make sure all httpd instances really stoopped 
(aren't
> there).  you may have to manually kill them.   I believe the apachectl 
script
> really only checks the pid file to see if all instances have stopped.  
Don't
> recall exactly without looking at it, but do know I've had this same type 
of
> problem.   Checking the process list with 'ps -ef |grep httpd' should 
tell you.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [VOTE] Release 2.3.16-beta as beta

Posted by Steffen <in...@apachelounge.com>.
Update, all the important/usefull modules are working now with 2.3.16, including modsecurity. 

Hopefully no API changes anymore.

I shall make a download available at http://www.apachelounge.com , so more can test.

From: Steffen 
Sent: Friday, December 16, 2011 2:08 PM
To: dev@httpd.apache.org 
Subject: Re: [VOTE] Release 2.3.16-beta as beta

The IP adress was understand.   
Now struggling with log_error hook API change. 


My point was that in a so called RC/Latest_Beta the API is now changed  with consequences.
A release candidate phase should be intended as a period of bug fixing only prior to the GA release. No new features/functions should be included before the GA version.

On Friday 16/12/2011 at 12:37, Graham Leggett wrote: 
  On 16 Dec 2011, at 12:59 PM, Steffen wrote:


    Was expecting that 2.3.16, as RC/latest beta, did not break that much modules. With 2.3.x till 2.3.15 it was minor, in fact none here.

    Authors were planning to release new versions to support 2.4 GA, based on testing 2.3.15 and  no api changes in a Release Candidate. 

    We must  live with it, according the replies on my modsec example post here.

  The API rules are clear, when v2.4.0 is released, the API is cast in stone. Before that point, the API is subject to change.

  We are after the most stable server possible, when a bug exists in the API, that bug must be fixed.


    Gregg reported here that the problems are the changes to the log_error hook and  remote_ip/remote_addr

  This is reported in the CHANGES file, which module authors should be keeping track of.

  In the server, we have gone from tracking just one remote IP address to tracking two - the IP address of the client directly connected to us, and the IP address of the useragent that initiated the request, which may be some hops away from us separated by caches, load balancer or proxies. In order to prevent subtle bugs appearing in modules because modules are looking at the wrong IP address, we are forcing module authors to make an explicit choice - does their module need the client IP or the useragent IP? 

  Subtle bugs are bad.

  Regards,
  Graham
  --



Re: LDAP-Unterst�tzung

Posted by Oliver Enders <oe...@oc-enders.de>.
Hallo Bernd,

hier findest Du hoffentlich was Du suchst:

mod_auth_ldap

http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html

http://nona.net/software/ldap/

Hoffe Dir weiter geholfen zu haben.

Gruß Oliver
------------- Original message follows -------------

Hallo zusammen:

Versuche grade, einen LDAP-Server derart zu konfigurieren, das man den 
Verzeichnisbaum mit einem Webbroser browsen kann. Hab mir also LDAP-
Explorer 
runtergeladen und hab auch einen Webserver auf derselben Maschiene, auf der 
der LDAP-Server läuft. Nun steht in der Installationsanweisung des 
LDAP-Explorers, das der Apache mit LDAP-Unterstützung kompiliert sein muß. 
Okay, hört sich nicht so schwierig an, aber wo finde ich ein mod_ldap oder 
whatever needed? Hab auf der Apache-Seite die Online-Doku und ein Apache-
Buch 
nach LDAP durchwühlt und nix gefunden. 

Kann mir jemand den entscheidenden Hint geben, welches Modul ich zur 
LDAP-Unterstützung in den Apache einkompilieren (oder dynamisch nachladen?) 
muß und wo ich das Ding downloaden kann?

Hope for help,
Bernd




-- 

One OS to rule them all, one OS to find them.
One OS to bring them all, and in the darkness bind them
In the land of Redmond, where the shadows lie.

--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de"
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------





--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------


Re: Controlling access to a view

Posted by mfaine <mf...@knology.net>.
On Thu, 16 Jun 2005 19:17:36 +0200, Martin Marinschek
<ma...@gmail.com> wrote :

> AFAIK, a forward should be the standard.
> 
> you would have to embed a "<redirect/>" in your Navigation-rules to
> have a redirect executed.
> 
> Your problem might be that with a forward, you might render a very
> different page than the request goes to - and as the security
> constraints do not know about this, they don't restrict the access to
> these pages.
> 
> In this case, you would have to do a redirect whenever you cross
> boundaries of what a user is allowed to do or not to do, use the
> MyFaces enabledOnUserRole construct for all restricted links or
> decorate the view and/or navigationhandler to properly restrict access
> to all pages.
> 
> regards,
> 
> Martin
> 


You are correct and all of my navigation rules are set to forward.  The
problem I am having is that pages are being restricted to users.  According
to the security constraint the pages should be restricted to any direct
browser requests but internally dispatched requests (forwarded by a
controller, like the NavigationHandler) should still be able to access the
pages.  It seems that sometimes this works and sometimes it doesn't.

I will take a look at the NavigationHandler code and see if I can figure out
how the navigation is done.

Thanks,
-Mark




Re: Advanced criteria question

Posted by Steve <tu...@knology.net>.
<quote>
Now the question: "What do I need to add to the criteria to make it pick up
ALL permissions NOT associated with the specified Role?"
</quote>

I don't consider myself a database expert, but that sure sounds like a left 
join to me, and I'm pretty sure Peers doesn't support left joins.  There's 
always JDBC...

<mySQL syntax (from the reference guide)>
select table1.* from table1 LEFT JOIN table2 ON table1.id=table2.id where 
table2.id is NULL will find all rows in table1 with an id value not present 
in table2, assuming table2.id is declared NOT NULL, of course.
</mySQL syntax>

HTH,
Steve


On Tue, 22 Jan 2002 11:27:54 -0500, "Weaver, Scott" <Sw...@rippe.com> 
wrote :

> The code below returns most Permissions not associated with the specified
> Role.  However, it does not work fully.  If there is a Permission that is
> not associated with any Role, i.e. it's not listed in
> turbine_role_permission at all, it is not returned.  
> 
> Now the question: "What do I need to add to the criteria to make it pick 
up
> ALL permissions NOT associated with the specified Role?"
> 
> String roleName = "some_role";
> 
> Criteria c= new Criteria();
> 
> c.addJoin(RolePeer.ROLE_ID,RolePermissionPeer.ROLE_ID);
> c.addJoin(RolePermissionPeer.PERMISSION_ID, PermissionPeer.PERMISSION_ID);
> c.add(RolePeer.NAME,(Object)roleName, Criteria.NOT_EQUAL);
> 
> Thanks,
> Scott
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-user-
unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-user-
help@jakarta.apache.org>
> 
> 
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Translators STATUS ?

Posted by Lars Eilebrecht <la...@hyperreal.org>.
According to JHKChan:

> A little bug I want to mention at http://httpd.apache.org/docs-
> project/translations.html, is the spelling of 'Participants' mispelled 
> as 'Paricipants'.

Fixed. Thanks.


ciao...
-- 
Lars Eilebrecht                  - My only regret in life is...
lars@hyperreal.org           - that people still take me seriously.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Translators STATUS ?

Posted by JHKChan <jh...@itzone.info>.
A little bug I want to mention at http://httpd.apache.org/docs-
project/translations.html, is the spelling of 'Participants' mispelled 
as 'Paricipants'. Just a minor attention to the webmaster.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [STATUS] (httpd-docs-1.3) Wed Aug 7 23:45:21 EDT 2002

Posted by Joshua Slive <jo...@slive.ca>.
Astrid Keßler wrote:
>>It is better for us to have the author list. For example, I am working on
>>traditional Chinese.
> 
> 
> +1
> 

Can I suggest that someone create a webpage for translators to live 
under http://httpd.apache.org/docs-project/.  This could include basic 
info about how to translate the docs as well as our review standards and 
a list of current translators.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [STATUS] (httpd-docs-1.3) Wed Aug 7 23:45:21 EDT 2002

Posted by Astrid Keßler <ke...@kess-net.de>.
> It is better for us to have the author list. For example, I am working on
> traditional Chinese.

+1

Kess

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [STATUS] (httpd-docs-1.3) Wed Aug 7 23:45:21 EDT 2002

Posted by Jason Lingohr <ja...@lucid.net.au>.
On Wed, Aug 14, 2002 at 09:22:34AM -0400, Rich Bowen wrote:

> > It is better for us to have the author list. For example, I am working on
> > traditional Chinese.
> 
> +1 on this. It would indeed be helpful, from several POVs, to have a
> list of folks that are working on each translation, if those people are
> willing to be contacted about their translations. It would be
> additionally useful to have a list of people that are not necessarily
> translators, but who are willing to review translations for correctness.

+1.

I'd also like to see an update of the 1.3 STATUS file.  I'm a little lost
as to what more needs to be done, considering the "slowdown" on the 1.3
doco side of things.



Jason.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Translators STATUS ?

Posted by Erik Abele <er...@codefaktor.de>.
on 14.08.2002 15:22 Uhr Rich Bowen (rbowen@rcbowen.com) wrote:

>> 
>> It is better for us to have the author list. For example, I am working on
>> traditional Chinese.
> 
> +1 on this. It would indeed be helpful, from several POVs, to have a
> list of folks that are working on each translation, if those people are
> willing to be contacted about their translations. It would be
> additionally useful to have a list of people that are not necessarily
> translators, but who are willing to review translations for correctness.
> I don't think that this stuff belongs in the STATUS doc, which would get
> very cluttered, but perhaps we can start a new file with this
> information?

+1 from me

a file with a) translators and b) reviewers and their mail-adresses would be
very helpful. What's about a new file 'TRANSLATORS' in the doc-root?

erik


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [STATUS] (httpd-docs-1.3) Wed Aug 7 23:45:21 EDT 2002

Posted by Rich Bowen <rb...@rcbowen.com>.
On 11 Aug 2002, JHKChan wrote:

> > Translations
> > ============
> >
> >   [Should we attempt to get a known-current authorlist together? --jsl]
> >
> >   - Catalan (.ca)
> >   - Czech Republic (.cz)
> >   - German (.de)
> >   - Danish (.dk)
> >   - Estonia (.ee)
> >   - Greek (.el)
> >   - Spanish (.es)
> >   - French (.fr)
> >   - Hebrew (.he.iso8859-8)
> >   - Italian (.it)
> >   - Japanese (.ja.jis)
> >   - Korean (.kt.iso-kr)
> >   - Luxembourgish (.lb)
> >   - Dutch (.nl)
> >   - Norwegian (.no)
> >   - Polish (.po.iso-pl)
> >   - Portuguese (.pt)
> >   - Portuguese [Brasilian] (.pt-br)
> >   - Russian (.ru.cp-1251, .ru.cp866, .ru.iso-ru, .ru.koi8-r, .ru.ucs[248])
> >   - Swedish (.se)
> >   - Chinese (.zh)
>
> It is better for us to have the author list. For example, I am working on
> traditional Chinese.

+1 on this. It would indeed be helpful, from several POVs, to have a
list of folks that are working on each translation, if those people are
willing to be contacted about their translations. It would be
additionally useful to have a list of people that are not necessarily
translators, but who are willing to review translations for correctness.
I don't think that this stuff belongs in the STATUS doc, which would get
very cluttered, but perhaps we can start a new file with this
information?

-- 
Rich Bowen - rbowen@rcbowen.com
Author - Apache Administrator's Guide
http://www.ApacheAdmin.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [STATUS] (httpd-docs-1.3) Wed Aug 7 23:45:21 EDT 2002

Posted by JHKChan <jh...@itzone.info>.
> Translations
> ============
> 
> * We appear to have people working on translation into the following
>   languages.  These may just be the 'it worked' page, but if so the 
authors
>   of those should perhaps be contacted to help do the rest.. :-)  Note 
that
>   this list is NOT identical to that for the 2.0 documentation project!
> 
>   [Should we attempt to get a known-current authorlist together? --jsl]
> 
>   - Catalan (.ca)
>   - Czech Republic (.cz)
>   - German (.de)
>   - Danish (.dk)
>   - Estonia (.ee)
>   - Greek (.el)
>   - Spanish (.es)
>   - French (.fr)
>   - Hebrew (.he.iso8859-8)
>   - Italian (.it)
>   - Japanese (.ja.jis)
>   - Korean (.kt.iso-kr)
>   - Luxembourgish (.lb)
>   - Dutch (.nl)
>   - Norwegian (.no)
>   - Polish (.po.iso-pl)
>   - Portuguese (.pt)
>   - Portuguese [Brasilian] (.pt-br)
>   - Russian (.ru.cp-1251, .ru.cp866, .ru.iso-ru, .ru.koi8-r, .ru.ucs[248])
>   - Swedish (.se)
>   - Chinese (.zh)

It is better for us to have the author list. For example, I am working on 
traditional Chinese.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Advanced criteria question

Posted by Steve <tu...@knology.net>.
<quote>
Now the question: "What do I need to add to the criteria to make it pick up
ALL permissions NOT associated with the specified Role?"
</quote>

I don't consider myself a database expert, but that sure sounds like a left 
join to me, and I'm pretty sure Peers doesn't support left joins.  There's 
always JDBC...

<mySQL syntax (from the reference guide)>
select table1.* from table1 LEFT JOIN table2 ON table1.id=table2.id where 
table2.id is NULL will find all rows in table1 with an id value not present 
in table2, assuming table2.id is declared NOT NULL, of course.
</mySQL syntax>

HTH,
Steve


On Tue, 22 Jan 2002 11:27:54 -0500, "Weaver, Scott" <Sw...@rippe.com> 
wrote :

> The code below returns most Permissions not associated with the specified
> Role.  However, it does not work fully.  If there is a Permission that is
> not associated with any Role, i.e. it's not listed in
> turbine_role_permission at all, it is not returned.  
> 
> Now the question: "What do I need to add to the criteria to make it pick 
up
> ALL permissions NOT associated with the specified Role?"
> 
> String roleName = "some_role";
> 
> Criteria c= new Criteria();
> 
> c.addJoin(RolePeer.ROLE_ID,RolePermissionPeer.ROLE_ID);
> c.addJoin(RolePermissionPeer.PERMISSION_ID, PermissionPeer.PERMISSION_ID);
> c.add(RolePeer.NAME,(Object)roleName, Criteria.NOT_EQUAL);
> 
> Thanks,
> Scott
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-user-
unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-user-
help@jakarta.apache.org>
> 
> 
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: address is already in use

Posted by Damien July <da...@open-securite.org>.
how can i do this?
Le lun 19/07/2004 à 19:09, Aman Raheja a écrit :
> Did you check, if you are limited by the number of sockets you can open on 
> this server and that the limit is not exhausted.
> 
> Aman Raheja
> http://www.techquotes.com
> 
> 
> On Mon, 19 Jul 2004 18:56:27 +0200, Damien July <damien.july@open-
> securite.org> wrote :
> 
> > Hi,
> > i'm under sun solaris 8 sparc
> > 
> > and i had been restart the server.
> > and there is no one that listen on port 80 or 8080
> > 
> > Damien
> > Le lun 19/07/2004 à 18:56, Aman Raheja a écrit :
> > > Are you on Windows platform ? Are you restarting it?
> > > Check your process list and "End Task" if you find it there.
> > > 
> > > Also try netstat and see who's using the 8080 port (if that's what you 
> > > have in server.xml).
> > > 
> > > Aman Raheja
> > > http://www.techquotes.com
> > > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: address is already in use

Posted by Aman Raheja <ar...@techquotes.com>.
Did you check, if you are limited by the number of sockets you can open on 
this server and that the limit is not exhausted.

Aman Raheja
http://www.techquotes.com


On Mon, 19 Jul 2004 18:56:27 +0200, Damien July <damien.july@open-
securite.org> wrote :

> Hi,
> i'm under sun solaris 8 sparc
> 
> and i had been restart the server.
> and there is no one that listen on port 80 or 8080
> 
> Damien
> Le lun 19/07/2004 à 18:56, Aman Raheja a écrit :
> > Are you on Windows platform ? Are you restarting it?
> > Check your process list and "End Task" if you find it there.
> > 
> > Also try netstat and see who's using the 8080 port (if that's what you 
> > have in server.xml).
> > 
> > Aman Raheja
> > http://www.techquotes.com
> > 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Translators STATUS ?

Posted by Astrid Keßler <ke...@kess-net.de>.
> Looks good.  Updates to the tutorial should be sent to Ken Coar.

ok

> There is a build.sh in httpd-site (but no build.cmd so you need to have
> cygwin to do it on windows).  It uses Anakia to transform the files,
> with the results being copied from the xdocs/ tree into the docs/ tree.
> You need to commit the files in both trees (the xml in xdocs/ and the
> html in docs/). Let me know if you aren't setup to do the transformation
> and I can do it for you.

Yes, please do it. I don't want to install this all at my windows
machine. I'll move the whole apache stuff to linux within the next time.

 Kess

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Translators STATUS ?

Posted by Joshua Slive <jo...@slive.ca>.
Astrid Keßler wrote:
>>Well, I was really hoping that someone who actually works on
>>translations would take care of this.  But I created a quick page for
>>the time being:
>>http://httpd.apache.org/docs-project/translations.html
> 
> 
>>I missed tons of stuff, so please feel free to update.
> 
> 
> I commited an update, adding the german project and two links to related
> information. The linked documentation project tutorial has to be
> updated too. I'll try this the next days.
>

Looks good.  Updates to the tutorial should be sent to Ken Coar.

> Do you, or someone else, miss further notes at the translation page?
> If you give me a cue I'll try to phrase it.
> 
> Additionally, I may have been blind, but how do I generate the html
> files for httpd-site?

There is a build.sh in httpd-site (but no build.cmd so you need to have 
cygwin to do it on windows).  It uses Anakia to transform the files, 
with the results being copied from the xdocs/ tree into the docs/ tree.
You need to commit the files in both trees (the xml in xdocs/ and the 
html in docs/). Let me know if you aren't setup to do the transformation 
and I can do it for you.

Joshua.



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Translators STATUS ?

Posted by Astrid Keßler <ke...@kess-net.de>.
> Well, I was really hoping that someone who actually works on
> translations would take care of this.  But I created a quick page for
> the time being:
> http://httpd.apache.org/docs-project/translations.html

> I missed tons of stuff, so please feel free to update.

I commited an update, adding the german project and two links to related
information. The linked documentation project tutorial has to be
updated too. I'll try this the next days.

Do you, or someone else, miss further notes at the translation page?
If you give me a cue I'll try to phrase it.

Additionally, I may have been blind, but how do I generate the html
files for httpd-site?

 Kess

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Translators STATUS ?

Posted by Joshua Slive <jo...@slive.ca>.
JHKChan wrote:

> Anyway, it is necessary for the Apache group to have such a list, no matter 
> should it include in which file. Just make the list now.
> 
> Here the list (contact person):
> Jacky Chan <jh...@itzone.info> Traditional Chinese
> 
> ...And here onwards...

Well, I was really hoping that someone who actually works on 
translations would take care of this.  But I created a quick page for 
the time being:
http://httpd.apache.org/docs-project/translations.html

I missed tons of stuff, so please feel free to update.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Translators STATUS ?

Posted by JHKChan <jh...@itzone.info>.
On Thu, 15 Aug 2002 20:55:27 +0200, Erik Abele <er...@codefaktor.de> wrote :

> on 14.08.2002 15:22 Uhr Rich Bowen (rbowen@rcbowen.com) wrote:
> 
> >> 
> >> It is better for us to have the author list. For example, I am working 
on
> >> traditional Chinese.
> > 
> > +1 on this. It would indeed be helpful, from several POVs, to have a
> > list of folks that are working on each translation, if those people are
> > willing to be contacted about their translations. It would be
> > additionally useful to have a list of people that are not necessarily
> > translators, but who are willing to review translations for correctness.
> > I don't think that this stuff belongs in the STATUS doc, which would get
> > very cluttered, but perhaps we can start a new file with this
> > information?
> 
> +1 from me
> 
> a file with a) translators and b) reviewers and their mail-adresses would 
be
> very helpful. What's about a new file 'TRANSLATORS' in the doc-root?
> 
> erik

Anyway, it is necessary for the Apache group to have such a list, no matter 
should it include in which file. Just make the list now.

Here the list (contact person):
Jacky Chan <jh...@itzone.info> Traditional Chinese

...And here onwards...

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: 2.3.15 RewriteRule P

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Monday 14 November 2011, William A. Rowe Jr. wrote:
> On 11/14/2011 12:31 PM, Steffen wrote:
> > The issue below seems not to be related to SSL.
> > 
> > Tested in different non-SSL configs with eg.
> > RewriteRule /sysadmin(.*) http://%{HTTP_HOST}:81/sysadmin$1 [P,L]
> > 
> > And different servers as the back, Sambar, Surge, DManager and
> > Apache.
> > 
> > Sometimes it works but mostly it is not passing (good) URL info
> > to the server. Get errors like: "requested URL not found",
> > "requested file: ()"
> > 
> > Using the ProxyPass directive, no issues.
> > 
> > Same configs are working with 2.2 without issues.
> 
> Sounds like a flubup in ap_pregsub_ex?

Not really. mod_rewrite doesn't use ap_pregsub and the only ap_pregsub 
related change in mod_proxy* would cause an obvious error message to 
be logged. Also, when Steffen previously reported this I could not 
reproduce it under Linux (assuming it is still the same issue).

Re: 2.3.15 RewriteRule P

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 11/14/2011 12:31 PM, Steffen wrote:
> The issue below seems not to be related to SSL.
>
> Tested in different non-SSL configs with eg.
> RewriteRule /sysadmin(.*) http://%{HTTP_HOST}:81/sysadmin$1 [P,L]
>
> And different servers as the back, Sambar, Surge, DManager and Apache.
>
> Sometimes it works but mostly it is not passing (good) URL info to the server.
> Get errors like: "requested URL not found", "requested file: ()"
>
> Using the ProxyPass directive, no issues.
>
> Same configs are working with 2.2 without issues.

Sounds like a flubup in ap_pregsub_ex?


Re: Controlling access to a view

Posted by mfaine <mf...@knology.net>.
On 16 Jun 2005 18:11:34 -0000, "mfaine" <mf...@knology.net> wrote :

> On Thu, 16 Jun 2005 19:17:36 +0200, Martin Marinschek
> <ma...@gmail.com> wrote :
> 
> > AFAIK, a forward should be the standard.
> > 
> > you would have to embed a "<redirect/>" in your Navigation-rules to
> > have a redirect executed.
> > 
> > Your problem might be that with a forward, you might render a very
> > different page than the request goes to - and as the security
> > constraints do not know about this, they don't restrict the access to
> > these pages.
> > 
> > In this case, you would have to do a redirect whenever you cross
> > boundaries of what a user is allowed to do or not to do, use the
> > MyFaces enabledOnUserRole construct for all restricted links or
> > decorate the view and/or navigationhandler to properly restrict access
> > to all pages.
> > 
> > regards,
> > 
> > Martin
> > 
> 
> 
> You are correct and all of my navigation rules are set to forward.  The
> problem I am having is that pages are being restricted to users.  According
> to the security constraint the pages should be restricted to any direct
> browser requests but internally dispatched requests (forwarded by a
> controller, like the NavigationHandler) should still be able to access the
> pages.  It seems that sometimes this works and sometimes it doesn't.
> 
> I will take a look at the NavigationHandler code and see if I can figure out
> how the navigation is done.
> 
> Thanks,
> -Mark
> 
> 


I have discovered that the problem I am having is caused by postbacks to the
same JSP amd all other navigation seems to be working correctly.  I'll
probably have to come up with some other method of protecting the pages as
there are far too many postbacks in my app ( or any typical JSF app). 
Perhaps a filter or some simple javascript.

Thanks,
-Mark


Re: Translation of Apache Doc

Posted by Joshua Slive <jo...@slive.ca>.
JHKChan wrote:
> I want to how many languages are now available for apache doc? As my team 
> is going to translate it to traditional and/or simplified Chinese edition. 
> I just want to confirm that there is no overlapping on work. Thx.

This is the wrong mailing list to discuss this.  See:
http://httpd.apache.org/docs-project/

The only relatively-complete set of documentation is in english.  There
is significant work going on in Japanese and some work in, at least,
German, French, and Spanish.

Joshua.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Translation of Apache Doc

Posted by JHKChan <jh...@itzone.info>.
I want to how many languages are now available for apache doc? As my team 
is going to translate it to traditional and/or simplified Chinese edition. 
I just want to confirm that there is no overlapping on work. Thx.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Possible to use myfaces extended components with SUN RI?

Posted by Martin Marinschek <ma...@gmail.com>.
I tried to fix that calendar component bug - if it is not yet fixed in
1.0.8, definitely open a bug report.

regards,

Martin


On Fri, 21 Jan 2005 14:57:05 -0500, Sean Schofield
<se...@gmail.com> wrote:
> Lately the ViewCVS functionality has been up and down.  If you're
> looking to compile use this link for a general explanation of
> anonymous CVS access to the apache respository:
> 
> http://www.apache.org/dev/version-control.html
> 
> I believe you just need to follow those instructions and check out the
> "incubator-myfaces" project.
> 
> sean
> 
> On Fri, 21 Jan 2005 17:55:37 +0100, Stefan Langer
> <my...@bettsockentraeger.de> wrote:
> > mfaine wrote:
> >
> > >On Fri, 21 Jan 2005 09:19:15 -0500, Sean Schofield
> > ><se...@gmail.com> wrote :
> > >
> > >
> > >
> > >>The only problem I have personally run into when using the components
> > >>with the RI is with Tiles.  The tiles addon for MyFaces claims
> > >>(incorrectly) to work with the RI.  (We should probably strike that
> > >>statement from the website.)
> > >>
> > >>Are you using 1.0.8?  If so, are you trying to use the forceId
> > >>attribute?  Your error message sounds vaguely familiar to an old error
> > >>message we would generate when using that attribute.  If you are using
> > >>1.0.7 or the very latest source code, however, then that should not be
> > >>an issue.
> > >>
> > >>Most likely this is a bug that we need to fix.  Please try a very
> > >>simple example and see if it also fails when you take the RI out of
> > >>the mix.  If it does, please report a bug to JIRA
> > >>(http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10600).
> > >>It's very important that we take advantage of any feedback the users
> > >>can report to us.
> > >>
> > >>
> > >>
> > >How can I try 1.0.8?  I can't seem to access the CVS repository.
> > >
> > >Thanks,
> > >-Mark
> > >
> > >
> > >
> > http://cvs.apache.org/dist/incubator/myfaces/builds/
> >
> > you shuld find it there
> >
> > Regards
> > Stefan
> >
> >
>

Re: Possible to use myfaces extended components with SUN RI?

Posted by Sean Schofield <se...@gmail.com>.
Lately the ViewCVS functionality has been up and down.  If you're
looking to compile use this link for a general explanation of
anonymous CVS access to the apache respository:

http://www.apache.org/dev/version-control.html

I believe you just need to follow those instructions and check out the
"incubator-myfaces" project.

sean


On Fri, 21 Jan 2005 17:55:37 +0100, Stefan Langer
<my...@bettsockentraeger.de> wrote:
> mfaine wrote:
> 
> >On Fri, 21 Jan 2005 09:19:15 -0500, Sean Schofield
> ><se...@gmail.com> wrote :
> >
> >
> >
> >>The only problem I have personally run into when using the components
> >>with the RI is with Tiles.  The tiles addon for MyFaces claims
> >>(incorrectly) to work with the RI.  (We should probably strike that
> >>statement from the website.)
> >>
> >>Are you using 1.0.8?  If so, are you trying to use the forceId
> >>attribute?  Your error message sounds vaguely familiar to an old error
> >>message we would generate when using that attribute.  If you are using
> >>1.0.7 or the very latest source code, however, then that should not be
> >>an issue.
> >>
> >>Most likely this is a bug that we need to fix.  Please try a very
> >>simple example and see if it also fails when you take the RI out of
> >>the mix.  If it does, please report a bug to JIRA
> >>(http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10600).
> >>It's very important that we take advantage of any feedback the users
> >>can report to us.
> >>
> >>
> >>
> >How can I try 1.0.8?  I can't seem to access the CVS repository.
> >
> >Thanks,
> >-Mark
> >
> >
> >
> http://cvs.apache.org/dist/incubator/myfaces/builds/
> 
> you shuld find it there
> 
> Regards
> Stefan
> 
>

Re: Possible to use myfaces extended components with SUN RI?

Posted by Stefan Langer <my...@bettsockentraeger.de>.
mfaine wrote:

>On Fri, 21 Jan 2005 09:19:15 -0500, Sean Schofield
><se...@gmail.com> wrote :
>
>  
>
>>The only problem I have personally run into when using the components
>>with the RI is with Tiles.  The tiles addon for MyFaces claims
>>(incorrectly) to work with the RI.  (We should probably strike that
>>statement from the website.)
>>
>>Are you using 1.0.8?  If so, are you trying to use the forceId
>>attribute?  Your error message sounds vaguely familiar to an old error
>>message we would generate when using that attribute.  If you are using
>>1.0.7 or the very latest source code, however, then that should not be
>>an issue.
>>
>>Most likely this is a bug that we need to fix.  Please try a very
>>simple example and see if it also fails when you take the RI out of
>>the mix.  If it does, please report a bug to JIRA
>>(http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10600). 
>>It's very important that we take advantage of any feedback the users
>>can report to us.
>>
>>    
>>
>How can I try 1.0.8?  I can't seem to access the CVS repository.
>
>Thanks,
>-Mark
>
>  
>
http://cvs.apache.org/dist/incubator/myfaces/builds/

you shuld find it there

Regards
Stefan


Re: Possible to use myfaces extended components with SUN RI?

Posted by mfaine <mf...@knology.net>.
On Fri, 21 Jan 2005 09:19:15 -0500, Sean Schofield
<se...@gmail.com> wrote :

> The only problem I have personally run into when using the components
> with the RI is with Tiles.  The tiles addon for MyFaces claims
> (incorrectly) to work with the RI.  (We should probably strike that
> statement from the website.)
> 
> Are you using 1.0.8?  If so, are you trying to use the forceId
> attribute?  Your error message sounds vaguely familiar to an old error
> message we would generate when using that attribute.  If you are using
> 1.0.7 or the very latest source code, however, then that should not be
> an issue.
> 
> Most likely this is a bug that we need to fix.  Please try a very
> simple example and see if it also fails when you take the RI out of
> the mix.  If it does, please report a bug to JIRA
> (http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10600). 
> It's very important that we take advantage of any feedback the users
> can report to us.
>
How can I try 1.0.8?  I can't seem to access the CVS repository.

Thanks,
-Mark


Re: Request Parameters are not set by managed bean facility

Posted by Craig McClanahan <cr...@gmail.com>.
On 8 Jul 2005 16:12:16 -0000, mfaine <mf...@knology.net> wrote:
> It was my, apparently wrong, understanding that the managed bean facility
> took care of determining the field name so that it wasn't necessary to put
> the field exactly as it is named in the request.  It seems to me this must
> be the case as it would make no sense to have myfaces name all the fields
> using a format that is incompatible with the managed bean facility.  This is
> why I only used "name", instead of "form1:name" and also because form1:name
> is illegal in an EL expression (the colon is a not allowed).  I thought for
> a second that there might be an x:inputHidden with a forceId attribute but
> no such luck.
> 

Actually, you *can* use colon delimited names in expressions.  Just
like JavaScript, the EL considers the following two expressions to
have identical semantics:

    #{foo.bar}

    #{foo['bar']}

and, because 'bar' is in quotes, it can include characters that would
otherwise mess things up, such as periods and colons.  This can be
particularly useful, for example, when "foo" is a Map (such as the one
created by the <f:loadBundle> tag for internationalization), and "bar"
is a message key that happens to contain periods.  It also works if
you want to access a request parameter whose field name has colons:

    #{param['form1:name']}

This doesn't help you, though, if 'foo' is a JavaBean and 'bar' is
supposed to be a property of that bean.  In this case, 'bar' has to
map to the JavaBean getter or setter method for this property
(typically getBar() and setBar(), but you can change this if you
provide BeanInfo for your bean classes ... see the JavaBeans spec for
more information).

Craig

Re: Request Parameters are not set by managed bean facility

Posted by mfaine <mf...@knology.net>.
It was my, apparently wrong, understanding that the managed bean facility
took care of determining the field name so that it wasn't necessary to put
the field exactly as it is named in the request.  It seems to me this must
be the case as it would make no sense to have myfaces name all the fields
using a format that is incompatible with the managed bean facility.  This is
why I only used "name", instead of "form1:name" and also because form1:name
is illegal in an EL expression (the colon is a not allowed).  I thought for
a second that there might be an x:inputHidden with a forceId attribute but
no such luck.

Thanks,
-Mark



On Fri, 8 Jul 2005 11:50:43 -0400, Mike Kienenberger <mk...@gmail.com>
wrote :

> Thanks for the information.   I didn't know that.
> 
> I took a quick look at the source, and I see the following.   
> 
>         s_standardImplicitObjects.put(
>             "param",
>             new ImplicitObject()
>             {
>                 public Object get(FacesContext facesContext)
>                 {
>                     return
> facesContext.getExternalContext().getRequestParameterMap();
>                 }
>             });
> 
> Since you're using 
> 
> this.name = (String)
>
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> 
> then I'd think you'd need to use something like "#{param.form1:name}"
> instead of #{param.name} to have the same result.   I'm not sure that
> the first expression is legal, though.   You probably know more about
> EL than I do and could probably make that work somehow, though.
> 
> 
> On 8 Jul 2005 15:36:46 -0000, mfaine <mf...@knology.net> wrote:
> > param is a predefined object in the value binding expression language.
> > 
> > There are 11 of these:
> > 
> > header
> > headerValues
> > param
> > paramValues
> > cookie
> > initParam
> > requestScope
> > sessionScope
> > applicationScope
> > facesContext
> > view
> > 
> > 
> > -Mark
> > 
> > 
> > 
> > On Fri, 8 Jul 2005 11:08:47 -0400, Mike Kienenberger <mk...@gmail.com>
> > wrote :
> > 
> > > [Maybe "param" is an advanced feature of JSF that I don't know about,
> > > and if so, ignore the following.]
> > >
> > > Why would this work as you described?
> > >
> > > "param" would need to be a managed bean.
> > > You'd have to create a getName() method on this bean that executes
> > >
> > > return
> > >
> >
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> > >
> > > in order for your expression to work.
> > >
> > > That said, I think you could create your own
> > > javax.faces.el.VariableResolver that could do this for you
> > > automatically, if I understand the VariableResolver concept.  Once you
> > > did that, then param.name could be handled as you expect it to work.
> > > Sounds like it might be a useful extension for myfaces.
> > >
> > > -Mike
> > >
> > > On 8 Jul 2005 14:32:16 -0000, mfaine <mf...@knology.net> wrote:
> > > > I'm trying to use the managed bean facility to set fields in my
beans from
> > > > values passed in a certain scope.  I'm having trouble setting the
value for
> > > > a field if I use request scope.
> > > >
> > > > In my faces.config I have a bean that is request scope.  If I set
the value
> > > > of of the managed property "name" to #{param.name} it does not get
set in
> > > > the bean.
> > > >
> > > > However, if I use something like:
> > > >
> > > > this.name = (String)
> > > >
> >
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("form1:name");
> > > >
> > > > in the init method of the bean, this works.
> > > >
> > > > It is very frustrating as I would like to do it using the managed bean
> > facility.
> > > >
> > > > Thanks,
> > > > -Mark
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> 
> 
> 

Re: FW: Button labels and DispatchActions mix?

Posted by Jing Zhou <ji...@netspread.com>.
The DispatchAction would dispatch to a method of the Action class
according to the value of a request parameter.
The LookupDispatchAction would dispatch to a method of the
Action class according to the label of a button, where *all*
related buttons should have the same name as it is
specified in the action mapping's parameter attribute.

>From the possible labels to the method names of the Action class,
Struts must accomplish two mappings. One is a map from
the labels to message keys. The other is a map from the keys
to the to-be-dispatched method names. You must implement the call
getKeyMethodMap() to return the second map and then define
the to-be-dispatched methods on the Action class.

One of reasons many Struts users get confused with the
LookupDispatchAction is because it is a little bit more
complicated than necessary when it tries to resolve the mappings
from the labels to the method names.

Our rational regarding to this issue is very clear:
The business logics in the Action class and below should
have nothing to do with the labels of buttons including
the message keys with which the labels are retrieved.

To achieve the design goal, we think using the names of
the buttons is the way to go. For example, you could
specify a semicolon delimited method names on the
action mapping's parameter attribute, then you could
dispatch to a method if you found that method name is
sent over from the http request. The i18n issues are
completely isolated from your business logics in this
way.

If someone do not like the way to tie button's names
to mehtod names, he/she could develop an event handling
mechanism to decouple such direct bindings ... It is
easy to understand as well as to implement.

Jing
Netspread Carrier
http://www.netspread.com

On Thu, 7 Aug 2003 14:36:08 +0100, "OFlaherty, Colm" 
<Co...@kbcam.com> wrote :

> What LookupDispatchAction will allow u to do is the following: 
> 
> * Have 1 Action class, with multiple executable methods in there (instead 
of the one usual "execute" method)
> * Have 2 buttons in your jsp with different labels (but the same 
name!!!), * Depending on which button is clicked, one of the methods that u 
coded in your action class will be fired off
> 
> The glue is that the labels in the 2 buttons must match the keys in the 
ApplicationResources, and the button labels must map to the Action class 
methods via the getKeyMethodMap  method in your action class...
> 
> See below for some code.
> 
> 
> /*I inherit from BaseUpdateAction */
> 
> public abstract class BaseUpdateAction extends LookupDispatchAction
> {
> protected Map getKeyMethodMap	() 
> 	{
> 	//this method redirects control to one of a number of methods 
(delete, insert, update)
> 		
> 	Map map = new HashMap();
> 	//Note: the keys must match the keys in the properties file and the 
labels in the JSP buttons
> 	//and the values must match methods in this class
> //the methods themselves also need to math the "execute" method signature 
(other than for the name portion!)
> 	map.put("insert.label", "insert");
> 	map.put("update.label", "update");
> 	map.put("delete.label", "delete");
> 	return map;
> 	}
> 
> 	public ActionForward insert (ActionMapping mapping, ActionForm 
from, HttpServletRequest request, HttpServletResponse response) throws 
Exception
> 
> 	{
> }
> 
> /* etc */
> }
> 
> My resources file contains the following: 
> 
> insert.label=Insert
> update.label=Update
> delete.label=Delete
> 
> I went though all of this hassle yesterday!
> 
> Colm
> 
> -----Original Message-----
> From: 	Todor Sergueev Petkov [mailto:t.s.petkov@basalmed.uio.no] 
> Sent:	07 August 2003 12:59
> To:	Struts Users Mailing List
> Subject:	Button labels and DispatchActions mix?
> 
> Hello people,
> 
> I have the following code :
> 
> <html:submit property="action" value="resetg" >
> <bean:message key="search.button.reset" />
> </html:submit>
> What I am trying to do is have a Dispatch Action so that when this button 
is pressed the request is something like search.do?action=resetg But I 
don't want my button to have the resetg title on it. I want it to have the 
search.button.reset title from ApplicationResources bundle on it. It seems 
tha Struts html tag library mixes the two. Is there a way out of this?
> 
> Thanks....
> 
> 
> 
> 
> **********************************************************************
> This message is sent in confidence for the addressee
> only.  The contents are not allowed to be disclosed to
> anyone other than the addressee.  Unauthorised 
> recipients must preserve this confidentiality and should 
> please advise the sender immediately of any error in
> transmission.
> **********************************************************************
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: resetting beans

Posted by mfaine <mf...@knology.net>.
I think I've figured out a new way (at least for me) to clear everything and
start new.

In my main document listing bean (request scoped),  I have the following
code in the init() method.

    HttpSession session = (HttpSession)
FacesContext.getCurrentInstance().getExternalContext().getSession(false);
    session.invalidate();
    
Seems to work well.

Is this an ok approach to ensuring that the session will always be cleared
on when the main page is visited.

-Mark
 

Re: Question to non-latin Translators

Posted by JHKChan <jh...@itzone.info>.
> * JHKChan wrote:
> 
> >> http://httpd.apache.org/docs-2.0/mod/directives.html     or here
> >> http://httpd.apache.org/docs-2.0/mod/quickreference.html
> > 
> > I see what you mean, if you say "index", I may get your meaning.
> 
> ok, sorry for confusion. I guess, I'm thinking too much in latin
> alphabets ;-) 
Heh, never mind, as you need to know Chinese first.

> 
> > In Chinese, usually we count the strokes, from 1 to 3x. For example,
> > in Big5, (¤@), which means one, counts 1 stroke; while (¹q), which
> > means electricity, counts 13 strokes. Hope you understand and be able
> > to see those Chinese words.
> 
> with the help of a browser, yes, I see the words. But I count either
> more or less than 13 strokes. Since I don't understand Chinese, it
> probably doesn't care ;-) 
> 
> However: What do you mean with "1 to 3x"? especially the "3x"? And the
> most interesting part: is there an automatic way to get it? 
Hm, "3x" means thirty something, sorry for confusion.

> 
> (or... is such knowledge built into the xalan xslt processor?)
I think so, but it is a pity that we do not have a language expert among us.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [users@httpd] Problems on Linux

Posted by Aman Raheja <ar...@techquotes.com>.
If you were missing "programs", as you call them, apache won't even compile.
Show your configure cmnd with arguments, please.
Here's an example
./configure --prefix=/usr/local/apache2.0.54 --enable-proxy
--enable-proxy-connect --enable-proxy-http --enable-ssl --disable-status
--disable-negotiation --disable-imap --enable-rewrite

It is enabling some default disable modules and vice-versa.

You may get yours from the source directory where you compiled apache by doing
$ head configure.log | grep cpnfigure

also show your httpd.conf portion that loads all modules.

Suggestion: Switch to apache 2.0.54, since 2.0.52 had security
vulnerabilities http://httpd.apache.org/security/vulnerabilities_20.html

Regards
Aman Raheja
http://www.techquotes.com



On Wed, 01 Jun 2005 02:33:09 +0200, Patrick Donker <li...@webpagina.nu> wrote :

> Broming plutonium wrote:
> 
> >Hi everyone,
> >
> >Is anyone here running the UNIX version of Apache
> >2.0.52 (that you compiled yourself) on a Linux
> >machine? I am, and there are a lot of problems.
> >Proxying doesn't work; authentication doesn't work;
> >headers don't work...
> >
> >Let's talk about proxying first. Whenever I put
> >"ProxyRequests On" in httpd.conf, Apache wouldn't
> >start/restart. It said it doesn't understand
> >ProxyRequests.
> >
> >As for authentication, whenever I try to start
> >htpasswd or htdigest, it always says "error while
> >loading libraries: libssl.so.4: cannot open shared
> >object file: No such file or directory".
> >
> >OK about the headers...whenever I add "Header..." to
> >httpd.conf, Apache wouldn't start. Same story here--it
> >doesn't understand what "Header" means.
> >
> >I'm guessing that the reason these features don't work
> >is because I didn't have enough programs when
> >compiling the source code. I did notice a lot of no's
> >when running
> >./configure. What programs do I need to compile Apache
> >properly?
> >
> >Also, how do I uninstall Apache if I've deleted the
> >source directory?
> >
> >  
> >
> Looks like you are trying to use modules that you didnt load. Like 
> mod_proxy or ssl. How did you compile? What was the commandline and how 
> does your httpd.conf looks like? You dont give very much info besides 
> that it doesnt work...You dont even tell us what version you run and on 
> what distro!
> You also might want to visit httpd.apache.org and look at the compiling 
> and installing section
> 
> -Patrick
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


virtual directory in tomcat

Posted by ab...@knology.net.
Hello guys,

Can anybody advise me on this...is it possible to create a virtual 
directory in Tomcat which points to a directory on a different 
machine? ... something similar to what IIS does? 
I need to store lots of images for my website and am hence using a 
separate machine with lot of space in it. I will tomcat to point to that 
directory on the other machine.
Any suggestions?

-Abby

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: [VOTE] Release 2.3.16-beta as beta

Posted by Graham Leggett <mi...@sharp.fm>.
On 16 Dec 2011, at 12:59 PM, Steffen wrote:

> Was expecting that 2.3.16, as RC/latest beta, did not break that much modules. With 2.3.x till 2.3.15 it was minor, in fact none here.

> Authors were planning to release new versions to support 2.4 GA, based on testing 2.3.15 and  no api changes in a Release Candidate.
> 
> We must  live with it, according the replies on my modsec example post here.

The API rules are clear, when v2.4.0 is released, the API is cast in stone. Before that point, the API is subject to change.

We are after the most stable server possible, when a bug exists in the API, that bug must be fixed.

> Gregg reported here that the problems are the changes to the log_error hook and  remote_ip/remote_addr

This is reported in the CHANGES file, which module authors should be keeping track of.

In the server, we have gone from tracking just one remote IP address to tracking two - the IP address of the client directly connected to us, and the IP address of the useragent that initiated the request, which may be some hops away from us separated by caches, load balancer or proxies. In order to prevent subtle bugs appearing in modules because modules are looking at the wrong IP address, we are forcing module authors to make an explicit choice - does their module need the client IP or the useragent IP? 

Subtle bugs are bad.

Regards,
Graham
--


Re: 2.4.0 GA This week?

Posted by "Gregg L. Smith" <gl...@gknw.net>.
Honesty,

never tries with these on ... especially sendfile ... slows us wintards 
outbound down bigtime.


On 1/2/2012 3:08 PM, William A. Rowe Jr. wrote:
> On 1/1/2012 12:30 PM, Steffen wrote:
>> Also IMHO blocking GA:
>>
>> - SSL on windows not usable
>> - Hanging "logging" workers
> Does disabling the EnableSendfile/EnableMMAP directives alter either
> of these cases?
>
> It really appears that socket reuse is to blame here.  We know there
> are plenty of windows socket stack drivers who barf on disconnecting
> and recycling sockets through transmitfile.
>


Re: 2.4.0 GA This week?

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 1/1/2012 12:30 PM, Steffen wrote:
> Also IMHO blocking GA:
> 
> - SSL on windows not usable
> - Hanging "logging" workers

Does disabling the EnableSendfile/EnableMMAP directives alter either
of these cases?

It really appears that socket reuse is to blame here.  We know there
are plenty of windows socket stack drivers who barf on disconnecting
and recycling sockets through transmitfile.

Re: x:dataTable doesn't render an id per row?

Posted by mfaine <mf...@knology.net>.
On Tue, 31 May 2005 15:35:05 +0200, "Kris Verhoye"
<kr...@synergetic-solutions.be> wrote :

> This is a multi-part message in MIME format.
> 
> 
> Hi!
>  
> I know that there have been a lot of questions regarding the dataTable,
> but I still can't get mine to work.
>  
> I have a table which looks like this:
>  
>             <x:dataTable id="pubTable"
>                          styleClass="publicationTable"
>                          headerClass="publicationTable_SortHeader"
>  
> rowClasses="publicationTable_row1,publicationTable_row2"
>                          var="publication"
>                          value="#{publicationsBean.publicationModel}"
>                          sortColumn="#{publicationsBean.sort}"
>                          sortAscending="#{publicationsBean.ascending}"
>                          preserveDataModel="true"
>                          preserveSort="true">
>               <h:column>
>                 <f:facet name="header">
>                   <h:panelGroup></h:panelGroup>
>                 </f:facet>
>                 <h:graphicImage
> alt="#{pubmgr_messages['alt_validated']}"
>                                 url="#{publicationsBean.validated ==
> 'true' ? pubmgr_messages['img_greenlight'] :
> pubmgr_messages['img_redlight']}">
>                 </h:graphicImage>
>               </h:column>
>               <h:column>
>                 <f:facet name="header">
>                   <x:commandSortHeader columnName="code" arrow="true">
>                     <h:outputText value="Code" />
>                   </x:commandSortHeader>
>                 </f:facet>
>                 <x:commandLink
> action="#{publicationsBean.goToPublicationDetail}" immediate="true"
> styleClass="publication_select">
>                   <x:outputText value="#{publication.code}" />
>                 </x:commandLink>
>               </h:column>
>               <h:column>
>                 <f:facet name="header">
>                   <x:commandSortHeader columnName="name" arrow="true">
>                     <h:outputText value="Name" />
>                   </x:commandSortHeader>
>                 </f:facet>
>                 <h:outputText value="#{publication.names['en']}" />
>               </h:column>
>             </x:dataTable>
>  
> The table is rendered to this:
>  
> <table id="pubForm:pubTable" class="publicationTable">
> <thead>
>  
> <tr><th class="publicationTable_SortHeader"></th><th
> class="publicationTable_SortHeader"><a href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id11';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id11">Code</a></th><th
> class="publicationTable_SortHeader"><a href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id16';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;"
> id="pubForm:pubTable:_id16">Name&#x2193;</a></th></tr></thead>
> <tbody>
> <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode1</a></td><td>testname1</td></tr>
> <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode2</a></td><td>testname2</td></tr>
> <tr class="publicationTable_row1"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode3</a></td><td>testname3</td></tr>
> <tr class="publicationTable_row2"><td><img id="pubForm:pubTable:_id9"
> src="/pubmgr/images/redlight.gif" alt="validate status"/></td><td><a
> href="#"
> onclick="clear_pubForm();document.forms['pubForm'].elements['autoScroll'
> ].value=getScrolling();document.forms['pubForm'].elements['pubForm:_link
> _hidden_'].value='pubForm:pubTable:_id13';if(document.forms['pubForm'].o
> nsubmit){document.forms['pubForm'].onsubmit();}document.forms['pubForm']
> .submit();return false;" id="pubForm:pubTable:_id13"
> class="publication_select">testcode4</a></td><td>testname4</td></tr><tbo
> dy></table>
>  
> The publicationsBean backing bean has the following setters/getters:
>  
>   public DataModel getPublicationModel()
>   {
>     if (this.publicationModel == null)
>     {
>       this.publicationModel = new ListDataModel();
>     }
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new
> SortablePublicationList(loadPublications());
>     }
>  
> this.publicationModel.setWrappedData(this.sortablePublications.getPublic
> ations()); <--- so I just put a list of Publications in the DataModel
>     this.publicationModel.addDataModelListener(new DataModelListener()
>     {
>    public void rowSelected(DataModelEvent e)
>    {
>     System.out.println("row selected:" + e.getRowIndex()); <-----
> clicking on a link in the table activates this for the whole column?!
>    }
>     });
>     return this.publicationModel;
>   }
>   
>   public void setPublicationModel(DataModel dataModel)
>   {
>     this.publicationModel = dataModel;
>   }
>  
>   private List loadPublications()
>   {
>     <return a List of Publication>
>   }
>  
>   public String getSort()
>   {
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new
> SortablePublicationList(loadPublications());
>     }
>     return this.sortablePublications.getSort();
>   }
>  
>   public void setSort(String sort)
>   {
>     this.sortablePublications.setSort(sort);
>   }
>  
>   public boolean isAscending()
>   {
>     if (this.sortablePublications == null)
>     {
>       this.sortablePublications = new
> SortablePublicationList(loadPublications());
>     }
>     return this.sortablePublications.isAscending();
>   }
>  
>   public void setAscending(boolean ascending)
>   {
>     this.sortablePublications.setAscending(ascending);
>   }
>  
> The sorting works, as it is I'm already quite happy with the output ;-)
>  
> Yet! I can't get the id of selected Publication once the commandLink is
> pressed as there seems to be a problem with the generated ids of each
> row!
>  
> As far as I know, each id should be something like
> pubForm:pubTable_0:_id13, pubForm:pubTable_1:_id13, etc...?!
>  
> As all my rows have the same id (see the rendered table), the
> DataModel's getDataRow() method always returns the last item from the
> row (after having iterated over the whole column it seems).
>  
> Does anyone know what my problem could be?
>  
> The master/detail example from the myfaces examples does get an id per
> row so I'm reckoning it's still possible.
>  
> I tried using <x:updateActionListener
> property="#{publicationsBean.selectedPublication}"
> value="#{publication}" />, but the problem remains as the system can't
> differentiate between the rows...
>  
> Many thanks in advance for any help!!
>  
> Greetings,
> Kris
> 
> 

Hi Kris,

Have you tried passing a param with a unique identifier for the row and
using an actionlistener to get the selected row?

-Mark

Romove asap...

Posted by Praveen Bhavani <pr...@wcom.com>.

-----Original Message-----
From: 00914698@yahoo.com [mailto:00914698@yahoo.com]
Sent: Thursday, October 12, 2000 11:12 PM
To: mikeh727@yahoo.com
Subject: The Net Detective. Learn how to snoop on Anyone!


READY TO KNOW?





> 





> CONFIDENTIAL





> 





> The SOFTWARE They Want BANNED In all 50 STATES.





> Why? Because these secrets were never intended to reach your eyes...





> Get the facts on anyone!    





> 





> Locate Missing Persons, find Lost Relatives, obtain Addresses





> and Phone Numbers of old school friends, even Skip Trace Dead 





> Beat Spouses. This is not a Private Investigator, but a





> sophisticated SOFTWARE program DESIGNED to automatically





> CRACK YOUR CASE with links to thousands of Public Record databases. 





> 





> Find out SECRETS about your relatives, friends, enemies,





> and everyone else! -- even your spouse! With the New,





>              INTERNET SPY AND YOU!





> 





> It's absolutely astounding! Here's what you can learn:





> 





> License plate number!





>  Get anyone's name and address with just a license plate number!





>  (Find that girl you met in traffic!)





> 





> Driving record! 





>  Get anyone's driving record





> 





> Social security number!





>   Trace anyone by social security number!





> 





> Address! 





>  Get anyone's address with just a name!





> 





> Unlisted phone numbers! 





>  Get anyone's phone number with just a name-even unlisted numbers!





> 





> Locate! 





>  Long lost friends, relatives, a past lover who broke your heart!





> 





> E-mail! 





> Send anonymous e-mail completely untraceable!





> 





> Dirty secrets!





>   Discover dirty secrets your in-laws don't want you to know!





> 





> Investigate anyone! 





>  Use the sources that private investigators use (all on the Internet)





>  secretly!





> 





> Ex-spouse!





>   Learn how to get information on an ex-spouse that will help you 





>   win in court!  (Dig up old skeletons)





> 





> Criminal search-Backround check!





>   Find out about your daughters boyfriend! 





>   (or her husband)





> 





> Find out! 





>  If you are being investigated!





> 





> Neighbors!





>   Learn all about your mysterious neighbors! Find out what they 





>   have to hide!





> 





> People you work with!





>   Be astonished by what you'll learn about people you work with!





>





> Education verification!





>   Did he really graduate college?  Find out!





> 





> Internet Spy and You





>  Software will help you discover ANYTHING about anyone, with 





>  clickable hyperlinks and no typing in Internet addresses! Just





>  insert the floppy disk and Go!





> 





> You will be shocked and amazed by the secrets that can be





>  discovered about absolutely everyone! Find out the secrets 





>  they don't want you to know! About others, about yourself! 





> 





> It's INCREDIBLE what you can find out using Internet Spy and You





>  and the Internet! You'll be riveted to your computer screen!





>  Get the software they're trying to ban! Before it's too late!





> 





> LIMITED TIME OFFER: ORDER TODAY!





> 





> Only $24.95 





> 





> 





> We will RUSH YOU our Internet Spy and You software so you can





>  begin discovering all the secrets you ever wanted to know!





> 





> You can know EVERYTHING about ANYONE with our Internet Spy and





> You Software. Works with all browsers and all versions of AOL!





> 





> ORDER TODAY: SEND ONLY $24.95 US CASH, CHECK, OR MONEY ORDER





> (you may also send one of your own address labels





> for accuracy if you have one.)





> 





> ATTENTION ORDERS OUTSIDE THE US:  You must ad $5 for shipping.





> 





> 





> *Foreign money orders must be payable on a US BANK AND IN US FUNDS!





> NO EXCEPTIONS!





> 





>





> 





> 





> DON'T WAIT TO GET STARTED... it's as easy as 1. 2. 3.





> 





> 





> STEP 1 - Print the order form text below





> 





> STEP 2 - Type or print your order information into the order form section





> 





> STEP 3 - Mail order form and payment to the address below





> 





> 





>           





> 





> >>>>>>>>>>>>>>>>>>>>>>>>>>Mail the portion below<<<<<<<<<<<<<<<<<<<<









> 





>     Send to:





> 





>    Consumer Resources





>    





>    PO BOX 283





> 





>    Johnston, IA 50131





> 





>    





>     U.S.A





>





>     





> 





> 





> 





> >>>>>>>>>>>>>>>>>>>>> Mail-in Order Form <<<<<<<<<<<<<<<<<<<<<<<<









> 





> 





> 





>





> Name: ______________________________





>





> 





> Address:  _____________________________





> 





>





> City/State/Zip __________________________________________





> 





> 











>





> 





>





> 





> 











> 





> >>>>>>>>>>>>>>>>>>>>>> end of form <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<









> 





> DISCLAIMER: The seller of this powerful software resource will not be 





> held responsible for how the purchaser chooses to use its resources.





> 





>





>





> 





> To be removed from our mailing list please





> send an email to m743@dcemail.com and put remove





> in the subject.





> Thank you







Re: [TRANSLATION] index.xml filter.xml

Posted by kajaa <ka...@eastday.com>.
* JHKChan" wrote:

> Um... possible to add zh-hk (or zh-tw)? Because if you search for the
> traditional chinese translation for the doc, you can find it already, but
> it is for Apache 1.3 and it is an html doc. We are try to change back to
> Apache 2.0 and use xml now. This need a much effort.
>

Yes, this need much effort, and hardly to be a whole new project.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [TRANSLATION] index.xml filter.xml

Posted by André Malo <nd...@perlig.de>.
* JHKChan wrote:

> Um... possible to add zh-hk (or zh-tw)? Because if you search for the
> traditional chinese translation for the doc, you can find it already, but
> it is for Apache 1.3 and it is an html doc. We are try to change back to
> Apache 2.0 and use xml now. This need a much effort.

As long as there are no zh-tw documents in 2.0/2.1, I see no reason to add a
virtual zh-tw directory there...

nd

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [TRANSLATION] index.xml filter.xml

Posted by JHKChan <jh...@itzone.info>.
On Sun, 6 Jul 2003 13:43:47 +0800, "kajaa" <ka...@eastday.com> wrote :

> While waiting for your reply, I wrote some rules as below:
> 
>  RewriteEngine On
>  RewriteBase /docs/LocalDocs/ApacheManual
>  RewriteRule ^(de|en|fr|ja|ko|zh-cn|ru)[/]?$ index\.html\.$1 [S=5]
>  RewriteRule ^(de|en|fr|ja|ko|zh-cn|ru)/(de|en|fr|ja|ko|zh-cn|ru)/(.*)$
> $2/$3 [R]
>  RewriteRule
> ^(de|en|fr|ja|ko|zh-cn|ru)/
(developer|faq|howto|images|misc|mod|platform|pro
> grams|search|ssl|style|vhosts)[/]?$ $2/index\.html\.$1 [S=3]
>  RewriteRule ^(de|en|fr|ja|ko|zh-cn|ru)/(.*)\.html$ $2\.html\.$1 [S=2]
>  RewriteRule
> ^(de|en|fr|ja|ko|zh-cn|ru)/(.*)\.html\.(de|en|fr|ja|ko|zh-cn|ru)$
> $2\.html\.$1 [S=1]
>  RewriteRule
> ^(de|en|fr|ja|ko|zh-cn|ru)/
(developer|faq|howto|images|misc|mod|platform|pro
> grams|search|ssl|style|vhosts)/(.*) $2/$3 [nocase]
> 
>  RewriteCond %{REQUEST_FILENAME} !-f
>  RewriteRule ^(.*)\.(de|en|fr|ja|ko|zh-cn|ru)$ $1
> 
> you may notice that, I didnt append language encoding extensions to HTMLs,
> such as gb2312 for zh-cn, euc-kr for kr, jis for ja, but actually, it 
works
> fine, EXCEPT for Russian variants, so, is Russian something special?
> 
> BTW, look here for a test: http://kajaa.bbs.us/manual
> 
> kajaa
> 
>

Um... possible to add zh-hk (or zh-tw)? Because if you search for the 
traditional chinese translation for the doc, you can find it already, but 
it is for Apache 1.3 and it is an html doc. We are try to change back to 
Apache 2.0 and use xml now. This need a much effort.

JHKChan

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Doc Translation Work

Posted by JHKChan <jh...@itzone.info>.
Hm, I can now confirm that no work is overlapped. And mine is translating 
to traditional Chinese. You can see some translations at 
http://itzone.info/dev/skyap/docs/index.html. Right column has done much.

BTW, how to use cvs? (I just want to know some basic, not tutorial)

On Tue, 16 Jul 2002 12:34:58 -0700 (PDT), Joshua Slive <jo...@slive.ca> 
wrote :

> On 16 Jul 2002, JHKChan wrote:
> 
> > I want to know, how many languages are in progress now? (no need to be
> > fully done, just in progress)
> 
> The most advanced one is Japanese.  Others that I know of are Dutch,
> German, Spanish, and French, but I haven't seen much actual content out of
> them.
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


RE: turbine and websphere configuration

Posted by "Michael L. Conneen" <mc...@infointegrators.com>.
We have been running JetSpeed (ala Turbine) under WebSphere 3.5.4 for
sometime now.  I don't have access to the server right now, but I believe we
are also running EFix PQ50372.jar.  The application team decided to run it
as a root application, which basically means that everything is served via
WebSphere.

For the gifs, pdfs, ppt, etc to be served via WebSphere, yes the file
serving servlet is required.  The only context which we are mapping is
/portal/* which maps to Turbine.  However, as WebSphere is serving
everything, you must also indicate the appropriate mime-type for the
extension which you are serving.  So, something like
    <mime-mapping>
        <extension>pdf</extension>
        <mime-type>application/pdf</mime-type>
    </mime-mapping>

is required.  You can either do this via the web.xml file, or via the WAS
console.  Please note, we did NOT include anything special for gifs, jpegs,
etc.

I'm not familiar with VA Java, so I hope this helps.


Mike

-----Original Message-----
From: Steve [mailto:turbine_user@knology.net]
Sent: Friday, January 18, 2002 4:36 PM
To: Turbine Users List
Subject: Re: turbine and websphere configuration


tom:

I don't know if this helps or not, but I had a similar problem getting a
turbine app to run under Resin.  In order to get my images to load, I had
to add a specific servlet-mapping to my web.xml.

The following works...

<servlet-mapping>
  <servlet-name>app</servlet-name>
  <url-pattern>servlet/*</url-pattern>
</servlet-mapping>

(and can be accessed at URL:  http://localhost:8080/app/servlet)

With a url-pattern of just "/*" instead of "servlet/*" it works, but the
images/css/scripts... won't load.

(and with just "*" it never leaves the first page)

(with props to Scott Eade who figured this out and answered a how-to on the
resin listserv)

I dunno if this helps at all, but maybe...

Steve


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: turbine and websphere configuration

Posted by Steve <tu...@knology.net>.
tom:

I don't know if this helps or not, but I had a similar problem getting a 
turbine app to run under Resin.  In order to get my images to load, I had 
to add a specific servlet-mapping to my web.xml.

The following works...

<servlet-mapping> 
  <servlet-name>app</servlet-name> 
  <url-pattern>servlet/*</url-pattern> 
</servlet-mapping> 

(and can be accessed at URL:  http://localhost:8080/app/servlet)

With a url-pattern of just "/*" instead of "servlet/*" it works, but the 
images/css/scripts... won't load.

(and with just "*" it never leaves the first page)

(with props to Scott Eade who figured this out and answered a how-to on the 
resin listserv)

I dunno if this helps at all, but maybe...

Steve


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: address is already in use

Posted by Damien July <da...@open-securite.org>.
Hi,
i'm under sun solaris 8 sparc

and i had been restart the server.
and there is no one that listen on port 80 or 8080

Damien
Le lun 19/07/2004 à 18:56, Aman Raheja a écrit :
> Are you on Windows platform ? Are you restarting it?
> Check your process list and "End Task" if you find it there.
> 
> Also try netstat and see who's using the 8080 port (if that's what you 
> have in server.xml).
> 
> Aman Raheja
> http://www.techquotes.com
> 
> 
> On Mon, 19 Jul 2004 18:45:41 +0200, Damien July <damien.july@open-
> securite.org> wrote :
> 
> > Hello,
> > 
> > i try to start tomcat 4.1.24 and when i start it , i have the "address
> > already in use" error message.
> > 
> > the is , i don't have some webserver or other thant listen on port 8Ã  or
> > 8080.
> > 
> > I don't why i have this error.....
> > 
> > If someone could help Me.....
> > 
> > thx.
> > Damien
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > 
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: address is already in use

Posted by Aman Raheja <ar...@techquotes.com>.
Are you on Windows platform ? Are you restarting it?
Check your process list and "End Task" if you find it there.

Also try netstat and see who's using the 8080 port (if that's what you 
have in server.xml).

Aman Raheja
http://www.techquotes.com


On Mon, 19 Jul 2004 18:45:41 +0200, Damien July <damien.july@open-
securite.org> wrote :

> Hello,
> 
> i try to start tomcat 4.1.24 and when i start it , i have the "address
> already in use" error message.
> 
> the is , i don't have some webserver or other thant listen on port 8à or
> 8080.
> 
> I don't why i have this error.....
> 
> If someone could help Me.....
> 
> thx.
> Damien
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: LDAP-Unterst�tzung

Posted by Oliver Enders <oe...@oc-enders.de>.
Hallo Bernd,

noch ein nachtrag wenn du nach mod_auth_ldap googlest findest Du ne mennge 
Infos.

Gruß Oliver
------------- Original message follows -------------

Hallo zusammen:

Versuche grade, einen LDAP-Server derart zu konfigurieren, das man den 
Verzeichnisbaum mit einem Webbroser browsen kann. Hab mir also LDAP-
Explorer 
runtergeladen und hab auch einen Webserver auf derselben Maschiene, auf der 
der LDAP-Server läuft. Nun steht in der Installationsanweisung des 
LDAP-Explorers, das der Apache mit LDAP-Unterstützung kompiliert sein muß. 
Okay, hört sich nicht so schwierig an, aber wo finde ich ein mod_ldap oder 
whatever needed? Hab auf der Apache-Seite die Online-Doku und ein Apache-
Buch 
nach LDAP durchwühlt und nix gefunden. 

Kann mir jemand den entscheidenden Hint geben, welches Modul ich zur 
LDAP-Unterstützung in den Apache einkompilieren (oder dynamisch nachladen?) 
muß und wo ich das Ding downloaden kann?

Hope for help,
Bernd




-- 

One OS to rule them all, one OS to find them.
One OS to bring them all, and in the darkness bind them
In the land of Redmond, where the shadows lie.

--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de"
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------





--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------


Re: [users@httpd] RPM build errors

Posted by Joseph Oaks <tr...@trells.com>.
RHEL 3, apache-2.0.50.tar.gz

Trell

On Fri, 2004-07-23 at 11:05, Aman Raheja wrote:
> What ver of Apache ? and what OS?
> some basic information usually helps out quicker.
> Thanks
> 
> 
> Aman Raheja
> http://www.techquotes.com
> 
> 
> On Fri, 23 Jul 2004 10:53:14 -0700, Joseph Oaks <tr...@trells.com> wrote :
> 
> > 
> > Ok, so I have gotten pass some previous errors with a few problems, 
> > but I can't seem to figure this one out, any clue?
> > 
> > RPM build errors:
> >     File not found by glob:
> > /var/tmp/httpd-root/usr/lib/httpd/modules/mod_[a-r]*.so
> >     File not found by glob:
> > /var/tmp/httpd-root/usr/lib/httpd/modules/mod_s[petu]*.so
> >     File not found by glob:
> > /var/tmp/httpd-root/usr/lib/httpd/modules/mod_[t-z]*.so
> >     File not found: /var/tmp/httpd-root/usr/lib/httpd/modules/mod_ssl.so
> > 
> > Trell
> > 
> > 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

Re: [users@httpd] RPM build errors

Posted by Aman Raheja <ar...@techquotes.com>.
What ver of Apache ? and what OS?
some basic information usually helps out quicker.
Thanks


Aman Raheja
http://www.techquotes.com


On Fri, 23 Jul 2004 10:53:14 -0700, Joseph Oaks <tr...@trells.com> wrote :

> 
> Ok, so I have gotten pass some previous errors with a few problems, 
> but I can't seem to figure this one out, any clue?
> 
> RPM build errors:
>     File not found by glob:
> /var/tmp/httpd-root/usr/lib/httpd/modules/mod_[a-r]*.so
>     File not found by glob:
> /var/tmp/httpd-root/usr/lib/httpd/modules/mod_s[petu]*.so
>     File not found by glob:
> /var/tmp/httpd-root/usr/lib/httpd/modules/mod_[t-z]*.so
>     File not found: /var/tmp/httpd-root/usr/lib/httpd/modules/mod_ssl.so
> 
> Trell
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Basic CRUD

Posted by Jing Zhou <ji...@netspread.com>.
----- Original Message ----- 
From: "Vic Cekvenich" <vc...@baseBeans.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, May 29, 2003 9:48 PM
Subject: Re: Basic CRUD


> Maybe in 3rd world countries this works,  maybe you should spend a few $
> with IP Lawyer?
> You can't make generalization because some open source license requires
> attribution (this was built using) , or licensing in kind (they own your
> source),  or are only for non commercial use or worse.
>
> Anyway, if netspread becomes big enough to sue ....
> This will be a good e-mail to use to establish MO.
> Here is my Algorithms, here it is at NetSpread, and here is my license.
>

Just back and find this thread had gone too far from its original subject.
As a lead algorithm engineer with published algorithms on IEEE Transactions
and a United States patent granted in 1999, I feel lucky I did not work
with 3rd class instructors who do not understand basic research principles.

> Open source is rarely artistic license. Only artistic license I recall
> is Doug Lea's fast threaded collections.

Any license term can not privide *all* things to *all* people, just like
a framework can not do *all* things for *all* people, regardless it is
artistic or not. Carrier production license will be designed to encourage
smart people to develop advanced algorithms and publish them too.

Jing

>
> .V
>
> jing@netspread.com wrote:
>
> >On Thu, 29 May 2003 22:04:36 -0000, "Eric Miles" <em...@cstone.net>
wrote :
> >
> >
> >
> >>Chicks that don't lay eggs are still good for cooking, eh?  ;-)
> >>
> >>Jing,
> >>Your source code is Open Source licensing, right?  Not going to sue
> >>me when I resell or make $$$ off your code?!?
> >>
> >>
> >
> >Here are what I did before I created the *general* CRUD algorithm:
> >Performed serious research on existing CRUD algorithms from several
> >vendors, published articles, and mailing lists.
> >Then started to design a *superior* version of my own.
> >I am not worried about vendors will sue me at all because I know it
> >is my own work and I am grateful to those who published their algorithms
> >so that I can design a *better* one.
> >
> >Making my algorithms available in this mailing list is not just for
> >*you*, it is for ones who want to find their own *better* solutions.
> >Innovations benefit from sharing ideas. That is my point of view.
> >
> >If anyone believes he/she has to license a product to get an idea,
> >That is fundamentally wrong if that idea or algorithm has not been
> >patented yet(Stop! this subject is not about license:-)
> >
> >
> >
> >>Although, Carrier looks like a nice product, my hope was to do the
> >>grunt work myself, to get a feel for persisting objects through
> >>struts and to do it via several methods.  Once I can get the correct
> >>object from the view to the action, everything should work nice.  On
> >>the backend, I'm persisting objects by using a stateless session EJB
> >>talking to Hibernate.  Plus, using XDoclet is the best thing since
> >>Ant.
> >>
> >>I'll post back when I get this thing hammered out.
> >>
> >>
> >
> >Of course, you are welcome to publish your ideas or algorithms!
> >
> >Jing
> >
> >
> >
> >>Thanks for the feedback.
> >>-Eric
> >>
> >>
> >>
>
> -- 
> Vic Cekvenich,
> Struts Instructor,
> 1-800-917-JAVA
>
> Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery
in North East.
> Open Source <a href ="baseBeans.com">Content Management</a>  basicPortal
sofware
> Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper
ScafflodingXPress
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Basic CRUD

Posted by Vic Cekvenich <vc...@baseBeans.com>.
Maybe in 3rd world countries this works,  maybe you should spend a few $ 
with IP Lawyer?
You can't make generalization because some open source license requires 
attribution (this was built using) , or licensing in kind (they own your 
source),  or are only for non commercial use or worse.

Anyway, if netspread becomes big enough to sue ....
This will be a good e-mail to use to establish MO.
Here is my Algorithms, here it is at NetSpread, and here is my license.

Open source is rarely artistic license. Only artistic license I recall 
is Doug Lea's fast threaded collections.

.V

jing@netspread.com wrote:

>On Thu, 29 May 2003 22:04:36 -0000, "Eric Miles" <em...@cstone.net> wrote :
>
>  
>
>>Chicks that don't lay eggs are still good for cooking, eh?  ;-)
>>
>>Jing,
>>Your source code is Open Source licensing, right?  Not going to sue 
>>me when I resell or make $$$ off your code?!?
>>    
>>
>
>Here are what I did before I created the *general* CRUD algorithm:
>Performed serious research on existing CRUD algorithms from several
>vendors, published articles, and mailing lists.
>Then started to design a *superior* version of my own.
>I am not worried about vendors will sue me at all because I know it
>is my own work and I am grateful to those who published their algorithms
>so that I can design a *better* one.
>
>Making my algorithms available in this mailing list is not just for
>*you*, it is for ones who want to find their own *better* solutions.
>Innovations benefit from sharing ideas. That is my point of view.
>
>If anyone believes he/she has to license a product to get an idea,
>That is fundamentally wrong if that idea or algorithm has not been
>patented yet(Stop! this subject is not about license:-)
>
>  
>
>>Although, Carrier looks like a nice product, my hope was to do the 
>>grunt work myself, to get a feel for persisting objects through 
>>struts and to do it via several methods.  Once I can get the correct 
>>object from the view to the action, everything should work nice.  On 
>>the backend, I'm persisting objects by using a stateless session EJB 
>>talking to Hibernate.  Plus, using XDoclet is the best thing since 
>>Ant.
>>
>>I'll post back when I get this thing hammered out.
>>    
>>
>
>Of course, you are welcome to publish your ideas or algorithms!
>
>Jing
>
>  
>
>>Thanks for the feedback.
>>-Eric
>>
>>    
>>

-- 
Vic Cekvenich,
Struts Instructor,
1-800-917-JAVA

Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North East.
Open Source <a href ="baseBeans.com">Content Management</a>  basicPortal sofware
Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress



Re: Basic CRUD

Posted by ji...@netspread.com.
On Thu, 29 May 2003 22:04:36 -0000, "Eric Miles" <em...@cstone.net> wrote :

> Chicks that don't lay eggs are still good for cooking, eh?  ;-)
> 
> Jing,
> Your source code is Open Source licensing, right?  Not going to sue 
> me when I resell or make $$$ off your code?!?

Here are what I did before I created the *general* CRUD algorithm:
Performed serious research on existing CRUD algorithms from several
vendors, published articles, and mailing lists.
Then started to design a *superior* version of my own.
I am not worried about vendors will sue me at all because I know it
is my own work and I am grateful to those who published their algorithms
so that I can design a *better* one.

Making my algorithms available in this mailing list is not just for
*you*, it is for ones who want to find their own *better* solutions.
Innovations benefit from sharing ideas. That is my point of view.

If anyone believes he/she has to license a product to get an idea,
That is fundamentally wrong if that idea or algorithm has not been
patented yet(Stop! this subject is not about license:-)

> 
> Although, Carrier looks like a nice product, my hope was to do the 
> grunt work myself, to get a feel for persisting objects through 
> struts and to do it via several methods.  Once I can get the correct 
> object from the view to the action, everything should work nice.  On 
> the backend, I'm persisting objects by using a stateless session EJB 
> talking to Hibernate.  Plus, using XDoclet is the best thing since 
> Ant.
> 
> I'll post back when I get this thing hammered out.

Of course, you are welcome to publish your ideas or algorithms!

Jing

> 
> Thanks for the feedback.
> -Eric
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: [users@httpd] Unable to generate ScriptLog

Posted by Harish Sundaram <ha...@patni.com>.
Hi Aman,

Thanks for the reply..

Well, the problem still persists...
Initially, I hadn't used the User directive, but even after using it as:
**********************
User apache2
**********************
still, no script log is getting generated.
Interestingly, I am not facing any such problem on HP-UX (again HP-UX 11iv2
Itanium)

My main problem is that the file is not getting generated at all.
The next thing I did was to create the file (with the correct permissions)
beforehand and to see if the file gets written into. Even that didn't
happen!
I checked out http://httpd.apache.org/docs-2.0/mod/mod_cgi.html#scriptlog
earlier itself, but had not got any help on Linux specific problems of
ScriptLog

Please let me know if I'm doing something really wrong..

Thanks,
Harish.

-----Original Message-----
From: Aman Raheja [mailto:araheja@techquotes.com]
Sent: Saturday, May 28, 2005 11:53 PM
To: Apache Forum
Subject: Re: [users@httpd] Unable to generate ScriptLog


The logs/scrip_log file should be owned and writable by the user mentioned
in User directive. For ex.

-rw-r--r--    1 apache   apache        592 May 28 13:21
/usr/local/apache2.0.53/logs/abc.com-script_log

Also make sure you HUP the server after you added the ScriptLog directive.

For details, refer,
http://httpd.apache.org/docs-2.0/mod/mod_cgi.html#scriptlog

HTH
Aman Raheja
http://www.techquotes.com


On Sat, 28 May 2005 19:31:00 +0530, "Harish Sundaram"
<ha...@patni.com> wrote :

>
> Hi,
>
> I am running Apache 2.0.53 on Linux Itanium machine.
>
> I have set the following directive in httpd.conf:
> ***********************
> ScriptLog logs/script_log
> ***********************
> I put an error in a script and accessed it using IE, the following message
> gets correctly displayed:
> ----------------------------------
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
unable
> to complete your request.
>
> Please contact the server administrator, you@example.com and inform them
of
> the time the error occurred, and anything you might have done that may
have
> caused the error.
>
> More information about this error may be available in the server error
log.
> ------------------------------------------
> I know that this is expected as there was a bug in the script. But the
> script_log file does not get created in /logs
> What could have gone wrong?
>
> Please help.
>
> Thanks in advance...
> Harish.
>
>
>
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail.
> _____________________________________________________________________
>
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________


Re: [users@httpd] Unable to generate ScriptLog

Posted by Aman Raheja <ar...@techquotes.com>.
The logs/scrip_log file should be owned and writable by the user mentioned
in User directive. For ex.

-rw-r--r--    1 apache   apache        592 May 28 13:21
/usr/local/apache2.0.53/logs/abc.com-script_log

Also make sure you HUP the server after you added the ScriptLog directive.

For details, refer, http://httpd.apache.org/docs-2.0/mod/mod_cgi.html#scriptlog

HTH
Aman Raheja
http://www.techquotes.com


On Sat, 28 May 2005 19:31:00 +0530, "Harish Sundaram"
<ha...@patni.com> wrote :

> 
> Hi,
> 
> I am running Apache 2.0.53 on Linux Itanium machine.
> 
> I have set the following directive in httpd.conf:
> ***********************
> ScriptLog logs/script_log
> ***********************
> I put an error in a script and accessed it using IE, the following message
> gets correctly displayed:
> ----------------------------------
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> 
> Please contact the server administrator, you@example.com and inform them of
> the time the error occurred, and anything you might have done that may have
> caused the error.
> 
> More information about this error may be available in the server error log.
> ------------------------------------------
> I know that this is expected as there was a bug in the script. But the
> script_log file does not get created in /logs
> What could have gone wrong?
> 
> Please help.
> 
> Thanks in advance...
> Harish.
> 
> 
> 
> http://www.patni.com
> World-Wide Partnerships. World-Class Solutions.
> _____________________________________________________________________
> 
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to
> whom this message was originally addressed. Any review, e-transmission
> dissemination or other use of or taking of any action in reliance upon
> this information by persons or entities other than the intended
> recipient is prohibited. If you have received this e-mail in error
> kindly delete  this e-mail from your records. If it appears that this
> mail has been forwarded to you without proper authority, please notify
> us immediately at netadmin@patni.com and delete this mail. 
> _____________________________________________________________________
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Advanced criteria question

Posted by Steve <tu...@knology.net>.
<quote>
Now the question: "What do I need to add to the criteria to make it pick up
ALL permissions NOT associated with the specified Role?"
</quote>

I don't consider myself a database expert, but that sure sounds like a left 
join to me, and I'm pretty sure Peers doesn't support left joins.  There's 
always JDBC...

<mySQL syntax (from the reference guide)>
select table1.* from table1 LEFT JOIN table2 ON table1.id=table2.id where 
table2.id is NULL will find all rows in table1 with an id value not present 
in table2, assuming table2.id is declared NOT NULL, of course.
</mySQL syntax>

HTH,
Steve


On Tue, 22 Jan 2002 11:27:54 -0500, "Weaver, Scott" <Sw...@rippe.com> 
wrote :

> The code below returns most Permissions not associated with the specified
> Role.  However, it does not work fully.  If there is a Permission that is
> not associated with any Role, i.e. it's not listed in
> turbine_role_permission at all, it is not returned.  
> 
> Now the question: "What do I need to add to the criteria to make it pick 
up
> ALL permissions NOT associated with the specified Role?"
> 
> String roleName = "some_role";
> 
> Criteria c= new Criteria();
> 
> c.addJoin(RolePeer.ROLE_ID,RolePermissionPeer.ROLE_ID);
> c.addJoin(RolePermissionPeer.PERMISSION_ID, PermissionPeer.PERMISSION_ID);
> c.add(RolePeer.NAME,(Object)roleName, Criteria.NOT_EQUAL);
> 
> Thanks,
> Scott
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-user-
unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-user-
help@jakarta.apache.org>
> 
> 
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [users@httpd] apachectl trivia question

Posted by Aman Raheja <ar...@techquotes.com>.
That should do it
http://httpd.apache.org/docs/2.0/stopping.html#graceful

Aman Raheja
http://www.techquotes.com

On Fri, 4 Nov 2005 15:05:02 -0800, Ashley Gould <ag...@ucop.edu> wrote :

> If I make changes to httpd.conf to activate an unused module, would the 
> new module be available by running apachclt graceful, or do I need to do
> a full stop start?
> 
> 
> 
> 
> -- 
> 
> -ashley
> 
> Did you try poking at it with a stick?
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: 2.3.15 RewriteRule P

Posted by Jim Jagielski <ji...@jaguNET.com>.
Am I correct in assuming this is just under Windows...??

On Nov 14, 2011, at 1:31 PM, Steffen wrote:

> The issue below seems not to be related to SSL.
> 
> Tested in different non-SSL configs with eg.
> RewriteRule /sysadmin(.*) http://%{HTTP_HOST}:81/sysadmin$1 [P,L]
> 
> And different servers as the back, Sambar, Surge, DManager and Apache.
> 
> Sometimes it works but mostly it is not passing (good) URL info to the server.
> Get errors like: "requested URL not found", "requested file: ()"
> 
> Using the ProxyPass directive, no issues.
> 
> Same configs are working with 2.2 without issues.
> 
> Steffen
> 
>> 
>> --- Original message ---
>> Subject: Re: [VOTE] Release 2.3.15-beta as beta
>> From: Steffen <in...@apachelounge.com>
>> To: <de...@httpd.apache.org>
>> Date: Saturday, 12/11/2011 16:26
>> 
>> Building fine on Windows, except mod_lua is complaining that it cannot fine
>> mod_ssl.h, just copied it and all fine.
>> 
>> Still the issue:
>> When run in DOS box, not shutting down when closing window, as service no
>> problem.
>> 
>> A real problematic one is:
>> 
>> When running still issues with SSL, pages and/or image not displayed, is
>> random. Some errors from the browser:
>> 
>> Unable to make a secure connection to the server. This may be a problem with
>> the server, or it may be requiring a client authentication certificate that
>> you don't have.
>> Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
>> 
>> The webpage at https://www.land10mail.com/ might be temporarily down or it
>> may have moved permanently to a new web address.
>> Error 15 (net::ERR_SOCKET_NOT_CONNECTED): Unknown error
>> 
>> With 2.2.21 and the exact same config, no problems.
>> 
>> The config is:
>> 
>> For SSL, running a Apache 443 only in front of a Apache 80. Using signed
>> certificate.
>> 
>> It is a minimal config with a commonly used rewrite:
>> 
>> Listen 443
>> SSLEngine on
>> DocumentRoot f:/web/unknown
>> RewriteEngine on
>> RewriteRule /(.*) http://%{HTTP_HOST}/$1 [P,L]
>> 
>> In the log no clue, only
>> [ssl:info] [pid 6836:tid 2588] (70014)End of file found: [client
>> 85.223.52.177:38857] SSL input filter read failed.
>> But that I see also with 2.2.21
>> 
>> Looks like more errors when I have "AcceptFilter https none" instead of
>> leaving this out.
>> 
>> Steffen
>> 
> 
> 
> 


Re: cvs commit: jakarta-avalon-excalibur/converter/src/java/org/apache/excalibur/converter/lib SimpleMasterConverter.java

Posted by Peter Donald <pe...@realityforge.org>.
On Sat, 1 Feb 2003 17:16, Mircea Toma wrote:
> > This broke my code. I use converter in context that does not have avalon
> > present in classpath.
>
> I will rollback the change this weekend.

thanks!

-- 
Cheers,

Peter Donald
------------------------------------
The two secrets to success:
   1- Don't tell anyone everything.
------------------------------------ 


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


VPN site to site with no cisco nor juniper on the customer end

Posted by Amin Samir <am...@opencloud.net.au>.
Hello,

 
Can anyone please advise if we can use site to site VPN and there is no Cisco nor Juniper routers on the other (customer end) for instance if the customer has Pfsense as his router and firewall

, what shall we do? Is it possible or not?

 
Our environment is as follows:

?         MS 4.3 installed on CentOs 6.5, implemented in an advanced networking mode.

?         Hypervisors are Xen Server 6.2 SP1. 

 
Thanks in advance for your support 

 
 

Re: Filter f�r Apache

Posted by in...@oc-enders.de.
Hallo Roman,

was hälst Du davon die Sites als php-Sites zu bauen, die dann bei jedem 
Seitenaufruf die nötigen Daten in eine DB schreiben.

Setzt nur vorraus, daß mod_php und eine mysql-db auf dem system laufen.

Gruß Oliver

On Tue, 15 Oct 2002 13:28:02 +0200, "Roman Greil" <r....@jusline.at> 
wrote :

> Hallo!
> 
> Kann mir bitte wer sagen wie ich einen Filter (z.B. mit mod_perl) für 
Apache
> schreiben kann mit dem ich für ausgehende Seiten gewissen Sachen machen
> kann?
> Es geht mir darum welche Einträge muss ich in der httpd.conf machen damit
> das Perl Programm immer aufgerufen wird wenn eine Seite hinausgeht.
> 
> Besten Danke
> 
> Roman Greil
> 
> 
> 
> --------------------------------------------------------------------------
>                 Apache HTTP Server Mailing List "users-de" 
>       unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
>            sonstige Anfragen an users-de-help@httpd.apache.org
> --------------------------------------------------------------------------
> 
> 
> 
> 

Re: About translation

Posted by JHKChan <jh...@itzone.info>.
RKai,


On Thu, 22 Aug 2002 12:28:40 +0400, "RKai" <s0...@tversu.ru> wrote :

> Does anybody know who translates (or translate) Apache 2.0 documentation
> into the Russian language?
> 

Though I don't know if there is an Apache 2.0 Doc in Russian, I think we 
should be responsible to reply you. As I am one of the translators for 
traditional Chinese, we also don't know if there are already some groups 
working on it.

So it is an urge for us to have such a list.

Jacky Chan

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

I have done that. Any more ideas? I didn't change any configuration files
(unless summat else changed them for me!).

Robin
----- Original Message ----- 
From: "Abidis Solano" <ab...@minuevaweb.com>
To: <us...@httpd.apache.org>
Sent: Friday, July 23, 2004 10:40 PM
Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading


>
> To disable it temporarily you can use  YAST2, modules, users and security,
> firewall
>
> It shouldn't be a configuration error, cause apache checks it and refuses
> to start if any error
>
>
>
> -- 
> Abidis Solano Nova
> http://www.minuevaweb.com
>
> > Hi
> >
> > I've used Yast2 to configure the the firewall and made sure it allowed
the
> > HTTP server through. I can't seem to find where to disable it but that
> > shouldn't matter (I think) as I've opened the HTTP server ports.
> >
> > Attached is the default-server.conf file.
> >
> > Robin
> > ----- Original Message -----
> > From: "Abidis Solano" <ab...@minuevaweb.com>
> > To: <us...@httpd.apache.org>
> > Sent: Friday, July 23, 2004 10:22 PM
> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
> >
> >
> >> It seems to me that the apache is not beeing reached. Did you activate
> >> SuSEfirewall? Just open port 80 or stop it an try again.
> >>
> >> If it's something related to firewall,  tail /var/log/warn and it
should
> >> show dropped packets where DPT=80
> >>
> >>
> >> The config file we need is default-server, or if you use virtual hosts
> >> the
> >> proper vhosts.d config file.
> >>
> >> --
> >> Abidis Solano Nova
> >> http://www.minuevaweb.com
> >>
> >> > Hi
> >> >
> >> > I have tried what you said and it still doesn't work. If I use MSIE
on
> > my
> >> > networked machine it says "Cannot find server - This page cannot be
> >> > displayed". If I use mozilla on my linux box it says "The connection
> >> was
> >> > refused when attempting to contact localhost".
> >> >
> >> > The tail of the error file stays exactly the same.
> >> >
> >> > I have attached my httpd.conf file.
> >> >
> >> > Robin
> >> > ----- Original Message -----
> >> > From: "Abidis Solano" <ab...@minuevaweb.com>
> >> > To: <us...@httpd.apache.org>
> >> > Sent: Friday, July 23, 2004 10:01 PM
> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
> >> loading
> >> >
> >> >
> >> >>
> >> >> - Tail the error log file
> >> >> - Go to your browser, clear the cache, reload index.html
> >> >> - send the error message showed by the browser
> >> >> - now look again at the tailed log file
> >> >>
> >> >>
> >> >> --
> >> >> Abidis Solano Nova
> >> >> http://www.minuevaweb.com
> >> >>
> >> >> > Hi
> >> >> >
> >> >> > Thanks, I've started it and it still didn't work!
> >> >> >
> >> >> > I looked at the logs using the command you gave me and here is
what
> >> i
> >> > get
> >> >> > for the last time I tried to start it:
> >> >> >
> >> >> > [warn] Init: session cache is not configured [hint:
> >> SSLSessionCache]
> >> >> > [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
> >> >> >
> >> >> > Neither of those seem to be fatal errors, so why is the webpage
not
> >> >> > displaying?
> >> >> >
> >> >> > I have got rid of everything else in my server root apart from an
> >> >> > index.html
> >> >> > file. I have also tried going to that file explicitly
> >> >> > (http://localhost/index.html), all to no avail.
> >> >> >
> >> >> > Any ideas?
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >> > Robin
> >> >> >
> >> >> >
> >> >> > ----- Original Message -----
> >> >> > From: "Abidis Solano" <ab...@minuevaweb.com>
> >> >> > To: <us...@httpd.apache.org>
> >> >> > Sent: Friday, July 23, 2004 9:41 PM
> >> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
> >> >> loading
> >> >> >
> >> >> >
> >> >> >> to start it :
> >> >> >>
> >> >> >> /etc/init.d/apache2 start
> >> >> >>
> >> >> >> to look at the logs :
> >> >> >>
> >> >> >> tail -f /var/log/apache2/error_log
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Abidis Solano Nova
> >> >> >> http://www.minuevaweb.com
> >> >> >>
> >> >> >> > Hi
> >> >> >> >
> >> >> >> > Thanks for your reply.
> >> >> >> >
> >> >> >> > Apache doesn't seem to be running. How should I start it?
> >> >> >> >
> >> >> >> > All the instructions for starting it seem not to work.
> >> >> >> >
> >> >> >> > Sorry for being dumb!
> >> >> >> >
> >> >> >> > Robin
> >> >> >> > ----- Original Message -----
> >> >> >> > From: "Aman Raheja" <ar...@techquotes.com>
> >> >> >> > To: <us...@httpd.apache.org>
> >> >> >> > Sent: Friday, July 23, 2004 9:13 PM
> >> >> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to
be
> >> >> >> loading
> >> >> >> > and
> >> >> >> > can't find how to load it
> >> >> >> >
> >> >> >> >
> >> >> >> >>
> >> >> >> >> You can use ps and netstat to find out if apahe is running.
> >> >> >> >>
> >> >> >> >> If it is then look in the log files to find out why your
> >> homepage
> >> >> is
> >> >> > not
> >> >> >> >> coming up - apache would log an error, if it running at the
> >> site
> >> >> is
> >> >> >> not
> >> >> >> >> properly configured.
> >> >> >> >>
> >> >> >> >> Aman Raheja
> >> >> >> >> http://www.techquotes.com
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
> >> >> >> >> <r....@rmplc.co.uk> wrote :
> >> >> >> >>
> >> >> >> >> > Hi all,
> >> >> >> >> >
> >> >> >> >> > I have, until recently, had Apache 2 running perfectly
> >> happily
> >> >> on
> >> >> >> my
> >> >> >> > Suse
> >> >> >> >> > 9.1 box.
> >> >> >> >> >
> >> >> >> >> > Earlier today, I turned on my box and it didn't seem to
load.
> >> >> When
> >> >> >> I
> >> >> >> >> try
> >> >> >> >> to
> >> >> >> >> > go to localhost I just get a message saying "Could not
> >> connect
> >> >> to
> >> >> > host
> >> >> >> >> > localhost". It looks like apache isn't running, but how do I
> >> >> start
> >> >> > it.
> >> >> >> >> I
> >> >> >> >> > have tried all the instructions that I could find on the
net,
> >> >> but
> >> >> > none
> >> >> >> > of
> >> >> >> >> > them seem to work on my system. How should I get apache
> > running?
> >> >> I
> >> >> >> >> don't
> >> >> >> >> > think i've altered any system files recently (at least not
> >> >> >> >> knowingly!).
> >> >> >> >> Does
> >> >> >> >> > Suse 9.1 put the binaries in a different place?
> >> >> >> >> >
> >> >> >> >> > I'm sure this is a simple question, but I can't seem to find
> >> an
> >> >> > answer
> >> >> >> >> > anywhere. Sorry if I'm being dumb!
> >> >> >> >> >
> >> >> >> >> > Thanks in advance
> >> >> >> >> >
> >> >> >> >> > Robin
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > ---
> >> >> >> >> > Outgoing mail is certified Virus Free.
> >> >> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> >> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date:
> >> 22/07/04
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> >> >> > The official User-To-User support forum of the Apache HTTP
> >> >> Server
> >> >> >> >> Project.
> >> >> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more
> >> info.
> >> >> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >> >> >    "   from the digest:
> >> >> users-digest-unsubscribe@httpd.apache.org
> >> >> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >>
> >>
>>> ---------------------------------------------------------------------
> >> >> >> >> The official User-To-User support forum of the Apache HTTP
> >> Server
> >> >> >> >> Project.
> >> >> >> >> See <URL:http://httpd.apache.org/userslist.html> for more
info.
> >> >> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >> >>    "   from the digest:
> >> users-digest-unsubscribe@httpd.apache.org
> >> >> >> >> For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> > ---
> >> >> >> > Outgoing mail is certified Virus Free.
> >> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> > The official User-To-User support forum of the Apache HTTP
> >> Server
> >> >> > Project.
> >> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >> >    "   from the digest:
> >> users-digest-unsubscribe@httpd.apache.org
> >> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >>
> >>> ---------------------------------------------------------------------
> >> >> >> The official User-To-User support forum of the Apache HTTP Server
> >> >> >> Project.
> >> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> >> For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >>
> >> >> >
> >> >> >
> >> >> > ---
> >> >> > Outgoing mail is certified Virus Free.
> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >> >
> >> >> >
> >> >>
> ---------------------------------------------------------------------
> >> >> > The official User-To-User support forum of the Apache HTTP Server
> >> > Project.
> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> The official User-To-User support forum of the Apache HTTP Server
> >> >> Project.
> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> For additional commands, e-mail: users-help@httpd.apache.org
> >> >>
> >> >
> >> >
> >> > ---
> >> > Outgoing mail is certified Virus Free.
> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> > ---------------------------------------------------------------------
> >> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >> ---------------------------------------------------------------------
> >> The official User-To-User support forum of the Apache HTTP Server
> >> Project.
> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

Tried it again and it worked, which makes it even more strange (in my
opinion).

By the way...thanks for all your help

Robin
----- Original Message ----- 
From: "Robin Wilson" <r....@rmplc.co.uk>
To: <us...@httpd.apache.org>
Sent: Friday, July 23, 2004 10:47 PM
Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading


> Hi
>
> I just restarted and tried again, and tried the command to start it again
> (/etc/init.d/apache2 start) and it failed this time, but dumped no error
> messages to the log file!
>
> This is really confusing me!
>
> Robin
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

I just restarted and tried again, and tried the command to start it again
(/etc/init.d/apache2 start) and it failed this time, but dumped no error
messages to the log file!

This is really confusing me!

Robin


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Abidis Solano <ab...@minuevaweb.com>.
To disable it temporarily you can use  YAST2, modules, users and security,
firewall

It shouldn't be a configuration error, cause apache checks it and refuses
to start if any error



-- 
Abidis Solano Nova
http://www.minuevaweb.com

> Hi
>
> I've used Yast2 to configure the the firewall and made sure it allowed the
> HTTP server through. I can't seem to find where to disable it but that
> shouldn't matter (I think) as I've opened the HTTP server ports.
>
> Attached is the default-server.conf file.
>
> Robin
> ----- Original Message -----
> From: "Abidis Solano" <ab...@minuevaweb.com>
> To: <us...@httpd.apache.org>
> Sent: Friday, July 23, 2004 10:22 PM
> Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
>
>
>> It seems to me that the apache is not beeing reached. Did you activate
>> SuSEfirewall? Just open port 80 or stop it an try again.
>>
>> If it's something related to firewall,  tail /var/log/warn and it should
>> show dropped packets where DPT=80
>>
>>
>> The config file we need is default-server, or if you use virtual hosts
>> the
>> proper vhosts.d config file.
>>
>> --
>> Abidis Solano Nova
>> http://www.minuevaweb.com
>>
>> > Hi
>> >
>> > I have tried what you said and it still doesn't work. If I use MSIE on
> my
>> > networked machine it says "Cannot find server - This page cannot be
>> > displayed". If I use mozilla on my linux box it says "The connection
>> was
>> > refused when attempting to contact localhost".
>> >
>> > The tail of the error file stays exactly the same.
>> >
>> > I have attached my httpd.conf file.
>> >
>> > Robin
>> > ----- Original Message -----
>> > From: "Abidis Solano" <ab...@minuevaweb.com>
>> > To: <us...@httpd.apache.org>
>> > Sent: Friday, July 23, 2004 10:01 PM
>> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
>> loading
>> >
>> >
>> >>
>> >> - Tail the error log file
>> >> - Go to your browser, clear the cache, reload index.html
>> >> - send the error message showed by the browser
>> >> - now look again at the tailed log file
>> >>
>> >>
>> >> --
>> >> Abidis Solano Nova
>> >> http://www.minuevaweb.com
>> >>
>> >> > Hi
>> >> >
>> >> > Thanks, I've started it and it still didn't work!
>> >> >
>> >> > I looked at the logs using the command you gave me and here is what
>> i
>> > get
>> >> > for the last time I tried to start it:
>> >> >
>> >> > [warn] Init: session cache is not configured [hint:
>> SSLSessionCache]
>> >> > [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
>> >> >
>> >> > Neither of those seem to be fatal errors, so why is the webpage not
>> >> > displaying?
>> >> >
>> >> > I have got rid of everything else in my server root apart from an
>> >> > index.html
>> >> > file. I have also tried going to that file explicitly
>> >> > (http://localhost/index.html), all to no avail.
>> >> >
>> >> > Any ideas?
>> >> >
>> >> > Thanks
>> >> >
>> >> > Robin
>> >> >
>> >> >
>> >> > ----- Original Message -----
>> >> > From: "Abidis Solano" <ab...@minuevaweb.com>
>> >> > To: <us...@httpd.apache.org>
>> >> > Sent: Friday, July 23, 2004 9:41 PM
>> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
>> >> loading
>> >> >
>> >> >
>> >> >> to start it :
>> >> >>
>> >> >> /etc/init.d/apache2 start
>> >> >>
>> >> >> to look at the logs :
>> >> >>
>> >> >> tail -f /var/log/apache2/error_log
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Abidis Solano Nova
>> >> >> http://www.minuevaweb.com
>> >> >>
>> >> >> > Hi
>> >> >> >
>> >> >> > Thanks for your reply.
>> >> >> >
>> >> >> > Apache doesn't seem to be running. How should I start it?
>> >> >> >
>> >> >> > All the instructions for starting it seem not to work.
>> >> >> >
>> >> >> > Sorry for being dumb!
>> >> >> >
>> >> >> > Robin
>> >> >> > ----- Original Message -----
>> >> >> > From: "Aman Raheja" <ar...@techquotes.com>
>> >> >> > To: <us...@httpd.apache.org>
>> >> >> > Sent: Friday, July 23, 2004 9:13 PM
>> >> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
>> >> >> loading
>> >> >> > and
>> >> >> > can't find how to load it
>> >> >> >
>> >> >> >
>> >> >> >>
>> >> >> >> You can use ps and netstat to find out if apahe is running.
>> >> >> >>
>> >> >> >> If it is then look in the log files to find out why your
>> homepage
>> >> is
>> >> > not
>> >> >> >> coming up - apache would log an error, if it running at the
>> site
>> >> is
>> >> >> not
>> >> >> >> properly configured.
>> >> >> >>
>> >> >> >> Aman Raheja
>> >> >> >> http://www.techquotes.com
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
>> >> >> >> <r....@rmplc.co.uk> wrote :
>> >> >> >>
>> >> >> >> > Hi all,
>> >> >> >> >
>> >> >> >> > I have, until recently, had Apache 2 running perfectly
>> happily
>> >> on
>> >> >> my
>> >> >> > Suse
>> >> >> >> > 9.1 box.
>> >> >> >> >
>> >> >> >> > Earlier today, I turned on my box and it didn't seem to load.
>> >> When
>> >> >> I
>> >> >> >> try
>> >> >> >> to
>> >> >> >> > go to localhost I just get a message saying "Could not
>> connect
>> >> to
>> >> > host
>> >> >> >> > localhost". It looks like apache isn't running, but how do I
>> >> start
>> >> > it.
>> >> >> >> I
>> >> >> >> > have tried all the instructions that I could find on the net,
>> >> but
>> >> > none
>> >> >> > of
>> >> >> >> > them seem to work on my system. How should I get apache
> running?
>> >> I
>> >> >> >> don't
>> >> >> >> > think i've altered any system files recently (at least not
>> >> >> >> knowingly!).
>> >> >> >> Does
>> >> >> >> > Suse 9.1 put the binaries in a different place?
>> >> >> >> >
>> >> >> >> > I'm sure this is a simple question, but I can't seem to find
>> an
>> >> > answer
>> >> >> >> > anywhere. Sorry if I'm being dumb!
>> >> >> >> >
>> >> >> >> > Thanks in advance
>> >> >> >> >
>> >> >> >> > Robin
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ---
>> >> >> >> > Outgoing mail is certified Virus Free.
>> >> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date:
>> 22/07/04
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> > The official User-To-User support forum of the Apache HTTP
>> >> Server
>> >> >> >> Project.
>> >> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more
>> info.
>> >> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >> >> >    "   from the digest:
>> >> users-digest-unsubscribe@httpd.apache.org
>> >> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >>
>> >>> ---------------------------------------------------------------------
>> >> >> >> The official User-To-User support forum of the Apache HTTP
>> Server
>> >> >> >> Project.
>> >> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >> >>    "   from the digest:
>> users-digest-unsubscribe@httpd.apache.org
>> >> >> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> > ---
>> >> >> > Outgoing mail is certified Virus Free.
>> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >> >> >
>> >> >> >
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> > The official User-To-User support forum of the Apache HTTP
>> Server
>> >> > Project.
>> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >> >    "   from the digest:
>> users-digest-unsubscribe@httpd.apache.org
>> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >>
>>> ---------------------------------------------------------------------
>> >> >> The official User-To-User support forum of the Apache HTTP Server
>> >> >> Project.
>> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >> >>
>> >> >
>> >> >
>> >> > ---
>> >> > Outgoing mail is certified Virus Free.
>> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > The official User-To-User support forum of the Apache HTTP Server
>> > Project.
>> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> > For additional commands, e-mail: users-help@httpd.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> The official User-To-User support forum of the Apache HTTP Server
>> >> Project.
>> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >>
>> >
>> >
>> > ---
>> > Outgoing mail is certified Virus Free.
>> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
> Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

I've used Yast2 to configure the the firewall and made sure it allowed the
HTTP server through. I can't seem to find where to disable it but that
shouldn't matter (I think) as I've opened the HTTP server ports.

Attached is the default-server.conf file.

Robin
----- Original Message ----- 
From: "Abidis Solano" <ab...@minuevaweb.com>
To: <us...@httpd.apache.org>
Sent: Friday, July 23, 2004 10:22 PM
Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading


> It seems to me that the apache is not beeing reached. Did you activate
> SuSEfirewall? Just open port 80 or stop it an try again.
>
> If it's something related to firewall,  tail /var/log/warn and it should
> show dropped packets where DPT=80
>
>
> The config file we need is default-server, or if you use virtual hosts the
> proper vhosts.d config file.
>
> -- 
> Abidis Solano Nova
> http://www.minuevaweb.com
>
> > Hi
> >
> > I have tried what you said and it still doesn't work. If I use MSIE on
my
> > networked machine it says "Cannot find server - This page cannot be
> > displayed". If I use mozilla on my linux box it says "The connection was
> > refused when attempting to contact localhost".
> >
> > The tail of the error file stays exactly the same.
> >
> > I have attached my httpd.conf file.
> >
> > Robin
> > ----- Original Message -----
> > From: "Abidis Solano" <ab...@minuevaweb.com>
> > To: <us...@httpd.apache.org>
> > Sent: Friday, July 23, 2004 10:01 PM
> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
> >
> >
> >>
> >> - Tail the error log file
> >> - Go to your browser, clear the cache, reload index.html
> >> - send the error message showed by the browser
> >> - now look again at the tailed log file
> >>
> >>
> >> --
> >> Abidis Solano Nova
> >> http://www.minuevaweb.com
> >>
> >> > Hi
> >> >
> >> > Thanks, I've started it and it still didn't work!
> >> >
> >> > I looked at the logs using the command you gave me and here is what i
> > get
> >> > for the last time I tried to start it:
> >> >
> >> > [warn] Init: session cache is not configured [hint: SSLSessionCache]
> >> > [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
> >> >
> >> > Neither of those seem to be fatal errors, so why is the webpage not
> >> > displaying?
> >> >
> >> > I have got rid of everything else in my server root apart from an
> >> > index.html
> >> > file. I have also tried going to that file explicitly
> >> > (http://localhost/index.html), all to no avail.
> >> >
> >> > Any ideas?
> >> >
> >> > Thanks
> >> >
> >> > Robin
> >> >
> >> >
> >> > ----- Original Message -----
> >> > From: "Abidis Solano" <ab...@minuevaweb.com>
> >> > To: <us...@httpd.apache.org>
> >> > Sent: Friday, July 23, 2004 9:41 PM
> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
> >> loading
> >> >
> >> >
> >> >> to start it :
> >> >>
> >> >> /etc/init.d/apache2 start
> >> >>
> >> >> to look at the logs :
> >> >>
> >> >> tail -f /var/log/apache2/error_log
> >> >>
> >> >>
> >> >> --
> >> >> Abidis Solano Nova
> >> >> http://www.minuevaweb.com
> >> >>
> >> >> > Hi
> >> >> >
> >> >> > Thanks for your reply.
> >> >> >
> >> >> > Apache doesn't seem to be running. How should I start it?
> >> >> >
> >> >> > All the instructions for starting it seem not to work.
> >> >> >
> >> >> > Sorry for being dumb!
> >> >> >
> >> >> > Robin
> >> >> > ----- Original Message -----
> >> >> > From: "Aman Raheja" <ar...@techquotes.com>
> >> >> > To: <us...@httpd.apache.org>
> >> >> > Sent: Friday, July 23, 2004 9:13 PM
> >> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
> >> >> loading
> >> >> > and
> >> >> > can't find how to load it
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> You can use ps and netstat to find out if apahe is running.
> >> >> >>
> >> >> >> If it is then look in the log files to find out why your homepage
> >> is
> >> > not
> >> >> >> coming up - apache would log an error, if it running at the site
> >> is
> >> >> not
> >> >> >> properly configured.
> >> >> >>
> >> >> >> Aman Raheja
> >> >> >> http://www.techquotes.com
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
> >> >> >> <r....@rmplc.co.uk> wrote :
> >> >> >>
> >> >> >> > Hi all,
> >> >> >> >
> >> >> >> > I have, until recently, had Apache 2 running perfectly happily
> >> on
> >> >> my
> >> >> > Suse
> >> >> >> > 9.1 box.
> >> >> >> >
> >> >> >> > Earlier today, I turned on my box and it didn't seem to load.
> >> When
> >> >> I
> >> >> >> try
> >> >> >> to
> >> >> >> > go to localhost I just get a message saying "Could not connect
> >> to
> >> > host
> >> >> >> > localhost". It looks like apache isn't running, but how do I
> >> start
> >> > it.
> >> >> >> I
> >> >> >> > have tried all the instructions that I could find on the net,
> >> but
> >> > none
> >> >> > of
> >> >> >> > them seem to work on my system. How should I get apache
running?
> >> I
> >> >> >> don't
> >> >> >> > think i've altered any system files recently (at least not
> >> >> >> knowingly!).
> >> >> >> Does
> >> >> >> > Suse 9.1 put the binaries in a different place?
> >> >> >> >
> >> >> >> > I'm sure this is a simple question, but I can't seem to find an
> >> > answer
> >> >> >> > anywhere. Sorry if I'm being dumb!
> >> >> >> >
> >> >> >> > Thanks in advance
> >> >> >> >
> >> >> >> > Robin
> >> >> >> >
> >> >> >> >
> >> >> >> > ---
> >> >> >> > Outgoing mail is certified Virus Free.
> >> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> > The official User-To-User support forum of the Apache HTTP
> >> Server
> >> >> >> Project.
> >> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >> >    "   from the digest:
> >> users-digest-unsubscribe@httpd.apache.org
> >> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >>
> >>> ---------------------------------------------------------------------
> >> >> >> The official User-To-User support forum of the Apache HTTP Server
> >> >> >> Project.
> >> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> >> For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >>
> >> >> >
> >> >> >
> >> >> > ---
> >> >> > Outgoing mail is certified Virus Free.
> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >> >
> >> >> >
> >> >>
> ---------------------------------------------------------------------
> >> >> > The official User-To-User support forum of the Apache HTTP Server
> >> > Project.
> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> The official User-To-User support forum of the Apache HTTP Server
> >> >> Project.
> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> For additional commands, e-mail: users-help@httpd.apache.org
> >> >>
> >> >
> >> >
> >> > ---
> >> > Outgoing mail is certified Virus Free.
> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> The official User-To-User support forum of the Apache HTTP Server
> >> Project.
> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04

Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Abidis Solano <ab...@minuevaweb.com>.
It seems to me that the apache is not beeing reached. Did you activate
SuSEfirewall? Just open port 80 or stop it an try again.

If it's something related to firewall,  tail /var/log/warn and it should
show dropped packets where DPT=80


The config file we need is default-server, or if you use virtual hosts the
proper vhosts.d config file.

-- 
Abidis Solano Nova
http://www.minuevaweb.com

> Hi
>
> I have tried what you said and it still doesn't work. If I use MSIE on my
> networked machine it says "Cannot find server - This page cannot be
> displayed". If I use mozilla on my linux box it says "The connection was
> refused when attempting to contact localhost".
>
> The tail of the error file stays exactly the same.
>
> I have attached my httpd.conf file.
>
> Robin
> ----- Original Message -----
> From: "Abidis Solano" <ab...@minuevaweb.com>
> To: <us...@httpd.apache.org>
> Sent: Friday, July 23, 2004 10:01 PM
> Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
>
>
>>
>> - Tail the error log file
>> - Go to your browser, clear the cache, reload index.html
>> - send the error message showed by the browser
>> - now look again at the tailed log file
>>
>>
>> --
>> Abidis Solano Nova
>> http://www.minuevaweb.com
>>
>> > Hi
>> >
>> > Thanks, I've started it and it still didn't work!
>> >
>> > I looked at the logs using the command you gave me and here is what i
> get
>> > for the last time I tried to start it:
>> >
>> > [warn] Init: session cache is not configured [hint: SSLSessionCache]
>> > [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
>> >
>> > Neither of those seem to be fatal errors, so why is the webpage not
>> > displaying?
>> >
>> > I have got rid of everything else in my server root apart from an
>> > index.html
>> > file. I have also tried going to that file explicitly
>> > (http://localhost/index.html), all to no avail.
>> >
>> > Any ideas?
>> >
>> > Thanks
>> >
>> > Robin
>> >
>> >
>> > ----- Original Message -----
>> > From: "Abidis Solano" <ab...@minuevaweb.com>
>> > To: <us...@httpd.apache.org>
>> > Sent: Friday, July 23, 2004 9:41 PM
>> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
>> loading
>> >
>> >
>> >> to start it :
>> >>
>> >> /etc/init.d/apache2 start
>> >>
>> >> to look at the logs :
>> >>
>> >> tail -f /var/log/apache2/error_log
>> >>
>> >>
>> >> --
>> >> Abidis Solano Nova
>> >> http://www.minuevaweb.com
>> >>
>> >> > Hi
>> >> >
>> >> > Thanks for your reply.
>> >> >
>> >> > Apache doesn't seem to be running. How should I start it?
>> >> >
>> >> > All the instructions for starting it seem not to work.
>> >> >
>> >> > Sorry for being dumb!
>> >> >
>> >> > Robin
>> >> > ----- Original Message -----
>> >> > From: "Aman Raheja" <ar...@techquotes.com>
>> >> > To: <us...@httpd.apache.org>
>> >> > Sent: Friday, July 23, 2004 9:13 PM
>> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
>> >> loading
>> >> > and
>> >> > can't find how to load it
>> >> >
>> >> >
>> >> >>
>> >> >> You can use ps and netstat to find out if apahe is running.
>> >> >>
>> >> >> If it is then look in the log files to find out why your homepage
>> is
>> > not
>> >> >> coming up - apache would log an error, if it running at the site
>> is
>> >> not
>> >> >> properly configured.
>> >> >>
>> >> >> Aman Raheja
>> >> >> http://www.techquotes.com
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
>> >> >> <r....@rmplc.co.uk> wrote :
>> >> >>
>> >> >> > Hi all,
>> >> >> >
>> >> >> > I have, until recently, had Apache 2 running perfectly happily
>> on
>> >> my
>> >> > Suse
>> >> >> > 9.1 box.
>> >> >> >
>> >> >> > Earlier today, I turned on my box and it didn't seem to load.
>> When
>> >> I
>> >> >> try
>> >> >> to
>> >> >> > go to localhost I just get a message saying "Could not connect
>> to
>> > host
>> >> >> > localhost". It looks like apache isn't running, but how do I
>> start
>> > it.
>> >> >> I
>> >> >> > have tried all the instructions that I could find on the net,
>> but
>> > none
>> >> > of
>> >> >> > them seem to work on my system. How should I get apache running?
>> I
>> >> >> don't
>> >> >> > think i've altered any system files recently (at least not
>> >> >> knowingly!).
>> >> >> Does
>> >> >> > Suse 9.1 put the binaries in a different place?
>> >> >> >
>> >> >> > I'm sure this is a simple question, but I can't seem to find an
>> > answer
>> >> >> > anywhere. Sorry if I'm being dumb!
>> >> >> >
>> >> >> > Thanks in advance
>> >> >> >
>> >> >> > Robin
>> >> >> >
>> >> >> >
>> >> >> > ---
>> >> >> > Outgoing mail is certified Virus Free.
>> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >> >> >
>> >> >> >
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> > The official User-To-User support forum of the Apache HTTP
>> Server
>> >> >> Project.
>> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >> >    "   from the digest:
>> users-digest-unsubscribe@httpd.apache.org
>> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >>
>>> ---------------------------------------------------------------------
>> >> >> The official User-To-User support forum of the Apache HTTP Server
>> >> >> Project.
>> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >> >>
>> >> >
>> >> >
>> >> > ---
>> >> > Outgoing mail is certified Virus Free.
>> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > The official User-To-User support forum of the Apache HTTP Server
>> > Project.
>> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> > For additional commands, e-mail: users-help@httpd.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> The official User-To-User support forum of the Apache HTTP Server
>> >> Project.
>> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >>
>> >
>> >
>> > ---
>> > Outgoing mail is certified Virus Free.
>> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >
>> >
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
> Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

I have tried what you said and it still doesn't work. If I use MSIE on my
networked machine it says "Cannot find server - This page cannot be
displayed". If I use mozilla on my linux box it says "The connection was
refused when attempting to contact localhost".

The tail of the error file stays exactly the same.

I have attached my httpd.conf file.

Robin
----- Original Message ----- 
From: "Abidis Solano" <ab...@minuevaweb.com>
To: <us...@httpd.apache.org>
Sent: Friday, July 23, 2004 10:01 PM
Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading


>
> - Tail the error log file
> - Go to your browser, clear the cache, reload index.html
> - send the error message showed by the browser
> - now look again at the tailed log file
>
>
> -- 
> Abidis Solano Nova
> http://www.minuevaweb.com
>
> > Hi
> >
> > Thanks, I've started it and it still didn't work!
> >
> > I looked at the logs using the command you gave me and here is what i
get
> > for the last time I tried to start it:
> >
> > [warn] Init: session cache is not configured [hint: SSLSessionCache]
> > [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
> >
> > Neither of those seem to be fatal errors, so why is the webpage not
> > displaying?
> >
> > I have got rid of everything else in my server root apart from an
> > index.html
> > file. I have also tried going to that file explicitly
> > (http://localhost/index.html), all to no avail.
> >
> > Any ideas?
> >
> > Thanks
> >
> > Robin
> >
> >
> > ----- Original Message -----
> > From: "Abidis Solano" <ab...@minuevaweb.com>
> > To: <us...@httpd.apache.org>
> > Sent: Friday, July 23, 2004 9:41 PM
> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
> >
> >
> >> to start it :
> >>
> >> /etc/init.d/apache2 start
> >>
> >> to look at the logs :
> >>
> >> tail -f /var/log/apache2/error_log
> >>
> >>
> >> --
> >> Abidis Solano Nova
> >> http://www.minuevaweb.com
> >>
> >> > Hi
> >> >
> >> > Thanks for your reply.
> >> >
> >> > Apache doesn't seem to be running. How should I start it?
> >> >
> >> > All the instructions for starting it seem not to work.
> >> >
> >> > Sorry for being dumb!
> >> >
> >> > Robin
> >> > ----- Original Message -----
> >> > From: "Aman Raheja" <ar...@techquotes.com>
> >> > To: <us...@httpd.apache.org>
> >> > Sent: Friday, July 23, 2004 9:13 PM
> >> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
> >> loading
> >> > and
> >> > can't find how to load it
> >> >
> >> >
> >> >>
> >> >> You can use ps and netstat to find out if apahe is running.
> >> >>
> >> >> If it is then look in the log files to find out why your homepage is
> > not
> >> >> coming up - apache would log an error, if it running at the site is
> >> not
> >> >> properly configured.
> >> >>
> >> >> Aman Raheja
> >> >> http://www.techquotes.com
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
> >> >> <r....@rmplc.co.uk> wrote :
> >> >>
> >> >> > Hi all,
> >> >> >
> >> >> > I have, until recently, had Apache 2 running perfectly happily on
> >> my
> >> > Suse
> >> >> > 9.1 box.
> >> >> >
> >> >> > Earlier today, I turned on my box and it didn't seem to load. When
> >> I
> >> >> try
> >> >> to
> >> >> > go to localhost I just get a message saying "Could not connect to
> > host
> >> >> > localhost". It looks like apache isn't running, but how do I start
> > it.
> >> >> I
> >> >> > have tried all the instructions that I could find on the net, but
> > none
> >> > of
> >> >> > them seem to work on my system. How should I get apache running? I
> >> >> don't
> >> >> > think i've altered any system files recently (at least not
> >> >> knowingly!).
> >> >> Does
> >> >> > Suse 9.1 put the binaries in a different place?
> >> >> >
> >> >> > I'm sure this is a simple question, but I can't seem to find an
> > answer
> >> >> > anywhere. Sorry if I'm being dumb!
> >> >> >
> >> >> > Thanks in advance
> >> >> >
> >> >> > Robin
> >> >> >
> >> >> >
> >> >> > ---
> >> >> > Outgoing mail is certified Virus Free.
> >> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >> >
> >> >> >
> >> >>
> ---------------------------------------------------------------------
> >> >> > The official User-To-User support forum of the Apache HTTP Server
> >> >> Project.
> >> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> The official User-To-User support forum of the Apache HTTP Server
> >> >> Project.
> >> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> >> For additional commands, e-mail: users-help@httpd.apache.org
> >> >>
> >> >
> >> >
> >> > ---
> >> > Outgoing mail is certified Virus Free.
> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> The official User-To-User support forum of the Apache HTTP Server
> >> Project.
> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04

Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Abidis Solano <ab...@minuevaweb.com>.
- Tail the error log file
- Go to your browser, clear the cache, reload index.html
- send the error message showed by the browser
- now look again at the tailed log file


-- 
Abidis Solano Nova
http://www.minuevaweb.com

> Hi
>
> Thanks, I've started it and it still didn't work!
>
> I looked at the logs using the command you gave me and here is what i get
> for the last time I tried to start it:
>
> [warn] Init: session cache is not configured [hint: SSLSessionCache]
> [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
>
> Neither of those seem to be fatal errors, so why is the webpage not
> displaying?
>
> I have got rid of everything else in my server root apart from an
> index.html
> file. I have also tried going to that file explicitly
> (http://localhost/index.html), all to no avail.
>
> Any ideas?
>
> Thanks
>
> Robin
>
>
> ----- Original Message -----
> From: "Abidis Solano" <ab...@minuevaweb.com>
> To: <us...@httpd.apache.org>
> Sent: Friday, July 23, 2004 9:41 PM
> Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
>
>
>> to start it :
>>
>> /etc/init.d/apache2 start
>>
>> to look at the logs :
>>
>> tail -f /var/log/apache2/error_log
>>
>>
>> --
>> Abidis Solano Nova
>> http://www.minuevaweb.com
>>
>> > Hi
>> >
>> > Thanks for your reply.
>> >
>> > Apache doesn't seem to be running. How should I start it?
>> >
>> > All the instructions for starting it seem not to work.
>> >
>> > Sorry for being dumb!
>> >
>> > Robin
>> > ----- Original Message -----
>> > From: "Aman Raheja" <ar...@techquotes.com>
>> > To: <us...@httpd.apache.org>
>> > Sent: Friday, July 23, 2004 9:13 PM
>> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be
>> loading
>> > and
>> > can't find how to load it
>> >
>> >
>> >>
>> >> You can use ps and netstat to find out if apahe is running.
>> >>
>> >> If it is then look in the log files to find out why your homepage is
> not
>> >> coming up - apache would log an error, if it running at the site is
>> not
>> >> properly configured.
>> >>
>> >> Aman Raheja
>> >> http://www.techquotes.com
>> >>
>> >>
>> >>
>> >>
>> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
>> >> <r....@rmplc.co.uk> wrote :
>> >>
>> >> > Hi all,
>> >> >
>> >> > I have, until recently, had Apache 2 running perfectly happily on
>> my
>> > Suse
>> >> > 9.1 box.
>> >> >
>> >> > Earlier today, I turned on my box and it didn't seem to load. When
>> I
>> >> try
>> >> to
>> >> > go to localhost I just get a message saying "Could not connect to
> host
>> >> > localhost". It looks like apache isn't running, but how do I start
> it.
>> >> I
>> >> > have tried all the instructions that I could find on the net, but
> none
>> > of
>> >> > them seem to work on my system. How should I get apache running? I
>> >> don't
>> >> > think i've altered any system files recently (at least not
>> >> knowingly!).
>> >> Does
>> >> > Suse 9.1 put the binaries in a different place?
>> >> >
>> >> > I'm sure this is a simple question, but I can't seem to find an
> answer
>> >> > anywhere. Sorry if I'm being dumb!
>> >> >
>> >> > Thanks in advance
>> >> >
>> >> > Robin
>> >> >
>> >> >
>> >> > ---
>> >> > Outgoing mail is certified Virus Free.
>> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >> >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > The official User-To-User support forum of the Apache HTTP Server
>> >> Project.
>> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> > For additional commands, e-mail: users-help@httpd.apache.org
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> The official User-To-User support forum of the Apache HTTP Server
>> >> Project.
>> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >>
>> >
>> >
>> > ---
>> > Outgoing mail is certified Virus Free.
>> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >
>> >
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
> Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

Thanks, I've started it and it still didn't work!

I looked at the logs using the command you gave me and here is what i get
for the last time I tried to start it:

[warn] Init: session cache is not configured [hint: SSLSessionCache]
[notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)

Neither of those seem to be fatal errors, so why is the webpage not
displaying?

I have got rid of everything else in my server root apart from an index.html
file. I have also tried going to that file explicitly
(http://localhost/index.html), all to no avail.

Any ideas?

Thanks

Robin


----- Original Message ----- 
From: "Abidis Solano" <ab...@minuevaweb.com>
To: <us...@httpd.apache.org>
Sent: Friday, July 23, 2004 9:41 PM
Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading


> to start it :
>
> /etc/init.d/apache2 start
>
> to look at the logs :
>
> tail -f /var/log/apache2/error_log
>
>
> -- 
> Abidis Solano Nova
> http://www.minuevaweb.com
>
> > Hi
> >
> > Thanks for your reply.
> >
> > Apache doesn't seem to be running. How should I start it?
> >
> > All the instructions for starting it seem not to work.
> >
> > Sorry for being dumb!
> >
> > Robin
> > ----- Original Message -----
> > From: "Aman Raheja" <ar...@techquotes.com>
> > To: <us...@httpd.apache.org>
> > Sent: Friday, July 23, 2004 9:13 PM
> > Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
> > and
> > can't find how to load it
> >
> >
> >>
> >> You can use ps and netstat to find out if apahe is running.
> >>
> >> If it is then look in the log files to find out why your homepage is
not
> >> coming up - apache would log an error, if it running at the site is not
> >> properly configured.
> >>
> >> Aman Raheja
> >> http://www.techquotes.com
> >>
> >>
> >>
> >>
> >> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
> >> <r....@rmplc.co.uk> wrote :
> >>
> >> > Hi all,
> >> >
> >> > I have, until recently, had Apache 2 running perfectly happily on my
> > Suse
> >> > 9.1 box.
> >> >
> >> > Earlier today, I turned on my box and it didn't seem to load. When I
> >> try
> >> to
> >> > go to localhost I just get a message saying "Could not connect to
host
> >> > localhost". It looks like apache isn't running, but how do I start
it.
> >> I
> >> > have tried all the instructions that I could find on the net, but
none
> > of
> >> > them seem to work on my system. How should I get apache running? I
> >> don't
> >> > think i've altered any system files recently (at least not
> >> knowingly!).
> >> Does
> >> > Suse 9.1 put the binaries in a different place?
> >> >
> >> > I'm sure this is a simple question, but I can't seem to find an
answer
> >> > anywhere. Sorry if I'm being dumb!
> >> >
> >> > Thanks in advance
> >> >
> >> > Robin
> >> >
> >> >
> >> > ---
> >> > Outgoing mail is certified Virus Free.
> >> > Checked by AVG anti-virus system (http://www.grisoft.com).
> >> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > The official User-To-User support forum of the Apache HTTP Server
> >> Project.
> >> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> > For additional commands, e-mail: users-help@httpd.apache.org
> >> >
> >> >
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> The official User-To-User support forum of the Apache HTTP Server
> >> Project.
> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading and can't find how to load it

Posted by Abidis Solano <ab...@minuevaweb.com>.
to start it :

/etc/init.d/apache2 start

to look at the logs :

tail -f /var/log/apache2/error_log


-- 
Abidis Solano Nova
http://www.minuevaweb.com

> Hi
>
> Thanks for your reply.
>
> Apache doesn't seem to be running. How should I start it?
>
> All the instructions for starting it seem not to work.
>
> Sorry for being dumb!
>
> Robin
> ----- Original Message -----
> From: "Aman Raheja" <ar...@techquotes.com>
> To: <us...@httpd.apache.org>
> Sent: Friday, July 23, 2004 9:13 PM
> Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading
> and
> can't find how to load it
>
>
>>
>> You can use ps and netstat to find out if apahe is running.
>>
>> If it is then look in the log files to find out why your homepage is not
>> coming up - apache would log an error, if it running at the site is not
>> properly configured.
>>
>> Aman Raheja
>> http://www.techquotes.com
>>
>>
>>
>>
>> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
>> <r....@rmplc.co.uk> wrote :
>>
>> > Hi all,
>> >
>> > I have, until recently, had Apache 2 running perfectly happily on my
> Suse
>> > 9.1 box.
>> >
>> > Earlier today, I turned on my box and it didn't seem to load. When I
>> try
>> to
>> > go to localhost I just get a message saying "Could not connect to host
>> > localhost". It looks like apache isn't running, but how do I start it.
>> I
>> > have tried all the instructions that I could find on the net, but none
> of
>> > them seem to work on my system. How should I get apache running? I
>> don't
>> > think i've altered any system files recently (at least not
>> knowingly!).
>> Does
>> > Suse 9.1 put the binaries in a different place?
>> >
>> > I'm sure this is a simple question, but I can't seem to find an answer
>> > anywhere. Sorry if I'm being dumb!
>> >
>> > Thanks in advance
>> >
>> > Robin
>> >
>> >
>> > ---
>> > Outgoing mail is certified Virus Free.
>> > Checked by AVG anti-virus system (http://www.grisoft.com).
>> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>> >
>> >
>> > ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> > See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading and can't find how to load it

Posted by Robin Wilson <r....@rmplc.co.uk>.
Hi

Thanks for your reply.

Apache doesn't seem to be running. How should I start it?

All the instructions for starting it seem not to work.

Sorry for being dumb!

Robin
----- Original Message ----- 
From: "Aman Raheja" <ar...@techquotes.com>
To: <us...@httpd.apache.org>
Sent: Friday, July 23, 2004 9:13 PM
Subject: Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading and
can't find how to load it


>
> You can use ps and netstat to find out if apahe is running.
>
> If it is then look in the log files to find out why your homepage is not
> coming up - apache would log an error, if it running at the site is not
> properly configured.
>
> Aman Raheja
> http://www.techquotes.com
>
>
>
>
> On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson"
> <r....@rmplc.co.uk> wrote :
>
> > Hi all,
> >
> > I have, until recently, had Apache 2 running perfectly happily on my
Suse
> > 9.1 box.
> >
> > Earlier today, I turned on my box and it didn't seem to load. When I try
> to
> > go to localhost I just get a message saying "Could not connect to host
> > localhost". It looks like apache isn't running, but how do I start it. I
> > have tried all the instructions that I could find on the net, but none
of
> > them seem to work on my system. How should I get apache running? I don't
> > think i've altered any system files recently (at least not knowingly!).
> Does
> > Suse 9.1 put the binaries in a different place?
> >
> > I'm sure this is a simple question, but I can't seem to find an answer
> > anywhere. Sorry if I'm being dumb!
> >
> > Thanks in advance
> >
> > Robin
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading and can't find how to load it

Posted by Aman Raheja <ar...@techquotes.com>.
You can use ps and netstat to find out if apahe is running.

If it is then look in the log files to find out why your homepage is not 
coming up - apache would log an error, if it running at the site is not 
properly configured.

Aman Raheja
http://www.techquotes.com




On Fri, 23 Jul 2004 20:54:43 +0100, "Robin Wilson" 
<r....@rmplc.co.uk> wrote :

> Hi all,
> 
> I have, until recently, had Apache 2 running perfectly happily on my Suse
> 9.1 box.
> 
> Earlier today, I turned on my box and it didn't seem to load. When I try 
to
> go to localhost I just get a message saying "Could not connect to host
> localhost". It looks like apache isn't running, but how do I start it. I
> have tried all the instructions that I could find on the net, but none of
> them seem to work on my system. How should I get apache running? I don't
> think i've altered any system files recently (at least not knowingly!). 
Does
> Suse 9.1 put the binaries in a different place?
> 
> I'm sure this is a simple question, but I can't seem to find an answer
> anywhere. Sorry if I'm being dumb!
> 
> Thanks in advance
> 
> Robin
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/04
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Graceful restart doesn't work when adding a VirtualHost.

Posted by Nakayama <ht...@nakayama.com.ar>.
Hi Joshua, thanks for your answer.

I did it. But the problem is still here.
I think it's the same. When you start Apache with "startssl" the apachectl 
script runs "httpd -DSSL", this means that "SSL" will be defined when 
reading the httpd.conf, and then it will execute all the scope.

Here are the last 10 lines that results when I do a "strace -p `cat 
httpd.pid`" at the moment of the graceful restart:

--dump begins--
write(57, "[31/Jan/2004 06:11:53 12224] [in"..., 101) = 101
time(NULL)                              = 1075540313
getpid()                                = 12224
write(57, "[31/Jan/2004 06:11:53 12224] [er"..., 113) = 113
time(NULL)                              = 1075540313
write(22, "[Sat Jan 31 06:11:53 2004] [erro"..., 120) = 120
time(NULL)                              = 1075540313
getpid()                                = 12224
write(57, "[31/Jan/2004 06:11:53 12224] [er"..., 167) = 167
time(NULL)                              = 1075540313
write(22, "[Sat Jan 31 06:11:53 2004] [erro"..., 174) = 174
munmap(0x403a1000, 4096)                = 0
semget(1, 4096, IPC_NOWAIT|0x8342170|0460) = -1 ENOSYS (Function not 
implemented)
_exit(1)                                = ?
--dump ends--

I hope it helps!

Thanks a lot!

Cheers, Alberto Nakayama.

On Fri, 30 Jan 2004 22:59:57 -0500 (Eastern Standard Time), Joshua Slive 
<j....@s.l.i.v.e.c.a> wrote :
 
> Don't use "apachectl startssl".  Instead, edit the httpd.conf file to take
> out the <IfDefine SSL> lines so that SSL is always started.
> 
> Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Translation of Apache Doc

Posted by JHKChan <jh...@itzone.info>.
I want to know if there is a Chinese version (both traditional and 
simplified) of Apache Doc, as my team is going to do the translation work. 
We don't want to overlap others' work. Please notify me if Chinese 
translation work is already in progress. Thx.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [users@httpd] Apache 2 on Suse 9.1: Seems not to be loading

Posted by Aman Raheja <ar...@techquotes.com>.
I think we will need to see yout httpd.conf
There has some config problem

Though I would expect at least some error when apache is running but 
unable to display the requested page.

What message do you get when you go to http://localhost/ ?


Aman Raheja
http://www.techquotes.com


On Fri, 23 Jul 2004 21:50:01 +0100, "Robin Wilson" 
<r....@rmplc.co.uk> wrote :

> Hi
> 
> Thanks, I've started it and it still didn't work!
> 
> I looked at the logs using the command you gave me and here is what i get
> for the last time I tried to start it:
> 
> [warn] Init: session cache is not configured [hint: SSLSessionCache]
> [notice] suEXEC mechanism enabled (wrapper: /usr/bin/suexec2)
> 
> Neither of those seem to be fatal errors, so why is the webpage not
> displaying?
> 
> I have got rid of everything else in my server root apart from an 
index.html
> file. I have also tried going to that file explicitly
> (http://localhost/index.html), all to no avail.
> 
> Any ideas?
> 
> Thanks
> 
> Robin




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: html help manual

Posted by JHKChan <jh...@itzone.info>.
Shane,

> http://cvs.apache.org/~dpejesh/manual.en.chm
> 
> Lemme know if something like this is worthy of being included in cvs and 
if 
> anybody would actually use it or not.
In my opinion, it is worthy to have one just like the PHP manual, as I 
always keep one in my harddisk. Why I use it because it is easier for me to 
load the page than using the browser.

JHKChan

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [users@httpd] Apache 2 looking for wrong httpd.conf file on Mac

Posted by Aman Raheja <ar...@techquotes.com>.
Check you apachectl script - what config file is it reading?
HTH
Aman Raheja
http://www.techquotes.com


On Mon, 30 May 2005 12:11:48 -0400, Ed Heckman <eh...@dimensioni.com> wrote :

> Apache 2.0.54
> Mac OS 10.3.9
> 
> I'm setting up a copy of Apache 2 on my machine for the very first time. I
> downloaded the 2.0.54 source tarball and followed the instructions at
> <http://www.phpmac.com/articles.php?view=221> to compile and install it.
> 
> Everything seems to be working fine except that Apache doesn't seem to be
> looking for the correct httpd.conf file. It's supposed to be using the one
> in /apache2/conf/ but when I run 'apachectl configtest', it says it's
> checking the files in /private/etc/httpd/users/. It's also not recognizing
> changes made to the correct file.
> 
> I've been banging my head over this for quite a while, reading documentation
> and doing various internet searches with no results. I've even tried
> recompiling Apache 2 additional times, putting it in /Library/apache2/ one
> of those times (with an appropriate change to the --prefix= parameter. I
> simply don't have a clue why Apache isn't looking for the correct httpd.conf
> file.
> 
> Do you have any ideas about what I'm missing?
> 
> 
> --------------------------------------------------------------------
>  Ed "What the" Heckman                     Dimension i Technologies
>  eheckman@dimensioni.com                  http://www.dimensioni.com
>                           (717) 560-4114
> +------------------------------------------------------------------+
> | We always hear about the haves and the have-nots. Why don't we   |
> | hear about the doers and the do-nots?                            |
> |                             -- Thomas Sowell, Creators Syndicate |
> +------------------------------------------------------------------+
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Does Doc 1.3 have XML version?

Posted by Rich Bowen <rb...@rcbowen.com>.
On 15 Sep 2002, JHKChan wrote:

> When I see doc 2.0, it uses XML and is prettier. However, does doc 1.3 have
> XML version? If not, I will just translate in HTML, else I think XML is
> more convenient. Thx

XML would indeed be more convenient, but, no, the 1.3 docs have never
been translated to XML.

-- 
Rich Bowen - rbowen@rcbowen.com
http://kenya.rcbowen.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Does Doc 1.3 have XML version?

Posted by JHKChan <jh...@itzone.info>.
When I see doc 2.0, it uses XML and is prettier. However, does doc 1.3 have 
XML version? If not, I will just translate in HTML, else I think XML is 
more convenient. Thx

One more thing, how can I access apache cvs to upload those translated 
materials? though it is not urgent before we have done all work.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Translation of Apache Doc

Posted by JHKChan <jh...@itzone.info>.
If fact I have talked about it before. But I just want to know if there is 
any group which is translating the Apache Doc into Chinese (both 
traditional and simplified)?

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Translation of Apache Doc

Posted by JHKChan <jh...@itzone.info>.
OH! Thx a lot!

On Sun, 02 Jun 2002 12:20:44 -0400, Joshua Slive <jo...@slive.ca> wrote :

> JHKChan wrote:
> > Where should I discuss this? I have visited that site and it told me to 
> > talk about this in the mailing list. As I find that there is no Chinese 
> > version for Apache doc, we have the eager to translate it.
> 
> It says to discuss it on the docs@httpd mailing list, not the user@httpd
> mailing list.
> 
> Joshua
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: messages with embedded html

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
But, <h:outputText value="<h1>Hello Mark</h1>" escape="false" /> works, 
isn't it?

mmm. no other idea for now.
sorry!
-Matthias

>That answer sounds so logical I was sure it would work.  Nope.
>
>Thanks,
>-Mark
>
>
>  
>


RE: messages with embedded html

Posted by mfaine <mf...@knology.net>.
On Thu, 27 Jan 2005 07:58:04 +0100, "Matthias Wessendorf"
<ma...@matthias-wessendorf.de> wrote :

> If you set escape to false
> 
> you will be able to render something like:
> <h:outputText value="<h1>Hello</h1>" escape="false"/>
> 
> So it should be posible to place "<h1>Hello</h1>"
> in your bundle, *when* you use the escape attribute.
> 
> HTH,
> Matthias

That answer sounds so logical I was sure it would work.  Nope.

Thanks,
-Mark


Re: 2.3.15 RewriteRule P

Posted by Ruediger Pluem <rp...@apache.org>.

Stefan Fritsch wrote:
> On Wednesday 16 November 2011, Steffen wrote:
>> What I noticed, it is connecting to a port by a formerly used
>> proxied  connection (port 7080 instead of 81);
>>
>> Summary log:
>>
>> [proxy:debug] [pid 8680:tid 2668] proxy_util.c(2140): proxy: HTTP:
>> has  acquired connection for (*)
>> [proxy:debug] [pid 8680:tid 2668] proxy_util.c(2193): proxy:
>> connecting  http://127.0.0.1:81/sysadmin to 127.0.0.1:81
>> [proxy:debug] [pid 8680:tid 2668] proxy_util.c(2319): proxy:
>> connected  /sysadmin to 127.0.0.1:7080
> 
> 
> After a cursory glance at the code, I have a suspicion about the 
> reason. It seems to me that this check in proxy_util.c
> 
>     /*
>      * Make sure that we pick the the correct and valid worker.
>      * If a single keepalive connection triggers different workers,
>      * then we have a problem (we don't select the correct one).
>      * Do an expensive check in this case, where we compare the
>      * the hostnames associated between the two.
>      *
>      * TODO: Handle this much better...
>      */
>     if (!conn->hostname || !worker->s->is_address_reusable ||
>          worker->s->disablereuse ||
>          (r->connection->keepalives &&
>          (r->proxyreq == PROXYREQ_PROXY || r->proxyreq == 
> PROXYREQ_REVERSE) &&
>          (strcasecmp(conn->hostname, uri->hostname) != 0) ) ) {
> 
> 
> 
> should also compare conn->port and uri->port, i.e. the 
> 
> 
>          (strcasecmp(conn->hostname, uri->hostname) != 0)
> 
> 
> should be 
> 
> 
>          (strcasecmp(conn->hostname, uri->hostname) != 0 ||
>           conn->port != uri->port)
> 
> 
> Can anyone more familiar with the code verify this? Steffen, maybe you 
> can try the change and see if it helps?


It should. There was a change in behaviour. Previously worker->s->is_address_reusable
was always 0 for the worker used with this configuration. This is no longer true.
Hence we see this issue now.

Regards

Rüdiger



Re: 2.3.15 RewriteRule P

Posted by Eric Covener <co...@gmail.com>.
On Wed, Jan 4, 2012 at 3:42 PM, Rüdiger Plüm <r....@gmx.de> wrote:
>
>
> Eric Covener wrote:
>>> The different handling of conn->port and conn->hostname doesn't look
>>> right to me. Can the r->proxyreq check actually be false at this point or is
>>> it simply redundant? And shouldn't the strcasecmp(conn->hostname,
>>> uri->hostname) check be done regardless of r->connection->keepalives?
>>
>> I did not understand the r->keepalives "optimization", maybe comparing
>> hostnames could just come last.
>>
>
> I don't think that this "optimization" is valid, because this can IMHO lead to
> a situation where a non keepalive frontend connection reuses the wrong backend
> connection. Keepalives between frontend and backend connections are decoupled.
>
> So it should be simply removed.

Just to close the loop on this aspect -- AFAICT the reason we have
this is a vestige of  2.0.x where the backend proxy_conn_rec was
cached in the frotnend per-connection config.  There you could easily
hit /app1 and /app2 over keepalive and this check would kick in.  But
this is n/a in 2.2 and later (the strcmp is not needed at all as
opposed to being needed on initial req).


>
>
> Regards
>
> Rüdiger



-- 
Eric Covener
covener@gmail.com

Re: 2.3.15 RewriteRule P

Posted by Jim Jagielski <ji...@jaguNET.com>.
On Jan 4, 2012, at 9:25 PM, Eric Covener wrote:
> 
> Is keeping the generic worker reusable important?
> 

If possible, then yeah. But if adds a lot of complexity to the
code, or reduces the efficiency of the named workers, then
I'd punt it for now...

Re: 2.3.15 RewriteRule P

Posted by Eric Covener <co...@gmail.com>.
On Wed, Jan 4, 2012 at 3:42 PM, Rüdiger Plüm <r....@gmx.de> wrote:
>
>
> Eric Covener wrote:
>>> The different handling of conn->port and conn->hostname doesn't look
>>> right to me. Can the r->proxyreq check actually be false at this point or is
>>> it simply redundant? And shouldn't the strcasecmp(conn->hostname,
>>> uri->hostname) check be done regardless of r->connection->keepalives?
>>
>> I did not understand the r->keepalives "optimization", maybe comparing
>> hostnames could just come last.
>>
>
> I don't think that this "optimization" is valid, because this can IMHO lead to
> a situation where a non keepalive frontend connection reuses the wrong backend
> connection. Keepalives between frontend and backend connections are decoupled.
>
> So it should be simply removed.
>

Some more fishy stuff here at least with a reusable-addr generic worker.

IIUC The generic worker can never safely copy the
proxy_worker->cp->addr down into a a proxy_conn_rec, because the
proxy_worker only stores the addr and not the hostname that went into
it.  Both the URI and the ProxyRemote could be changing under the
covers.

We would need to store the host and port in the worker too, then make
conn->addr and conn->hostname allocated out of a new subpool for the
pair, since right now these things that can flip based on URI or
ProxyRemote are allocated out of the same thing as all of
proxy_conn_rec.

Is keeping the generic worker reusable important?

Re: 2.3.15 RewriteRule P

Posted by Rüdiger Plüm <r....@gmx.de>.

Eric Covener wrote:
>> The different handling of conn->port and conn->hostname doesn't look
>> right to me. Can the r->proxyreq check actually be false at this point or is
>> it simply redundant? And shouldn't the strcasecmp(conn->hostname,
>> uri->hostname) check be done regardless of r->connection->keepalives?
> 
> I did not understand the r->keepalives "optimization", maybe comparing
> hostnames could just come last.
> 

I don't think that this "optimization" is valid, because this can IMHO lead to
a situation where a non keepalive frontend connection reuses the wrong backend
connection. Keepalives between frontend and backend connections are decoupled.

So it should be simply removed.


Regards

Rüdiger

Re: 2.3.15 RewriteRule P

Posted by Eric Covener <co...@gmail.com>.
> The different handling of conn->port and conn->hostname doesn't look
> right to me. Can the r->proxyreq check actually be false at this point or is
> it simply redundant? And shouldn't the strcasecmp(conn->hostname,
> uri->hostname) check be done regardless of r->connection->keepalives?

I did not understand the r->keepalives "optimization", maybe comparing
hostnames could just come last.

Re: 2.3.15 RewriteRule P

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Sun, 1 Jan 2012, Eric Covener wrote:

>> Can anyone more familiar with the code verify this? Steffen, maybe you
>> can try the change and see if it helps?
>
> I think there are a few additional wrinkles -- I couldn't repro after
> this but no confident about what's right with the addr handling:
>
> http://people.apache.org/~covener/patches/trunk-proxy_toggle_ports.diff


> Index: modules/proxy/proxy_util.c
> ===================================================================
> --- modules/proxy/proxy_util.c	(revision 1226300)
> +++ modules/proxy/proxy_util.c	(working copy)
> @@ -2029,7 +2029,7 @@
>       * TODO: Handle this much better...
>       */
>      if (!conn->hostname || !worker->s->is_address_reusable ||
> -         worker->s->disablereuse ||
> +         worker->s->disablereuse || conn->port != uri->port ||
>           (r->connection->keepalives &&
>           (r->proxyreq == PROXYREQ_PROXY || r->proxyreq == PROXYREQ_REVERSE) &&
>           (strcasecmp(conn->hostname, uri->hostname) != 0) ) ) {

The different handling of conn->port and conn->hostname doesn't look
right to me. Can the r->proxyreq check actually be false at this point or is
it simply redundant? And shouldn't the strcasecmp(conn->hostname,
uri->hostname) check be done regardless of r->connection->keepalives?

> @@ -2076,6 +2076,8 @@
>                                      conn->pool);
>      }
>      else if (!worker->cp->addr) {
> +        conn->port = uri->port;
> +        conn->hostname = apr_pstrdup(conn->pool, uri->hostname);
>          if ((err = PROXY_THREAD_LOCK(worker)) != APR_SUCCESS) {
>              ap_log_rerror(APLOG_MARK, APLOG_ERR, err, r, APLOGNO(00945) "lock");
>              return HTTP_INTERNAL_SERVER_ERROR;
> @@ -2097,7 +2099,9 @@
>          }
>      }
>      else {
> -        conn->addr = worker->cp->addr;
> +        if (!conn->addr) { 
> +            conn->addr = worker->cp->addr;
> +        }
>      }
>      /* Close a possible existing socket if we are told to do so */
>      if (conn->close) {



> <virtualhost *:80>
>  RewriteEngine on
>  RewriteRule ^/a http://localhost:81/a [P]
>  RewriteRule ^/b http://localhost:82/b [P]
> </virtualhost>
> <virtualhost *:81>
>  AliasMatch ^/a$ /home/covener/SRC/httpd-trunk/built/icons/a.gif
> </virtualhost>
> <virtualhost *:82>
>  AliasMatch ^/b$ /home/covener/SRC/httpd-trunk/built/icons/a.gif
> </virtualhost>
>
> Before any patch, as simple as a/b fails. The worker->cp->addr copy
> issue fails with something like a/b/b.


Re: 2.3.15 RewriteRule P

Posted by Eric Covener <co...@gmail.com>.
> Can anyone more familiar with the code verify this? Steffen, maybe you
> can try the change and see if it helps?

I think there are a few additional wrinkles -- I couldn't repro after
this but no confident about what's right with the addr handling:

http://people.apache.org/~covener/patches/trunk-proxy_toggle_ports.diff

<virtualhost *:80>
  RewriteEngine on
  RewriteRule ^/a http://localhost:81/a [P]
  RewriteRule ^/b http://localhost:82/b [P]
</virtualhost>
<virtualhost *:81>
  AliasMatch ^/a$ /home/covener/SRC/httpd-trunk/built/icons/a.gif
</virtualhost>
<virtualhost *:82>
  AliasMatch ^/b$ /home/covener/SRC/httpd-trunk/built/icons/a.gif
</virtualhost>

Before any patch, as simple as a/b fails. The worker->cp->addr copy
issue fails with something like a/b/b.

Re: 2.3.15 RewriteRule P

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Wednesday 16 November 2011, Steffen wrote:
> What I noticed, it is connecting to a port by a formerly used
> proxied  connection (port 7080 instead of 81);
> 
> Summary log:
> 
> [proxy:debug] [pid 8680:tid 2668] proxy_util.c(2140): proxy: HTTP:
> has  acquired connection for (*)
> [proxy:debug] [pid 8680:tid 2668] proxy_util.c(2193): proxy:
> connecting  http://127.0.0.1:81/sysadmin to 127.0.0.1:81
> [proxy:debug] [pid 8680:tid 2668] proxy_util.c(2319): proxy:
> connected  /sysadmin to 127.0.0.1:7080


After a cursory glance at the code, I have a suspicion about the 
reason. It seems to me that this check in proxy_util.c

    /*
     * Make sure that we pick the the correct and valid worker.
     * If a single keepalive connection triggers different workers,
     * then we have a problem (we don't select the correct one).
     * Do an expensive check in this case, where we compare the
     * the hostnames associated between the two.
     *
     * TODO: Handle this much better...
     */
    if (!conn->hostname || !worker->s->is_address_reusable ||
         worker->s->disablereuse ||
         (r->connection->keepalives &&
         (r->proxyreq == PROXYREQ_PROXY || r->proxyreq == 
PROXYREQ_REVERSE) &&
         (strcasecmp(conn->hostname, uri->hostname) != 0) ) ) {



should also compare conn->port and uri->port, i.e. the 


         (strcasecmp(conn->hostname, uri->hostname) != 0)


should be 


         (strcasecmp(conn->hostname, uri->hostname) != 0 ||
          conn->port != uri->port)


Can anyone more familiar with the code verify this? Steffen, maybe you 
can try the change and see if it helps?

Cheers,
Stefan

Re: 2.3.15 RewriteRule P

Posted by Steffen <in...@apachelounge.com>.
Mailed the error log to Stefan.

What I noticed, it is connecting to a port by a formerly used proxied 
connection (port 7080 instead of 81);

Summary log:

[proxy:debug] [pid 8680:tid 2668] proxy_util.c(2140): proxy: HTTP: has 
acquired connection for (*)
[proxy:debug] [pid 8680:tid 2668] proxy_util.c(2193): proxy: connecting 
http://127.0.0.1:81/sysadmin to 127.0.0.1:81
[proxy:debug] [pid 8680:tid 2668] proxy_util.c(2319): proxy: connected 
/sysadmin to 127.0.0.1:7080
[proxy:debug] [pid 8680:tid 2668] proxy_util.c(2510): proxy: HTTP: backend 
socket is disconnected.
[proxy:trace2] [pid 8680:tid 2668] proxy_util.c(2572): proxy: HTTP: fam 2 
socket created to connect to *
[proxy:debug] [pid 8680:tid 2668] proxy_util.c(2724): proxy: HTTP: 
connection complete to 127.0.0.1:7080 (127.0.0.1)
[proxy:debug] [pid 8680:tid 2668] proxy_util.c(2155): proxy: *: has released 
connection for (*)
[deflate:debug] [pid 8680:tid 2668] mod_deflate.c(739): [client 
127.0.0.1:53303] Zlib: Compressed 94 to 92 : URL /sysadmin

-----Original Message----- 
From: Stefan Fritsch
Sent: Tuesday, November 15, 2011 2:57 PM Newsgroups: gmane.comp.apache.devel
To: Steffen
Cc: dev@httpd.apache.org
Subject: Re: 2.3.15 RewriteRule P

Hi Steffen,

On Mon, 14 Nov 2011, Steffen wrote:

> The issue below seems not to be related to SSL.
>
> Tested in different non-SSL configs with eg.
> RewriteRule /sysadmin(.*) http://%{HTTP_HOST}:81/sysadmin$1 [P,L]
>
> And different servers as the back, Sambar, Surge, DManager and Apache.
>
> Sometimes it works but mostly it is not passing (good) URL info to the 
> server.
> Get errors like: "requested URL not found", "requested file: ()"

Does the 'sometimes' depend on the URL? I.e. do some URLs work and some
don't?

Can you post errorlog output with "loglevel debug proxy:trace6
rewrite:trace6"? Thanks.

Cheers,
Stefan

>> It is a minimal config with a commonly used rewrite:
>>
>> Listen 443
>> SSLEngine on
>> DocumentRoot f:/web/unknown
>> RewriteEngine on
>> RewriteRule /(.*) http://%{HTTP_HOST}/$1 [P,L]
>>
>> In the log no clue, only
>> [ssl:info] [pid 6836:tid 2588] (70014)End of file found: [client
>> 85.223.52.177:38857] SSL input filter read failed.
>> But that I see also with 2.2.21
>>
>> Looks like more errors when I have "AcceptFilter https none" instead of
>> leaving this out.
>>
>> Steffen 


Re: 2.3.15 RewriteRule P

Posted by Stefan Fritsch <sf...@sfritsch.de>.
Hi Steffen,

On Mon, 14 Nov 2011, Steffen wrote:

> The issue below seems not to be related to SSL.
>
> Tested in different non-SSL configs with eg.
> RewriteRule /sysadmin(.*) http://%{HTTP_HOST}:81/sysadmin$1 [P,L]
>
> And different servers as the back, Sambar, Surge, DManager and Apache.
>
> Sometimes it works but mostly it is not passing (good) URL info to the 
> server.
> Get errors like: "requested URL not found", "requested file: ()"

Does the 'sometimes' depend on the URL? I.e. do some URLs work and some 
don't?

Can you post errorlog output with "loglevel debug proxy:trace6 
rewrite:trace6"? Thanks.

Cheers,
Stefan

>> It is a minimal config with a commonly used rewrite:
>> 
>> Listen 443
>> SSLEngine on
>> DocumentRoot f:/web/unknown
>> RewriteEngine on
>> RewriteRule /(.*) http://%{HTTP_HOST}/$1 [P,L]
>> 
>> In the log no clue, only
>> [ssl:info] [pid 6836:tid 2588] (70014)End of file found: [client
>> 85.223.52.177:38857] SSL input filter read failed.
>> But that I see also with 2.2.21
>> 
>> Looks like more errors when I have "AcceptFilter https none" instead of
>> leaving this out.
>> 
>> Steffen

Re: [users@httpd] Automating apachectl startssl on startup

Posted by Aman Raheja <ar...@techquotes.com>.
Well this solution is dependent on programing skills.
You may have a C/C++ binary which fetches the password from a database (you 
may hardcode it) and works as a wrapper to apachectl.
This could be done using PERL/SHELL script but that would leave the 
password exposed in the scripts, so prefer binaries.
HTH
Aman Raheja

On Mon, 9 Jan 2006 12:56:57 -0500, "Kaplan, Andrew H." 
<AH...@PARTNERS.ORG> wrote :

> 
> Hi there -
> 
>  
> 
> Is there a way to have an apache 1.3.34 server automatically start with 
ssl
> enabled on system boot? Currently, I need to
> 
> start the server manually and enter the pass-phrase associated with the
> certificate. How can this be done without admin
> 
> intervention? Thanks. 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Question to non-latin Translators

Posted by André Malo <nd...@perlig.de>.
* JHKChan wrote:

>> http://httpd.apache.org/docs-2.0/mod/directives.html     or here
>> http://httpd.apache.org/docs-2.0/mod/quickreference.html
> 
> I see what you mean, if you say "index", I may get your meaning.

ok, sorry for confusion. I guess, I'm thinking too much in latin
alphabets ;-) 

> In Chinese, usually we count the strokes, from 1 to 3x. For example,
> in Big5, (¤@), which means one, counts 1 stroke; while (¹q), which
> means electricity, counts 13 strokes. Hope you understand and be able
> to see those Chinese words.

with the help of a browser, yes, I see the words. But I count either
more or less than 13 strokes. Since I don't understand Chinese, it
probably doesn't care ;-) 

However: What do you mean with "1 to 3x"? especially the "3x"? And the
most interesting part: is there an automatic way to get it? 

(or... is such knowledge built into the xalan xslt processor?)

nd
-- 
package Hacker::Perl::Another::Just;print
qq~@{[reverse split/::/ =>__PACKAGE__]}~;

#  André Malo  #  http://www.perlig.de  #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Question to non-latin Translators

Posted by JHKChan <jh...@itzone.info>.
> http://httpd.apache.org/docs-2.0/mod/directives.html     or here
> http://httpd.apache.org/docs-2.0/mod/quickreference.html

I see what you mean, if you say "index", I may get your meaning. In 
Chinese, usually we count the strokes, from 1 to 3x. For example, in Big5, 
(¤@), which means one, counts 1 stroke; while (¹q), which means 
electricity, counts 13 strokes. Hope you understand and be able to see 
those Chinese words.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [users@httpd] Looking for .conf files

Posted by Laurent <la...@gmx.lu>.
On Monday 19 July 2004 18:51, Aman Raheja wrote:
> on Suse, I think /etc/apache2/httpd.conf is your config file.
>
All right! Thanks! I just wonder what the other files are doing here?? 

Laurent
-- 
Linux is like an Indian tent: no Windows, no Gates, and an Apache inside!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Looking for .conf files

Posted by Aman Raheja <ar...@techquotes.com>.
on Suse, I think /etc/apache2/httpd.conf is your config file.


Aman Raheja
http://www.techquotes.com


On Mon, 19 Jul 2004 18:23:46 +0200, Laurent <la...@gmx.lu> wrote :

> Hi there! Being a newbie in apache usage, I've been looking for 
apache's .conf 
> files - and found 6 copies of some of them. Example httpd.conf:
> /etc/apache2/httpd.conf
> /home/etc/apache2/httpd.conf
> /home/etc/httpd/httpd.conf
> /usr/etc/apache2/httpd.conf
> /usr/etc/httpd/httpd.conf
> /usr/share/susehelp/httpd.conf
> 
> Which one is the one I have to edit?
> Thanks for helping.
> 
> Laurent
> -- 
> Linux is like an Indian tent: no Windows, no Gates, and an Apache inside!
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Translators STATUS ?

Posted by JHKChan <jh...@itzone.info>.
> JHKChan wrote:
> 
> > Anyway, it is necessary for the Apache group to have such a list, no 
matter 
> > should it include in which file. Just make the list now.
> > 
> > Here the list (contact person):
> > Jacky Chan <jh...@itzone.info> Traditional Chinese
> > 
> > ...And here onwards...
> 
> Well, I was really hoping that someone who actually works on 
> translations would take care of this.  But I created a quick page for 
> the time being:
> http://httpd.apache.org/docs-project/translations.html
> 
> I missed tons of stuff, so please feel free to update.
> 
> Joshua.

Something I think I have made a mistake. The translation for traditional 
Chinese is not only done by me as it is a group work. For the contact, I 
would rather changed it as follows:
     SkyBlue <in...@itzone.info> Traditional Chinese
And the link to our translated Doc is:
     http://itzone.info/dev/skyap/docs/index.html
I would like to know how I can update the page at 
http://httpd.apache.org/docs-project/translations.html? Or can someone help 
me to update it?

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Backtrace on Windows Docu outdated

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 1/3/2012 12:48 PM, Steffen wrote:
> 
> http://httpd.apache.org/dev/debugging.html#backtrace-win
> 
> There is no Dr Watson anymore in Windows Server 2008.

Of course you can accomplish the same with windbg, but instructions on
precisely how to do it would be much more wordy to the point of not fitting
into the scope of our simple background docs (e.g. we don't try to cover
all of gdb, dbx, etc etc).

http://blogs.technet.com/b/askperf/archive/2007/06/15/capturing-application-crash-dumps.aspx

see the comments on ADplus (debugging tools for windows is probably the
simplest, install the flavor for x86 or x64 to correspond to the version
of httpd you would be experimenting with)

Re: HERE is a Simplified Chinese Manual Transalation Project going on.

Posted by JHKChan <jh...@itzone.info>.
> hmm, adjusting my statement: the correct language tag would be zh-cn, 
> right?
> (traditional would be zh-tw or zh-hk - are there actual differences 
between 
> taiwan traditional and honkong traditional?)

I don't think it is neccesary to define zh-tw and zh-hk because 1) the 
encoding charset is the same; 2) it is dialect difference. So my team is 
working on traditional Chinese, which, I would like to state as zh.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Question to non-latin Translators

Posted by André Malo <nd...@perlig.de>.
* JHKChan wrote:

> I am translating for the Chinese Apache doc, but I wonder what is
> letter bar?

hehe...

for example here
http://httpd.apache.org/docs-2.0/mod/directives.html     or here
http://httpd.apache.org/docs-2.0/mod/quickreference.html

the abcdef-line on top I called "letter bar". A similiar mechanism I'd
like to use for the glossary (with the first letters of definition
terms). But I'm unsure about, what letters in other languages are, resp.
whether the concept makes any sense at all... 

nd
-- 
print "Just Another Perl Hacker";

# André Malo, <http://www.perlig.de/> #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Question to non-latin Translators

Posted by JHKChan <jh...@itzone.info>.
I am translating for the Chinese Apache doc, but I wonder what is letter 
bar?

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Qualifications of the Reviewer of Translated Doc

Posted by Joshua Slive <jo...@slive.ca>.
JHKChan wrote:
> Dear ALL,
> 
> I am concerned about the qualifications of the reviewer of translated doc. 
> Is the Apache HTTP Server Documentation Project just request for a fluent 
> speaker for the relevant language to have a review on the translated doc? 
> Do the reviewers need to be famous or well-reputated? If not, then why do 
> we need reviewers? We can just let our friends to put their names there. 
> This is my real concern.

In an ideal world, we would only accept translations and reviews from 
people who we trust based on a history of participation in the project. 
  In the real world, that would result in us needing to reject most 
translations.

Instead, we simply ask for the translations to be reviewed by another 
fluent speaker to assure a basic level of quality.  It is best if the 
reviewer is also a participant in the documentation project.  At 
minimum, the reviewer should send an email to the list confirming that 
they have reviewed the translation.

Certainly it would be very easy for someone to submit a translation, and 
then submit a review themselves under a different email address.  There 
is nothing we can do to prevent that.  If people get their kicks by 
trying to cheat a volunteer project, then so be it.

Just for some perspective, I can tell you that this policy is a 
middle-ground.  In the PHP documentation project, they accept 
translations from pretty-much anyone with no reviews necessary.  They 
don't seem to have any problems; they have much more translations that 
we do. On the other hand, some of the commercial distributors of Apache 
would prefer that we accept only translations that can be reviewed by 
core team members.  The response to that is, essentially, if you want 
"trusted" docs, you should delete eveything other than english before 
using Apache.

The worst case scenario here is someone inserting political messages or 
other garbage ("Apache Sucks!!!") in a translation.  If it is a language 
not spoken by anyone reading cvs@httpd.apache.org, then it would 
probably not be caught, and would make it through to the release.  In my 
opinion, the only thing that would do is make the submitter look stupid.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Qualifications of the Reviewer of Translated Doc

Posted by Joshua Slive <jo...@slive.ca>.
Klootz Morse wrote:

> As far as I understand there is no commit member who can and will check and 
> commit my translation to russian. So, now it will be useless to begin 
> translation. But I can look to the current improvement process and send my 
> comments.

That is not the policy as I understand (and impliment) it.  It is not 
necessary that the reviewer be a committer.  It is strongly prefered 
that the reviewer be a participant on this list, and it is necessary 
that the list gets an email from the reviewer confirming that they have 
carried out the review.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Qualifications of the Reviewer of Translated Doc

Posted by Rich Bowen <rb...@rcbowen.com>.
On Tue, 3 Sep 2002, Klootz Morse wrote:

> Hi everybody!
>
> I do understand JHKChan's concern about the qualification of the reviewer of
> translated doc. It looks fair to check the quality of job before making it
> publically available.
>
> As far as I understand there is no commit member who can and will check and
> commit my translation to russian. So, now it will be useless to begin
> translation. But I can look to the current improvement process and send my
> comments.

This seems a very unfortunate position, as this would mean that we are
forever limited to the languages that are already spoken/understood by
the current committers, with no opportunity for this group to expand.

So far, we have had very good success with our current method, with very
little making it through the process that was substandard and/or
incorrect. Each time a translation has been submitted, we have been able
to locate someone who was able to verify its correctness. Sure, the
concern is valid, but has thus far not proven to be a problem. It is
very circular reasoning. If we already had someone on "the team" who was
a native speaker of the language in question, surely we would already
have a translation into that language. The goal is to get translations
into languages that we don't already have, which, necessarily, means
that we'll also have to have an outside source of verification.

-- 
Rich Bowen - rbowen@rcbowen.com
http://kenya.rcbowen.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Qualifications of the Reviewer of Translated Doc

Posted by Klootz Morse <kl...@themail.com>.
Hi everybody!

I do understand JHKChan's concern about the qualification of the reviewer of 
translated doc. It looks fair to check the quality of job before making it 
publically available.

As far as I understand there is no commit member who can and will check and 
commit my translation to russian. So, now it will be useless to begin 
translation. But I can look to the current improvement process and send my 
comments.

Best wishes,
Boris L. Zanin (aka klootz), 3.IX.2002

> Dear ALL,
>
> I am concerned about the qualifications of the reviewer of translated doc.
> Is the Apache HTTP Server Documentation Project just request for a fluent
> speaker for the relevant language to have a review on the translated doc?
> Do the reviewers need to be famous or well-reputated? If not, then why do
> we need reviewers? We can just let our friends to put their names there.
> This is my real concern.
>
> JHKChan




---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: Qualifications of the Reviewer of Translated Doc

Posted by Dirk-Willem van Gulik <di...@webweaving.org>.
> I am concerned about the qualifications of the reviewer of translated doc.
> Is the Apache HTTP Server Documentation Project just request for a fluent
> speaker for the relevant language to have a review on the translated doc?
> Do the reviewers need to be famous or well-reputated? If not, then why do
> we need reviewers? We can just let our friends to put their names there.

We try to get at least one completely indepedent review by a person fluent
in the languange before we add anything to the repository.

However note that this is an open mailing list - and we always solicit and
encourage feedback, bugs (you -can- file a bug against the documentation!)
if a translation is somewhere lacking.

The more people participate the merrier !

Dw


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Qualifications of the Reviewer of Translated Doc

Posted by JHKChan <jh...@itzone.info>.
Dear ALL,

I am concerned about the qualifications of the reviewer of translated doc. 
Is the Apache HTTP Server Documentation Project just request for a fluent 
speaker for the relevant language to have a review on the translated doc? 
Do the reviewers need to be famous or well-reputated? If not, then why do 
we need reviewers? We can just let our friends to put their names there. 
This is my real concern.

JHKChan

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org