DO NOT REPLY [Bug 46585] New: can't connect to sql server 2008
https://issues.apache.org/bugzilla/show_bug.cgi?id=46585 Summary: can't connect to sql server 2008 Product: Tomcat 5 Version: 5.5.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Unknown AssignedTo: dev@tomcat.apache.org ReportedBy: avivi.sh...@gmail.com i have sql server 2005 with Apache and Tomcat 5.5 and it's work O.ki try to upgrade my database to sql server 2008 and i can't connect from apache or from Tomcat anymore someone know about this problem? -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46585] can't connect to sql server 2008
https://issues.apache.org/bugzilla/show_bug.cgi?id=46585 --- Comment #1 from avivi 2009-01-22 02:18:50 PST --- (In reply to comment #0) > i have sql server 2005 with Apache and Tomcat 5.5 and it's work O.ki try to > upgrade my database to sql server 2008 and i can't connect from apache or > from Tomcat anymore > someone know about this problem? > just want to test this answer -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46585] can't connect to sql server 2008
https://issues.apache.org/bugzilla/show_bug.cgi?id=46585 avivi changed: What|Removed |Added CC||b...@httpd.apache.org -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Tomcat 6.0.18 + APR + Ubuntu 7.10 Problem
Hi, I'm trying to get APR running on Tomcat 6.0.18. I'm using the Tomcat zip directly downloaded from the Tomcat website, with no changes to any of the config files. I tried both the included tcnative-1.1.14 and I also downloaded the tcnative-1.1.16 from Apache; I compiled both. However when I start tomcat I get the following error: Jan 22, 2009 12:04:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.16. Jan 22, 2009 12:04:57 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. Jan 22, 2009 12:04:57 PM org.apache.coyote.http11.Http11AprProtocol init SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107) at org.apache.catalina.connector.Connector.initialize(Connector.java:1058) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) at org.apache.catalina.startup.Catalina.load(Catalina.java:530) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) Jan 22, 2009 12:04:57 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.catalina.connector.Connector.initialize(Connector.java:1060) at org.apache.catalina.core.StandardService.initialize(StandardService.java:677) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795) at org.apache.catalina.startup.Catalina.load(Catalina.java:530) at org.apache.catalina.startup.Catalina.load(Catalina.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412) Jan 22, 2009 12:04:57 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1136 ms Jan 22, 2009 12:04:57 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina I checked google, and I found a bug report with this error for tcnative, which is marked as RESOLVED, CLOSED. https://issues.apache.org/bugzilla/show_bug.cgi?id=43327 I'm wondering in which version the fix is (since you can see from the log that I'm using 1.1.16 and it's not working. I'm also wondering how I can resolve this issue and get APR working. Thanks in advance, Sebastiaan van ERk smime.p7s Description: S/MIME Cryptographic Signature
DO NOT REPLY [Bug 46586] New: impossible download a jar with this webapp
https://issues.apache.org/bugzilla/show_bug.cgi?id=46586 Summary: impossible download a jar with this webapp Product: Tomcat 6 Version: 6.0.18 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Native:Integration AssignedTo: dev@tomcat.apache.org ReportedBy: massimo.delland...@katamail.com Created an attachment (id=23158) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23158) webapp with example Only on a linux installation of tomcat I have this problem (fedora core 8 and fedora core 10 updated to last software versions). Using the webapp in attach on a tomcat 6.0.18 and only with the tomcat-native library, it's impossible to download the jar to download this url: http://ip:port/test/a.jar while is possibile to downlaod this: http://ip:port/test/b.jar if you remove the unique jar in WEB-INF/lib or remove the tomcat-native library, the problem is not present. Thank you massimo -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46585] can't connect to sql server 2008
https://issues.apache.org/bugzilla/show_bug.cgi?id=46585 Flavio Crispim changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #2 from Flavio Crispim 2009-01-22 04:13:24 PST --- Which jdbc driver version are you using? Please refer to: http://msdn.microsoft.com/en-us/data/cc325721.aspx#2 I´m not sure this is a TC issue. Regards Flavio -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46585] can't connect to sql server 2008
https://issues.apache.org/bugzilla/show_bug.cgi?id=46585 Tim Funk changed: What|Removed |Added CC|b...@httpd.apache.org | Status|NEEDINFO|RESOLVED Resolution||INVALID --- Comment #3 from Tim Funk 2009-01-22 04:16:09 PST --- Bugzilla is not a support forum. Please use the tomcat users list for configuration questions. -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46587] New: On Startup Tomcat Incorrectly Reports that docBase is Inside appBase, Ignores docBase
https://issues.apache.org/bugzilla/show_bug.cgi?id=46587 Summary: On Startup Tomcat Incorrectly Reports that docBase is Inside appBase, Ignores docBase Product: Tomcat 6 Version: 6.0.16 Platform: All OS/Version: Linux Status: NEW Severity: minor Priority: P3 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: richard.rau...@gmail.com $CATALINA_BASE/conf/[engine]/[host]/someApp.xml contains a context element with docBase set to "/opt/apache-tomcat-6.0.16/webappsProduct/someApp" The appBase on the containing host element is set to "webapps". When I start Tomcat, it incorrectly reports the following "WARNING: A docBase $CATALINA_BASE/webappsProduct/someApp inside the host appBase has been specified, and will be ignored" Naturally, the docBase does not sit within the appBase but I suppose because my docBase begins with "webapps" that it fails this validation. I have verified that this occurs with a number of docBases that begin with "/webapps*/". This is not a pressing issue for me, I just changed the docBase to something that does not begin with "webapps", but as I did not find this defect on record I thought I would raise it. -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46586] impossible download a jar with this webapp
https://issues.apache.org/bugzilla/show_bug.cgi?id=46586 --- Comment #1 from Flavio Crispim 2009-01-22 04:56:19 PST --- I found that on: WinXP SP3, TC5.5 without native - OK WinXP SP3, TC5.5 with native - OK WinXP SP3, TC Trunk without native - OK WinXP SP3, TC Trunk with native - response start after 17 seconds -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46587] On Startup Tomcat Incorrectly Reports that docBase is Inside appBase, Ignores docBase
https://issues.apache.org/bugzilla/show_bug.cgi?id=46587 Konstantin Kolinko changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Konstantin Kolinko 2009-01-22 04:57:01 PST --- Thank you for the report. It is already fixed in 6.0.18 release. *** This bug has been marked as a duplicate of bug 42678 *** -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 42678] docBase ignored even if its not a subdir of appBase
https://issues.apache.org/bugzilla/show_bug.cgi?id=42678 Konstantin Kolinko changed: What|Removed |Added CC||richard.rau...@gmail.com --- Comment #4 from Konstantin Kolinko 2009-01-22 04:57:01 PST --- *** Bug 46587 has been marked as a duplicate of this bug. *** -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46586] impossible download a jar with this webapp
https://issues.apache.org/bugzilla/show_bug.cgi?id=46586 Massimo Dell'Andrea changed: What|Removed |Added CC||massimo.delland...@katamail. ||com --- Comment #2 from Massimo Dell'Andrea 2009-01-22 06:15:58 PST --- (In reply to comment #1) > I found that on: > WinXP SP3, TC5.5 without native - OK > WinXP SP3, TC5.5 with native - OK > WinXP SP3, TC Trunk without native - OK > WinXP SP3, TC Trunk with native - response start after 17 seconds > in case: WinXP SP3, TC Trunk with native - response start after 17 seconds but is the file empty? In linux with native, after 15-20 seconds I retrieve the file, but empty. -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46586] impossible download a jar with this webapp
https://issues.apache.org/bugzilla/show_bug.cgi?id=46586 Flavio Crispim changed: What|Removed |Added OS/Version|Linux |All --- Comment #3 from Flavio Crispim 2009-01-22 06:46:24 PST --- Yes, the downloaded file is empty. -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46585] can't connect to sql server 2008
https://issues.apache.org/bugzilla/show_bug.cgi?id=46585 --- Comment #4 from Arunkumar 2009-01-22 08:02:56 PST --- Hi please dont post any support related questions here, try developer forums -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46562] Reader not closed
https://issues.apache.org/bugzilla/show_bug.cgi?id=46562 Arunkumar changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #3 from Arunkumar 2009-01-22 08:17:40 PST --- Please Give Some more details about this bug , (explain briefly) -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46562] Reader not closed
https://issues.apache.org/bugzilla/show_bug.cgi?id=46562 --- Comment #4 from Michael Rauner 2009-01-22 09:00:03 PST --- If you try to edit a file which is served by the SSI servlet with Dreamweaver, you won't be able to save the file. As a workaround I have added bufferedReader.close() at the end of processSSI(...) method call and things work fine. Hope this helps, kind regards. Michael -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46586] impossible download a jar with this webapp
https://issues.apache.org/bugzilla/show_bug.cgi?id=46586 --- Comment #4 from Konstantin Kolinko 2009-01-22 09:33:58 PST --- Do you know where to get sources for that appbase-1.0.jar ? It is c.s.rave.web.ui.appbase.servlet.LifecycleListener class in it that triggers the issue. My analysis, wrt TC 6.0 is the following: 1. WEB-INF/lib/appbase-1.0.jar file contains META-INF/taglib.tld Tag Library Descriptor file, that registers LifecycleListener class as a listener. 2. I won't dig into details of LifecycleListener class, but the essence is that its implementation of ServletRequestListener#requestDestroyed( ) method does remove _all_ attributes from the ServletRequest. Maybe it should resort to removing only the ones that implement those *Bean interfaces, but, oh well, I do not see anything in its behavior to be against the spec. Though it is certainly a trick. 3. o.a.c.servlets.DefaultServlet (the servlet that serves the static files) uses request attributes to deliver file name and other information to sendfile support in Apr/Nio - see method of DefaultServlet#checkSendfile() for details. Note, that sendfile support is only used if the file size is greater than some threshold that can be specified when configuring DefaultServlet (by default in TC 6.0: 48 Kb). That is the only substantial difference between a.jar and b.jar. 4. requestDestroyed( ) event is sent by o.a.c.core.StandardContextValve#invoke() 5. All the following is a theory. I have not tested it on a running Tomcat instance: I suspect that the removal of the request attributes occurs before the file is served by the sendfile support in Http11(Apr/Nio)Processor. That is, the following events happen: 1) DefaultServlet#checkSendfile() checks that sendfile support should be used, sets the request attributes and skips further processing. 2) StandardContextValve calls requestDestroyed( ) and LifecycleListener class removes all attributes from the request 3) Http11(Apr/Nio)Processor does not receive information about the file that it has to send. Maybe this can be fixed by triggering Http11(Apr/Nio)Processor#prepareResponse() before the requestDestroyed( ) event occurs. That is, by invoking o.a.coyote.Response#sendHeaders() through a call to javax.servlet.ServletResponse#flushBuffer(). Note: you can disable sendfile support in DefaultServlet by configuring it with negative value for sendfileSize. See http://tomcat.apache.org/tomcat-6.0-doc/default-servlet.html (In reply to comment #1): > WinXP SP3, TC5.5 without native - OK > WinXP SP3, TC5.5 with native - OK I suspect that the Listener in appbase-1.0.jar was ignored by TC5.5 (see bug 40809, esp. comment #8 there), thus not triggering the issue. Note, that web.xml should be changed to follow the Servlet 2.4 spec to properly deploy the app in TC5.5. -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 46591] New: Revision 678137 is unnecessary
https://issues.apache.org/bugzilla/show_bug.cgi?id=46591 Summary: Revision 678137 is unnecessary Product: Tomcat 6 Version: 6.0.18 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: dev@tomcat.apache.org ReportedBy: varun.srivas...@gmail.com Hi, In file CoyoteAdapter.java we unnecessarily having new function checkNormalize as resolution number 678137. We could have easily achieved the goal by calling convertURI before normalize(). -- 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org