-----Ursprungligt meddelande-----
Fr�n: Tom Cook [mailto:[EMAIL PROTECTED]]
Skickat: Thursday, September 14, 2000 1:25 PM
Till: jBoss
�mne: Re: [jBoss-User] MBean client problems
Still on the track of it... I've written a stateless session bean to
connect to the MBean. This bean just has one business method, getKey()
which looks up the MBean and gets a string from it. When I deploy this
bean...
[Auto deploy] Auto deploy of file:/D:/jboss/deploy/kmtest.jar
[Container factory] Deploying:file:/D:/jboss/deploy/kmtest.jar
[Container factory] D:\jboss\tmp\deploy
[Container factory] Loading ejb-jar.xml :
jar:file:/D:/jboss/tmp/deploy/tmpejbjar65535.jar!/META-INF/ejb-jar.xml
[Container factory] Loading standardjboss.xml :
jar:file:/D:/jboss/lib/ext/jboss.jar!/org/jboss/metadata/standardjboss.xml
[Verifier] Verifying file:/D:/jboss/tmp/deploy/tmpejbjar65535.jar
[Verifier] KeyManagerTest: Verified.
[Container factory] Deploying KeyManagerTest
[Container factory] Container Invoker Optimize='false'
[Container factory] java.lang.ClassNotFoundException: class
org.jboss.security.EJBSecurityManagerDefaultImpl
[Container factory] java.lang.ClassNotFoundException: class
org.jboss.security.SimpleRealmMapping
[Container factory] java.lang.ClassNotFoundException: class
org.jboss.tm.TxManager
[Container factory] No resource manager found for jdbc/WebFootDB
[Container factory] Bound KeyManagerTest to KeyManagerTest
[Container factory] Deployed application:file:/D:/jboss/deploy/kmtest.jar
Note in particular the ClassNotFoundExceptions. Then, when I go to
connect to it with a (very) simple client:
java.lang.NoClassDefFoundError: org/jboss/system/SecurityAssociation
at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericProxy
.java:57)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:217)
at $Proxy0.create(Unknown Source)
at KeyManagerBeanTestClient.main(KeyManagerBeanTestClient.java:13)
Am I missing a JAR file or something? This is the 2.0BETA-PROD
released this afternoon (local time) and installed with the windows
InstallShield thingy with the broken Done button...
Tom
--
Tom Cook - Software Engineer
"We rarely find that people have good sense unless they agree
with us."
- Francois, Duc de la Rochefoucauld
LISAsoft Pty Ltd - www.lisa.com.au
--------------------------------------------------
38 Greenhill Rd. Level 3, 228 Pitt Street
Wayville, SA, 5034 Sydney, NSW, 2000
Phone: +61 8 8272 1555 Phone: +61 2 9283 0877
Fax: +61 8 8271 1199 Fax: +61 2 9283 0866
--------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]