Hi,

I'm afraid you will have to copy all relevant jar's into the cocoon's web-inf/lib when using Paranoid block.

Cheers,
Geert

Patrick Hess wrote:

Hi,

I have a problem with an existing and deployed Cocoon application based on 2.1.2 which is using EJB's in a Weblogic 7 server. When we deployed the application for the first time speed was fine. Now after 1.5 year users complained about the speed of the application. I checked with "ab" and found out that even static images took around 3000ms do be delivered to the client. Cocoon itself wrote into the logs that the request was handled in something 10-20ms (2nd ...nth request). After 3 days of searching and comparing with different snapshots of the application I found that this slowdown was caused by applying Weblogic 7 Service Pack 2. It seems to be related somehow to classpath issues because it works well with the ParanoidCocoonServlet (without SP / with SP2 / with SP6).

BUT: using the ParanoidCocoonServlet breaks the connection to the EJB, as soon as I switch to the paranoid servlet they are not accessible for the Cocoon application (used in Actions).

E.g.

Object homeObject = ctx.lookup ("...");
UserManagerHome userManagerHome = (UserManagerHome) PortableRemoteObject.narrow (homeObject, UserManagerHome.class);
userManager = userManagerHome.create();

... causes ClassCastException or ClassNotFoundException.


I'm not really good in the details of EJB but I was asking myself if the paranoid servlet completely "cuts" the connection to app servers classloader or if this mighty be related to some other misconfiguration in my setup.

Could somebody tell me if it is possible to use ParanoidCocoonServlet together with EJB? I guess I'm just missing something in this puzzle...
Maybe EJB's are just packed in wrong way? (EJB + Client JAR??)

Thanks you and have a nice day,
  Patrick


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



--
=====================================
NB: het Daidalos kantoor is sinds 22 april
jl. gevestigd op een nieuw adres:

Daidalos BV
Hoekeindsehof 1 - 4
2665 JZ Bleiswijk
tel: +31 (0)10 850 12 00
fax: +31 (0)10 850 11 99

Bovenstaand adres is tevens het postadres.
======================
[EMAIL PROTECTED]
IT-consultant at Daidalos BV

http://www.daidalos.nl/

GPG: 1024D/12DEBB50

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

Reply via email to