Re: [jetty-users] Exception in Jetty 12.0.1

2023-09-04 Thread Bill Ross via jetty-users
> SessionIdManager.setWorkerName(null) Maybe SessionIdManager.setWorkerName("")? 34 chars > 1234567890123456789012345678901234 Bill -- Phobrain.com On 2023-09-04 04:58, Bill Ross via jetty-users wrote: > I wonder if this could be a string encoding issue? C

Re: [jetty-users] Exception in Jetty 12.0.1

2023-09-04 Thread Bill Ross via jetty-users
I wonder if this could be a string encoding issue? Can you think of any strings/params that are this long? 1234567890123456789012345678901234 2023-09-04 13:39:27.421:WARN :oejs.Response:qtp105374791-42: writeError: status=500, message=java.lang.StringIndexOutOfBoundsException: Index 34 out of

Re: [jetty-users] Eclipse Jetty 12.0.0 has been released!

2023-08-07 Thread Bill Ross via jetty-users
Thanks! Digging in, The Eclipse download link in the email is broken. Wrong: https://eclipse.dev/jetty/download/ Correct: https://eclipse.dev/jetty/download.php The zip hashes there are labeled mp5, but match md5sum. It seems mp5 may be a gaming thing.

Re: [jetty-users] SolrJ/Solr: HTTP protocol violation: Authentication challenge without WWW-Authenticate header

2023-06-01 Thread Bill Ross
ing performs compared to postgres' single-threaded index builds. I wonder if it could speed up your bigger query's sort time. Bill -- Phobrain.com On 2023-05-31 19:58, Shawn Heisey wrote: > On 5/31/23 17:48, Bill Ross wrote: > >> Can you swap in another httpclient to test? I assu

Re: [jetty-users] SolrJ/Solr: HTTP protocol violation: Authentication challenge without WWW-Authenticate header

2023-05-31 Thread Bill Ross
-31 16:30, Shawn Heisey wrote: > On 5/31/23 02:50, Bill Ross wrote: > >> Minimal relevant experience here, but lots of debugging, and since you're >> stuck: >> >> Is this failing only on the last request of a series of any length? > > It's failing in the mid

Re: [jetty-users] SolrJ/Solr: HTTP protocol violation: Authentication challenge without WWW-Authenticate header

2023-05-31 Thread Bill Ross
Minimal relevant experience here, but lots of debugging, and since you're stuck: Is this failing only on the last request of a series of any length? Bill -- Phobrain.com On 2023-05-31 01:40, Shawn Heisey wrote: > On 5/30/23 21:51, Shawn Heisey wrote: > >> So I am using http/1.1 in

Re: [jetty-users] eclipse list mgr doesn't know me -?

2022-09-19 Thread Bill Ross via jetty-users
FYI for lack of a better plan, I'll just leave this acct subscribed, block any forwarded mail, and resubscribe from my new acct. On 8/29/22 3:49 PM, Bill Ross wrote: Sorry for the admin noise. The eclipse list admin doesn't recognize this email as an acct name, so I can't change my

[jetty-users] eclipse list mgr doesn't know me -?

2022-08-29 Thread Bill Ross via jetty-users
Sorry for the admin noise. The eclipse list admin doesn't recognize this email as an acct name, so I can't change my subscription. https://www.eclipse.org/mailman/listinfo/jetty-users Thanks, Bill -- Phobrain.com ___ jetty-users mailing list

[jetty-users] licensing round 2: bundling jetty-home

2022-05-28 Thread Bill Ross via jetty-users
Round 1 result: Thanks to Simone, I moved from 9->10 and commented out "#--module=https" in start.ini, so keystore is gone. Is there any conclusive argument for bundling a jetty-home zip file vs. including a wget fetch in an install script? Any tips or reassurances on licensing correctly,

[jetty-users] copyright/license to jetty-base/etc/keystore?

2022-05-27 Thread Bill Ross via jetty-users
I forget if I made this file or got it as part of jetty, 3697 Aug 18  2018 jetty-base/etc/keystore and want to find out where it came from, and whether it's legal and makes sense to distribute it, plus whether/how it should be copyrighted and licensed. Any licensing experts who are

Re: [jetty-users] 9.4: can I get rid of LoginService if no login?

2022-04-30 Thread Bill Ross via jetty-users
I stumbled on the root culprit when adding a copyright to a forgotten config file: src/main/webapp/WEB-INF/jetty-env.xml -      Test Realm -  Bill On 4/27/22 6:12 PM, Bill Ross via jetty-users wrote: > Your `pr.xml` is enabling the login service. > Get rid of the entire element

Re: [jetty-users] 9.4: can I get rid of LoginService if no login?

