[JBoss-user] [EJB/JBoss] - Re: 4.0.x classloader NoClassDefFoundException

2005-03-07 Thread abcolson
I found my problem. Recall the initial error was java.lang.NoClassDefFoundError: epi/projects/ComplianceProjectParticipantDTO This was very misleading because it had me chasing ghosts such as class loader issues. The real problem was that this class used a third party interface (DTO) that was

[JBoss-user] [EJB/JBoss] - Re: 4.0.x classloader NoClassDefFoundException

2005-03-04 Thread abcolson
Same errors in JBoss version 3.2.6. BTW, the only differences ( from "jar tf") between the "bad" jar and one that works is the presence of the DTO classes in the bad jar (about 6) as noted previously in my first post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [EJB/JBoss] - Re: 4.0.x classloader NoClassDefFoundException

2005-03-04 Thread abcolson
Latest update... I get the same errors with jboss-4.0.1sp1. As stated previously by jjmuhlestein maybe the class loading scheme will be fixed in the next release. Does anybody know when the next release will be? Anything we can do in the mean time? View the original post : http://www.jboss.o

[JBoss-user] [EJB/JBoss] - Re: 4.0.x classloader NoClassDefFoundException

2005-03-04 Thread abcolson
I have a simplified version of the same problem. Using JBoss 4.0.0RC2 I have app.ear Â|__ app-ejb.jar |__epi/projects/ComplianceProjectParticipantDTO.class Â|__epi/projects/cmp/ComplianceProjectParticipant.class The error is anonymous wrote : WARN [EJBDeployer] Verify failed;

[JBoss-user] [Persistence & CMP/JBoss] - Re: Data Type Mapping

2005-01-05 Thread abcolson
Here is a new twist. The reason my java.lang.String gets mapped to VARCHAR(256) and not VARCHAR(255) is because of some sort of Hypersonic dependancy, i.e. JBoss is pulling VARCHAR(256) mapping from the Hypersonic mappings instead of VARCHAR(255) from the MS ACCESS mapping. Example: 1) I remo

[JBoss-user] [Persistence & CMP/JBoss] - Data Type Mapping

2005-01-04 Thread abcolson
Greetings List, I am using jboss-4.0.0RC2 with MS Access. I had to create my own mappings in standardjbosscmp-jdbc.xml (If anyone knows of one that already exists that may solve alot of my problems). In the type mapping I have the defaults set up as | | | java:/DefaultDS

[JBoss-user] [Persistence & CMP/JBoss] - Re: BUG: Bean Deployment Exception

2004-12-28 Thread abcolson
Hi Alex, Yes, I downloaded the source and tracked it down to a SQL problem but it looks fine. In my test servlet I only use the User ejb (although I have defined a few others, one of which has a relation with User). Here is the relevant data: Stack Trace: anonymous wrote : java.lang.IllegalS

[JBoss-user] [Persistence & CMP/JBoss] - BUG: Bean Deployment Exception

2004-12-21 Thread abcolson
When deploying a bean I get the following exception in the log. It looks like a deployment bug and does not give me a hint on what is wrong (if anything) with my setup or .ear. I am using JBoss 4.0.0RC2 with MS Access. Debugging hints would be appreciated. Thanks Tony anonymous wrote : |

[JBoss-user] [Messaging, JMS & JBossMQ] - Creating JMS_MESSAGES: Invalid SQL

