Hi Chad!

I am also very confused about which build of the samples I have to use
with which version of JBoss.
I used the JBoss 3.2.1 first which produced some strange errors and
after downloading some JARs from Apache it
nearly worked, but some EJB probably are not deployed.
JBoss 3.2.3 brings a totally different error message:
NoSuchMethodError (see below)
Can you maybe tell me, which libraries you adjusted?
And do you have the same AndroMDA build
(car-rental-sample-ejb-app-3.0M1.ear)?

Thanks
Thorsten

----------

Problem starting service
jboss.j2ee:jndiName=ejb/org.andromda.samples.carrental.contracts/Reserva
tion/Local,service=EJB
java.lang.NoSuchMethodError:
org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bc
el/generic/Type;S)Lorg/apache/bcel/generic/Instruction;
        at
org.jboss.proxy.compiler.ProxyImplementationFactory.createProxyMethod(Pr
oxyImplementationFactory.java:319)
        at
org.jboss.proxy.compiler.ProxyCompiler.getCode(ProxyCompiler.java:167)
        at
org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:66)
        at
org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:76)
        at
org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:603)
        at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:78)
        at
org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>
(JDBCCreateBeanClassInstanceCommand.java:62)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassI
nstanceCommand(JDBCCommandFactory.java:123)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCSt
oreManager.java:463)
        at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.j
ava:388)
        at
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.
java:152)
        at
org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
.java:976)
        at $Proxy14.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:394)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy31.start(Unknown Source)
        at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
        at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
.java:976)
        at $Proxy14.start(Unknown Source)
        at
org.jboss.system.ServiceController.start(ServiceController.java:394)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy12.start(Unknown Source)
        at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
        at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
        at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
        at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
        at
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy6.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc
anner.java:302)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan
ner.java:476)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS
can(AbstractDeploymentScanner.java:201)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loo
p(AbstractDeploymentScanner.java:212)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run
(AbstractDeploymentScanner.java:191)
 


-----Ursprungliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Chad
Brandon
Gesendet: Mittwoch, 23. Juni 2004 16:00
An: MaboMail; [EMAIL PROTECTED]
Betreff: Re: [Andromda-user] androMDA comile error on metametafacade


You're welcome..I'm glad it working.  We've tested it
on jboss-3.2.3, you may have to adjust the libs some
in the samples to get them working in any jboss
version below that.   It should work with jboss-3.2.4
as well (however, we haven't tested it and you'll have
to remove the JSP precompilation in the animal-quiz/web/maven.xml since
jboss-3.2.4 comes bundled with tomcat 5 and tomcat 5 precompiled JSP is
not compatible with tomcat 4 precompiled JSP).

Chad