2022-04-27 Thread Bill Ross via jetty-users
de.com On Wed, Apr 27, 2022 at 5:41 PM Bill Ross via jetty-users wrote: Thanks!  > take the element out of your web.xml (or however you've set up the BasicAuthenticator). It's not in my web.xml, my 'app.xml' (jetty-base/webapps/pr.xml), nor are there any Login-named classes

Re: [jetty-users] 9.4: can I get rid of LoginService if no login?

2022-04-27 Thread Bill Ross via jetty-users
ib/ext/c3p0-0.9.5.5.jar jetty-base/lib/ext/mchange-commons-java-0.2.19.jar jetty-base/lib/alpn jetty-base/lib/alpn/alpn-boot-8.1.12.v20180117.jar jetty-base/lib/logging jetty-base/lib/logging/slf4j-api-1.6.6.jar jetty-base/lib/logging/logback-core-1.0.7.jar On 4/27/22 12:51 AM, Bill Ross wrote: I'm t

[jetty-users] 9.4: can I get rid of LoginService if no login?

2022-04-27 Thread Bill Ross via jetty-users
I'm trying to simplify before open-sourcing. I used to have a HashLogin, and it seems I can't get rid of the requirement. E.g. it wants the securityHandler, and an empty jetty-base/etc/realm.properties is needed at least. 9.4 Thanks, Bill I seem to need this in jetty-base/webapps/app.xml:

Re: [jetty-users] Out-of-order requests in log?

2022-01-31 Thread Bill Ross via jetty-users
What if you put the time received *in* the log msg, to compare with the time stamp? Bill On 1/31/22 1:33 PM, John English wrote: On 31/01/2022 16:48, Joakim Erdfelt wrote: Keep in mind that the RequestLog writes when the request/response exchange is complete. So it could also be an artifact

Re: [jetty-users] [jetty-dev] Jetty: Apache Log4j Tool : Zero Day in Ubiquitous Under Active Attack (CVE-2021-44228)

2021-12-20 Thread Bill Ross via jetty-users
> it's possible to set up your particular Jetty-installation in a way that uses log4j with corresponding consequences. Even if you haven't used log4j recently, it WAS possible for the whole window of vulnerability, so one needs to check what was in service the whole period, and assume records

Re: [jetty-users] [jetty-dev] Jetty: Apache Log4j Tool : Zero Day in Ubiquitous Under Active Attack (CVE-2021-44228)

2021-12-16 Thread Bill Ross via jetty-users
, That doesn't look like log4j itself, merely an integration layer for using log4j with that project. Joakim Erdfelt / joa...@webtide.com <mailto:joa...@webtide.com> On Thu, Dec 16, 2021 at 2:43 PM Bill Ross via jetty-users mailto:jetty-users@eclipse.org>> wrote: One needs to chec

Re: [jetty-users] [jetty-dev] Jetty: Apache Log4j Tool : Zero Day in Ubiquitous Under Active Attack (CVE-2021-44228)

2021-12-16 Thread Bill Ross via jetty-users
One needs to check *all* jars too. I notice that the c3p0 db connection pool package uses a lib (by the same author) called mchange-commons that incorporates log4j: https://github.com/swaldman/mchange-commons-java/tree/master/src/main/java/com/mchange $ jar tf ...jar

Re: [jetty-users] Jakarta REST API Query

2021-06-27 Thread Bill Ross
bject lambda".upper()) in python and then returns (or calls with) the transformed data in the body of response to write_get_object_response() defined with Java Server. Best, Aniruddha ᐧ On Sun, Jun 27, 2021 at 6:33 PM Bill Ross <mailto:r...@cgl.ucsf.edu>> wrote:

Re: [jetty-users] Jakarta REST API Query

2021-06-27 Thread Bill Ross
bjectResponse| is called by a customer-owned Lambda function, the metadata returned to the end user |GetObject| call might differ from what Amazon S3 would normally return. I am trying to find a workaround/mechanism to get this to work. Best, Aniruddha ᐧ On Sun, Jun

Re: [jetty-users] Jakarta REST API Query

2021-06-27 Thread Bill Ross
Speaking from general server dev going back to the 90's, but w/o Amazon or Flask, so may not apply: # Jetty server now forwards the request to a Python Flask server which has the lambda function by passing object data to it # Lambda function code perform the transformation on the object and

Re: [jetty-users] Equivalent of HandlerList for Servlets

2019-12-13 Thread Bill Ross
that any extra inefficiencies of app space balancing would be outweighed by the gains from reducing load on the app servers themselves. regards On Sat, 14 Dec 2019 at 11:25, Bill Ross <mailto:r...@cgl.ucsf.edu>> wrote: > But the question would be, how is the correct h

Re: [jetty-users] Equivalent of HandlerList for Servlets

2019-12-13 Thread Bill Ross
> But the question would be, how is the correct handler going to be picked from that list? Out of curiosity, would it be efficient/maintainable to use Jetty as a load balancer, such that each handler would manage load for a given back end, and they'd be chosen by sorting handlers (hanglers

[jetty-users] EFF certbot for https?

2019-12-05 Thread Bill Ross
Has anyone tried EFF's certbot to go to https yet? Certbot is a free, open source software tool for automatically usingLet’s Encrypt certificates on manually-administrated websites to enable HTTPS. run Certbot once to automatically get free HTTPS

Re: [jetty-users] Jetty 9.4.24 prints warning messages to stderr

2019-12-03 Thread Bill Ross
version-related diff. Bill On 12/3/19 12:12 PM, Bill Ross wrote: Right below in that stack (duh).. it's a thread waiting for a C3P0 db connection. Must have been more tired when I looked before. Any way it could be jetty-related?     at com.mchange.v2.c3p0

Re: [jetty-users] Jetty 9.4.24 prints warning messages to stderr

2019-12-03 Thread Bill Ross
(java.naming@11.0.5-ea/InitialContext.java:409)     at com.priot.db.dao.DaoBase.getConn(DaoBase.java:30) On 12/3/19 11:58 AM, Bill Ross wrote: Thanks, good to know - so far the downrev is just on the home server, but will have to consider whether to dig deeper when I'm ready to push again. DoS

Re: [jetty-users] Jetty 9.4.24 prints warning messages to stderr

2019-12-03 Thread Bill Ross
16 waiting on condition Bill On 12/3/19 11:34 AM, Joakim Erdfelt wrote: 9.4.12 is subject to many security issues. https://www.eclipse.org/jetty/security-reports.html Joakim Erdfelt / joa...@webtide.com <mailto:joa...@webtide.com> On Tue, Dec 3, 2019 at 1:22 PM Bill Ross <mailto:r...@c

Re: [jetty-users] Jetty 9.4.24 prints warning messages to stderr

2019-12-03 Thread Bill Ross
For what it's worth, I also just down-versioned from 9.4.24.v20191120 because my server was using 300% CPU with no client activity. I can't rule out my own changes, and a couple of out-of-practice looks at thread dumps didn't give me an answer. But there's nothing I've added that would keep a

Re: [jetty-users] ServletContextListener defers server start

2019-10-07 Thread Bill Ross
(and return after the 503) On 10/7/19 7:35 AM, Bill Ross wrote: Would anything like these chunks from my code work for you? The secret is checking status in doGet(). public class GetMult extends HttpServlet {     private ServletData servletData;     public void init(ServletConfig config

Re: [jetty-users] ServletContextListener defers server start

2019-10-07 Thread Bill Ross
();     }     public isReady() {     return approvedV != null;     } } On 10/7/19 5:34 AM, Dirk Olmes wrote: On 10/7/19 11:21 AM, Bill Ross wrote: Why not have a ContextHandler that starts a setup thread on init, and answers 503 until that thread is done? That's sort of what I current

Re: [jetty-users] ServletContextListener defers server start

2019-10-07 Thread Bill Ross
Why not have a ContextHandler that starts a setup thread on init, and answers 503 until that thread is done? Bill On 10/7/19 2:10 AM, Dirk Olmes wrote: On 10/5/19 2:07 AM, Greg Wilkins wrote: Dirk, Hi Greg, Note that you can actually achieve this with just a little bit of work: Write a

Re: [jetty-users] ImageIO in servlet: should I close the httpResp.getOutputStream() and how to set Content-Length?

2019-10-04 Thread Bill Ross
Plus you'd just be serving raw bytes, which saves time parsing the image format and reconstituting compressed pngs or jpegs for example. It's what I have here: http://phobrain.com/pr/home/view.html Bill On 10/4/19 6:49 AM, Bill Ross wrote: It looks like you're reading the whole png before

Re: [jetty-users] ImageIO in servlet: should I close the httpResp.getOutputStream() and how to set Content-Length?

2019-10-04 Thread Bill Ross
It looks like you're reading the whole png before sending, where you could save latency and memory for big files and have a good general method by using the static resource servlet given here: http://stackoverflow.com/questions/132052/servlet-for-serving-static-content Bill On 10/4/19 2:04

Re: [jetty-users] web app specific port in single jetty instance

2019-07-29 Thread Bill Ross
to original solutions: https://www.reddit.com/r/MachineLearning/comments/cimh5b/d_should_we_take_over_the_world_ourselves_or_just/ Bill On 7/29/19 2:28 AM, Bill Ross wrote: Can you describe why? It seems to once-educated me that a server's whole job is to service a port, and I'd expect you can run

Re: [jetty-users] web app specific port in single jetty instance

2019-07-29 Thread Bill Ross
Can you describe why? It seems to once-educated me that a server's whole job is to service a port, and I'd expect you can run multiple jetty servers within a 'larger' server process, so they could share infrastructure as easily as separate webapps do. Bill On 7/29/19 2:22 AM, deepak

Re: [jetty-users] fingerprinting.js?

2019-02-20 Thread Bill Ross
> Wrong mailing list? Evidently. I don't get out enough. :-) On 2/20/19 1:28 AM, Simone Bordet wrote: Hi, On Wed, Feb 20, 2019 at 7:12 AM Bill Ross wrote: I just saw this error from an unknown js in my browser console, after updating a couple of s was complete: fingerprinting.js:

[jetty-users] fingerprinting.js?

2019-02-19 Thread Bill Ross
I just saw this error from an unknown js in my browser console, after updating a couple of s was complete: fingerprinting.js:329 Uncaught Error: Extension context invalidated.     at HTMLDocument. (fingerprinting.js:329) It's from a version of this page (just w/ different UI dynamics):

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
/big4/reep/jetty/jetty.project$ find . -name "surefire*" ./jetty-util/target/surefire-reports On 11/2/18 4:16 AM, Bill Ross wrote: /big4/reep/jetty/jetty.project$ find . -name surefire /big4/reep/jetty/jetty.project$ On 11/2/18 4:06 AM, Simone Bordet wrote: Hi, On Fri, Nov 2, 201

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
Btw I commented http2 out of my jetty.base jetty.ini to work around the alpn issue. I will also be marketing my fountain of youth irony tonic and CBD hair stiffening oil in the lobby. On 11/2/18 4:05 AM, Bill Ross wrote: Uhm is correctly spelled, at least. :-) I should abjectly explain

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
/big4/reep/jetty/jetty.project$ find . -name surefire /big4/reep/jetty/jetty.project$ On 11/2/18 4:06 AM, Simone Bordet wrote: Hi, On Fri, Nov 2, 2018 at 11:30 AM Bill Ross wrote: === $ cat jetty.project/jetty-util/target/surefire-reports//* Uhm, no. Uhm is correctly spelled, at least

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
Uhm is correctly spelled, at least. :-) I should abjectly explain that since I was writing distributed servers long before I wrote the first ones at the first Unix supercomputer center in the world nothing>, grizzled yet naive professionalism is mildly refreshing once in a while. :-)

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
Speaking of birds - and reviewing the day's photos - I quote a sign on a pumpkin candy bar display by the market checkout counter: "This pumpkin walks into a bar..." Ohm said an enlightened Watt On 11/2/18 3:30 AM, Bill Ross wrote: === $ cat jetty.project/jetty-util/target/surefi

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
Bordet wrote: Hi, On Fri, Nov 2, 2018 at 10:36 AM Bill Ross wrote: Back to work: surefire logs, then complete output for mvn clean install: There is no MAVEN_OPTS env. === jetty-util/target/surefire-reports/ 2018-11-02T02-24-38_661.dumpstream 2018-11-02T02-24-38_661-jvmRun1.dumpstre

