[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Unable to comit simple CMP field Why????

2005-11-21 Thread tiago_gaspar
Yes there is !!! Please, read my post more carefully "I can read it o'right, but when I try to change it, I get this at the end of the method". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908260#3908260 Reply to the post : http://www.jboss.com/index.html?

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL low performance

2005-11-21 Thread tsaari
Why do I need to optimize when I have a very default bean in default JBoss installation. I have not optimized the other A/S. Doesn't JBoss work at all without optimization? I tried changing the read-ahead settings in my jbosscmp-jdbc.xml, but that didn't have any impact to the performance. -Ta

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Unable to comit simple CMP field Why????

2005-11-21 Thread oglueck
You just need to read. The exception tells you: "Update failed. Expected one affected row: rowsAffected=0" There is just no such record that you are trying to update. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908236#3908236 Reply to the post : http://w

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ListenerInjector

2005-11-21 Thread axismundi
Meanwhile I upgraded to 4.0.3 and this is the result: 18:42:10,671 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.har:service=Hibernate | State: FAILED | Reason: org.jboss.deployment.DeploymentException: No

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL low performance

2005-11-21 Thread schrouf
Read the cmp2 documentation, especially topics about optimized loading... Regards Ulf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908230#3908230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908230 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL low performance

2005-11-21 Thread tsaari
If I enable CMP debug then I get tons of SQL queries just for one findAll finder call: 19:04:45,473 DEBUG [MyFooEntityBean] Executing SQL: SELECT xx_name, xx_address,... FROM xx_foo WHERE (xx_foo_id=?) | 19:04:45,504 DEBUG [MyFooEntityBean] Executing SQL: SELECT xx_name, xx_address,... FROM x

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ListenerInjector

2005-11-21 Thread axismundi
I just found out jboss 4.0.3SP1 has a jar called jboss-hibernate.jar that includes this IF. I wonder if it's necessary to upgrade to this JBoss release or if its also possible to patch 4.0.2 ? At least the docs (http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch13.html#ch13.config.table) r

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Syntax Error on Generated SQL

2005-11-18 Thread mburdman
Gracias Thanks!! with something like this my problem with the NOT EXISTS in Sybase was solved. XDoclet * @ejb.finder query="" * signature="java.util.Collection * findCabecerasById_cuenta(java.lang.Integer ointId_cuenta)" * *

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Container managed transactions not working for MDB

2005-11-18 Thread tpaterson
If I understand your post and your code correctly -- the problem seems to be to do with the ConnectionFactory you are using.. if you want your JMS message to be commited(send)/rolled-back as part of the CMP transaction -- you need to use the XA connection factory : java:/JmsXA .. otherwise the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP + MySQL + LONGBLOB

2005-11-16 Thread john_anderson_ii
Nevermind, I'm retarded. I found some of my code that was causing this behavior. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907484#3907484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907484 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why does this simple ejb-ql cause Jboss4.0.3 to complain

2005-11-16 Thread natgross
I thought I memorized the specs. It seems like I didn't:). Thank you much! -nat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907460#3907460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907460 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss 3.2.5 + spring + hsql /solved

2005-11-16 Thread MmarcoM
hello, i solved hte problem i was using the hsql jar that is in jboss lib directory. when i embedded it in my application, everything worked fine... thanks and regards marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907431#3907431 Reply to the p

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why does this simple ejb-ql cause Jboss4.0.3 to complain

2005-11-16 Thread oglueck
Hey, why don't you read the specs? All your questions are answered there. For the record: it's "field IS NULL" and no there is no way to have date/time constants. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907404#3907404 Reply to the post : http://www.j

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why does this simple ejb-ql cause Jboss4.0.3 to complain

2005-11-16 Thread nat101j
(Please excuse my 2 login profiles here. I had thought my original profile was lost. Different stations/browsers are keeping different logons/passwords, and keeping me busy!) -nat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907388#3907388 Reply to the po

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why does this simple ejb-ql cause Jboss4.0.3 to complain

2005-11-16 Thread nat101j
timeStart is a TimeStamp. So the only way for date-time types to be compared is via a parameter? Can I compare a date type (wether TimeStamp or sql.Date) with null, hardcoded? Like this: WHERE qqq.timeStart IS NULL or WHERE qqq.timeStart=null (I just checked the data itself, and have many cases

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Why does this simple ejb-ql cause Jboss4.0.3 to complain

2005-11-16 Thread oglueck
Is timeStart a string? If not, use a parameter to pass in a Date. If yes, the string constant should be in single quotes. And I doubt the Object cast is necessary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907347#3907347 Reply to the post : http://www.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL 5.0

2005-11-14 Thread anders.hedstrom
We use stored procedures that returns multiple resultsets, and when I upgrade the J/Connector to the latest one, the working code stop working. The multiple resultsets are not returned for some reason. Instead of trying to figure out why, we just use the version of J/Connector that we know wor

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL 5.0

2005-11-14 Thread bloodasp
Ok. Will start testing myself. May I know what differences? Thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907131#3907131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907131 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss checking wrong schema for table creation

2005-11-14 Thread lafr
Look at http://jira.jboss.org/jira/browse/JBAS-781. I encountered the same problem about two years ago. You'll have to use the work araound for now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907109#3907109 Reply to the post : http://www.jboss.com/index.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL 5.0

2005-11-14 Thread anders.hedstrom
We're using MySQL 5.0.15 and it works just fine. The only thing we've encountered is with the J/Connector, its behaives different between different versions. The version we're using is 3.1.7. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907048#3907048 Re

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ClassCastException: JDBCCMP1xFieldBridge

2005-11-10 Thread chrisbitmead
Ok, I found it. Darn that was hard to figure out. I had an ejb 1.0 DTD at the top of the ejb-jar xml, so it was getting confused between EJB 1 and EJB 2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906744#3906744 Reply to the post : http://www.jboss.com/i

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ClassCastException: JDBCCMP1xFieldBridge

2005-11-10 Thread chrisbitmead
Ok, I found it. Darn that was hard to figure out. I had an ejb 1.0 DTD at the top of the ejb-jar xml, so it was getting confused between EJB 1 and EJB 2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906739#3906739 Reply to the post : http://www.jboss.com/i

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Is there an equivalent annotation for composite-element

2005-11-10 Thread ajwhitney
An example is this collection of street addresses on a contact. The street address is marked as @Embeddable and has an owner property in addition to the regular address-related properties @OneToMany(targetEntity = StreetAddress.class, cascade = CascadeType.ALL) @IndexColumn(nam

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Timer was not registered with Tx

2005-11-10 Thread oglueck
I get the same warning. I am using container managed transactions in the bean and @TransactionAttribute(TransactionAttributeType.REQUIRED) on the timeout method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906543#3906543 Reply to the post : http://www.jb

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: jboss 3.2 to jboss 4.0 migration problem: requests execu

2005-11-07 Thread smikumo
Hey Fred, email me at [EMAIL PROTECTED] Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905816#3905816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905816 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: false row-name in sql-query

2005-11-04 Thread haschibaschi
First I'm sorry about the headline, should mean column-name. Ok, this was not a JBoss-problem, it was a XDoclet-problem. I added a Xdoclet-merge-file with the name jbosscmp-jdbc-Article.xml, where I added the left-join-statments. Unfortunatly, if you add this file you must also define the colum

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP and Transactions

2005-11-03 Thread sh_sadrai
I have the same problem. My first method that is REQUIRES_NEW creates a new object. second method that is REQUIRED retrieves some other objects from that obj like mypayment.getBookingID().getId(), but it is null. it seems session hasnt been flushed yet. How can I access my saved obj? View the or

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-11-02 Thread jbossChecker
Thanx again. Aufwiederschreiben! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905039#3905039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905039 --- SF.Net ema

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: NoSuchObjectLocalException: Entity not found: primaryKey

2005-11-02 Thread Bitman
Found my own answer: Foreign keys need to be nullable. JBoss considers zero a valid primary key, while 'null' means 'no relation here'. So if the foreign key field is a Java long (little L), the default value will be zero, and will crash. If it's a Long (big L), the default value is null, an

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMP and Transactions

2005-11-02 Thread lafr
I would not expect this. Because all beans but SessionBeanA have Transaction attribute set to Required they should run in the same db session. So the newly created record should be seen by the finder. When a finder is executed, all "dirty" EntityBeans are flushed to the database. View the origin

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error while trying to connect to a Oracle DB schema

2005-11-02 Thread lafr
Look at http://jira.jboss.org/jira/browse/JBAS-781 to see a work around for this problem. It is supposed to be fixed in JBoss 4.0.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905004#3905004 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Intermittent TransactionRollbackLocalExceptions

2005-11-02 Thread darretta
Sorry for the late response, dragon_jdh. I have not been monitoring this list There is nothing magical about the resolution. Essentially, we create beans that represent a user request to add or delete an entity in the system. If an administrator approves the add/delete, then the actual enti

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Intermittent TransactionRollbackLocalExceptions

2005-11-01 Thread cljhyjs
"darretta" wrote : Problem was resolved. There was business logic that was causing multiple beans to share a single ID. ???can you speak detail?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904788#3904788 Reply to the post : http://www.jboss.com/inde

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-11-01 Thread dnavas
I knew I'd figure it out as soon as I posted. hibernate.session_factory_name needs to be set in the persistence.xml file. BTW -- I agree with the original poster that your problem is very likely a ClassLoader issue of some kind. I'm not sure how the persistence layer glues the two pieces togethe

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-11-01 Thread dnavas
You're doing better than I am -- the updated JBoss release didn't help me, I'm still seeing a "hibernate not bound" message :( Undoubtedly some form of mis- configuration. I'm using hibernate "under" ejb3 and I'm trying to retrieve statistics so I can tune my one-to-many collection retrieval (wh

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Insert SQL on deploy

2005-11-01 Thread patrick_ibg
I'm seeing this problem on 4.0.3SP1 with PostgreSQL 8 and HSQL as well. I'm not sure if it's a Hibernate issue or a JBoss classloading issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904728#3904728 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Relationship (post-table-create)

2005-11-01 Thread dboeckli
i think this is a JBoss bug -> http://jira.jboss.com/jira/browse/JBAS-963 bug was mentioned first Thu Jun 20, 2002 00:00 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837631#3837631 now we have Nov 1, 2005 other occurence of this bug in the forum: http://www.jboss.org/index.html?modu

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Relationship (post-table-create)

2005-11-01 Thread dboeckli
in fact i can even write some garbage in the tag of the relationship definition, jboss doesn't care about. it is ignored and the of the first bean is taken. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904611#3904611 Reply to the post : http://www.jbos

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error while trying to connect to a Oracle DB schema

2005-10-31 Thread shreyas_s_shah
Did you get any response to this one .. I am also facing with tables for TIMERS and HILO ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904549#3904549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904549 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: @OneToMany Problem for the formal release (4.0.3) versio

2005-10-28 Thread [EMAIL PROTECTED]
Use the EJB3 forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904164#3904164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904164 --- This SF.Net email is spon

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: problem with byte data type in jboss 4.0.3+Ingres 3.0.1

2005-10-28 Thread Jonefun
I presume that your field "Password" is more than a single byte but an array of bytes. The mapping in 4.0.3 maps a Byte to a TinyInt and fails to convert your Byte[] into a series of TinyInts. If your password is an encrypted byte array then perhaps you could try mapping byte to a blob field or

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 - EJB 3.0 - Exception caused by UNIQUE const

2005-10-28 Thread Jonefun
Firstly a bit of background I have a Person entity that has a email property. The email property is marked as Unique to force an exception if two users attempt to register with the same email address. I have a tiered architecture with my presentation layer running on a web server (Tomcat) and m

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: problem with cmp byte data type mapping in jboss 4.0.3+I

2005-10-28 Thread grp_eee
We are really in urgent need of help to solve this issue. Any help on this would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904056#3904056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Timer was not registered with Tx

2005-10-27 Thread phillycheese
And what's even worse is that, the Timer doesn't fire for the next scheduled event. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903892#3903892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903892

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-27 Thread darranl
The version of the driver I have been using was 3.1.10 and I also tried 3.1.11 I was originaly using MySQL 4.1.10 but after correcting the JMS issue JBoss was lockin up for me so I upgraded to 4.1.12 and my deadlock was gone. This is all running on Windows XP. Which table type have you been usi

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-27 Thread bl4ck3lk
hello darranl, tc, mysql-connector-java-3.1.10-bin.jar works for me, no warnings/exceptions. stefan h. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903881#3903881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=390388

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-27 Thread bl4ck3lk
hello darranl, tc, darranl, can you post your mysql / connector/j version ? i try to downgrade (because i fail to bild jboss from source in the moment) thanx in advance ! stefan h. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903876#3903876 Reply t

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-27 Thread ToeCheez
Just a note. It does seem to be a problem with MySQL. I took the same steps to setup JBoss 4.0.3 with Oracle as the default database and it worked fine. But I do have the above issue with MySQL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903869#3903869

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-27 Thread bl4ck3lk
hello darranl, thank you for your help. removing the uuid-key-generator.sar removes only the warning about th HILOSEQUENCES table. the warnings/exceptions about the TIMERS table still comes up each restart. for me, it looks like there is a bug when the JMS comes up and checks for the tables.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-27 Thread darranl
Unless you are using the KeyGeneratorFactory you can remove the file 'uuid-key-generator.sar' from the deploy folder and it will no longer be a problem. I have just configured a JBoss 4.0.3SP1 installation to use MySQL with no Hypersonic and I am not getting any errors regarding the TIMERS tabl

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-10-26 Thread kazan77777
Can anyone please reply, (anyone from JBoss???) I need to get this running. Is this a bug in JBoss, or am I not seeing something? One thing I have discovered...the sequence is getting generated. Hibernate is getting stuck when it tries to call the setId method in my .java file. I have tried

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss try to save an very old entity bean

2005-10-26 Thread ftftft
I forget to mention I use JBoss 4.0.3. It is just a normal entity bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903686#3903686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903686 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2005-10-26 Thread bl4ck3lk
hello, i have the same error also with the version JBoss 4.0.3SP1. Is this just a Warning and works well or is this an Error ? (sry for this stupid Question, but i evaluate JBoss in the moment and dont want to spend time in things that can not work) stefan h. View the original post : htt

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-10-26 Thread kazan77777
This is the output from JMX Console. It doesn't look like this is an issue: java.lang.Integer Information Repository cache version: java.lang.Integer(1a0d866).ClassLoader=null Null CodeSource Implemented Interfaces: ++interface java.lang.Comparable(1747e0f) ClassLoader: null Null Code

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-10-26 Thread bwallis42
"kazan7" wrote : | However, I am getting this stacktrace: | [BasicPropertyAccessor] IllegalArgumentException in class: com.x.persistence.Test, setter method of property: Id | [BasicPropertyAccessor] expected type: java.lang.Integer, actual value: java.lang.Integer | [STDOUT] org.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-10-25 Thread kazan77777
OK, I downloaded the latest JBoss 4.0.3 and I was able to sucessfully bind to the session object. However, I am getting this stacktrace: [BasicPropertyAccessor] IllegalArgumentException in class: com.x.persistence.Test, setter method of property: Id [BasicPropertyAccessor] expected type: jav

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: scanForMappings scan one hibernate-mapping file twice in

2005-10-24 Thread kindlymouse
problem resolved. 07:54:52,157 DEBUG [Hibernate] Passing directory [E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-web.war] to Hibernate Configration 07:54:52,217 DEBUG [Hibernate] Passing directory [E:\epm\jboss-4.0.3RC2\server\default\deploy\epm-app.ear\epm-ejb.jar] to Hibernate

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started

2005-10-24 Thread darranl
Did you get any errors on deployment? There is a known hibernate issue with JBoss 4.0.3, this could be related to your problem. http://jira.jboss.com/jira/browse/JBAS-2364 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902951#3902951 Reply to the post : ht

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: desperate for help

2005-10-23 Thread amitsanon
thanks , it worked... but now i am facing another problem.. the har file is deployed and a session factory has been created.. and a JNDI name has been bound to it.. the problem is that now when i try to lookup for the JNDI name it returns null.. this is the code i am trying InitialContext ct

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate 3.0 and Cactus JUnits

2005-10-23 Thread duranek
Hi, did you solve the problem ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902864#3902864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902864 --- This SF.Net e

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can not use ehcache in jboss 4.0.3

2005-10-22 Thread ardenqw
The content of ehcache.xml is not right, it is the rootcause of second problem. But I have not find a good place to put ehcache.xml, now, I put it into ehcache-1.1.jar (It is not a good place at all), everything does work. :)) View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-22 Thread Neelixx
There is a problem with those jars. If you look at your build path, you'll see some of your jars have warnings in them. Each of those jars with warnings are not pulling over to your build path. (you can see the yellow " ! " by the jars). Those jars are: hibernate3.jar ejb3.jar ejb3x.jar jboss

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-21 Thread jbossChecker
Hyperlinks: http://kourosh-bagheri.de/buildpath_1.gif http://kourosh-bagheri.de/buildpath_2.gif http://kourosh-bagheri.de/buildpath_3.gif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902720#3902720 Reply to the post : http://www.jboss.com/index.html?modu

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-21 Thread jbossChecker
Hi Aaron, you can't get rid of me :o) Sorry! I just would like to show you what I have ment. See it yourself please: [img]http://www.kourosh-bagheri.de/buildpath_1.gif[/img] [img]http://www.kourosh-bagheri.de/buildpath_2.gif[/img] [img]http://www.kourosh-bagheri.de/buildpath_3.gif[/img] thanks.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-21 Thread jbossChecker
[img]C:\project_buildpath.gif[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902717#3902717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902717 --- This SF.N

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-21 Thread jbossChecker
"Neelixx" wrote : If you are using libraries included with JBoss, the best way to do it, is to reference the libraries through Eclipse, and not in your lib, as you would not need to export those libraries. They are already on the server. | | However, you obviously need to have those librar

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-21 Thread Neelixx
If you are using libraries included with JBoss, the best way to do it, is to reference the libraries through Eclipse, and not in your lib, as you would not need to export those libraries. They are already on the server. However, you obviously need to have those libraries available to you in Ec

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: desperate for help

2005-10-21 Thread zjchen98
Deploy war file inside har might be an issue. I have seen that before. Try to deploy them seperately. Remember Har file deployed by JBoss first. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902610#3902610 Reply to the post : http://www.jboss.com/index.htm

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-20 Thread kweiner
With the help of these instructions, I got my "minimal+tomcat" instance of Jboss working! http://www.murraywilliams.com/computers/buildjboss/jboss3.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902418#3902418 Reply to the post : http://www.jboss.com

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-20 Thread jbossChecker
Hi Aaron, It's me again! Excuse me please! There are rarely helpers in these forums, so I have to bother you again! Sorry! I would like to tell you what happend as did it the way you do. Till now, I had a lib directory, where I had placed the single jar files in my eclipse app structure, like t

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-20 Thread jbossChecker
Hi Aaron, thank you once more, for your response. I have seen your path entries, my problem is not to know, which sort of Inclluding one have to choose, because eclipse offers : In the Project Explorer view -> Properties -> Java Build Path -> 1) Add Jars... 2) Add external jars 3) Add Variable 4)

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-20 Thread kweiner
Thanks Neelixx and darranl. I am new to JBoss and didn't realize that the minimal config was even missing Tomcat. I will try to make a copy of minimal and manually add in Tomcat since that is all I really need at this point. If there are already some docs on how to add Tomcat to mimimal, plea

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-20 Thread darranl
venkatch77, The name of the datasource deployment descriptor should be 'sos-ds.xml' not 'sos-ds1.xml' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902256#3902256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902256

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-20 Thread darranl
kweiner, You have decided to use a configuration that comes with almost no services deployed. You are trying to deploy a web application. The message 'INIT_WAITING_DEPLOYER' means that there is no deployer available for that archive type. Unless you want to start manualy adding Tomcat to the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-20 Thread darranl
gmoh, There is not enough information in your question, post the actual error YOU are getting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902255#3902255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902255

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread Neelixx
kweiner, http://wiki.jboss.org/wiki/Wiki.jsp?page=ServerConfiguration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902183#3902183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902183 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread Neelixx
Yes, I'm using Eclipse3.1 with JBossIDE1.5. In my build path, I have: J2EE 1.4 libraries (JBoss-IDE) - included with JBoss-IDE1.5 JBoss-EJB3 libraries (JBoss-IDE) - included with JBoss-IDE1.5 Along-side those, I do alot of unit testing, so I also have JUnit and Cactus libraries. But that's it.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread jbossChecker
Hi Aaron, thank you once more for spending your time in responding to me. It lets me hope, when you call yourself a kind of beginner too! But you have a great advantage, speaking english as your mother language. Its sometimes really hart to understand the stuff (docs etc.) A very last question p

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread kweiner
I forgot to mention that I don't have this problem if I deploy my application to the default (as opposed to minimal) configuration. I'd like to use minimal if possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902171#3902171 Reply to the post : http:

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread kweiner
I am having the similar problem. The logs don't seem to provide anything helpful: 16:28:42,019 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/software/jboss-4.0.2/server/minimal/deploy/my.war/ } |

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread Neelixx
I, myself, am learning the EJB3.0 and JBoss system (and Java for that matter), so bear with me. "jbossChecker" wrote : | | 1) How do I handle the use case, that someone puts somthing into the cart, but doesn't proceed, How do I terminate the EJB3 sfsb? | I know the @Remove annotatio

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread gmoh
forgot to mention that i'm running jboss 4.0.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902041#3902041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902041 --

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread gmoh
i'm getting the same issue but the state says "START_SUBDEPLOYMENTS" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902040#3902040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902040

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread jbossChecker
>>"I was referring to a "production" server or "development" server. YOu >>answered the question correctly by specifying running it on your home >>machine." I am sorry, I didn't understand correctly, what you ment. You should know, tht I'm german, am my english is not the best. Anyway, I have t

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate Support broken in JBoss 4.0.3? (UserTransactio

2005-10-19 Thread ninan
The issue is in JIRA as http://jira.jboss.com/jira/browse/JBAS-2364 and has been fixed for release 4.0.3SP1. Release date is next monday, i hope it is held.[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902012#3902012 Reply to the post : http://www.j

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: BigInteger in finder query (eql, cmp)

2005-10-19 Thread a.gerhard
Hello Andreas, it's quite simple. Search the mapping of your database int the configurationfile standardjbosscmp-jdbc.xml (PostgreSQL 8.0, for example). Then add into the -section the following lines: | | java.math.BigInteger | NUMERIC | N

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss 4.0.3 Hibernate 3.0.5 ClassCastException

2005-10-18 Thread nakker
Figured it out - apparently the older versions of jboss and hibernate didnt care that i had my DBO (Pojo) objects duplicated in my HAR file as well as in my WAR file but the newer versions care. I just took out the duplicate files from the war dir and used the ones in the HAR exclusively. View

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate 3.0 select query fails with exception java.lan

2005-10-18 Thread Neelixx
It's hard to say, as you don't provide the actual line number that it is failing on. But, from the looks of things, you probably don't have a required jar file in your classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901908#3901908 Reply to the pos

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-18 Thread Neelixx
You can set the log values two ways: Through the log4j.xml file, or via the jmx-console. I prefer the jmx-console, as it is easy access, but either way works. Go to your jmx-console (http://localhost:8080/jmx-console) Scroll down to the heading "jboss.system" and choose the "service=Logging,t

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-18 Thread jbossChecker
Thank you so much! You are great! It is true! And that seems to be the reason, why I saw those lod statements again and again. "Neelixx" wrote : | If the tables can't be created, then your entity beans can't be initialized. Ergo, your EM won't be bound. But why does it work on the "NON P

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-18 Thread Neelixx
Yes I do, and am using EJB3.0 entity and session beans. I had the problem, where my session beans couldn't load the EntityManager. That was because I had mapping issues with my EntityBeans, which showed up in my log. If the tables can't be created, then your entity beans can't be initialized.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-18 Thread jbossChecker
Hi, thank you for your response. "Neelixx" wrote : Check your log files for DEBUG messages. | I will do that. | | I have found, when working with EJB3.0 and EntityManagers, that if you have a failure for one of your beans, the EntityManager will not bind the name declared in your persi

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-18 Thread Neelixx
Check your log files for DEBUG messages. I have found, when working with EJB3.0 and EntityManagers, that if you have a failure for one of your beans, the EntityManager will not bind the name declared in your persistence.xml file. View the original post : http://www.jboss.com/index.html?module=

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: hibernate-service.xml

2005-10-18 Thread rjkimme
No, just once. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901702#3901702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901702 --- This SF.Net email is sponsored

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Oracle type-mapping problem in JBoss 4

2005-10-17 Thread doonam
Looks like the type mapping isnt wrong but something different in the way JBoss handles BLOBs since v3.2.4. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901650#3901650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Defining a datasource in the EAR file

2005-10-17 Thread per_nyfelt
I found the solution here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=58900 Regards, Per View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901637#3901637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901637

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate Support broken in JBoss 4.0.3? (UserTransactio

2005-10-17 Thread dygk
Unfortunatelly I don't have the jars from the RC2 and I have the same error.. I was able to fix the "UserTransaction not bound" issue by modifying the JBossTransactionManagerLookup class to contain the proper JNDI name ("UserTransaction" instead of "java:comp/UserTransaction") The transaction go

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: high performance (low level) jdbc access routines

2005-10-14 Thread dkuehner
> I think that your solution maybe the use of stored procedures... Thank you - its being considered. The only problem is that this is a commercial app and our clients can use any relational db they want. As most of them use oracle or sql server, we may just go wuith stored procedures anway.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: high performance (low level) jdbc access routines

2005-10-14 Thread fbiaggi
hello, I think that your solution maybe the use of stored procedures... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901264#3901264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901264 -

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: high performance (low level) jdbc access routines

2005-10-14 Thread dkuehner
One of my next steps was to upgrade to the latest of everything (java, jboss, etc.) I'll also look for more recent jdbc drivers. Does "type 4" imply better performance or is there somewhere where I can get faster drivers? I've used the oracle odbc drivers (and ensured that they were the right

<    1   2   3   4   5   6   7   >