Why not hack it? It is just Java code. I have the hack for both Hivemind 1.0 as 1.1, if you are interested at all.

Simon Buettner wrote:

Thanx for your answers. But i need a solution that is not a "hack" and i need to
run it on 10g Release 2 (10.1.2)


-----Ursprüngliche Nachricht-----
Von: Jan Vissers [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. Oktober 2005 11:30
An: Simon Buettner; [email protected]
Betreff: RE: tapestry hivemind oc4j

Yep, we've seen this before. At the moment you have at least two
options.
- Use OC4J 10.1.3 (a preview edition), which would resolve the issue
- Modify hivemind so it can deal with the restrictions set by OC4J
   (Try "Google" to get details as to how)

Hope this helps
-J.

---- Original Message ----
From: [EMAIL PROTECTED]
To: [email protected]
Subject: RE: tapestry hivemind oc4j
Date: Tue, 18 Oct 2005 11:00:17 +0200

I tried to deploy a simple tapestry application on an oracle ias
(10).
Deploying works fine but i get this hivemind exception:

org.apache.hivemind.ApplicationRuntimeException: Error: unknown
protocol: jndi


      at
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler
.jav
a:39)


      at
org.apache.hivemind.impl.XmlModuleDescriptorProvider.processResource
(Xml
ModuleDescriptorProvider.java:182)


      at
org.apache.hivemind.impl.XmlModuleDescriptorProvider.getModuleDescri
ptor
s(XmlModuleDescriptorProvider.java:158)


      at
org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProv
ider
(RegistryBuilder.java:161)


      at
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryB
uild
er.java:143)


      at
org.apache.tapestry.ApplicationServlet.constructRegistry(Application
Serv
let.java:271)


      at
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:
212)
      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplicatio
n.ja
va:2354)


      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplicatio
n.ja
va:4795)


      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpA
ppli
cation.java:2821)


      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequ
estH
andler.java:680)


      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.ja
va:2
24)


      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.ja
va:1
33)


      at com.evermind[Oracle Application Server Containers for
J2EE
10g
(10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(Rel
easa
bleResourcePooledExecutor.java:192)


      at java.lang.Thread.run(Thread.java:534)


Caused by: org.apache.hivemind.ApplicationRuntimeException: unknown
protocol: jndi


      at
org.apache.hivemind.util.URLResource.getResourceURL(URLResource.java
:73)
      at
org.apache.hivemind.impl.XmlModuleDescriptorProvider.processSubModul
es(X
mlModuleDescriptorProvider.java:199)


      at
org.apache.hivemind.impl.XmlModuleDescriptorProvider.processResource
(Xml
ModuleDescriptorProvider.java:178)


      ... 13 more


Caused by: java.net.MalformedURLException: unknown protocol: jndi


      at java.net.URL.<init>(URL.java:544)


      at java.net.URL.<init>(URL.java:434)


      at java.net.URL.<init>(URL.java:383)


      at
org.apache.hivemind.util.URLResource.getResourceURL(URLResource.java
:63)
      ... 15 more


I read about hacks checking urls for jindi and replace them but this
cant be the solution.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--


*Cumquat Information Technology*
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)10 - 6940499
http://www.cumquat.nl <http://www.cumquat.nl/>

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
M +31 6 22 384 318


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to