Re: [jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR]   mvn -rf :jetty-util On 11/2/18 2:14 AM, Olivier Lamy wrote: Hi Thanks for the report. Some informations are missing. Can

[jetty-users] gasping for alpn-1.8.0_191.mod / 9.4.13

2018-11-02 Thread Bill Ross
Due to Ubuntu 16.0.4's helpful upgrade, I have $ java -version java version "1.8.0_191" Java(TM) SE Runtime Environment (build 1.8.0_191-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode) And now java.lang.IllegalStateException: Cannot read file:

Re: [jetty-users] avoiding earlyEOF

2018-06-22 Thread Bill Ross
Is there a simple way to incorporate this in a start.jar from script startup? If not, would it be worth building into jetty? Thanks, Bill > https://github.com/opentable/otj-pausedetector public class MyCoolApp { public static void main(String[]args) { try (new

Re: [jetty-users] How to escape Unicode with JSON.toString()?

2018-03-29 Thread Bill Ross
The only way to escape Unicode is the grave. Please excuse the faulty calendar. Bill On 3/29/18 12:47 AM, Greg Wilkins wrote: Alex, Which characters do you want us to use \u encoding for?   > US_ASCII? >ISO_8859? or just chars that would encode to 3 byte utf8? Maybe we could... we'll

