On 10/19/10 10:42, Matt Tennant wrote:
Hi all,



My question today is about the Felix's Jetty bundle.  We ran across this
stack trace recently:



java.lang.NoSuchMethodError: java.lang.String: method

split(Ljava/lang/String;)[Ljava/lang/String; not found

     at
org.mortbay.jetty.HttpConnection$RequestHandler.parsedHeader(Unknown

Source)

     at org.mortbay.jetty.HttpParser.parseNext(Unknown Source)

     at org.mortbay.jetty.HttpParser.parseAvailable(Unknown Source)

     at org.mortbay.jetty.HttpConnection.handle(Unknown Source)

     at org.mortbay.jetty.bio.SocketConnector$Connection.run(Unknown
Source)



We are using the org.apache.felix.http.jetty-1.0.0 bundle, downloaded some
time ago from Felix.  Our JVM is Sun's PhoneME, which implements the
Connected Device Configuration (CDC).  CDC does not include a "split"
method on the String class, as you can see here:



http://download.oracle.com/javame/config/cdc/ref-impl/cdc1.1.2/jsr218/java
/lang/String.html



I've noticed that the latest version of the Jetty bundle is now 2.04.  I
plan to download it, and perhaps look over the code myself if necessary,
but does anyone know if this bundle is intended to be CDC-compatible?  Is
there any way to know which bundles are implemented to be CDC-compatible?

It seems as if this is a question for the Jetty folks, no?

-> richard



Thanks,

Matt



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to