DO NOT REPLY [Bug 45242] New: Unable to compile JNI wrappers on Linux. It must be an error in build scripts

2008-06-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45242

   Summary: Unable to compile JNI wrappers on Linux. It must be  an
error in  build scripts
   Product: Tomcat 6
   Version: 6.0.16
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:Integration
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I successfully compiled and installed libapr 1.3.0. The library was installed
into /usr/local/apr

After that I tried to compile JNI wrappers in tomcat-native.jar.

$sh buildconf --with-apr=/home/john/Software/java/apr-1.3.0
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file

At this point everything is OK.

Then I typed:
$./configure -with-apr=/usr/local/apr --with-ssl=yes

I've attached a file with errors.

My system is  Linux Ubuntu 8.04.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45242] Unable to compile JNI wrappers on Linux. It must be an error in build scripts

2008-06-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45242





--- Comment #1 from John Miller <[EMAIL PROTECTED]>  2008-06-20 02:21:43 PST ---
Created an attachment (id=22151)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22151)
build errors


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45242] Unable to compile JNI wrappers on Linux. It must be an error in build scripts

2008-06-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45242





--- Comment #2 from John Miller <[EMAIL PROTECTED]>  2008-06-20 02:25:12 PST ---
Sorry, the second sentence should be "After that I tried to compile JNI
wrappers in tomcat-native.tar.gz", not "tomcat-native.jar".


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r670074 - in /tomcat/trunk: java/org/apache/jasper/compiler/Parser.java webapps/docs/config/systemprops.xml

2008-06-20 Thread markt
Author: markt
Date: Fri Jun 20 14:34:09 2008
New Revision: 670074

URL: http://svn.apache.org/viewvc?rev=670074&view=rev
Log:
Provide an option to disable the fix for 45015 that raised an error if 
attributes were not correctly quoted.

Modified:
tomcat/trunk/java/org/apache/jasper/compiler/Parser.java
tomcat/trunk/webapps/docs/config/systemprops.xml

Modified: tomcat/trunk/java/org/apache/jasper/compiler/Parser.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/Parser.java?rev=670074&r1=670073&r2=670074&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/compiler/Parser.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/Parser.java Fri Jun 20 
14:34:09 2008
@@ -76,6 +76,11 @@
 private static final String JAVAX_BODY_CONTENT_TEMPLATE_TEXT =
 "JAVAX_BODY_CONTENT_TEMPLATE_TEXT";
 
+private static final boolean STRICT_QUOTE_ESCAPING = Boolean.valueOf(
+System.getProperty(
+"org.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING",
+"true")).booleanValue();
+
 /**
  * The constructor
  */
@@ -293,7 +298,7 @@
 buf.append('\\');
 ++i;
 }