Re: [jetty-users] gradle 4: jetty doesn't start war when compiled with gretty plugin

2018-02-13 Thread Bill Ross
. Bill On 2/12/18 10:57 PM, Bill Ross wrote: Same without gretty - the war isn't seen, it seems. I went back to the gradle 2 config, and still war doesn't load. I can't find any active log files in jetty.home or jetty.base, so presumably what I see on the console is all there is, including

Re: [jetty-users] gradle 4: jetty doesn't start war when compiled with gretty plugin

2018-02-12 Thread Bill Ross
-distribution-9.4.6.v20170531 \ jetty.base=./jetty-base| On 2/12/18 4:44 PM, Bill Ross wrote: In case anyone is using gretty, hopefully the fix is obvious, else I'll downgrade gradle, since 4.0 only has gretty support. Thanks, Bill https://github.com/akhikhl/gretty/issues/413 build.gradle:

[jetty-users] gradle 4: jetty doesn't start war when compiled with gretty plugin

2018-02-12 Thread Bill Ross
In case anyone is using gretty, hopefully the fix is obvious, else I'll downgrade gradle, since 4.0 only has gretty support. Thanks, Bill https://github.com/akhikhl/gretty/issues/413 build.gradle: |apply plugin: 'war' //apply plugin: 'jetty' apply from:

