Hello,
I get a NoClassDefFoundError on the generated code when I try to use a normal
listbox.
I have added an incoming/outgoing Collection to a page and added the following
dummycode:
Collection labelList = new Vector();
Collection valueList = new Vector()
[EMAIL PROTECTED] wrote:
I wasn't saying you did :)
(end of quote)
And I wasn't saying you were saying I did :D
Just mentioning that ANY error could cause someone to loose some hair, and the
cleaner the project, the more it will be adopted. I've found AndroMDA to have
a VERY steep l
Chad:
One thing that I noticed is that although there were error the build says that
it was successful.
Also hibernate specific configuration is in the project.xml file at the project
level. However the project.xml in the core directory is very thin and does not
include any database config
build:start:
core:
build:start:
ejb:init:
java:prepare-filesystem:
java:compile:
[echo] Compiling to C:Documents and SettingsOwnertestspringcartridgecore
/target/classes
[echo]
==
NOTE: Targetting JVM 1.4, classes
I'm trying to model something like this:
ToDoList (1) ---> (0..*) ToDoEntry
and I want "ToDoEntry" to be ordered (i.e. use the Hibernate List mapping).
I've added two tagged values to the association end near "ToDoEntry":
a. @andromda.hibernate.collection.type=list
b. @andromda.hi
Quote:
Believe it or not, I DON'T run to this forum and ask a question for every
quesiton I have.
(end of quote)
I wasn't saying you did :)
Feel free to submit a patch that handles it in a "cleaner" way, I really
haven't had anyone else complain about it so I didn't know was an issue.
--
Yes, technically I got my tables OK, but as a newbie, I was thrown by the error
messages. Believe it or not, I DON'T run to this forum and ask a question for
every quesiton I have. Instead, I TRY to figure things out for myself. All in
all, I spent probably an hour on this one issue, only to
Your issue sounds similar to this:
http://galaxy.andromda.org/forum/viewtopic.php?t=134&highlight=uml+namespace
(try what I describe in that post). This issue no longer occurs in the latest
by the way (3.1-RC1-SNAPSHOT)...seems it was a bug in MDR (what we use to load
the models).
--
Chad Br
Hi,all
I don't know wether here is the right place to post this topic. If not, don't
kick me :-).
I had been using MagicDraw9.5 and andromda-3.0-RC1 for several weeks,
everything run smoothly. A few days ago, I found a new version
andromda-3.0-final, and I updated to this new version. In Mag
Great..no problem...glad its finally working.
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2471#2471
Posting to http://forum.andromda.org/ is preferred ove
Quote:
BTW - is the "process" of using AndroMDA really that one should run maven
drop-schema before ever "re-creating" it? If so, dis-regard the "one could
comment out" comment above.
(end of quote)
Yep...its assumed you would run "drop-schema" before running "create-schema"
again.
It
Chad -
I think I know what is going on now. This may be a small bug. If the maven
andromdapp:generate cartridge were modified so that the above section had this
instead
match="^(alter table .* drop constraint|alter table .* drop foreign
key|drop table)"
(notice I added |alter tab
OK, it's working. Issue closed - thanks for the assistance on this.
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2468#2468
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-
I just did, and it looks like AndroMDA is the culprit! From core/maven.xml:
So, it looks like the "DROP TABLE" is getting commented out on purpose. Anyone
know the reason?
_
Reply to the post : http://galaxy.andromda.org/forum/v
By Hibernate: take a look at the core/maven.xml
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2466#2466
Posting to http://forum.andromda.org/ is preferred o
Problem solved (I think)...
It appears that the FIRST ENTRIES in the schema-create.sql lines are ALTER
TABLE ... DROP FOREIGN KEY...[i]. If the database is being created for the
first time, the tables obviously don't exist, thus the errors.
Running maven create-schema a SECOND time result
Path length would be a good guess, but my project is being built and deployed
on a Linux box. I will email Chad a zipped copy of the project.
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2464#2464
Posting to http:/
remember it's not only the class length, but also the path to the .ear + the
.war inside + WEB-INF/classes
I noticed moving my jboss installation closer to the root of the drive would
often solve the problem (at least for some classes), mind you, I was using
precompiled JSPs .. not WS stuff
yeah, unfortunately even a minor issue can block an entire project .. if you're
also learning Maven, Spring, AndroMDA or whatever then I guess it's pretty hard
to figure things out and at the end you lose some time
we do what we can to make it easier for people .. but we're only 2 frequent
c
OK - I've been trying to get a demo project created with AndroMDA using mySQL,
and was getting stuck at maven create-schema. For the benefit of others, here
is what I had to do...
FIRST thing I learned: you have to install the mySQL JDBC driver on JBoss
according to these directions
(http:/
Paste the output of your build when you type: "maven core".
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2459#2459
Posting to http://forum.andromda.org/ is
If you generate an application with the andromdapp maven plugin and choose the
war option, you should get an app that has all the dependencies bundled in the
war, in order to bundle dependencies yourself, you'll need to add:
true
to the depend
when i was switching my testing from jboss to tomcat, i noticed that it wasnt
able to find the dependencies, despite them being referenced in
core/project.xml. so i had to go into the repository and put the jar files on
common/lib under tomcat. it seemed like some jar files get pulled into
web
After all the changes, still no sql is being generated. I have compiled the mda
folder as well as the whole project. All class files are generated, but there
are no sql files.
Any thoughts.
_
Reply to the post : http://galaxy.andromd
What did you fix?! I'm struggling with the same issues right now. You are
asking the same questions I am, so whatever you found out would be helpful!
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2455#2455
Posting
Hmm strange...if you want to send me your project as a zip, I'll build it and
try it out here. The only time I've had things happen like that (meaning the
class was there but jboss or something said it couldn't find it), was when the
name was too long (windows has a 256 character limit on the
Wouter,
Thanks for the jboss tip.
Chad,
The com.cisco.step.commitarch.service.CommitServiceWSDelegator class is present
in my -core.jar. So somehow Axis isn't seeing it.
Regards,
Andrew
_
Reply to the post : http://galaxy.andromda
Ok I found a solution (), seems you need to set the userTransaction to null on
the JtaTransactionManager in order for the regular transaction manager to be
used (don't know why spring isn't smart enough to auto-detect this), I added
the ability to set this in the spring cartridge (next continou
Just as an update - I downloaded the latest snapshot, re-generated the project,
and it now works. It looks like indeed there was some missing items from the
generated project with the version I was using.
Just as an FYI - I had gone back to the NON-snapshot version on your advice due
to a d
Quote:
it isn't just some misconfiguration on my part?
(end of quote)
Nope, same thing happens to me as well when I try to connect remotely.
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the post : http://galax
Thanx for temporary work-around - it (using localTransactionManager) is working.
I understand that you've managed to replicate this problem - it isn't just some
misconfiguration on my part?
_
Reply to the post : http://galaxy.andromda.org
Take a look at these javadocs, as of 1.2 the user JNDI transaction manager is
resolved automatically:
http://static.springframework.org/spring/docs/1.2.x/api/org/springframework/transaction/jta/JtaTransactionManager.html
And as you've seen, its resolving it fine when spring is initialized fro
I'm not very much proficient in JBoss internals but one thing came across while
I was trying to fix this problem:
exceptions thrown in JBoss by spring are mentioning UserTransaction not being
bound - while in JBoss configuration files (and JMX-console) I find only
CLIENTUserTransaction - is
I'm trying to resolve it (haven't had much time today), but hopefully will
resolve it soon. In the meantime, comment out the "dataSource" namespace
property (from the "spring" namespace) and use the local datasource properties
by defining the following in the spring namespace as well:
on JBoss side? If so - could anybody me give URL with some
instructions/examples?
TIA
Wojtek
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2444#2444
Posting to http://forum.andromda.org/ is preferred over posting
Does ANYONE use remote connection to service generated with AndroMDA
3.1-RC1-SNAPSHOT?
I've made an experiment - made clear appliaction, added one service and two
<> and still - TransactionManager is not being created if called from
remote application... ANY solution/advice? I am stuck with
Hey Andrew,
Check and make sure you have that class
"com.cisco.step.commitarch.service.CommitServiceWSDelegator" in your -core.jar...it should be generated to your core/target/src directory
and then packaged in that core jar.
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
__
akinard wrote:
After successfully building my small EAR project, copying the *.ear to my JBoss
deploy directory, ...
(end of quote)
just a small sidenote here, if you open/create your build.properties, either in
the root of your project or in your home directory, you can include the
follow
Hey Brian,
Actually the name inside the mappings file isn't significant for merging (only
when used for mapping types, like the JavaMappings.xml, etc). You say you're
trying to merge in new templates...are you using the mergeLocation as well to
specify the location of these new templates?
I am using AndroMDA v. 3.1-RC1-SNAPSHOT, JBoss 4.0.1sp1, and Axis 1.2.1.
After successfully building my small EAR project, copying the *.ear to my JBoss
deploy directory, and sucessfully running java
org.apache.axis.client.AdminClient
webservice/target/src/WEB-INF/server-config.wsdd, I get t
I'm trying to merge some more Velocity templates into Spring, but it seems to
ignore the contents of the filename I set for the mergeMappingUri.
I'm using AndroMDA 3.1-M1.
In my project's andromda.xml file, in the "spring" namespace, I set file:${maven.conf.dir}/mappings/SpringMergeMappings
hmm .. it looks fine at first sight, although I would not use the stereotype
attributes in the cartridge descriptor, since you already specify them in the
metafacades.xml descriptor, so it's redundant
I'll take a closer look at it this evening .. and let you know if I find
anything
--
Wouter
With the OCL queries, you can currently only return one or more of the entities
from the entity that's the context (all OCL queries need to start with
allInstances() -> select() at the moment, for example:
Quote:
context
MedicalCertificate::findInvalidByPerson(personId:Long,da
Hi all,
I have a question on an OCL statement that was translated too simplistically:
I have two entities called "Instrument" and "Quote" and an OCL query
with the following query string:
context Instrument::findOrderedQuotes() :
Collection(Quote)
body: quotes->sortedBy(date)
"qu
Thank you.
I went through jBoss doc and will set up everything today.
Alain
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2434#2434
Posting to http://forum.andromda.org/ is preferred over posting to the mailin
Great..thanks for filing the issue with No Magic. About the composite-id
support, see if you can possibly support that in a generic manner as well on
the Entity metafacade (that metafacade is defined in the UML metafacades, and
is where the current identifier support is maintained)...that way
Either upgrade to the last 3.1-R1-SNAPSHOT (I fixed that bug lasg night), or
change your criteria query to returna datatype::Collection instead of a
datatype::List.
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the
Sure :) Again make the default values namespace properties as well if you
have time.
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2431#2431
Posting to h
We could actually generate the spring service locator to a module like that (as
well as remote client configuration for spring)
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
_
Reply to the post : http://galaxy.andromda.org/for
I get the following error message:
C:Documents and SettingsOwnertestspringcartridgecoretargetsrcorgpanacheP
LMpartCarDaoBase.java:324: incompatible types
found : java.util.Collection
required: java.util.List
return results;
I am using the andromda profile. The error is in t
hmm... ok, I take another example:
I want to generate an Exception for every <>, and every <>.
All exceptions should have the same structure, the difference is just the Name.
For getting the name I need some logic. (i.e. putting a suffix
"PersistenceException" or "ServiceException").
So,
Quote:
Sounds like you should report this to NoMagic.
(end of quote)
I have done that.
I assumed you also would want to know.
I have built andromda-src-3.1-M1.zip successfully because (obviously) modifying
AndroMDA's xml.zip files is unecessary for that. But, I am proceeding with my
it's not entirely clear to me what you are trying to do .. I mean, can't you
just construct the method/constructor signatures in the templates ?
it's also not technically correct to say that a stereotype maps to a facade,
not in your example anyway; what is going on is that you map an element
No more thoughts on how this _should_ be modelled? Should I go ahead and get a
patch ready that adds support for tagged values to specify the
(hibernate-specific :-)
discriminator column, type and value?
_
Reply to the post : http://gala
Hi @all,
we are gambling with the new AndroMDA. Now we try to map our old Helper-Classes
from AndroMDA 2.x to the new MetaFacades-concept.
We want to specify special Methods for each template on one stereotype. i.e.:
Stereotype: <>
Templates: EJBImpl and TransportObject
I want to gene
I think AndroMDA wouldn't need to generate anything in the core-client (it
could though), I would consider this a component where the user writes the
client manually .. in fact there could be more than one of these components (if
you have a complicated/distributable) application architecture
--
yup I will, in the meantime I've been thinking this through and I have a good
feeling about this feature, I don't think any major issues will popup
--
Wouter Zoons - [EMAIL PROTECTED]
http://www.andromda.org/
_
Reply to the post : http://ga
I meant "in the form" ... guess I was still half asleep :?
It seems like I cannot change it now, sorry :( Probably you could as an admin?
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2421#2421
Posting to http://fo
[EMAIL PROTECTED] wrote:
in that case it would be better to create a new component, let's say
core-client, which would have its own project.xml just like the core and all
the other components
that way it would be very easy to manage it, and have it produce an artifact
it would also be mor
great, and thanks for being verbose in the issue description.. I'm not sure
when I'll have time to start on it but probably one of the coming weekends, it
will not be in the 3.1-RC1 release, but most probably in one of the
RC2-SNAPSHOT releases (I have many other issues to implement :-) )
--
Wo
I filed the issue here:
_
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2418#2418
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-
this is not a Spring bug neither an AndroMDA bug, it is related to the way some
reflection APIs used at runtime (such as commons-bean) resolve members based on
the name
if the property name starts with a sequence of capitals the API gets confused,
the behavior is different from the one found
I had a problem that looks like a Spring bug, not an Andromda bug. An Entity
subclass was named URIAddressDao. At runtime there was this error:
org.springframework.beans.factory.access.BootstrapException: Unable to
initialize group definition. Group resource name
[classpath*:beanRefFactory.x
Hi all,
I have a question on an OCL statement that was translated too
simplistically:
I have two entities called "Instrument" and "Quote" and an OCL query
with the following query string:
context Instrument::findOrderedQuotes() : Collection(Quote)
body: quotes->sortedBy(date)
"quotes" is the r
64 matches
Mail list logo