I want to send mails from an modul. I have seen that the core provides an mail modul
and i think its a good way to reuse this modul.
But how to use it and where to settup?
The local.properties does not contain setup params for mail.
Can somebody give an example?
And is it possible to add
xdoclet 1.2.1 doesn't support jdbc-type and sql-type in jboss.target-relation tag.
Will xdoclet version 1.2.2 do this? Or does anybody know an xdoclet version which
support this?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847572#3847572
Reply to the post
I haven en error deploying the news module on mysql:
Created table 'nuke_news_topics' successfully.
| 2004-06-24 14:00:22,937 INFO
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.TopicEJB] Created index
'nuke_news_topics_idx0' on 'nuke_news_topics' success
| fully.
| 2004-06-24
Tested, looks pretty good.
Taking al look at the postgres and oracle properties shows me that the table names
there are false too. But i cant say if the statement ist wrong or false.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839847#3839847
Reply to the
The table name in the statement is nukes_news_topics an should be nuke_news_topics.
Here the patches:
Index: oracle8.properties
| ===
| RCS file: /cvsroot/jboss/nukes/build/etc/oracle8.properties,v
| retrieving revision 1.5
|
The Search funktion in the GroupModule always returns only exact matches of the
searchstring, ignoring the selected search method(Excat, Beginns with, Contains).
After looking in the code if found out that the search method sets the wildcards only
on default value. I think it should be
Have you tried to call the anchor with an url like this:
| a href=index.html?module=myModuleop=main#myAnchor
|
for anchor
| a name=myAnchor /
|
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839215#3839215
Reply to the post :
The View newest Post Button shows the newest Post in the forum, not in the topic.
I think i have found the solution for this problem:
Index: PostEJB.java
| ===
| RCS file:
Hmm, i will try to explain.
You must go to a forum which has new Posts for you.
For each topic in this Forum which has new Posts for you, you will find an icon left
beside the topic headline. A click on this should bring you to the newest post of this
topic, but it doesn`t.
View the
After making a complete new install i can`t replyto a post anymore.
I tougth this has something to do with the changes i made. After searching the code i
found
an bug in the Context.class
Index: Context.java
| ===
| RCS file:
jae,
you have added nukes.pk-constraint to the properties files for the database, but you
forgott to use this property in your build script.
I think change the build.xml like this will fix it:
target name=configure unless=configure.disable
|
| property name=jndi-root value=nukes/news/
Can you please post the generated jbosscmp-jdbc.xml?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833889#3833889
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833889
Postgresql doesn't support auto-increment tag.
You must change sql-type to SERIAL.
| /**
| * Returns the id
| * @return the id
| *
| * @ejb.persistent-field
| * @ejb.persistence
| * column-name=id
| * sql-type=SERIAL
| * jbdc-type=INTEGER
| * @ejb.pk-field
| *
Howard,
take a look at the news module. The setting for pk-constraint is declared there in the
build file
, so there ist no need to do it manually in each EJB. Only problem is, the changes
only occur when making clean build.
Next step is to make these settings in the database specific
I think you have the wrong mapping in jbosscmp-jdbc.xml
it must look like this:
| ?xml version=1.0 encoding=UTF-8?
| !DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.2//EN
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd;
|
| jbosscmp-jdbc
|defaults
|
Sorry, wrong code, mapping must be mySQL
?xml version=1.0 encoding=UTF-8?
| !DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.2//EN
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd;
|
| jbosscmp-jdbc
|defaults
| datasourcejava:NukesDS/datasource
|
I have an error while compiling daily snapshot:
| ==
| ==
| == Executing 'most' in module 'bb'...
| ==
| ==
|
| generate-classes:
| [mkdir] Created dir: /home/troos/nukes/nukes-snapshot/bb/output/gen/classes
How to define sql-type and jdbc-type with xdoclet in relations?
The result should look like this:
| ejb-relation
| ejb-relation-nameAccount - Profile/ejb-relation-name
|
| ejb-relationship-role
|
You must set pk-constraint to true for mysql to fix the problem with creating the
tables.
I have done it manually in the jbosscmp-jdbc.xml and it works fine.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833012#3833012
Reply to the post :
19 matches
Mail list logo