hi all,

I dunno if this should go to some specific list as this mostly concerns
zola. after some experimenting I managed to compile the jboss and zola from
the cvs (~2 hours ago). with some suggestions from the mailing list
MandelBrot example started running, but I have a couple of problems
regarding the other test beans from zola (assuming they should work with
jBoss 2.0)
1) after running the ShopingCartClient, and clicking on the 'connect to
ejboss server' menu item, I get an "Not able to get initial context" error
message, followed by the following exception:

----------------------------------------------------------------------------
-----
Executing ShoppingCartClient...
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jboss.nami
ng.spi.EjbossClientContextFactory.  Root exception is
java.lang.ClassNotFoundExc
eption: org.jboss.naming.spi.EjbossClientContextFactory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
        at javax.naming.InitialContext.init(Unknown Source)
        at javax.naming.InitialContext.<init>(Unknown Source)
        at
org.jboss.zol.shoppingcart.client.ShopClient.connect(ShopClient.java:
99)
        at
org.jboss.zol.shoppingcart.client.ShopClient.access$0(ShopClient.java
:92)
        at
org.jboss.zol.shoppingcart.client.ShopClient$1.actionPerformed(ShopCl
ient.java:75)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 <!--skipped-->
-----------------------------------------------------------------
it seems that org.jboss.naming.spi.EjbossClientContextFactory class is not
found. but I couldn't find it either. maybe this is some relic from ejboss
1.0?

another problem occurs trying to deploy the ShortPathCMP.jar:
------------------------------------------------------------------
[Container factory]
Deploying:file:/E:/projects/jboss/dist/deploy/ShortPathCMP.jar
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.jboss.ejb.Container.init(Container.java:221)
        at
org.jboss.ejb.StatefulSessionContainer.init(StatefulSessionContainer.java:95
)
        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:360)
[Container factory] Deploying ShoppingCartBean
[Container factory] No configuration chosen. Using default configuration
[Container factory] java.lang.ClassNotFoundException:
org.jboss.zol.shoppingcart.ShoppingCartHome
        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:98)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
        at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
        at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
        at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
        at java.lang.Thread.run(Unknown Source)
[Auto deploy] Deployment
failed:file:/E:/projects/jboss/dist/deploy/ShortPathCMP.jar
[Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
file:/E:/projects/jboss/dist/deploy/ShortPathCMP.jar,
Cause:java.lang.ClassNotFoundException:
org.jboss.zol.shoppingcart.ShoppingCartHome
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:411)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:98)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1635)
[Auto deploy]   at
javax.management.MBeanServer.invoke(MBeanServer.java:1501)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
[Auto deploy]   at java.lang.Thread.run(Unknown Source)
----------------------------------------------------------------------------
-----

in this case ShoppingCart.jar has already been successfully deployed
earlier. any suggestions are welcome 8-)

--andrius
Andrius Juozapaitis
~living source lietuva



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to