Re: [JBoss-user] ERROR [LogInterceptor] TransactionRolledbackException: RelationSet.add( ... )

2002-11-27 Thread Alex Loubyansky
Hello Fabiano, are you using remote interfaces? Relationships are allowed with local interfaces only. Also what JBoss version are you using? alex Wednesday, November 27, 2002, 9:59:01 PM, you wrote: FCCS> hello every body! FCCS> I've got a 1-to-many relationship set up, but it's not working.

[JBoss-user] Third Party Jar files and EAR Archives

2002-11-27 Thread Stefan Arentz
What is the correct way to add jar files to an ear archive? I have some libraries that are needed by both my ejb and web module and I would like to put them inside the ear to make deployment easier. I know about WEB-INF/lib, but is there a similar place to put jars in an ejb.jar? What about mod

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, I have seen a book where they don't have a servlet-mapping, although they use sun's reference implementation, and "deploytool", which might generate the mapping behind their backs, even though the deployment descriptors have to be written manually... Regards, Hans On Wed, 2002-11-27 at 21:4

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread Andreas Mecky
Hi Sain, you are right. It is not working (at least the way you have tried it) without the servlet-mapping. Actually I have never seen an example nor a book about servlet where they do not use the mapping. WBR Andreas __ Gesende

[JBoss-user] Re: [JBoss-dev] Hong Kong training

2002-11-27 Thread Jason Dillon
You should really have a Thailand training too... =] --jason On Wednesday, November 27, 2002, at 09:05 AM, marc fleury wrote: Guys, the training in January 14-17th in Hong Kong. We lowered the price to $2000 for early registration and it is the only training I am personally doing in Q12003

Re: [JBoss-user] Error Saving Entity with Oracle

2002-11-27 Thread Azfar Kazmi
What are the field types in this bean? I had ClassCastExceptions while saving an object (blob). I have seen a message from Dain (on web forums) that oracle OCI driver might fix that. He was not sure. -- azfar - Original Message - From: "Todd M Benge" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

[JBoss-user] ERROR [LogInterceptor] TransactionRolledbackException: RelationSet.add( ... )

