[kaffe] Problem with Jetty

Syed Mudasir ahmed mudasir_1975 at yahoo.com
Wed Nov 5 05:28:02 PST 2003


hi, 
   i am try to set up jetty web server
when i run the following command i get the following
error
--------------- Error ---------------
kaffe -jar start.jar etc/demo.xml
18:51:06.389 EVENT  Checking Resource aliases
18:51:09.937 EVENT  Starting Jetty/4.2.x
18:51:09.988 EVENT  Started
org.mortbay.http.NCSARequestLog at 877a15c
18:51:10.233 EVENT  Started
ServletHttpContext[/cgi-bin]
18:51:10.307 EVENT  Started ServletHttpContext[/demo]
18:51:10.579 EVENT  Started
WebApplicationContext[/examples,Tomcat Examples]
18:51:10.582 EVENT  ContextListener:
contextInitialized()
18:51:10.585 EVENT  SessionListener:
contextInitialized()
18:51:10.947 EVENT  ContextListener:
attributeAdded('javax.servlet.context.tempdir',
'/tmp/Jetty__8080__examples')
18:51:11.270 EVENT  Started
ServletHttpContext[/javadoc]
18:51:11.479 EVENT  setStatsOn true for
WebApplicationContext[/jetty,Jetty Demo]
18:51:11.494 EVENT  Started
WebApplicationContext[/jetty,Jetty Demo]
18:51:11.734 EVENT  Started
WebApplicationContext[/,Jetty Demo Root]
18:51:11.806 EVENT  Started SocketListener on
0.0.0.0:8080
18:51:11.809 EVENT  Started AJP13Listener on
0.0.0.0:8009
18:51:11.810 EVENT  NOTICE: AJP13 is not a secure
protocol. Please protect the port 0.0.0.0:8009
18:51:11.812 EVENT  Started
org.mortbay.jetty.Server at 83710dc
kaffe-bin: exception.c:306: dispatchException:
Assertion `!intsDisabled()' failed.
Aborted
-------------- End of error --------------

Can some one give me a pointer about this
thanks in advance
Syed Mudasir Ahmed

--- kaffe-request at kaffe.org wrote:
> Send kaffe mailing list submissions to
> 	kaffe at kaffe.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> or, via email, send a message with subject or body
> 'help' to
> 	kaffe-request at kaffe.org
> 
> You can reach the person managing the list at
> 	kaffe-admin at kaffe.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of kaffe digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: some IPv6-related problem? (Ito Kazumitsu)
>    2. Mysql  Trouble! (caioli)
>    3. List of wanted test hardware? (S.
> Meslin-Weber)
>    4. Re: some IPv6-related problem? (Ito Kazumitsu)
>    5. Re: some IPv6-related problem? (Ito Kazumitsu)
>    6. Re: some IPv6-related problem? (Guilhem
> Lavaux)
>    7. kaffe Threads (Syed Mudasir ahmed)
>    8. kaffe Threads (Syed Mudasir ahmed)
> 
> --__--__--
> 
> Message: 1
> From: Ito Kazumitsu <kaz at maczuka.gcd.org>
> To: Guilhem Lavaux <guilhem at kaffe.org>,
> kaffe at kaffe.org
> Subject: Re: [kaffe] some IPv6-related problem?
> Date: Tue, 04 Nov 2003 01:26:27 +0900
> 
> >>>>> ":" == Guilhem Lavaux <guilhem at kaffe.org>
> writes:
> 
> :> Then, I don't see why addr should fail except
> that sizeof(addr) should 
> :> be exactly equal to sizeof(struct sockaddr_in).
> What happens if you put 
> :> sizeof(struct sockaddr_in) instead of
> sizeof(addr) ?
> 
> Partially succeded.  At least "server = new
> ServerSocket(tryport)"
> was successful.
> 
> bash-2.05b$ java SoTimeout
> Success 1.
> Failure java.io.IOException: KCONNECT: Invalid
> argument
> java.net.SocketTimeoutException: Accept timed out
>    at gnu.java.net.PlainSocketImpl.socketAccept
> (PlainSocketImpl.java)
>    at gnu.java.net.PlainSocketImpl.accept
> (PlainSocketImpl.java:51)
>    at java.net.ServerSocket.implAccept
> (ServerSocket.java:332)
>    at java.net.ServerSocket.accept
> (ServerSocket.java:307)
>    at SoTimeout.main (SoTimeout.java:63)
> Failure:   Time out.
> 
> The server seems to be using IPv4 address but
> "new Socket(InetAddress.getByName(null), port)" may
> use an IPv6
> address?
> 
> 
> --__--__--
> 
> Message: 2
> From: "caioli" <caioli at www.infstudio.it>
> To: kaffe at kaffe.org
> Date: Mon, 3 Nov 2003 03:49:41 +0200
> Subject: [kaffe] Mysql  Trouble!
> 
> Hi,
> i'm trying to use Mysql from kaffe with my yopy pda
> using mysql connector
> 3.0.8. My java software find mysql driver, but can't
> connect to
> mysql database.
> Of course, there is no firewall on that pda and the
> privileges are ok, port 
> 3306 is open.
> If i use mysql -h host from the same pda or from an
> other pc in the network,
> mysql client works fine, both connecting to mysql
> server running on the pda 
> or on an other pc. I think the trouble is in kaffe,
> anyone can help me?
> Just for record, i tried to connect to a mysql
> server on an other pc from 
> kaffe, with the same result...
> Best regards.
> 
>        Stefano.
> 
> 
> --
> Open WebMail Project (http://openwebmail.org)
> 
> 
> 
> --__--__--
> 
> Message: 3
> To: Kaffe Mailing List <kaffe at kaffe.org>
> From: "S. Meslin-Weber" <twiun at adorphuye.com>
> Date: Mon, 03 Nov 2003 17:47:46 -0000
> Subject: [kaffe] List of wanted test hardware?
> 
> Hi everyone,
> 
> After a chat in #kaffe on freenode, I wondered if we
> could have a list of=
> =20
> wanted test hardware up on kaffe.org - from the
> smallest to largest devic=
> e.
> 
> Thanks,
> 
> Steph
> 
> 
> 
> --__--__--
> 
> Message: 4
> From: Ito Kazumitsu <kaz at maczuka.gcd.org>
> To: Guilhem Lavaux <guilhem at kaffe.org>,
> kaffe at kaffe.org
> Subject: Re: [kaffe] some IPv6-related problem?
> Date: Tue, 04 Nov 2003 07:35:23 +0900
> 
> >>>>> "*" == Ito Kazumitsu <kaz at maczuka.gcd.org>
> writes:
> 
> >>>>> ":" == Guilhem Lavaux <guilhem at kaffe.org>
> writes:
> 
> :> Then, I don't see why addr should fail except
> that sizeof(addr) should 
> :> be exactly equal to sizeof(struct sockaddr_in).
> What happens if you put 
> :> sizeof(struct sockaddr_in) instead of
> sizeof(addr) ?
> 
> *> Partially succeded.  At least "server = new
> ServerSocket(tryport)"
> *> was successful.
> 
> *> Failure java.io.IOException: KCONNECT: Invalid
> argument
> 
> *> The server seems to be using IPv4 address but
> *> "new Socket(InetAddress.getByName(null), port)"
> may use an IPv6
> *> address?
> 
> No, "new Socket(InetAddress.getByName(null), port)"
> also used
> AF_INET and not AF_INET6.
> 
> By changing
>   KCONNECT(fd, (struct sockaddr*)&addr,
> sizeof(addr), timeout)
> to
>   KCONNECT(fd, (struct sockaddr*)&addr,
> sizeof(struct sockaddr_in), timeout)
> the regression test SoTimeout succeeded.
> 
> 
> --__--__--
> 
> Message: 5
> From: Ito Kazumitsu <kaz at maczuka.gcd.org>
> To: Guilhem Lavaux <guilhem at kaffe.org>,
> kaffe at kaffe.org
> Subject: Re: [kaffe] some IPv6-related problem?
> Date: Tue, 04 Nov 2003 07:52:40 +0900
> 
> >>>>> ":" == Guilhem Lavaux <guilhem at kaffe.org>
> writes:
> 
> :> Then, I don't see why addr should fail except
> that sizeof(addr) should 
> :> be exactly equal to sizeof(struct sockaddr_in).
> What happens if you put 
> :> sizeof(struct sockaddr_in) instead of
> sizeof(addr) ?
> 
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




More information about the kaffe mailing list