Re: [jetty-users] More on odd spider behavior of my own IP

2018-02-12 Thread Bill Ross
My default explanation now is that somehow jetty or ubuntu supplied the wrong IP's for logging. Bill On 1/18/18 1:45 AM, Bill wrote: Does anyone watch the spiders? I actually feed them by using interesting math to derive file creation times that I publish, unrelated to the actual file, in

[jetty-users] odd browser? behavior

2018-01-13 Thread Bill Ross
I wonder if anyone can point me somewhere useful, since my jetty server in the cloud shows something fishy happening on my laptop. I saw in my server log that my laptop fetched 3 files twice in succession: 01/13 06:20:49.810 INFO  c.p.s.FileSystemResourceServlet - Mapping expt.html to 01/13

Re: [jetty-users] lots of errors and warnings while building from source...

2017-02-13 Thread Bill Ross
Maybe a closer look at org.eclipse.jetty.util.InetAddressSetTest.txt will yield a clue? Bill On 2/13/17 12:48 AM, Albretch Mueller wrote: the MojoFailureException test failures seem to relate to org.eclipse.jetty.util.InetAddressSetTest ~ Results : Failed tests:

Re: [jetty-users] alpn on Ubuntu

2017-01-24 Thread Bill Ross
a place for version-specific generated files, and jetty.base would need to allow for that, so maybe the current is the easier policy once you know about it. On 1/24/17 12:07 PM, Carey Evans wrote: On Wed, 25 Jan 2017, at 08:05, Bill Ross wrote: Deleting ._*.mod does the trick, thanks! Maybe

Re: [jetty-users] alpn on Ubuntu

2017-01-24 Thread Bill Ross
}/modules/._annotations.mod [same stack] Deleting ._*.mod does the trick, thanks! Maybe the distribution wasn't cleaned properly? Thanks, Bill On 1/24/17 2:07 AM, Simone Bordet wrote: Hi, On Tue, Jan 24, 2017 at 1:03 AM, Bill Ross <r...@cgl.ucsf.edu> wrote: I'm trying to go from

[jetty-users] alpn on Ubuntu

2017-01-23 Thread Bill Ross
I'm trying to go from 9.3.3 to 9.4.1, drop-in works fine on MacOS, but on Ubuntu with the same Java version it can't get over alpn: java.lang.IllegalStateException: Unable to register module: ${jetty.home}/modules/._alpn.mod at

Re: [jetty-users] brain freeze on simple config

2016-12-10 Thread Bill Ross
this will all be explained to me in the afterlife, and thanks for listening. On 12/10/16 10:17 PM, Bill Ross wrote: I have in my web.xml a servlet definition like 3 others that work, the servlet says that it's initialized, but the browser gives 404. getkext com.me.servlet.KwdMatch

[jetty-users] brain freeze on simple config

2016-12-10 Thread Bill Ross
I have in my web.xml a servlet definition like 3 others that work, the servlet says that it's initialized, but the browser gives 404. getkext com.me.servlet.KwdMatch 1 getkext /getkext And in com.me.servlet.KwdMatch, @Override

Re: [jetty-users] Jetty 9 - can same thread become carrier for another request?

2016-07-31 Thread Bill Ross
It would be very unusual for a thread to switch away from a slow operation it was blocked on without interrupting the operation, and there would be no point in it to boot, because if you could have the database op continue without a thread to receive the result, you'd have a nightmare scenario

Re: [jetty-users] Jetty Release 9.3.9.v20160517

2016-05-22 Thread Bill Ross
I tried this one-line change: --- #!/bin/bash #JETTY_HOME=jetty-distribution-9.3.3.v20150827 JETTY_HOME=jetty-distribution-9.3.9.v20160517 java -Xmx3048M \ -jar $JETTY_HOME/start.jar \ jetty.home=$JETTY_HOME \ jetty.base=jetty-base

[jetty-users] unified logback log getting disjointed

2016-05-06 Thread Bill Ross
I have tried to direct my server and servlet logs to the same file, but it seems the server is out of sync and starts its own new logfile when it gets bad HTTP, yet the servlets continue logging to the old, now-renamed files. You can see it here: -rw-r--r-- 1 root root 141 May 6 06:10

Re: [jetty-users] no cookies?

2016-01-19 Thread Bill Ross
Looks like that isn't the actual error, it's the error eclipse generates because it lacks the source to generate the actual error. Bill On 1/19/16 3:04 PM, Lou DeGenaro wrote: I am my Jetty server under eclipse so I can debug. Lou. On Tue, Jan 19, 2016 at 5:54 PM, Joakim Erdfelt

[jetty-users] log rolls but servlet still logs to previous log

