users
[Top] [All Lists]

JBoss deployment problem

To: "users@xxxxxxxxxx" <users@xxxxxxxxxx>
Subject: JBoss deployment problem
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxxxxx>
Date: Fri, 2 Mar 2007 15:23:27 -0500
Delivered-to: mailing list users@cinjug.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=MSmT9DnfJ1kTFEWMJNgPLMafiLrGj14JPjNGSweL1Kn2yeyaO9BvZJygdGFGKPHgOMJBwY/8Q+zOsblRZy0LS4lbXh5SJ/hgHMaoalUYON15+Xud0iQYPJuCM5TKY4F4RPzK21FRxu/VbOGZb9QwYWZnJAFYC7DkSGJJ/PMpKrk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=fouAqDHmXsrfxzLFTmo8dTZw38FWjOswTyFLvR3ZQoM07zoBzBx2/8SB0MIgxTYpY+BKDYPJTFpxaPuMAxflHiXQYibfgEQDOtl9C2bmIkCJ7eLnWuaBCtyFOHo24+6pjovkftvvOrWgEeSysiHrxqJbCy2Gq6pFVbltZJyvTHs=
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Reply-to: esumerfd@xxxxxxxxxxxxxx
Sender: esumerfd@xxxxxxxxx
I have a session bean deployed in my ear file that I can call from a
swing client but can not call from a jsp page.

The error is:

   "Invalid invocation, check your deployment packaging,
method=MyBean.create()"

myear.ear
-  bean.jar
-  mywar.war
-  -  my.jsp
-  -  WEB-INF/lib/bean.jar

Is there something that I am doing wrong, is it a JBoss bug. Any ideas?

Having debugged through JBoss it appears as though it is converting my
remote call into a local call so when it looks up the loaded bean
instance it is failing to compare my remote method with its local
method.

If I make a call to the local interface from the jsp page the methods
it compares are the same but the class loaders are different, so the
methods still don't compare.

Presumably this is because I have configured JBoss to run as a single
JVM and it is able to try the local call optimization.

--
Ed

<Prev in Thread] Current Thread [Next in Thread>
  • JBoss deployment problem, Edward Sumerfield <=