-} else if (ch == quote) {
+} else if (ch == quote && STRICT_QUOTE_ESCAPING) {
 // Unescaped quote character
 err.jspError(start, "jsp.error.attribute.noescape", tx,
 "" + quote);

Modified: tomcat/trunk/webapps/docs/config/systemprops.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/systemprops.xml?rev=670074&r1=670073&r2=670074&view=diff
==
--- tomcat/trunk/webapps/docs/config/systemprops.xml (original)
+++ tomcat/trunk/webapps/docs/config/systemprops.xml Fri Jun 20 14:34:09 2008
@@ -76,6 +76,13 @@
   be used.
 
 
+
+  If false the requirements for escpaing quotes in JSP
+  attributes will be relaxed so that a missing required quote will not
+  cause an error. If not specified, the specification compliant default of
+  true will be used.
+
+
 
   If true, any tag buffer that expands beyond
   org.apache.jasper.Constants.DEFAULT_TAG_BUFFER_SIZE will be



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r670076 - /tomcat/current/tc5.5.x/STATUS.txt

2008-06-20 Thread markt
Author: markt
Date: Fri Jun 20 14:38:35 2008
New Revision: 670076

URL: http://svn.apache.org/viewvc?rev=670076&view=rev
Log:
Add config option to patch.
Remove Filip's vote since the patch has changed.

Modified:
tomcat/current/tc5.5.x/STATUS.txt

Modified: tomcat/current/tc5.5.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/current/tc5.5.x/STATUS.txt?rev=670076&r1=670075&r2=670076&view=diff
==
--- tomcat/current/tc5.5.x/STATUS.txt (original)
+++ tomcat/current/tc5.5.x/STATUS.txt Fri Jun 20 14:38:35 2008
@@ -214,7 +214,8 @@
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45015
   You can't use an unescaped quote if you quote the value with that character
   http://svn.apache.org/viewvc?rev=657231&view=rev
-  +1: markt, fhanik
+  http://svn.apache.org/viewvc?rev=670074&view=rev
+  +1: markt
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42750



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r670078 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-06-20 Thread markt
Author: markt
Date: Fri Jun 20 14:39:04 2008
New Revision: 670078

URL: http://svn.apache.org/viewvc?rev=670078&view=rev
Log:
Modify patch as previously discussed

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=670078&r1=670077&r2=670078&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Fri Jun 20 14:39:04 2008
@@ -35,6 +35,7 @@
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=45015
   You can't use an unescaped quote if you quote the value with that character
   http://svn.apache.org/viewvc?rev=657231&view=rev
+  http://svn.apache.org/viewvc?rev=670074&view=rev
   +1: markt
   -1: remm (I think it is a good patch, but it throws an error for something 
which was working before,
 so I would think keeping it for the next release would be better)
@@ -42,6 +43,8 @@
 to restore the current behaviour is an app depends on it?
   remm Ok with this addition, but I would only vote +0 for inclusion in 
this release
(this still sounds like a very minor fix)
+  markt The second svn commit provides an option to disable the error 
raised
+by the first.
 
 * Enhancement https://issues.apache.org/bugzilla/show_bug.cgi?id=45155
   Provide a workaround to a buggy MS WebDAV client.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45242] Unable to compile JNI wrappers on Linux. It must be an error in build scripts

2008-06-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45242


Mark Thomas <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #3 from Mark Thomas <[EMAIL PROTECTED]>  2008-06-20 16:40:45 PST ---
Looks like a bug in 1.1.12. I get the same error. 1.1.13 is available for
download and that compiles for me.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Query the current port used via API

2008-06-20 Thread Alexander Hartner
Is there an API call I can use from a LifeCycleListener to query all  
connectors for their ports and configuration (SSL / Plain). I would  
like to advertise the presence of Tomcat on the network via zeroconf /  
bonjour. I am hoping there is an API call I can use rather then parse  
the server.xml file.


Thanks
Alex

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 45249] New: httpd2.2.9 with tomcat_connectors2.2. 26 ssl bug

2008-06-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45249

   Summary: httpd2.2.9 with tomcat_connectors2.2.26 ssl bug
   Product: Tomcat 6
   Version: unspecified
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Native:JK
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


complied httpd2.2.9 with tomcat_connectors2.2.26

./configure --with-expat=builtin --prefix=/usr/local/apache2  --disable-so
--with-included-apr --enable-ssl --enable-setenvif --with-mod_jk
--disable-proxy --disable-proxy-ajp --disable-proxy-connect --disable-proxy-ftp
--disable-proxy-http --disable-proxy-balancer --enable-file-cache
--enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate=share
--disable-actions --disable-cgid --disable-cgi --disable-asis --disable-alias
--enable-rewrite --disable-userdir --disable-authn-file --disable-authn-default
--disable-authz-groupfile --disable-authz-user --disable-authz-default
--disable-auth-basic --disable-include --disable-env --disable-autoindex

in httpd.conf I have following

RewriteEngine on
RewriteRule ^/$ /store/pages/Router.jsp [R]

JkOptions +ForwardURIProxy
JkMount /store/*.jsp shop

Now when I try to access a page over https from tomact I get error in error_log

[Sat Jun 21 06:11:11 2008] [error] [client 127.0.0.1] File does not exist:
/usr/local/apache2/htdocs/store/pages/Router.jsp

Works fine when I compile httpd2.2.9 with tomcat_connectors2.2.23


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]