2015-10-23 Thread Bill Ross
I set up logback logging as described in the doc, but my servlets are not following the log rollover, still logging to yesterday's (renamed) log, while today's jetty.log just has this one msg in it: 10/23 01:54:53.391 WARN org.eclipse.jetty.http.HttpParser - Illegal character 0x1 in

[jetty-users] interesting spider activity

2015-10-23 Thread Bill Ross
I don't know if there's a better place to discuss this, but my curiosity is piqued by various spider activity that I see now that my site is online (fauxbrain.com), e.g. this just in from Google - why hit the main page from a series of servers? 10/23 13:25:55.483 INFO

[jetty-users] someone is proxying my site -?

2015-10-23 Thread Bill Ross
A Google search on my site yields this proxy: http://wsjanniversary.com/pr/home/index.html Is there anything I can do to protect against this? Thanks, Bill ___ jetty-users mailing list jetty-users@eclipse.org To change your delivery options,

Re: [jetty-users] java.lang.InstantiationException with new Servlet, tho seen in war

2015-10-14 Thread Bill Ross
Aha - my Servlet class is abstract. Never mind. Original message From: Bill Ross <r...@cgl.ucsf.edu> Date:10/14/2015 6:37 PM (GMT-08:00) To: jetty-users@eclipse.org Subject: [jetty-users] java.lang.InstantiationException with new Servlet, tho seen in war I am g

Re: [jetty-users] java.lang.InstantiationException with new Servlet, tho seen in war

2015-10-14 Thread Bill Ross
you're using so the linenumbers are meaningful. On 15 October 2015 at 12:37, Bill Ross <r...@cgl.ucsf.edu> wrote: I am getting an uninformative InstantiationException at startup with a new Servlet added to web.xml - it seems to be set up exactly like Servlets that have been working.

[jetty-users] Servlet log4j not using jetty rootLogger

2015-10-09 Thread Bill Ross
While developing I have enjoyed stderr logging. Now I need to log to file, so I followed http://www.eclipse.org/jetty/documentation/current/example-logging-log4j.html And with this jetty-base/resources/log4j.properties log4j.rootLogger=info, A1 log4j.additivity.FileLog=false

[jetty-users] Servlet log4j not using jetty rootLogger - servlet code

2015-10-09 Thread Bill Ross
Here is how my Servlets are coded: import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogManager; protected static final Logger log = LogManager.getLogger(); Thanks, Bill ___ jetty-users mailing list jetty-users@eclipse.org To

[jetty-users] excluding a page from security check

2015-10-06 Thread Bill Ross
Now that I have security enabled, I have FORM Login /home/login/login.html /home/login/loginError.html And I want to have text labeling a checkbox on the login page pop up a nondisclosure agreement - but this fails (opens the login page again) because the nondisclosure

Re: [jetty-users] HashLoginService (was JAAS)

2015-10-02 Thread Bill Ross
or"> true true On 10/2/2015 1:42 PM, Bill Ross wrote: On 10/1/2015 1:26 PM, Bill Ross wrote: jetty.demo.realm only exists in demo config files - it is not in any java files. And I can change it to jexty.demo.realm without error. Same result when I put the

Re: [jetty-users] HashLoginService (was JAAS)

2015-10-01 Thread Bill Ross
nstance (eg as an addBean() as has been shown in the doco and in the demo-base/etc/test-realm.xml). Jan On 30 September 2015 at 18:10, Bill Ross <r...@cgl.ucsf.edu <mailto:r...@cgl.ucsf.edu>> wrote: Hi Jan, So if web.xml only goes in a webapp, how can a realm defined in

Re: [jetty-users] HashLoginService (was JAAS)

