-
1. Re: CMP Docu: example does not deploy with 3.2.1
mdiener May 7, 2003 5:03 AM (in response to mdiener)Solved:
The documentation ships with an old version of this example.
I found a newer version in
http://prdownloads.sourceforge.net/jboss/JBoss.3.0TemplateAndExamples.zip
Works fine: no errors no warning, tests passed ... -
2. Re: CMP Docu: example does not deploy with 3.2.1
dotat May 22, 2003 12:25 AM (in response to mdiener)i found that it doesn't work with the Mysql database.
You have to change the cmp-field:
<cmp-field>
<field-name>description</field-name>
<column-name>desc</column-name>
<not-null/>
</cmp-field>
to
<cmp-field>
<field-name>description</field-name>
<column-name>description</column-name>
<not-null/>
</cmp-field>
in jbosscmp-jdbc.xml.
this is because "desc" is a reserved word in MySQL.
[note: i found this out doing a google search when i encountered the problem. just posting here so people who come here looking into the problem can find it here.] -
3. Re: CMP Docu: example does not deploy with 3.2.1
donovan Jun 6, 2003 7:18 AM (in response to mdiener)Hi - I have tried the example code - but during the build process it tells me that it can't find some of the classes (about 65) errors.
For example:
import test.interfaces.TestSession;
import test.interfaces.TestSessionHome;
Is there something that I am doing wrong?
regards
donovan (donovan@intrasolutions.co.za)
--------------------------------------------------- -
4. Re: CMP Docu: example does not deploy with 3.2.1
aamstutz Jun 18, 2003 4:20 AM (in response to mdiener)Sounds like JBOSS_HOME environment variable hasn't been set.
Executing the following shell command
echo $JBOSS_HOME
or
echo %JBOSS_HOME%
should display the location path of your jboss dist.
Executed on my box:
echo $JBOSS_HOME
/usr/local/jboss/Jboss-3.2.1 -
5. Re: CMP Docu: example does not deploy with 3.2.1
rouvi Dec 12, 2003 3:27 PM (in response to mdiener)I downloaded it today, but it doesn't contain the examples described in the document JBossCMP, chapter 6.
Any new version concerning this chapter ? The examples sent with the documentation don't work out of the box."mdiener" wrote:
Solved:
The documentation ships with an old version of this example.
I found a newer version in
http://prdownloads.sourceforge.net/jboss/JBoss.3.0TemplateAndExamples.zip
Works fine: no errors no warning, tests passed ...