473,770 Members | 3,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

jBoss - mySQL problem

Hello everybody,

I've configured mySQL as datasource for JBoss. I've a problem, when JBoss
automaticaly generate a table for the bean. mySQL send an error. The fields
length is too long and a Blob field is attempted, the char field type is
limited to 255 characters and JBoss try to create a longuer field.

How can I do to pass over this error ?

Best regards

Thanks all
Jul 17 '05 #1
3 2520
Hello everybody,

I've found the solution to my problem. I'm stupid. A jbosscmp-jdbc.xml file
was present into my project directory and the database system specified in
this file was "Hypersonic ..."

Bernard Koninckx

"Bernard Koninckx" <ko************ *@excite.com> a écrit dans le message de
news: 3f************* **********@news .skynet.be...
Hello everybody,

I've configured mySQL as datasource for JBoss. I've a problem, when JBoss
automaticaly generate a table for the bean. mySQL send an error. The fields length is too long and a Blob field is attempted, the char field type is
limited to 255 characters and JBoss try to create a longuer field.

How can I do to pass over this error ?

Best regards

Thanks all

Jul 17 '05 #2
Hello everybody,

I've found the solution to my problem. I'm stupid. A jbosscmp-jdbc.xml file
was present into my project directory and the database system specified in
this file was "Hypersonic ..."

Bernard Koninckx

"Bernard Koninckx" <ko************ *@excite.com> a écrit dans le message de
news: 3f************* **********@news .skynet.be...
Hello everybody,

I've configured mySQL as datasource for JBoss. I've a problem, when JBoss
automaticaly generate a table for the bean. mySQL send an error. The fields length is too long and a Blob field is attempted, the char field type is
limited to 255 characters and JBoss try to create a longuer field.

How can I do to pass over this error ?

Best regards

Thanks all

Jul 17 '05 #3
Hello everybody,

I've found the solution to my problem. I'm stupid. A jbosscmp-jdbc.xml file
was present into my project directory and the database system specified in
this file was "Hypersonic ..."

Bernard Koninckx
"Bernard Koninckx" <ko************ *@excite.com> a écrit dans le message de
news: 3f************* **********@news .skynet.be...
Hello everybody,

I've found the solution to my problem. I'm stupid. A jbosscmp-jdbc.xml file was present into my project directory and the database system specified in
this file was "Hypersonic ..."

Bernard Koninckx

"Bernard Koninckx" <ko************ *@excite.com> a écrit dans le message de
news: 3f************* **********@news .skynet.be...
Hello everybody,

I've configured mySQL as datasource for JBoss. I've a problem, when JBoss automaticaly generate a table for the bean. mySQL send an error. The

fields
length is too long and a Blob field is attempted, the char field type is
limited to 255 characters and JBoss try to create a longuer field.

How can I do to pass over this error ?

Best regards

Thanks all


Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3587
by: Greg | last post by:
Hello... Our system uses JBoss 3.2 with MySQL. Part of the system is a stats collection process that fires as a TimerListener every 15 sec or so. It grabs some info and stuffs it into a database. Problem is that this part of the system is causing the VM to run out of memory and die. I put JProfiler on it and narrowed it down to the stats module and more
0
4388
by: Fadzi Ushewokunze | last post by:
hi guys... i am doing the eclipse-tomcat-jboss-mysql integration but i just cant get to see why jboss wont start properly; hes a snippet of the error i am getting: Starting deployment of package: file:/C:/jboss/server/default/deploy/mysql-service.xml 15:14:32,078 WARN Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from:
0
2890
by: Bernard Koninckx | last post by:
Hi everybody, I have some question about jBoss. First ------ If I would configure the data source into bean-side. Wich syntax from the bean descriptor have been used ? It's the correct syntax ? Or another syntax is more appropriated ?
0
1765
by: Bernard Koninckx | last post by:
Hello everybody, I've some problem to configure a mySql datasource from bean side. In the deployment descriptor for my bean. Could you help me to setup this features from a bean descriptor deplyment, please ? Thanks all Bernard KONINCK
0
2146
by: Ravage | last post by:
I'm sorry if this is a lame question but we are running JBoss and MySQL and have a webservice called certservice.wsr. We are using Jboss-Net and hence the reason for the wsr file. We do however want to offer this service to multiple clients and therefore use multiple databases so we can create an extra entry in the jboss-net-ds.xml file but how do we implement the java code to properly use the right data source. It seems as though our...
0
2254
by: Cruinne | last post by:
Hello, In a JBoss 3.2.4 server, I have deployed several enterprise javabeans (each as a separate .jar, not in an .ear bundle). These beans are completely self-contained, as they include all their needed dependencies inside the jar files (and have a reference to them in the Class-Path entry in their MANIFEST.MF). The problem shows when I want these beans to be scoped, this is, to have their own classloader inside JBoss and not use the...
0
1802
by: nuhu jibrin | last post by:
Good day all, Please, i can't compile my ejb classes in JBoss-4.0.5.GA or JBoss-4.0.2 after proper installation (because i can log on to the server via http://localhost:8080/ after using "run.bat" at the jboss bin directory, from windows DOS command-line). IN WINDOWS-XP, I USED THE TWO FOLLOWING COMPILERS DIFFERENTLY AT THE DOS COMMAND-LINE:
0
2000
by: Husey | last post by:
Hi, I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse. I keep getting the error message "An error has occurred. See error log for more details". Same for all versions of JBoss. I couldn't find what causes the error. Any help would be much appreciated. My installation is: JDK 1.5.0 update 11 Jboss 4.0.4GA Eclipse 3.2.2
1
2061
by: khatarnakkhatri | last post by:
java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169) at org.jnp.server.Main.initBootstrapListener(Main.java:354) at...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.