[JBoss-user] [EJB 3.0] - Help required using sybase ASE 12.5 with ejb3 trailer

2006-01-10 Thread fire-fly
Hi there
I had a sybase database call db_name. An user call cokanew which alias to dbo. 
The user was test via isql login and able to create and drops table.

It was also tested using jisql.jar.

The $JBOSS_HOME/server/default/deploy/sybase-ds.xml is:-


  
jdbc/SybaseDB



jdbc:sybase:Tds:genesis:5000/db_name?JCONNECT_VERSION=6
com.sybase.jdbc2.jdbc.SybDataSource

cokanew
abc123

org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter




  
  
 Sybase
  
  




The EJB3/dd/persistance/persistance.xml is :-





  cal
  java:/jdbc/SybaseDB
  

   
  




The error message:-
The error message:-

2006-01-10 17:37:54,376 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] 
Unsuccessful: create table fund (id int identity not null, name varchar(255) 
null, growthrate double precision not null, primary key (id))
2006-01-10 17:37:54,376 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] 
Identity field 'id' must be a numeric with a scale of 0 and not null allowed.

2006-01-10 17:37:54,376 DEBUG [org.hibernate.tool.hbm2ddl.SchemaUpdate] create 
table investor (id int identity not null, name varchar(255) null, startAge int 
not null, endAge int not null, primary key (id))

.
.
.
2006-01-10 17:38:30,887 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0}
2006-01-10 17:38:30,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/EJB3Trail].[jsp]]
 Servlet.service() for servlet jsp threw exception
javax.ejb.EJBException: null; CausedByException is:
could not execute query
at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134)


I try both jConnect-5_5 and jConnect-6_0, both has the same error.

Please help.
Thanks in advance.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916618#3916618

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916618


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB3 Trailblazer with MySQL ( ERROR [org.hibernate.tool.hbm

2005-12-25 Thread fire-fly
Hi 
I tried changing the database to Mysql. I keeping the error,
 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] could not get database metadata
java.sql.SQLException: Table 'information_schema.system_sequences' doesn't 
existat com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2988)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2917)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:824)

Please help. 

I am using mysql-connector-java-3.1.12-bin.jar, on Fedora4 machine. jvm version 
"1.5.0_06"

My /mysql-ds.xml :-





  
MySqlDS
jdbc:mysql://antims.com:3306/cokadb
com.mysql.jdbc.Driver
coka
123123

org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter


   mySQL

  


My persistance.xml:-




  cal
  
  java:/MySqlDS
  

  



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914295#3914295

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914295


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: schema updates with mysql-connector-java-3.1.11-bin.jar

2005-12-22 Thread fire-fly
hi
I am using mysql-connector-java-3.1.12-bin.jar but having the same problem


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913949#3913949

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913949


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Error when deploying dukes bank application

2005-02-23 Thread fire-fly
Hi
I got the same the problem.
you mentioned " I screwed up the unzip of the guide into the tutorial's 
directory structure."

my j2eetutorial is in srcCode/j2eetutorial14.
cd srcCode/j2eetutorial14
unzip jbossj2ee-src.zip

which directory you purpose to unzip jbossj2ee-src.zip
??



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867568#3867568

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867568


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: InitialContext(JNDI) not found

2004-11-18 Thread fire
Which JDK do you use??
Could it be, that you have installed different Versions??
Check in Console with:
java -version
If Environment-Variable JAVA_HOME is set to a different version of JDK as 
Eclispe uses, this should be the Problem!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855583#3855583

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855583


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - TransactionRollback

2004-11-18 Thread fire
IÂve got 2 CMP-EntityBeans with a simple CMR.
Im using them with many Clients over jnp and the RemoteInterface of a 
SessionBean.
Transactions are set to required and Transaction Isolation Level is set to 
READ_COMMITED.
The Problem is, that some Clients get a TransactionRollbackException, because 
an other Client hast deleted an requested Entity.
In a Transaction this shoudnÂt occur!!
Can anyone help me??

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855581#3855581

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855581


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user