[JBoss-user] [Security & JAAS/JBoss] - Problem JAAS-JBOSS

2004-05-15 Thread raffaelecorvino
Hello all, I try to integrate JAAS module to autentihcate user, but I have a problem. I use the login-module org.jboss.security.auth.spi.UserRolesLoginModule, the server deploy correctly, but when I run client application I have an error: java.io.IOException: Impossibile trovare una configurazione

[JBoss-user] [EJB/JBoss] - JNDI: how to register objects running on different machines

2004-05-15 Thread kiran1080
Hi all, Whenever I deploy a particular bean, it gets registered in the JNDI running in that application server only. But what I need is I am deploying 3 different objects in three app servers(all jboss 3.2.3) running on three different machines but all these objects should be registered or bind

[JBoss-user] [The Lizzard's corner] - blah

2004-05-15 Thread cooper
blah blah View the original post : http://locahost:8080/index.html?module=bb&op=viewtopic&p=3831721#3831721 Reply to the post : http://locahost:8080/index.html?module=bb&op=posting&mode=reply&p=3831721 --- This SF.Net email is sponsored by:

[JBoss-user] [Persistence & CMP/JBoss] - Problems with Pks

2004-05-15 Thread juglarx
Hi all!! i have a problem with lomboz and my database , the problem is this, i have a table in my DB that have a primary key formed by 2 field , but , when i try to do the CMP Entity , in lomboz wizard i try to select 2 fields as primiray Key and the wizard can't let me do that so , anyone

[JBoss-user] [News & Announcements] - Re: ANNOUNCEMENT: NEW JBOSS WEBSITE

2004-05-15 Thread jlward4
Thumbs Down... Sorry guys, it looks pretty but it is one of the only websites I visit regularly which requires a browser window wider than 800. On my 1600 x 1200 screen I have my gnome terminals on the left (width 800) and my browser on the right (width 800). In my opinion every website shoul

[JBoss-user] [Persistence & CMP/JBoss] - Error compiling EJB-QL statement 'SELECT OBJECT(b) FROM ...

2004-05-15 Thread nacho2004
I've 2 beans ECatDocuments and EDocuments I created a relationships like this in ECatDocuments /** * @ejb.interface-method * * @ejb.relation *name="ECatDocuments-EDocuments" *role-name="ECatDocuments-has-many-EDocuments" * @jboss.relation *related-pk-field="docid" *fk-co

[JBoss-user] [Installation & Configuration] - Re: Hibernate in JBoss 3.2.3 ???

2004-05-15 Thread ltcmelo
I've searched around there, but things still look a little dark to me. Actually, i'm getting kinda lost. Also, sometimes, i just don't uderstand what is said. For example, i the part of setting up the JBoss MBean it says. anonymous wrote : | 1. Prepare your JDBC DataSource for use with Hibernate

[JBoss-user] [EJB/JBoss] - Entity insert/update

2004-05-15 Thread gorano
Hi guys, The scenario is: If an cmp entity exists I want to update it, if not I want to create it. My solution of this is to use findByPrimaryKey. If found I update. If not found a FinderException is thrown and I create the entity in the catch. But we are all told not to use exceptions as a part

[JBoss-user] [Installation & Configuration] - Re: Hibernate in JBoss 3.2.3 ???

2004-05-15 Thread spiritualmechanic
www.hibernate.org. Seriously. We just started using Hibernate and the documentation is very good. Every time I've been stuck for a little while it was because there was too much documentation, not too little. Look for setting up a JMX MBean in JBoss. This will bind a hibernate factory to JNDI a

[JBoss-user] [Nukes User] - Re: Getting started -- updated documentation on wiki

2004-05-15 Thread jae77
hrm - guess i should get an instance of postgres and mysql running somewhere so i can help investigate this as well. do you get any exceptions when trying to post a news item? how about when the tables are created? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Installation & Configuration] - Hibernate in JBoss 3.2.3 ???

2004-05-15 Thread ltcmelo
Hi, i'd like to try Hibernate on JBoss 3.2.3, what are the procedures for doing so (configuration, etc...) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835073#3835073 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Beginners Corner] - Re: How to implement LIKE with input parameters in EJB QL 2.

2004-05-15 Thread ltcmelo
Oh! Thank you juha, without your code i'd never seen my mistake! I'm even a little embarassed. Actually, i was calling the method wrongly, i'm supposed to insert the % in the java code for the method, rigth??? That's what i got now. | public ArrayList getAllPartyHousesByName(String name){ |

[JBoss-user] [Beginners Corner] - Re: How to implement LIKE with input parameters in EJB QL 2.

2004-05-15 Thread [EMAIL PROTECTED]
This works for me: | home.create("C-124"); | home.create("C-444"); | home.create("C-123123123"); | home.create("C"); | home.create("CC"); | | Collection c = home.findByName("C%"); | | assertTrue(c

[JBoss-user] [Beginners Corner] - Re: Acces JNDI over Http

2004-05-15 Thread spiritualmechanic
Why is it using a different address 10.0.0.0? Have you tried executing on the same machine as the jboss server? It looks like some sort of network routing thing is not allowing you to find 10.0.0.0. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835069#383506

[JBoss-user] [Beginners Corner] - Re: How to implement LIKE with input parameters in EJB QL 2.

2004-05-15 Thread ltcmelo
anonymous wrote : | How does it "not work" ?! | Because jboss undertands that as the constant string '?1' and not the input parameter 1. For example, i created a field in mydb named 'abc?1def' and the finder returned this name, because, as i said, is looking for the string ?1. So, i don'

[JBoss-user] [Security & JAAS/JBoss] - Re: Security context propagation from web client to ejb

2004-05-15 Thread pilhuhn
Forgot: this is on 3.2.3 with tomcat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835067#3835067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835067 --- This SF

[JBoss-user] [Security & JAAS/JBoss] - Re: Security context propagation from web client to ejb

2004-05-15 Thread pilhuhn
I am basically having the same problem, but within one vm. Servlet authentication is no problem, accessing secured ejbs from a client in a different vm is also no problem - only accessing secured ejbs from the servlet (in the same vm) fails. I am probably missing something very obvious. Excerp

[JBoss-user] [Installation & Configuration] - How to redirect the system out println to a external file

2004-05-15 Thread HihelloAll
How to redirect the system.out.println to a external file ? I want to send the outputstream to a external file. How do I do it in jboss, so that all the system.out.println in the code will not get displayed in the console. ? View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [EJB/JBoss] - Re: JAXB NoClassDefFoundError

2004-05-15 Thread hretter
No, I never found a solution. I was hoping someone would post one eventually. Please let me know if and when you get it working. -HHR View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835064#3835064 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Javassist user questions] - inserting duplicated members

2004-05-15 Thread fluca1978
Hi, is it possible, using Javassist, to insert in an exisiting class duplicated members? I mean, supposing a class has a variable and a method like the following: public int variable; public void method(){..} can I insert a CtField which represents a variable with "variable" name and is an int,

[JBoss-user] [Beginners Corner] - Acces JNDI over Http

2004-05-15 Thread scttu
I try to access my remote Jboss JNDI server over HTTP with the following code. But failed. Could someone please shows me some code on how to do it correctly? | Properties env = new Properties(); | env.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.in