----- Forwarded message from Michael Forster <[EMAIL PROTECTED]> -----

I am ripping my hair out here,

I have a jar file full of ejb's deployed on a test server fine, everything
works as it should.

I now want to deploy it to the live server - Everything is configured the
same - the same JVM installed mysql in the background and I literally copy
en toto the whole openejb stricture to the live server,

I run the server up, the system activates and comes to full readiness.
It does not respond to requests from the Tomcat server on another machine.
I have several small errors that occur even on the old jar file (the same sw
basically but with some new files added in the appropriate areas but not
currently called)

With the first one when tomcat calls it calls for an instance of the
SessionManagerBean
a Stateless Session bean which acts as a facade to the rest of the beans.

When I try to get the session bean Tomcat complains with a Cannot get
/SessionManagerBean

Open EJB complains with

WARN :  The following method doesn't have a transaction policy assigned:
public abstract com.ingotz.j2ee.ejb.SessionManager
com.ingotz.j2ee.ejb.SessionManagerHome.create() throws
java.rmi.RemoteException,javax.ejb.CreateException
ERROR:  The bean instances business method encountered a system
exception:object is not an instance of declaring class
java.lang.IllegalArgumentException: object is not an instance of declaring
class
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.createEJ
BObject(CastorCMP11_EntityContainer.java:803)
        at
org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.invoke(C
astorCMP11_EntityContainer.java:521)
        at org.openejb.server.EjbDaemon.doEjbHome_CREATE(EjbDaemon.java:728)
        at org.openejb.server.EjbDaemon.processEjbRequest(EjbDaemon.java:539)
        at org.openejb.server.EjbDaemon.run(EjbDaemon.java:374)
        at java.lang.Thread.run(Thread.java:536)


and nothing gets served

I have not changed the config files from the previous build (which worked)
and as I said this build while complaining about log4j config not being
exactly correct works fine on the test server.

Can anyone point me in the right direction as I am rapidly becoming bald as
this issue continues


Michael Forster

Ingotz International Inc.
Tel: 07005006216
Fax: 07005006217

This email (and any attachments) is for the addressee only. It is
confidential and protected by copyright, any opinions/information are those
of the author and not Ingotz International. Ingotz accepts no responsibility
for loss or damage (including by viruses) due to it's use. Ingotz reserves
the right to monitor emails with the lawful business practice regulations
2000.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.620 / Virus Database: 399 - Release Date: 11/03/2004



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

----- End forwarded message -----

Reply via email to