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
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
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:
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
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
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
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
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
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
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
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
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){
|
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
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
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'
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
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
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=
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
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,
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
21 matches
Mail list logo