[JBoss-user] JBoss/Castor classloading problem

2001-07-26 Thread Ijonas Kisselbach
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.

Re: [JBoss-user] JBuilder4 + JBoss

2001-04-23 Thread Ijonas Kisselbach
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

Re: [JBoss-user] Error getting InitialContext when running Tomcat separate from JBoss

2001-04-20 Thread Ijonas Kisselbach
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

Re: [JBoss-user] different datasources for differnet entity beans

2001-04-19 Thread Ijonas Kisselbach
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

Re: [JBoss-user] JBoss 2.2: Servlet Authentication against JBoss realms. How ?

2001-04-19 Thread Ijonas Kisselbach
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

Re: [JBoss-user] DataSource, JDBC, and stuffs

2001-04-19 Thread Ijonas Kisselbach
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;

Re: [JBoss-user] Finder method question

2001-04-19 Thread Ijonas Kisselbach
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

[JBoss-user] JBoss 2.2: Servlet Authentication against JBoss realms. How ?

2001-04-19 Thread Ijonas Kisselbach
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