2002-11-27 Thread Fabiano Cruz \(Cilix Software\)
hello every body! I've got a 1-to-many relationship set up, but it's not working. It's about polls and its answers. So I have a session bean that creates the entity beans and, in a lopp, assigns each answer to the poll. that's the piece of code that makes it: try{ System.out.println("Passei p

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, This is what I was trying all the time, but it just doesn't seem to work... Unless you specify a servlet mapping in the web.xml, it seems impossible to access the servlets... Hans On Wed, 2002-11-27 at 19:40, Andreas Mecky wrote: > Hello, > > I see that this is becoming a long term discussi

Re: [JBoss-user] Error Saving Entity with Oracle

2002-11-27 Thread Todd M Benge
I think the problem is solved. In the process of converting from orion, we were using a Counter object from orion that keeps track of the primary keys. After switching it out to some custom code the problem disappears. Thanks for all the help. Todd Todd Benge wrote: I changed the type map

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread Andreas Mecky
Hello, I see that this is becoming a long term discussion. So let me shortly describe what you have to do. Let's assume you have a servlet in the package com.foo with the name SuperServlet. This servlet must be in the following directory of your war-file: WEB-INF\classes\com\foo\SuperServlet.clas

Re: [JBoss-user] deploying war file: SOLVED (?)

2002-11-27 Thread SainTiss
Hi, it seems that you *have* to specify a mapping in web.xml, like this: ClientServlet /stservlet/* And then it works... So there are no default mappings then so it seems... Or at least none that can be found by a common user :-) Hans On Wed, 2002-11-27 at 17:49, SainTiss w

Re: [JBoss-user] Error Saving Entity with Oracle

2002-11-27 Thread Todd M Benge
I changed the type mappings in jaws.xml and standardjaws.xml to Oracle8 but am still seeing the same error. For some reason, it is only when creating a new entity. Saving an existing entity seems to work fine. We're using the classes12.zip from Oracle. Has anyone else seen a similar problem?

[JBoss-user] Hong Kong training

2002-11-27 Thread marc fleury
Guys, the training in January 14-17th in Hong Kong. We lowered the price to $2000 for early registration and it is the only training I am personally doing in Q12003. Can't get better than that. The early bird price is until Dec 15th so start early. see you in HK marcf xx Ma

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Here's the output of the jboss-log, when deploying: 11:39:05,845 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/st-testejbclient.war 11:39:06,024 INFO [EmbeddedCatalinaService41] deploy, ctxPath=/st-testejbclient, warUrl=file:/

RE: [JBoss-user] Error Saving Entity with Oracle

2002-11-27 Thread saroj kumar
May be the DATA TYPE mapping is incorrect in dd. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Todd M Benge Sent: Wednesday, November 27, 2002 5:39 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Error Saving Entity with Oracle Hi, I'm running into tr

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
On Wed, 2002-11-27 at 12:12, Jules Gosnell wrote: > what is in your jboss-web.xml ? > > does it mess with your context root ? If so, your warname is probably > being ignored in favour of this entry. > > Jules jboss-web.xml is empty, apart from Maybe it's got something to do with having the j

[JBoss-user] jbossmq durable subscriber authentication

2002-11-27 Thread Sebastian Hauer
Hi JBoss users, Following the JBoss adm. & dev. Documentation I setup durable subscribers while adding JMS accounts to: jbossmq-state.xml and it works. But it seems to be so cumbersomely and also not very secure because I had to specify clear text passwords for every JMS user. Now I wanted to k

Re: [JBoss-user] IllegalAccessError with package private methods in the same jar

2002-11-27 Thread Scott M Stark
The error occurs when the classes that are involved in the package private or protected relationship are loaded by different class loaders. Since class loading is done lazily this could be due to non-deterministic loading on first use in a multi-threaded environment. Another way to force the shared

Re: [JBoss-user] sotring a cmr result set

2002-11-27 Thread Hunter Hillegas
There isn't... One of the things that the EJB spec overlooks. Bummer. > From: Dain Sundstrom <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 27 Nov 2002 09:41:44 -0600 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] sotring a cmr result set > > Not that I am aware of. > > -dai

Re: [JBoss-user] sotring a cmr result set

2002-11-27 Thread Dain Sundstrom
Not that I am aware of. -dain On Wednesday, November 27, 2002, at 01:06 AM, kiuma wrote: Hello, is there any possibility to sort a cmr collection without putting the result in a SortedSet? regards, kiuma --- This SF.net email is sponsored

[JBoss-user] JBoss classloading question

2002-11-27 Thread Panagiotis Korros
I want to deploy a system made by 3 or more ear files. The first (admin.ear) contains an administration application to administer the other two. The other two ears contain the same ejbs with different jboss configurations bound to different jndi paths. When I am using a single unified classloader

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread Jules Gosnell
what is in your jboss-web.xml ? does it mess with your context root ? If so, your warname is probably being ignored in favour of this entry. Jules SainTiss wrote: Hi, I do have an entry, which looks like this: ClientServlet Saint Client Servlet eenloketsysteem.ClientServlet

[JBoss-user] No Subject

2002-11-27 Thread sacha_labourey
Hello, Do not forget to come at the JBOSS OPEN HOUSE in GENEVA TONIGHT Time: 18:00 to 21:00 Location: Hotel des Bergues (http://www.hoteldesbergues.com/) Will be present: Adrian Brock: co-developer of JBossMX (JMX implementation) Ceki Gulcu: Log4j founder Me: co-developer of JBoss Clusterin

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, I do have an entry, which looks like this: ClientServlet Saint Client Servlet eenloketsysteem.ClientServlet warname/servlet/eenloketsysteem.ClientServlet doesn't work either... Hans On Wed, 2002-11-27 at 09:43, anna schricker wrote: > if you don't have an entry in

Re: AW: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Also, here's the structure of my .war file: META-INF/ META-INF/MANIFEST.MF WEB-INF/ WEB-INF/classes/ WEB-INF/classes/eenloketsysteem/ WEB-INF/classes/eenloketsysteem/TestClient.class WEB-INF/classes/eenloketsysteem/ClientServlet.class WEB-INF/web.xml WEB-INF/jboss-web.xml Hans On Wed, 2002-11-27

RE: [JBoss-user] deploying war file

2002-11-27 Thread SainTiss
Hi, all I see under "jboss.web" is service=EmbeddedCatalina41 without servlet doesn't work either... The point is, I'm getting 404 for *every* combination, except for warname/ that gives me an empty list of Hans On Wed, 2002-11-27 at 10:07, Rupp,Heiko wrote: > Hi, > > > warname/servlets/serv

RE: [JBoss-user] deploying war file

2002-11-27 Thread Rupp,Heiko
Hi, > warname/servlets/servletname is giving me a 404, just like > warname/servlet/servletname... Try without 'servlet' in between. Also, if you say 'warname' is that with or without .war? Try the without '.war' The jmx-console should also be able to tell you at least the context-root: http://

Re[2]: [JBoss-user] CMR/CMP Primary-key/Foreign Key Question

2002-11-27 Thread Alex Loubyansky
Yes, it's possible with HEAD version. All you need is just to map foreign key fields to primary key fields. It's not documented, but there is a testcase for one-to-many bidirectional relationships, again, in HEAD only. alex DS> I think Alex has this working in 4.0, but I don't think it is DS> doc

AW: [JBoss-user] deploying war file

2002-11-27 Thread anna schricker
if you don't have an entry in web.xml for your servlet warname/servlet/your.package.servletname should work. -Ursprüngliche Nachricht- Von: SainTiss [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November 2002 01:07 An: JBoss Mailing Betreff: Re: [JBoss-user] deploying war file Hi,

AW: [JBoss-user] IllegalAccessError with package private methods in the same jar

2002-11-27 Thread anna schricker
Thank you. I doubt that putting the classes in the server/xxx/lib directory is a feasible solution for us. I still don't understand why the error does occur sometimes and other times (after another deployment and/or restart of JBoss) not. When exactly will a class get loaded? Maybe there is a w