0 Replies Latest reply on May 19, 2008 3:54 AM by zlatko josic

    JBoss and Eclipse

    zlatko josic Newbie

      Hi,

      I use jboss-4.2.2 and jboss-messaging-1.3, jms is removed from server.
      When I start server from console everything works fine but when i start server from eclipse IDE I got this :

      17:07:42,920 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.2-CS/server/telebet/deploy/jbossws.sar/
      org.jboss.deployment.DeploymentException: Error parsing meta data file:/C:/jboss-4.2.2-CS/server/telebet/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml; - nested throwable: (java.lang.NullPointerException)
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
      at org.jboss.deployment.SchemaBindingSimpleSubDeployerSupport.parseMetaData(SchemaBindingSimpleSubDeployerSupport.java:57)
      at org.jboss.kernel.deployment.jboss.JBossBeanDeployer.parseMetaData(JBossBeanDeployer.java:94)
      at org.jboss.deployment.SimpleSubDeployerSupport.init(SimpleSubDeployerSupport.java:88)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      .........
      ........
      ........
      ........
      Caused by: java.lang.NullPointerException
      at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.configureValueBindings(BeanSchemaBinding.java:1167)
      at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.init(BeanSchemaBinding.java:406)
      at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.getSchemaBinding(BeanSchemaBinding.java:243)




      Server is configured in eclipse as Java aplication, org.jboss.Main is main class and all jboss libs are added to classpath.


      Thanks for any help.