The security integration tests fail for this release bundle, so its not a
valid distribution. I'll look at updating the release to run with the 2.4.4
beta this weekend.

[starksm@banshee build]$ ant -buildfile run_tests.xml -Dtestcase=web
run-testcase
Buildfile: run_tests.xml

run-testcase:
    [junit] Running org.jboss.test.web.test.TestWebIntegration
    [junit] Found warDeployer named: :service=Jetty
    [junit] Deploying: jbosstest-web.ear...Done
    [junit] Invokded flushAuthenticationCache(other)
    [junit] Try #1
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/restricted/SecureServlet
    [junit] HttpClient.reponse = HTTP/1.1 500 Internal Server Error
    [junit] responseCode=500, response=Internal Server Error
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 500 Internal Server Error</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 500 Internal Server Error</H2>
    [junit] java.lang.ClassCastException:
java.lang.String<P>RequestURI=/jbosstest/restricted/SecureServlet
    [junit]
    [junit]
    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/ClientLoginServlet
    [junit] HttpClient.reponse = HTTP/1.1 200 OK
    [junit] responseCode=200, response=OK
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/EJBOnStartupServlet
    [junit] HttpClient.reponse = HTTP/1.1 200 OK
    [junit] responseCode=200, response=OK
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/EJBServlet
    [junit] HttpClient.reponse = HTTP/1.1 200 OK
    [junit] responseCode=200, response=OK
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/ENCServlet
    [junit] HttpClient.reponse = HTTP/1.1 200 OK
    [junit] responseCode=200, response=OK
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/restricted/include_ejb.jsp
    [junit] HttpClient.reponse = HTTP/1.1 500 Internal Server Error
    [junit] responseCode=500, response=Internal Server Error
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 500 Internal Server Error</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 500 Internal Server Error</H2>
    [junit] java.lang.ClassCastException:
java.lang.String<P>RequestURI=/jbosstest/restricted/include_ejb.jsp
    [junit]
    [junit]
    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/restricted/SecureEJBAccess
    [junit] HttpClient.reponse = HTTP/1.1 500 Internal Server Error
    [junit] responseCode=500, response=Internal Server Error
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 500 Internal Server Error</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 500 Internal Server Error</H2>
    [junit] java.lang.ClassCastException:
java.lang.String<P>RequestURI=/jbosstest/restricted/SecureEJBAccess
    [junit]
    [junit]
    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Try #1
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/restricted/SecureServlet
    [junit] HttpClient.reponse = HTTP/1.1 500 Internal Server Error
    [junit] responseCode=500, response=Internal Server Error
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 500 Internal Server Error</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 500 Internal Server Error</H2>
    [junit] java.lang.ClassCastException:
java.lang.String<P>RequestURI=/jbosstest/restricted/SecureServlet
    [junit]
    [junit]
    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Connecting to:
http://jduke:badpass@localhost:8080/jbosstest/restricted/SecureServlet
    [junit] HttpClient.reponse = HTTP/1.1 401 Unauthorized
    [junit] responseCode=401, response=Unauthorized
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 401 Unauthorized</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 401 Unauthorized</H2>
    [junit] <P>RequestURI=/jbosstest/restricted/SecureServlet
    [junit]
    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Connecting to:
http://localhost:8080/jbosstest/restricted/SecureServlet
    [junit] HttpClient.reponse = HTTP/1.1 401 Unauthorized
    [junit] responseCode=401, response=Unauthorized
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 401 Unauthorized</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 401 Unauthorized</H2>
    [junit] <P>RequestURI=/jbosstest/restricted/SecureServlet
    [junit]

    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/snoop.jsp
    [junit] HttpClient.reponse = HTTP/1.1 200 OK
    [junit] responseCode=200, response=OK
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/UnsecureEJBAccess
    [junit] HttpClient.reponse = HTTP/1.1 200 OK
    [junit] responseCode=200, response=OK
    [junit] Try #1
    [junit] Connecting to:
http://jduke:theduke@localhost:8080/jbosstest/other/restricted/test
    [junit] HttpClient.reponse = HTTP/1.1 500 Internal Server Error
    [junit] responseCode=500, response=Internal Server Error
    [junit] <HTML>
    [junit] <HEAD>
    [junit] <TITLE>Error 500 Internal Server Error</TITLE>
    [junit] <BODY>
    [junit] <H2>HTTP ERROR: 500 Internal Server Error</H2>
    [junit] java.lang.ClassCastException:
java.lang.String<P>RequestURI=/jbosstest/other/restricted/test
    [junit]
    [junit]
    [junit] </BODY>
    [junit] </HTML>
    [junit]
    [junit] Tests run: 14, Failures: 5, Errors: 0, Time elapsed: 10.602 sec
    [junit] TEST org.jboss.test.web.test.TestWebIntegration FAILED

BUILD SUCCESSFUL

Total time: 13 seconds
[starksm@banshee build]$

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Scott Sanders" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 1:13 PM
Subject: [JBoss-dev] (no subject)


> I just downloaded the latest (JBoss-2.4.3_Jetty-3.1.3-1.zip) and
> installed it yesterday.  I had previously set JBoss/Tomcat (2.2, I
> think) with my webapp, and I wanted to update to the latest.  I setup my
> webapp (a war file) and datasources (I am using the Database
> authentication).
>
> I started JBoss and everything deploys correctly.  Trying to view a
> protected resource in my webapp, I am asked to authenticate, I login
> with my username and password, and I get a classcast exception (String
> instead of Principal).  I just saw Scott Stark comment on a bug report
> saying that an older Jetty did not pass the Principal object, but
> barring RH, I believe I am running the latest JBoss/Jetty distro.
>
> What can/should I do to get this working?
>
> Also another question, I was looking for the documentation that I had
> previously consulted to get JBoss/Tomcat running, and the documentation
> on the website talks about RH, which is completely different
> (datasources, etc).  Where can I find documentation for 2.4?
>
> Thanks in advance,
> Scott Sanders
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to