[JBoss-user] Cannot access EJB with multiple CMR columns

2003-12-23 Thread Rod Macpherson
We get the following error fetching one of our entity beans in JBoss 3.2.2: java.sql.SQLException: ORA-00936: missing expression The associated table is different than every other table in the schema. I will use a fictitious example to explain. Assume you have a TREE table with six columns that

RE: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested

2003-12-23 Thread Alexey Loubyansky
So it means ps.setObject(index, value, jdbcType) does not work with this driver. It is definitely not JBoss' fault. To be sure, you could try the previous JBoss with the new Oracle. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Frank Langelage

[JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested

2003-12-23 Thread Frank Langelage
I recently update my software components: - Oracle from 9.2.0.1 to 9.2.0.4 - JBoss to current Branch 3.2 (3.2.4RC1) - XDoclet from 1.2b3 to 1.2 After that I tried to execute my ejb test-app and got this in server.log: ERROR [org.jboss.ejb.plugins.LogInterceptor.handleException] TransactionRolledba

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
My code is something like the following: /** * Allocate the JMS Resources if needed. */ private void allocateResourcesIfNeeded() { try { InitialContext jndiContext = new InitialContext(); Topic topic = (Topic) jndiContext .lookup("topic

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Adrian Brock
> On Tue, 2003-12-23 at 18:15, Neal Sanche wrote: > > Of course it does. The question is, the JBoss instance is always > > talking to itself, on the same machine. Shouldn't the TCP/IP > > connection just stay up all the time? I've never encountered this > > behaviour before JBoss 3.2.3. > > >

RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Problem

2003-12-23 Thread Alexey Loubyansky
Because you mapped the foreign key to the primary key field with this: * @jboss.target-relation fk-column="recipe_grain_id" * related-pk-field="recipeGrainId" Just removed it. --- This SF.net email is sponsored by: IBM Li

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
Of course it does. The question is, the JBoss instance is always talking to itself, on the same machine. Shouldn't the TCP/IP connection just stay up all the time? I've never encountered this behaviour before JBoss 3.2.3. -Neal On December 23, 2003 12:56 pm, Adrian Brock wrote: > The message s

Re: [JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Adrian Brock
The message says the tcp/ip connection was broken. You can monitor for this event using javax.jms.Connection.setExceptionListener() and reconnect. Regards, Adrian On Tue, 2003-12-23 at 17:44, Neal Sanche wrote: > Hi All, > > I'm running a JBoss on a machine that tends to have an IP address > c

Re: [JBoss-user] security

2003-12-23 Thread Mike Lindsey
I've got a good background on security. My boss, who does not, however, just got back from a jboss training course, and is of the opinion that the jmx-console is of the devil and should never be running in a production environment. Despite it running on an unexposed port, on a machine that's n

[JBoss-user] Cannot send a message to the JMS server

2003-12-23 Thread Neal Sanche
Hi All, I'm running a JBoss on a machine that tends to have an IP address change periodically on it's PPP adaptor. I am suspecting that might be the reason for the following exceptions that I get after a certain amount of time on my system: 2003-12-23 12:30:48,577 INFO [com.cartel.usc.jmx.Tim

Re: [JBoss-user] security

2003-12-23 Thread Adrian Brock
> On Tue, 2003-12-23 at 17:25, Mike Lindsey wrote: > > Any good articles on jboss security? > > > > http://sourceforge.net/docman/?group_id=22866 > The JAAS howto > > > I know things like the jmx-console are security risks.. Is it still a > > risk if it's password protected. Or better yet, ru

RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Prob lem

2003-12-23 Thread Hanson, Matthew
I am using jboss 3.2.2. Here are the class defs for the bean and a test client that I have been using. Please let me know if you need anything else... RecipeGrainBean.java package homebrew.ejb.entity; // homebrew.ejb.interfaces imports import homebrew.ejb.entity.vo.RecipeGrainBeanValue; import

Re: [JBoss-user] JAAS DatabaseServerLoginModule Refresh Interval

2003-12-23 Thread Adrian Brock
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.security%3Aservice%3DJaasSecurityManager If you search the archive you will find it discussed a lot. http://www.mail-archive.com/[EMAIL PROTECTED]/ Regards, Adrian On Tue, 2003-12-23 at 13:42, pooja wrote: > Hi All >

[JBoss-user] twiddle

2003-12-23 Thread Mike Lindsey
Can someone give a couple useful examples of twiddle? Everything I can find online, if it mentions twiddle, it mentions it in a vauge sort of way. So far I'm not getting the syntax quite right for anything other than querys. -- Mike Lindsey "Ya know I vass normal once. I came to work vith a t

Re: [JBoss-user] jms message timeout

2003-12-23 Thread Adrian Brock
> On Tue, 2003-12-23 at 17:05, Ionel GARDAIS wrote: > > Hi, > > > > What happens if I publish messages to a topic which > > nobody listens to ? > > > > Is the message lost ? Is it stored until someone > > subscribes and get them ? > > > > It is dropped, lost, ceases to be, it is an ex-message.

[JBoss-user] security

2003-12-23 Thread Mike Lindsey
Any good articles on jboss security? I know things like the jmx-console are security risks.. Is it still a risk if it's password protected. Or better yet, running on a port that's not accessable outside the firewall? -- Mike Lindsey "Ya know I vass normal once. I came to work vith a tie and

RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Problem

2003-12-23 Thread Alexey Loubyansky
It should work fine as it does for me. What JBoss version are you using? Do you have a testcase? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Hanson, Matthew > Sent: Tuesday, December 23, 2003 5:00 PM > To: '[EMAIL PROTECTED]' > Subject: [JBos

[JBoss-user] jms message timeout

2003-12-23 Thread Ionel GARDAIS
Hi, What happens if I publish messages to a topic which nobody listens to ? Is the message lost ? Is it stored until someone subscribes and get them ? Does modifying the message's TTL allow to specify a timeout for the message ? thanks, ionel ___

[JBoss-user] Jboss3 and AOP

2003-12-23 Thread Giovanni Formenti
Hallo! It's possible to use AOP framework in JBoss 3.2.3? How?! Thanx for any answer! Gio --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials

[JBoss-user] Active Directory authentication

2003-12-23 Thread Steven Nakhla
Does anyone know of a good online tutorial that shows how to authenticate against Active Directory using JBoss 3.2.x?  I've googled for it, but can't find any meaningful documentation.  Any help would be greatly appreciated.   Steve Nakhla Do you Yahoo!? Yahoo! Photos - Get your photo on the big sc

[JBoss-user] Logging through JBoss from an external source

2003-12-23 Thread kcassell
I would like to consolidate the logs from several processes, so that I have only a single log file. (Let's ignore archiving, etc. for now.) Being relatively new to JBoss, EJBs, etc., I'm looking for advice as to the best way to do this. Right now, I'm considering having a logging session bea

[JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Problem

2003-12-23 Thread Hanson, Matthew
Hi-- We are storing the key from a reference table in another table. We would like to create a unidirectional, 1:1 relationship to allow the first bean to access information in the reference table. Here is basically how the table relationship is setup: tableA id (integer primary key) ref_id (in

Re: [JBoss-user] JMS queue simple question

2003-12-23 Thread Ionel GARDAIS
Is this code still valid for topic/queue creation via URL ? //These are samples, not available in the example code. String method = "createTopic"; String destName = "myCreated"; String action = "action=" + method + "?action=" + method + "¶m0%2Bjava.lang.String=" + destName; String arg = "/Inv

[JBoss-user] JAAS DatabaseServerLoginModule Refresh Interval

2003-12-23 Thread pooja
Title: Message Hi All   This sounds more like a JAAS problem than JBoss. I am using the DatabaseServerLoginModule that comes along with the default implementation. There are a set of GUIs which write to the tables asked by JAAS... i.e. to the principal and roles tables.   Although JAAS i

Re: [JBoss-user] JMS queue simple question

2003-12-23 Thread Adrian Brock
Only one of the consumers will receive each message. Regards, Adrian On Tue, 2003-12-23 at 13:29, Ionel GARDAIS wrote: > Hi there, > > Merry christmas to all. > > I have a little question about JMS queue. > By now, I use topics to send global datas to many > recipients. > > I need a parallel c

[JBoss-user] JMS queue simple question

2003-12-23 Thread Ionel GARDAIS
Hi there, Merry christmas to all. I have a little question about JMS queue. By now, I use topics to send global datas to many recipients. I need a parallel channel to send one-shot informations (actually a repository used by the messages received through the topic) I thought to a queue running

R: [JBoss-user] Tell Jboss to create INNODB tables (was: Session/Entity Bean Transaction Rollback)

2003-12-23 Thread Giovanni Formenti
Hallo, u can put the line: default-table-type=innodb in the [mysqld] section of ur mysql configuration file. In this way every CREATE TABLE statement creates an InnoDB table by default. Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di > [EMAIL PROTE

AW: [JBoss-user] Tell Jboss to create INNODB tables (was: Session/Entity Bean Transaction Rollback)

2003-12-23 Thread Rupp, Heiko
Title: [JBoss-user] Tell Jboss to create INNODB tables (was: Session/Entity Bean Transaction Rollback) Put a post-table-create in your jbosscmp-jbc.xml with a "alter table" command that switches the tables to innodb. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag

[JBoss-user] Tell Jboss to create INNODB tables (was: Session/Entity Bean Transaction Rollback)

2003-12-23 Thread stscit04
Adrian, thanks for the link, this was exactly what I needed. Sometimes you dont need many words to explain something :-) One more question: Where can I tell Jboss to create tables with TYPE=INNODB ? btw: I bought the JBoss dokumentation, but this mailing list is far more helpfull for Jboss users

RE: [JBoss-user] Getting Physical connection from pooled connecti on of JBoss 3.0.7

2003-12-23 Thread Ravinder_Muppidi
Title: RE: [JBoss-user] Getting Physical connection from pooled connection of JBoss 3.0.7 I am using JBoss connection pooling for my application. I want to use the connection from pool to call stored procedure which is taking ARRAY as input parameter. when I am creating the Descriptor, it i