2015-10-01 Thread Bill Ross
jetty.demo.realm only exists in demo config files - it is not in any java files.  Original message From: Bill Ross <r...@cgl.ucsf.edu> Date:10/01/2015 1:06 PM (GMT-08:00) To: jetty-users@eclipse.org Subject: Re: [jetty-users] HashLoginService (was JAAS) Jan (or

Re: [jetty-users] JAAS questions

2015-09-30 Thread Bill Ross
just etc/my-realm.xml on it (similarly to demo-base/start.ini has a line with etc/test-realm.xml on it). This will add your etc/my-realm.xml file to your command line when you run jetty. Jan On 30 September 2015 at 16:44, Bill Ross <r...@cgl.ucsf.edu> wrote: Thanks Jan, Seeing that the Ha

Re: [jetty-users] JAAS questions

2015-09-30 Thread Bill Ross
Thanks Jan, Seeing that the HashLoginService is sufficient, and that it is associated with a realm, I found https://wiki.eclipse.org/Jetty/Tutorial/Realms and per that I added an /etc/jetty.xml file: Test Realm default="."/>/etc/realm.properties

[jetty-users] JAAS questions

2015-09-28 Thread Bill Ross
I'm trying to set up site login looking at ./jetty-distribution/target/distribution/demo-base E.g. demo-base/start.ini: - # Enable security via jaas, and configure it --module=jaas jetty.jaas.login.conf=etc/login.conf # Create and configure the test realm etc/test-realm.xml

Re: [jetty-users] c3p0 driver switches postgres->mysql on context reload, 9.3.4-SNAPSHOT

2015-09-25 Thread Bill Ross
On Fri, Sep 25, 2015 at 2:45 PM, Bill Ross <r...@cgl.ucsf.edu> wrote: I am currently "Powered by Jetty:// 9.3.4-SNAPSHOT" updated within the last week or two. It looks like on modifying a web page in ROOT that context reinitializes and this restarts c3p0 with mysql instead of my s

Re: [jetty-users] c3p0 driver switches postgres->mysql on context reload, 9.3.4-SNAPSHOT

2015-09-25 Thread Bill Ross
Same behavior with 9.3.0. Bill Original message From: Bill Ross <r...@cgl.ucsf.edu> Date:09/25/2015 2:45 PM (GMT-08:00) To: jetty-users@eclipse.org Subject: [jetty-users] c3p0 driver switches postgres->mysql on context reload, 9.3.4-SNAPSHOT I am currently

[jetty-users] configuring login for a jetty site

2015-09-24 Thread Bill Ross
My use case is: User hits any page on site Username/password prompt appears If ok, secure/https access to pages on site granted I am looking at http://www.eclipse.org/jetty/documentation/current/configuring-security.html and am not sure how to generate the keystore - is this what I

Re: [jetty-users] embedded jetty 9 JSP: NullPointerException in org.apache.jasper.compiler.Validator

2015-08-25 Thread Bill Ross
Note on build systems: Gradle is nice too. Bill div Original message /divdivFrom: Joakim Erdfelt joa...@webtide.com /divdivDate:08/25/2015 6:57 AM (GMT-08:00) /divdivTo: JETTY user mailing list jetty-users@eclipse.org /divdivSubject: Re: [jetty-users] embedded jetty 9 JSP:

Re: [jetty-users] Getting JNDI/ db connection pool to work

2015-07-14 Thread Bill Ross
look at either the embedded examples in the jetty repo or the test-jndi webapp in the jetty distro to see what you need to do. cheers Jan On 12 July 2015 at 02:45, Bill Ross r...@cgl.ucsf.edu wrote: By the way, I notice the 'Jetty dependencies site' is broken, and the jndi intro page that mentions

Re: [jetty-users] jetty-env.xml not loading? (jndi javax.naming.NameNotFoundException)

2015-07-14 Thread Bill Ross
with 'env' not being found in java:/comp/env/jdbc/xxx. On 7/14/2015 2:06 PM, Bill Ross wrote: On 7/14/2015 1:50 PM, Joakim Erdfelt wrote: What does your jetty-env.xml look like (the contents)? ?xml version=1.0 encoding=UTF-8? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN http

[jetty-users] jetty-env.xml not loading? (jndi javax.naming.NameNotFoundException)

2015-07-14 Thread Bill Ross
Per http://www.eclipse.org/jetty/documentation/current/jetty-env-xml.html Using jetty-env.xml Place the jetty-env.xml file in your web application's WEB-INF folder. -- I see it there when I unpack the war file. -- should there be any logging when this is seen? -- I added this to it, but still

Re: [jetty-users] jetty-env.xml not loading? (jndi javax.naming.NameNotFoundException)

2015-07-14 Thread Bill Ross
Copying the war to $jetty-base/webapps/. On 7/14/2015 1:34 PM, Joakim Erdfelt wrote: How are you deploying that webapp? Joakim Erdfelt / joa...@webtide.com mailto:joa...@webtide.com On Tue, Jul 14, 2015 at 1:25 PM, Bill Ross r...@cgl.ucsf.edu mailto:r...@cgl.ucsf.edu wrote: Per

Re: [jetty-users] jetty-env.xml not loading? (jndi javax.naming.NameNotFoundException)

2015-07-14 Thread Bill Ross
...@webtide.com mailto:joa...@webtide.com On Tue, Jul 14, 2015 at 1:42 PM, Bill Ross r...@cgl.ucsf.edu mailto:r...@cgl.ucsf.edu wrote: Copying the war to $jetty-base/webapps/. On 7/14/2015 1:34 PM, Joakim Erdfelt wrote: How are you deploying that webapp? Joakim Erdfelt / joa

Re: [jetty-users] Getting JNDI/ db connection pool to work

2015-07-14 Thread Bill Ross
I found a slightly old mysql connector jar, and now it looks like the connection is being created ok, and the insert even worked! On to clean up my startup script. Thanks guys! Bill On 7/14/2015 5:08 PM, Bill Ross wrote: On 7/14/2015 3:48 PM, Jan Bartel wrote: This is the link to the page

Re: [jetty-users] jetty-env.xml not loading? (jndi javax.naming.NameNotFoundException)

2015-07-14 Thread Bill Ross
On 7/14/2015 3:51 PM, Joakim Erdfelt wrote: On Tue, Jul 14, 2015 at 3:44 PM, Bill Ross r...@cgl.ucsf.edu mailto:r...@cgl.ucsf.edu wrote: Also per http://www.eclipse.org/jetty/documentation/current/jndi.html I added --add-to-startd=jndi to my startup script, but it just exited

Re: [jetty-users] jetty-env.xml not loading? (jndi javax.naming.NameNotFoundException)

2015-07-14 Thread Bill Ross
Jan, not sure how to use those arguments to refer to jetty.base? Please see my script below. Thanks, Bill On 7/14/2015 3:51 PM, Jan Bartel wrote: Bill, Please list the output of --list-config and --list-modules for your jetty.base. Jan On 15 July 2015 at 08:44, Bill Ross r...@cgl.ucsf.edu

Re: [jetty-users] Getting JNDI/ db connection pool to work

2015-07-14 Thread Bill Ross
, Bill Ross r...@cgl.ucsf.edu wrote: By the way, I notice the 'Jetty dependencies site' is broken, and the jndi intro page that mentions it looks out of date. Why isn't the source for jetty-jndi.jar in the distribution? It would be easier to debug. I found the jar on maven and got it via my

Re: [jetty-users] Getting JNDI/ db connection pool to work

2015-07-11 Thread Bill Ross
Bartel wrote: Looks to me that you don't have jetty-jndi.jar on the classpath - it contains the jndi impl. Jan On 11 July 2015 at 14:52, Bill Ross r...@cgl.ucsf.edu wrote: I have: - src/main/webapp/WEB-INF/web.xml ... resource-ref descriptionDataSource/description res-ref-namejdbc/pr

Re: [jetty-users] PathResource warn in 9.3

2015-07-10 Thread Bill Ross
* to check that they are the same length, but the 'realCount' int is assigned the count of 'abs'. I'll file a bug - looks like it would be on 'other', seems like there could be a 'util' that this would fall into. On 7/10/2015 4:15 PM, Bill Ross wrote: I commented out all the timing-failure tests

Re: [jetty-users] PathResource warn in 9.3

2015-07-10 Thread Bill Ross
/ - eclipse.org/jetty http://eclipse.org/jetty/ - cometd.org http://cometd.org/ Expert advice, services and support from from the Jetty CometD experts On Fri, Jul 10, 2015 at 4:15 PM, Bill Ross r...@cgl.ucsf.edu mailto:r...@cgl.ucsf.edu wrote: I commented out all the timing-failure tests

[jetty-users] Getting JNDI/ db connection pool to work

2015-07-10 Thread Bill Ross
I have: - src/main/webapp/WEB-INF/web.xml ... resource-ref descriptionDataSource/description res-ref-namejdbc/pr/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref ... - src/main/webapp/WEB-INF/jetty-env.xml ?xml version=1.0

Re: [jetty-users] PathResource warn in 9.3

2015-07-10 Thread Bill Ross
that is. What was installed, where? Thanks, Bill On 7/8/2015 10:10 AM, Bill Ross wrote: Thanks! I tried that a few times, with varying timeout errors as the only thing running on a new machine. Here are two results. try 1 Results : Tests in error

Re: [jetty-users] PathResource warn in 9.3

2015-07-08 Thread Bill Ross
Tried a git pull and got only java changes in the last 5 days - still looks like a broken build -? Thanks, Bill On 7/3/2015 3:23 PM, Bill Ross wrote: I did a git pull of the current tree, changed the line, tried 'mvn compile' and got an error on Ant Plugin: [INFO

Re: [jetty-users] PathResource warn in 9.3

2015-07-08 Thread Bill Ross
) at org.eclipse.jetty.websocket.server.WebSocketCloseTest.testFastFail(WebSocketCloseTest.java:204) Thanks, Bill On 7/8/2015 12:53 AM, Jan Bartel wrote: Do mvn install at the top level. cheers Jan On 8 July 2015 at 17:45, Bill Ross r...@cgl.ucsf.edu wrote: Tried a git pull and got

Re: [jetty-users] PathResource warn in 9.3

2015-07-03 Thread Bill Ross
...@webtide.com mailto:joa...@webtide.com webtide.com http://www.webtide.com/ - eclipse.org/jetty http://eclipse.org/jetty/ - cometd.org http://cometd.org/ Expert advice, services and support from from the Jetty CometD experts On Fri, Jul 3, 2015 at 1:36 PM, Bill Ross r...@cgl.ucsf.edu mailto:r

[jetty-users] PathResource warn in 9.3

2015-07-03 Thread Bill Ross
It seems this is the first case of this warning on the web: 2015-07-02 13:16:57.019:WARN:oejur.PathResource:qtp1963387170-179: bad alias (java.lang.IllegalArgumentException) for null I'm not sure what to make of it. It is associated with a stutter in the user experience of loading pictures. I