Hrm... that could be the problem I ran into earlier when trying to test out
the website (it couldn't load jive classes).
How did the jetty plugin load classes before the RH work was commited?
Has the jetty/plugin or the jetty architecture changed?
--jason
On Thu, 6 Sep 2001, Julian Gosnell wrote:
> I'm trying to sort out Jetty with RH at the moment.
>
> When I deploy some SOAP services that work perfectly on 2.4/Jetty, they fail to
> find SOAP classes in WEB-INF/lib
>
> I haven't tracked it down yet,
>
> No, you're not crazy....
>
>
>
> Jules
>
>
> David Maplesden wrote:
>
> > I am getting some odd behaviour with the loading of classes since marc's RH
> > changes and after spending a couple of days testing things out and trying to
> > convince myself I'm not going mad I've nearly given up trying to figure out
> > whats going on.
> >
> > I basically want to know if anyone else is getting any of these (seemingly
> > unrelated) problems and and/or whether anyone else knows if I am just plain
> > doing things wrong. None of these problems occur with pre-RH JBoss 2.5.
> >
> > 1) The DefaultDS DataSource throws an SQLException "No suitable driver" when
> > I try to get a connection even though it seems to initialise correctly and
> > the jdbcProvider successfully loaded the org.hsql.jdbcDriver.
> >
> > Snippets from log...
> >
> > [JdbcProvider,INFO] Initializing
> > [JdbcProvider,INFO] Loaded JDBC-driver:org.hsql.jdbcDriver
> > [JdbcProvider,INFO] Initialized
> >
> > followed by...
> >
> > [DefaultDS,INFO] Starting
> > [DefaultDS,INFO] Started
> >
> > and finally...
> >
> > [JDBCManagedConnectionFactory-1,ERROR] Unable to create ManagedConnection:
> > javax.resource.ResourceException: Unable to create DB connection
> > (url=jdbc\:HypersonicSQL\:hsql\://localhost\:1476, user=sa:
> > java.sql.SQLException: No suitable driver
> > at
> > org.jboss.pool.connector.jdbc.JDBCManagedConnectionFactory.createManagedConn
> > ection(JDBCManagedConnectionFactory.java:245)
> > at
> > org.jboss.pool.connector.ManagedConnectionPoolFactory.createObject(ManagedCo
> > nnectionPoolFactory.java:62)
> > at org.jboss.pool.ObjectPool.createNewObject(ObjectPool.java:991)
> > at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:657)
> > at
> > org.jboss.pool.connector.SharedLocalConnectionManager.allocateConnection(Sha
> > redLocalConnectionManager.java:104)
> > at
> > org.jboss.pool.connector.jdbc.JDBCDataSource.getConnection(JDBCDataSource.ja
> > va:79)
> >
> > 2) Originally Jetty failed every time it tried to compile a jsp page because
> > it can't find the javax.servlet.* classes, even though I had them in the
> > lib/ext directory (in javax.servlet.jar) along with everything else. Then I
> > added the javax.servlet.jar as a standard extension to my jdk and now it
> > can't find some of the jasper classes, although it finds others. The error
> > message below comes from a jasper class because it can't find another jasper
> > class, even though they are both in the same jar file! Jetty also serves
> > servlets fine.
> >
> > [Jetty,WARN] Servlet Exception for /demo/jsp/hello.jsp
> > org.apache.jasper.JasperException: JASPER: Unable to compile class for
> > JSPC:\DOCUME~1\dmap\LOCALS~1\Temp\JettyContext34026.tmp\_0002fjsp_0002fhello
> > _0002ejsphello_jsp_0.java:12: Package org.apache.jasper.runtime not found in
> > import.
> > import org.apache.jasper.runtime.*;
> > ^
> > C:\DOCUME~1\dmap\LOCALS~1\Temp\JettyContext34026.tmp\_0002fjsp_0002fhello_00
> > 02ejsphello_jsp_0.java:14: Class org.apache.jasper.JasperException not found
> > in import.
> > import org.apache.jasper.JasperException;
> > ^
> > C:\DOCUME~1\dmap\LOCALS~1\Temp\JettyContext34026.tmp\_0002fjsp_0002fhello_00
> > 02ejsphello_jsp_0.java:17: Superclass jsp.HttpJspBase of class
> > jsp._0002fjsp_0002fhello_0002ejsphello_jsp_0 not found.
> > public class _0002fjsp_0002fhello_0002ejsphello_jsp_0 extends HttpJspBase {
> > ^
> > 3 errors
> >
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:249)
> > at
> > org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:448)
> > at
> > org.apache.jasper.servlet.JasperLoader12$1.run(JasperLoader12.java:160)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at
> > org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:156)
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:419)
> > at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> > rvlet.java:151)
> > at
> > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> > va:163)
> > at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:307)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> > com.mortbay.Jetty.Servlet.ServletHolder.handle(ServletHolder.java:488)
> > at
> > com.mortbay.Jetty.Servlet.ServletHandler.handle(ServletHandler.java:389)
> > at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:972)
> > at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:927)
> > at com.mortbay.HTTP.HttpServer.service(HttpServer.java:674)
> > at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:701)
> > at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:864)
> > at
> > com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:107)
> > at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:294)
> > at
> > com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:613)
> > at java.lang.Thread.run(Thread.java:484)
> > getRootCause():
> >
> > Any thoughts, or am I beyond help.
> >
> > David
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development