0 Replies Latest reply on May 9, 2006 10:55 AM by Fogli Massimo

    freetts, include a new libreries

    Fogli Massimo Newbie

      Hi, sorry for my english,
      I have done a session stateless bean ejb3:
      An istruction generate a various problem, the istruction is:

      voiceManager = VoiceManager.getInstance();

      I have done a jar file for bean whit:
      lib/ -> THERE ARE THE LIBRERIES FREETTS
      classes/
      META-INF/ -> the file manifest.mf have got a line : "Class-Path:lib/*.jar"

      An external client call the bean, but the execute of "voiceManager = VoiceManager.getInstance();" generate errors, why?
      The errors are:

      [java] INCOMING
      [java] Exception in thread "main" javax.ejb.EJBException: java.lang.ArrayStoreException
      [java] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
      [java] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
      [java] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
      [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
      ...