Weird.  It seems like you're doing things correctly.  Are you following the
instructions on the site?  I ask so that I can attempt to reproduce the
error.


Regards,
Alan

-----Original Message-----
From: Benjamin Sugars [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 1:17 PM
To: [EMAIL PROTECTED]
Subject: [OpenEJB-user] Grief attempting to embed in Tomcat


Greetings,

I've been attempting to embed OpenEJB in Tomcat as per the docs, 
but I'm having a hard time (remote server works OK).

The problem seems to be that the handler for the "resource:"
protocol does not get installed.  The exception being thrown is:

  java.net.MalformedURLException: unknown protocol: resource
          at java.net.URL.<init>(URL.java:475)

I poked around in the source a bit, and the
JarUtils.setHandlerSystemProperty() method which (I think) is
supposed to install the handler is definitely being called, but
to no avail.

I've tried starting Tomcat with
    -Djava.protocol.handler.pkgs=org.openejb.util.urlhandler
but that doesn't work either.

Any hints would be greatly appreciated.  I'm using OpenEJB-0.8
final, Tomcat 4.0.4, JDK 1.3.1_04 on Linux.

Cheers,
-Ben

-- 
Benjamin Sugars <[EMAIL PROTECTED]>





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to