Re: [Modelj-user] Re: Setting up jboss & mysql
Status: Beta
Brought to you by:
tom_tessier
|
From: James M. <jmi...@ap...> - 2004-02-02 13:08:29
|
On Mon, 2 Feb 2004, Neil Earnshaw wrote: Interesting.......you know, thinking back, I seem to remember a discussion on the JBoss list about that file not being used anymore, but I could be wrong. > I changed this: > > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR(255) BINARY</sql-type> > </mapping> > > in $JBOSS_HOME/server/default/conf/standardjaws.xml to this > > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>VARCHAR(255)</sql-type> > </mapping> That's what I usually do as well. > > which didn't seem to change anything, then this > > <mapping> > <java-type>java.lang.String</java-type> > <jdbc-type>VARCHAR</jdbc-type> > <sql-type>BINARY</sql-type> > </mapping> > > and got the same error again. > > Do I need to: > regenerate the sample app? No > take the whole line out? No > take VARCHAR(255) out? No > take BINARY out? No > > Looking for the plot, It seemed that removing the extra 'BINARY' string from the xml file worked for me before (that was probably when JBoss actually used it.......not sure) I downloaded, generated and ran the latest distribution "as is" form sf.net on JBoss3.2.2/Tomcat4.1.24 and it worked fine for me. Sorry, wish I could be of more help. > > -Neil > > -- > > Neil Earnshaw > Consultant Software Engineer > Object Software Engineers Ltd > ne...@os... > Tel : 01747 850 676 > Mbl : 07793 084 161 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Modelj-user mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modelj-user > -- James Mitchell Software Developer / Struts Evangelist http://www.struts-atlanta.org |