tion
to false (Setting it to true has no visible impact on this problem).
Any ideas ?
Thanks,
Ijonas Kisselbach
P.S. Apologies for crossposting to both jboss and castor mailing lists, but
I don't know in which camp the problem lies.
You need to recreate the META-INF/jboss.xml files under your project
sourcepath (Project Properties).
Should work.
Ijonas
- Original Message -
From: "Burkhard Vogel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 3:16 PM
Subject: Re: [JBoss-user] JBuilder4 + JBo
Besides making sure Tomcat has access to the client jars put the following
stub as a VM parameters (the run_tomcat.bat file) to Tomcat:
-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava
.naming.provider.url=localhost:1099
Replace localhost:1099 with the hostname of you
Yeah no problem what so ever. The following works for BMP as well as CMP
beans.
Basically, all you need to do is specify different datasource resource
references in your ejb-jar.xml and jboss.xml files, e.g.:
ejb-jar.xml -
Bean1
ead of the JbossRealm as the JbossRealm
> just mpas the credentials obtained by the Tomcat Realm onto the JBoss
notion
> of the thread user.
>
> ----- Original Message -
> From: Ijonas Kisselbach
> To: jbUser
> Sent: Thursday, April 19, 2001 10:01 AM
> Subject: [JBoss-user] JBoss 2
Hi,
Step 1. You should have a getConnection() method
that returns a java.sql.Connection object, which is retrieved through
Context.lookup(). We use a base class with the following method:
protected Connection getConnection()
throws SQLException { Connection conn =
null; Object o;
Using BMP this is definitely possible. All you would have is a finder method
which looks something like this:
public String ejbFindByFirstName(Person p) {
PreparedStatement pstmt = myDBConnection.prepareStatement("select emp_id
from employee where firstname = ?");
pstmt.setString(1, p.ge
Hi,
I'm trying to authenticate servlets against a a
JBoss realm. I've got the servlets and JSP authenticating against the
org.apache.tomcat.request.SimpleRealm and tomcat-users.xml file. This works
fine. But I know want to go to the next step and authenticate against a Jboss
realm. Hence I