2004-12-20 Thread abcolson
Hello Users, I am using Jboss 4.0.0RC2 with an MS Access database. Apparently Jboss does not provide the datatype mappings for MS Access so I have tried to create my own, which may be part of the problem. Ths issue is when I start up JBoss I get the following error: anonymous wrote : 2004-12-2

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-12 Thread abcolson
Hi Alexey, It worked. The JBoss version 3.2.4RC1 does fix the quote problem and my database test application works as expected. Thanks to all who helped me. Alexey, email me at [EMAIL PROTECTED] I have something I would like to tell you privately. Cheers Everybody View the original post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-08 Thread abcolson
Hi Alexey, Thanks alot. I downloaded the HEAD branch of JBoss-3.2 from sourceforge (I assume this is correct) and verified that the SQLUtil.fixTableName() function has the fix for the quotes. However, there appears to be an error with the build and I didn't see any documentation or a README f

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-07 Thread abcolson
Hi loubyansky, Thanks for your input. This is helpful. 2 questions: 1) What is the relationship between these 2 code segments (i.e. do they interact with each other)? 2) What approach do you suggest: a) Finding a better database driver, b) Download/Compile JBoss 3.2.4RC2? I think option 2 s

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-06 Thread abcolson
Hi loubyansky, anonymous wrote : The lower case should not cause any problems as the driver must have supported it. This check is done in the org.jboss.ejb.plugins.cmp.jdbc.SQLUtil. I am u nclear as to what driver you are referring to: jboss driver or postgresql driver? As a point of informati

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-04 Thread abcolson
Hi loubyansky, anonymous wrote : So you are missing jbosscmp-jdbc.xml? Good Call! For some reason this wasn't making it in. I put it in and tried it and although it didn't work completely, the generated sql did in fact use the table name "questions" and not "question". But, as you recall from

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-02 Thread abcolson
Hi loubyansky, anonymous wrote : I have an imression that the deployment descriptors you post here are not used. How do you package the EJB JAR and what is its contents? Interesting idea. I hadn't thought of that. Here is a breakdown jar -tf FiboApp.ear | | META-INF/ | META-INF/MANIFES

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-01 Thread abcolson
Well, I have some news, but I don't know how thrilled I am with it. First, without changing anything WRT my Question bean and descriptors, nor without redeploying, I added a view in my database called "question" which maps to "Questions" and maps the fields like category_id to categoryid. The r

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-05-31 Thread abcolson
Hi ironbird, Here's the latest... anonymous wrote : You think that the error is for your questions bean. I think the error is for your QuestionCategory bean. | Try to activate cmp plugin traces to see the generated SQL in jboss log file. The reason I think this is that I am not instantiatin

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-05-31 Thread abcolson
Thanks for the feedback, guys. But I am not sure I understand your recommendations. anonymous wrote : Try removing or commenting the from your ejb-jar.xml to rule that out, since it isn't needed for findByPrimaryKey(). I think maybe all the words didn't come through. I am unclear on what exac

[JBoss-user] [Persistence & CMP/JBoss] - Mapping Entity Beans to Database Tables

2004-05-30 Thread abcolson
Greetings, I am using JBoss 3.2.3 with Postgres and encountering issues mapping beans/attributes to tables/fields. My table/field names sometimes have spaces and/or other characters that don't exactly match the bean, such as: anonymous wrote : Mapping entity bean "Question" => Table "Questions

[JBoss-user] [JCA/JBoss] - Re: Postgres & JBoxx 3.2.3: jdbc not bound

2004-05-25 Thread abcolson
Thank you. I no longer get the stack trace error. I did look through the forums; must have missed the magic post last month. BTW, where is this behavior documented? The standardjbosscmp-jdbc.xml file itself doesn't indicate this format. Thanks again, Tony View the original post : http://www

[JBoss-user] [JCA/JBoss] - Re: Postgres & JBoxx 3.2.3: jdbc not bound

2004-05-24 Thread abcolson
Please forgive me. Here is the stack trace as requested... org.jboss.deployment.DeploymentException: Error: can't find data source: jdbc/PostgresDS; - nested throwable: (javax.naming.NameNotFoundException: jdbc not bound) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(J

[JBoss-user] [JCA/JBoss] - Postgres & JBoxx 3.2.3: jdbc not bound

2004-05-24 Thread abcolson
I am using JBoss 3.2.3 and trying to configure a Postgres data source for use with an Entity bean called "Question". I am getting Question bean deployment exceptions like: org.jboss.deployment.DeploymentException: Error: can't find data source: jdbc/PostgresDS; - nested throwable: (javax.naming

[JBoss-user] [Installation & Configuration] - Re: deployer.jar missing in JBoss-3.2.3

2004-03-12 Thread abcolson
I'm having the same problem. What is the solution? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825461#3825461";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825461>Reply to the post ---