--- MaboMail <[EMAIL PROTECTED]> wrote:
> Hello Chad!
> Thanks for your help!
> I download the src from sourceforge and i deploy it
> with maven....now all it running!
> 
> I have another question:
> wich version of jboss i must to use?
> Now i use jboss3.2.1 but i modify all entru of commons_logging1.0.3 
> with commons_logging_1.0.4! It is correct?
> Can i us another version of jboss?
> 
> Thanks Matteo
> 
> *********** REPLY SEPARATOR  ***********
> 
> On 23/06/2004 at 5.24 Chad Brandon wrote:
> 
> >Try doing this:
> >
> >Delete your %USERPROFILE%/.maven directory (this
> >contains your local maven repository), delete any
> >maven-andromda-plugin* files that exist in your %MAVEN_HOME%/plugins 
> >directory.
> >
> >Download the source distribution of M1 from here:
>
>http://sourceforge.net/project/showfiles.php?group_id=73047&package_id=
>117392&release_id=236214.
> >Extract the distribution, cd to andromda-all, and
> type
> >"maven"...and it should build.
> >
> >Chad
> >
> >--- MaboMail <[EMAIL PROTECTED]> wrote:
> >>
> >> I do not understand!!!!!!!!!!!
> >> I execute "cvs checkout -r V3_0M1 " so i suppose
> >> that i had the V3_0M1.
> >>
> >> I'd like to install andromda....
> >> Can you tell me where i can find a complete and
> >> correct document for download, deploy and run
> >> andromda and the examples?
> >> And all the version compatibility with the server
> >> (jboss, hybernate) and all the jar
> (commons-beans,
> >> commons-utils...)
> >>
> >> Thanks Matteo!
> >>
> >> *********** REPLY SEPARATOR  ***********
> >>
> >> On 22/06/2004 at 19.08 Chad Brandon wrote:
> >>
> >> >Hmm it looks like you aren't running M1, but M2,
> >> because the
> >> >PluginDiscoverer is in M2 (if you look at the
> log
> >> output below)?
> >> >
> >> >----- Original Message -----
> >> >From: "MaboMail" <[EMAIL PROTECTED]>
> >> >To: <[EMAIL PROTECTED]>
> >> >Sent: Tuesday, June 22, 2004 12:36 PM
> >> >Subject: Re: [Andromda-user] androMDA comile
> error
> >> on metametafacade
> >> >
> >> >
> >> >
> >> >Hello CHad, thanks for your mail
> >> >I read the document and i download  and install
> >> again androMDA!
> >> >I obtain the same errror! :(
> >> >I obtain the code with cvs :"cvs checkout -r
> V3_0M1
> >> andromda-all (in
> >> >directory F:\work\extcvs)"
> >> >so the version is V3_0M1
> >> >
> >> >18:28:02,217 INFO  [PluginDiscoverer] found
> >> cartridge --> 'meta'
> >> >18:28:04,982 INFO  [andromda] Input model -->
> >>
>
>>'jar:file:F:\work\extcvs\andromda-all\cartridges\andromda-bpm4struts/s
>>rc/uml
> >>
>
>>/BPM4StrutsMetafacadeModel.xml.zip!/BPM4StrutsMetafacadeModel.xml'
> >> >org.netbeans.lib.jmi.util.DebugException: JAR
> entry
> >> >UMLMetafacadeModel.xml.zip not found in
> >>
>
>>F:\work\extcvs\andromda-all\cartridges\andromda-bpm4struts\src\uml\BPM
>>4Strut
> >> >sMetafacadeModel.xml.zip
> >> >
> >> >
> >> >Thanks Matteo!
> >> >
> >> >
> >> >*********** REPLY SEPARATOR  ***********
> >> >
> >> >On 22/06/2004 at 7.54 Chad Brandon wrote:
> >> >
> >> >>Matteo,
> >> >>
> >> >>What version are you using?  If you're building
> >> from
> >> >>CVS, see:
> >>
>
>>>http://team.andromda.org/tiki/tiki-index.php?page=AndroMDA+From+Scrat
>>>ch..
> >> >>
> >> >>
> >> >>Chad
> >> >>
> >> >>--- MaboMail <[EMAIL PROTECTED]> wrote:
> >> >>> Hello,
> >> >>> i download andromada-all from cvs site and i
> try
> >> to
> >> >>> compile it with maven dist, i obtain this
> error:
> >> >>>
> >> >>> 15:04:23,601 INFO  [andromda] Input model -->
> >> >>>
> >>
>
>>>'jar:file:F:\work\extcvs\andromda-all\cartridges\andromda-meta/src/um
>>>l/Meta
> >>
> >MetafacadeModel.xml.zip!/MetaMetafacadeModel.xml'
> >> >>> org.netbeans.lib.jmi.util.DebugException: JAR
> >> entry
> >> >>> UMLMetafacadeModel-3.0M2-SNAPSHOT.xml.zip not
> >> found
> >> >>> in
> >> >>>
> >>
>
>>>F:\work\extcvs\andromda-all\cartridges\andromda-meta\src\uml\MetaMeta
>>>facade
> >> >Model.xml.zip
> >> >>>         at
> >> >>>
> >>
>
>>>org.netbeans.lib.jmi.xmi.XmiContext.readExternalDocument(XmiContext.j
>>>ava:90
> >> >0)
> >> >>> ....
> >> >>> ....
> >> >>>
> >> >>> and before i had this error
> >> >>>
> >> >>> test:test:
> >> >>>     [junit] Running
> >> >>>
> org.andromda.core.metafacade.MetafacadeBaseTest
> >> >>>     [junit] Tests run: 2, Failures: 0,
> Errors:
> >> 2,
> >> >>> Time elapsed: 0,453 sec
> >> >>>     [junit] [ERROR] TEST
> >> >>>
> org.andromda.core.metafacade.MetafacadeBaseTest
> >> >>> FAILED
> >> >>>     [junit] Running
> >> >>>
> >>
> org.andromda.metafacades.uml14.MetafacadeFactoryTest
> >> >>>     [junit] Tests run: 1, Failures: 0,
> Errors:
> >> 1,
> >> >>> Time elapsed: 0,531 sec
> >> >>>     [junit] [ERROR] TEST
> >> >>>
> >>
> org.andromda.metafacades.uml14.MetafacadeFactoryTest
> >> >>> FAILED
> >> >>>
> >> >>>
> >> >>> into the file MetaMetafacadeModel.xml.zip
> where
> >> was
> >> >>> not
> UMLMetafacadeModel-3.0M2-SNAPSHOT.xml.zip,
> >> >>> inside there was only
> >> MetaMetafacadeModel.xml.zip!
> >> >>> Where i can find the correct MetaMetafacadeModel.xml.zip?
> >> >>>
> >> >>> Thanks Matteo Bordin
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>
> >>
>
>>>-------------------------------------------------------
> >> >>This SF.Net email sponsored by Black Hat
> Briefings
> >> & Training.
> >> >>Attend Black Hat Briefings & Training, Las
> Vegas
> >> July 24-29 -
> >> >>digital self defense, top technical experts, no
> >> vendor pitches,
> >> >>unmatched networking opportunities. Visit
> >> www.blackhat.com
> >> >>_______________________________________________
> >> >>Andromda-user mailing list [EMAIL PROTECTED]
> >>
>
>>>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
>
>>-------------------------------------------------------
> >> >This SF.Net email sponsored by Black Hat
> Briefings
> >> & Training.
> >> >Attend Black Hat Briefings & Training, Las Vegas
> >> July 24-29 -
> >> >digital self defense, top technical experts, no
> >> vendor pitches,
> >> >unmatched networking opportunities. Visit
> >> www.blackhat.com
> >> >_______________________________________________
> >> >Andromda-user mailing list [EMAIL PROTECTED]
> >>
>
>>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >> >
> >> >
> >> >
> >>
>
>>-------------------------------------------------------
> >> >This SF.Net email sponsored by Black Hat
> Briefings
> >> & Training.
> >> >Attend Black Hat Briefings & Training, Las Vegas
> >> July 24-29 -
> >> >digital self defense, top technical experts, no
> >> vendor pitches,
> >> >unmatched networking opportunities. Visit
> >> www.blackhat.com
> >> >_______________________________________________
> >> >Andromda-user mailing list [EMAIL PROTECTED]
> >>
>
>>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >>
> >>
> >>
> >>
> >>
> >>
>
>-------------------------------------------------------
> >> This SF.Net email sponsored by Black Hat
> Briefings &
> >> Training.
> >> Attend Black Hat Briefings & Training, Las Vegas
> >> July 24-29 -
> >> digital self defense, top technical experts, no
> >> vendor pitches,
> >> unmatched networking opportunities. Visit
> >> www.blackhat.com _______________________________________________
> >> Andromda-user mailing list
> >> [EMAIL PROTECTED]
> >>
>
>https://lists.sourceforge.net/lists/listinfo/andromda-user
> >>
> >
> >
> >
>
>-------------------------------------------------------
> >This SF.Net email sponsored by Black Hat Briefings
> & Training.
> >Attend Black Hat Briefings & Training, Las Vegas
> July 24-29 -
> >digital self defense, top technical experts, no
> vendor pitches,
> >unmatched networking opportunities. Visit
> www.blackhat.com
> >_______________________________________________
> >Andromda-user mailing list [EMAIL PROTECTED]
>
>https://lists.sourceforge.net/lists/listinfo/andromda-user
> 
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas
> July 24-29 -
> digital self defense, top technical experts, no
> vendor pitches,
> unmatched networking opportunities. Visit
> www.blackhat.com
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend
Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to