Re: [JBoss-user] Message Driven Beans - dynamically subscribe to multiple Topics?

2001-05-17 Thread Peter Antman
On 16 Maj, [EMAIL PROTECTED] wrote: Hello, I'm experimenting with Message Driven Beans and wish to write an MDB that can subscribe/unsubscribe to topics at runtime. I see from the MDB tutorial that the topic is set in jboss.xml. Is it possible to subscribe to multiple topics? Is it

Re: [JBoss-user] calling EJB by using reflexion in a generic way

2001-05-17 Thread Lucian Bargaoanu
Title: [JBoss-user] calling EJB by using reflexion in a generic way There has been some discussion about similar problems (I think...)on this list. There is one I started. Follow the thread Blind Lookup. I'm still trying to solve my problem. - Original Message - From: David

[JBoss-user] Jboss on Red hat 7.1

2001-05-17 Thread Noels Jeroen
hi, We are running JBoss-tomcat on a linux 2.4.2-2 server (Red Hat 7.1) and this seems to work fine. When I look at processes using the GNOME System monitor, however, I observe almost 60 different java processes, using almost 1.5 gigabytes of memory, which worries me. Is this normal? Is

[JBoss-user] postgres token NEXTVAL not allowed here?

2001-05-17 Thread Dmitri Colebatch
hi all, I've got a weird problem. Using Postgres and JBoss 2.2, I have an entity bean with BMP. In my ejbCreate method I query the database to get the primary key for the bean from a sequence. My SQL is SELECT NEXTVAL('storyid_seq') which works fine from psql _and_ from a standard JDBC

Re: [JBoss-user] Jboss on Red hat 7.1

2001-05-17 Thread Per Lewau
On Thu, 17 May 2001, Noels Jeroen wrote: hi, We are running JBoss-tomcat on a linux 2.4.2-2 server (Red Hat 7.1) and this seems to work fine. When I look at processes using the GNOME System monitor, however, I observe almost 60 different java processes, using almost 1.5 gigabytes of

AW: [JBoss-user] JMSException - help needed!

2001-05-17 Thread Sternagel Annegret (PN-SYS/DAS)
I dont't know if this solves the problem but You must lookup the topic with topic\MyTopic not only MyTopic. Annegret -- Von: Ralf Metzger[SMTP:[EMAIL PROTECTED]] Antwort an: [EMAIL PROTECTED] Gesendet: Mittwoch, 16. Mai 2001 17:14 An: JBOSS-User List Betreff:

[JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Suse Linux 7.0

2001-05-17 Thread Thomas Grnert
Hi, this mail will report, how to install Jboss with interbase from borland as backend on a suse 7.0 system. I write this because it takes 7 days of my small time budget. It was realy crazy. No one should never take the same hard way of mistakes. 1. Install Interbase from www.interbase.com.

[JBoss-user] SQL SERVERPOOL NAME BINDING HANGS the JBOSS initialization process (using weblogic jdbc driver )

2001-05-17 Thread vniculae
Hi Which is the real URl syntax in the jboss.cml file for a Weblogic Type Driver 4 based connection pool - beacuse I have a troublesome situation namely that the BINDING of the SQL SERVERPOOL HANGS the JBOSS initialization process. Note that the driver signature in the weblogic.jar file is

[JBoss-user] Finder Method is not working

2001-05-17 Thread Ricky
Hi all , i am using RedHat6.1 , postgres7.01.,jdk1.3 , and jboss2.1. I have finder method below : It did not display records when call the finder method eventhough that were some records in the database. The errors is not always occured , this is the method in the session bean which call the

[JBoss-user] + Oracle Integration

2001-05-17 Thread Isidoro Fernandez Diaz
Hi users! I´ve configured JBoss how configuration manual and when I execute run.bat JBoss stop in the next line: [OracleDS] XA Connection pool OracleDS bound tojava:/OracleDS and JBoss not continues, not appears : [OracleDS]Started Why? Can you hel me? Thank you very much.

[JBoss-user] Deployment descriptor for Sending with JMS

2001-05-17 Thread Balazs Lichtl
Hi, i have a problem with JMS. the receiving of messages in message driven beans works, but not the sendig of them. can somebody tell me please, which tags i need in the deployment descriptor for a (message driven) bean, so that this can access the right TopicConnectionFactory and the right

RE: [JBoss-user] SQL SERVERPOOL NAME BINDING HANGS the JBOSS initialization process (using weblogic jdbc driver )

2001-05-17 Thread Marko Strukelj
Title: RE: [JBoss-user] SQL SERVERPOOL NAME BINDING HANGS the JBOSS initialization process (using weblogic jdbc driver ) I tried using wl driver once, didn't manage to make it work fully, but the first obstacle similar to your symptoms was that the licence file was not found on classpath. I

Re: [JBoss-user] ejbFinder problem

2001-05-17 Thread Jim Downing
Yes, exactly so. I should have made it clear, sorry. The naming convention is XXXHome and XXX are the home and remote interfaces, and XXXBean is a value object that conforms to the JavaBean spec (required further on in the app). The id field is constrained as a primary key - I was under the

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Suse Linux 7.0

2001-05-17 Thread RRokytskyy
Hi, Great job! I've experienced the same problems with IB 6.01 on Debian Linux. There were few differencies from your how to: 1. Install Interbase from www.interbase.com. Unpack and run, there is no problem. Attention on the first gsec call. gsec -user SYSDBA -password changeme

Re: [JBoss-user] JBoss and ANT

2001-05-17 Thread Peter Braswell
Mike, There really is nothing special that needs to be added to ANT to generate JBOSS deployment jars. WLS uses ejbc (EJB compiler) to generate skeletons and stubs used to marshal data during invocation. Since JBOSS uses dynamic proxies to accomplish this (read, stub-less/skeleton-less) there

[JBoss-user] Update from JBoss2.0-Final to 2.2.1 find not my datasource

2001-05-17 Thread Matthias Krause
Hi, I have some problems to find a datasource over JNDI. I update from JBoss 2.0 to 2.2.1 and get an error on the InitialContext lookup methode. The Error Message like this: TRANSACTION ROLLBACK EXCEPTION:UserManager : Can´t get DataSource. comp not bound; nested exception is: What´s the

Re: [JBoss-user] + Oracle Integration

2001-05-17 Thread Burkhard Vogel
Hi, usually a config problem, send your relevant parts of jboss.jcml, and describe what you have done so far. Burkhard - Original Message - From: Isidoro Fernandez Diaz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 17, 2001 12:21 PM Subject: [JBoss-user] + Oracle Integration

RE: [JBoss-user] Message Driven Beans - dynamically subscribe to mu ltiple Topics?

2001-05-17 Thread Matthew . GREEN
Peter/all, thanks for the tip, I checked the MDB specification in the EJB2.0 spec. It doesn't mention any mechanism to cope with multiple destinations per MDB. Perhaps it will be a future detail in the specs, maybe EJB2.1? It would certainly be good to have a new method on the MDB, such as

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Su se Linux 7.0

2001-05-17 Thread David Jencks
Hi, perhaps we should take this to the firebird list... I'm really confused, since I thought I had fixed the socklen_t problem. 1. Does your NetTCP.cpp contain something like this? (around line 141) int NetTCP::netOpen (int sockfd, int *newSockfd, int inetdflag) { register int tmpSockfd,

Re: [JBoss-user] Velocity JBoss

2001-05-17 Thread toby cabot
I use Velocity as my web interface and JBoss as J2EE. Where is the root directory relative to servelet running by JBoss Tomcat? I believe that it's the directory where you are when you run jboss. Anyone knows how to solve it? I use Velocity's classpath resource loader. Jar

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Su se Linux 7.0

2001-05-17 Thread RRokytskyy
1. Does your NetTCP.cpp contain something like this? (around line 141) int NetTCP::netOpen (int sockfd, int *newSockfd, int inetdflag) { register int tmpSockfd, childpid; //david jencks 1-19-2001 begin // int clilen, on; #ifndef socklen_t //problem on ms compiler #define

[JBoss-user] Intrabean Call ?

2001-05-17 Thread Thomas Grnert
Hi, documentation says: public class ABean implements EntityBean { ... public void BusinessMethod(...) { ... BHome home = (BHome)ctx.lookup("java:comp/env/ejb/myBean"); B bean = home.create(pk); ... } } My inside a

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-17 Thread Leonard Kierstead
|The workaround I found was to ignore i-net data sources and use |OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver: I'm not exactly sure what you mean by this. I'm guessing that by changing : attribute name=DataSourceClasscom.inet.tds.XDataSource/attribute to attribute

Re: [JBoss-user] Oracle Integration again

2001-05-17 Thread tim . haley
This happens when JBoss cannot connect to the Oracle Database. - Verify that your database is up and running. - Verify that your JDBC driver is in your classpath (you will also get an error earlier in the console window if this is the problem) - If you are only connecting to Oracle, you might

[JBoss-user] Need to use Fiorano Messaging Server with JBoss!!!!

2001-05-17 Thread Madhu
Hi, How can I use Fiorano Messaging Server with JBoss. Are there any changes to be made in the files placed inside ../conf/default, especially with jboss.jcml or jbossmq.xml. I am facing a peculair problem. When I try to publish a message onto a topic called xy_topic, the message is

Re: [JBoss-user] Intrabean Call ?

2001-05-17 Thread Per Lewau
On Thu, 17 May 2001, Thomas Grnert wrote: Hi, documentation says: public class ABean implements EntityBean { ... public void BusinessMethod(...) { ... BHome home = (BHome)ctx.lookup(java:comp/env/ejb/myBean); B bean = home.create(pk); ...

RE: [JBoss-user] Intrabean Call ?

2001-05-17 Thread Mat Robinson
The ctx for the lookup method refers to a JNDIInitialContext, not the SessionContext. Mat. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas GrnertSent: 17 May 2001 15:30To: [EMAIL PROTECTED]Subject: [JBoss-user] Intrabean Call

Re: [JBoss-user] Intrabean Call ?

2001-05-17 Thread danch (Dan Christopherson)
wrote: Hi, documentation says: public class ABean implements EntityBean { ... public void BusinessMethod(...) { ... BHome home = (BHome)ctx.lookup(java:comp/env/ejb/myBean); B bean = home.create(pk); ... } } My inside a SessionBean code looks like: private

RE: [JBoss-user] Intrabean Call ?

2001-05-17 Thread RRokytskyy
The ctx variable in the documentation example is of javax.naming.Context type, while your ctx is of javax.ejb.SessionContext in the book you should have something like: javax.naming.Context ctx = new javax.naming.InitialContext(...); -Original Message-From: Thomas Grnert

Re: [JBoss-user] Oracle Integration again

2001-05-17 Thread Burkhard Vogel
Hi, first, you neither need the line in jboss.properties, as I guess you are on JBoss 2.2. Then you won't either need the jboss.conf entries, so they must go as well. You should see something like [jdbcDrivers] oracle.jdbc.driver.OracleDriver loaded during startup, or your driver isn't found by

[JBoss-user] Deploy of beans in a single file or multiple jars allowed?

2001-05-17 Thread [EMAIL PROTECTED]
Hello, I'm having problems with jboss deployment of beans. I put all jar files in the deploy folder as recommended. jboss recognizes the jar files but still insists that I have deployed always the same bean: [J2EE Deployer Default] install module bean1.jar [Container factory]

Re: [JBoss-user] Overriding CMP entity creation

2001-05-17 Thread danch (Dan Christopherson)
If all you need to do is get your primary key from the autoincrement, you can simply put the code to fetch the value in ejbCreate and return that value as your primary key. Or am I missing something? Ray wrote: Hello again. I'm getting the hang of this ... :-) Now, because I have an

Re: [JBoss-user] Deploy of beans in a single file or multiple jarsallowed?

2001-05-17 Thread Per Lewau
On Thu, 17 May 2001, [EMAIL PROTECTED] wrote: Hello, I'm having problems with jboss deployment of beans. I put all jar files in the deploy folder as recommended. jboss recognizes the jar files but still insists that I have deployed always the same bean: [J2EE Deployer Default] install

Re: [JBoss-user] Design Question

2001-05-17 Thread Hunter Hillegas
I notice that some folks advocate the entities inheriting from the value objects... It seems like this won't work with EJB2.0 as the accessor methods for a CMP bean have to be abstract... Any thoughts on the best way to pull this off without duplicating tons of code in the entity beans and the

RE: [JBoss-user] Overriding CMP entity creation

2001-05-17 Thread Sacha Labourey
Hello, If I remember how auto-increment fields work in SQL Server or Access... you do not need (i.e. are not allowed) to set it during the insert into SQL instruction (or the addnew), but once the data is inserted (or at least rs.update), you can read it back so see what value has been set by

[JBoss-user] JMS Performance / Persistence

2001-05-17 Thread Geoff Jones
All, First post, so apolgies if this is a repeated topic, i have checked the archives without much luck so here's hoping its new. I am experimenting using the JBossMQ implementation for a new project and am having some serious performance problems. Our system will be receiving (bytes)

Re: [JBoss-user] Update from JBoss2.0-Final to 2.2.1 find not my datasource

2001-05-17 Thread Tobias Frech
Hi! Please go to www.jboss.org, then to the documentation section and select the Migration Guide. Hope this helps. If you are missing something in this guide, please let us know. Cheers, Tobias Matthias Krause wrote: Hi, I have some problems to find a datasource over JNDI. I update from

[JBoss-user] Jboss, Minerva Isolation level

2001-05-17 Thread yannl
Greetings, It appears to me from looking at JBoss source code and in particularly the minerva code that it is not currently possible to set the isolation level for a pool of SQL connections. At least not at the ejb-jar.xml descriptor level nor when setting a datasource pool in the jboss.jcml

RE: [JBoss-user] dear god, please help (petstore 1.1.2)

2001-05-17 Thread Robert Nicholson
1.1.2 should be easier than 1.1.1 to setup. I got 1.1.2 working in Weblogic 6.0 ok. The populateservlet stuff should be simple if you setup your datasources and connection pools correctly. you also have to make sure your resource-refs resolve to the appropriate JNDI names. The best thing to do

RE: [JBoss-user] Tomcat IIS HowTo

2001-05-17 Thread Li, Maria Q
Marc, Thank you so much for the reply, and I will try the Tomcat user list. Maria -Original Message- From: marc fleury [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 6:55 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Tomcat IIS HowTo Maria, this is a JBoss user list

Re: [JBoss-user] Jboss, Minerva Isolation level

2001-05-17 Thread danch (Dan Christopherson)
[EMAIL PROTECTED] wrote: Greetings, It appears to me from looking at JBoss source code and in particularly the minerva code that it is not currently possible to set the isolation level for a pool of SQL connections. At least not at the ejb-jar.xml descriptor level nor when setting a

[JBoss-user] database server login module

2001-05-17 Thread Éric Spérano
Hello everyone, I'm have some problems withthe database server login module with jboss 2.2.1 i'm coding some classes to administrates users and roles "live", some simple operations like add a principal id, add a role, remove a principal id, etc.. it seems to behave like jboss doesn't

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-17 Thread Rafael Alves Chaves
Hi, all... On Thu, 17 May 2001, Leonard Kierstead wrote: |The workaround I found was to ignore i-net data sources and use |OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver: I'm not exactly sure what you mean by this. I'm guessing that by changing : attribute

[JBoss-user] Benchmark results for MDBs - are we doing something wrong ?

2001-05-17 Thread connecstasy
Hi list, we were testing jboss for its performance in a messagedriven design. A client was sending 500 messages in a period of 50 seconds to topic 1. Messagedriven bean 1 captured the message, and sent it to topic 2. Messagedriven bean 2 captured the message, and sent it to topic 1. On topic

RE: [JBoss-user] Deploy of beans in a single file or multiple jars allowed?

2001-05-17 Thread DeGreef, Chris J. (AIT)
This happend to me when I had a META-INF as a subdirectory of something in the class path. That ejb-jar.xml file was always read regardless of the .jar that was being deployed. I had to remove the META-INF directory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

Re: [JBoss-user] Unable to find LoginModule class Exception

2001-05-17 Thread Wei Ma
I have the similar problem, Does any one know the solution? Thanks Wei Matthew Baird wrote: Hello, I've implemented my own LoginModule (authenticate via Castor) and I'm not sure where to make this class available to jboss so it can find it. Currently I'm getting the following exception:

[JBoss-user] Example of Session bean running as a Singleton

2001-05-17 Thread awc
Hi All, any one has a example of running session bean as a singleton? thanks anil ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Unable to find LoginModule class Exception

2001-05-17 Thread Matthew Baird
you have to add it to your classpath explicitly. I set it in the run.bat in jboss/bin. However, I'm still having no luck finding an example of the following: 1. User logs into web application via Tomcat or other servlet engine. 2. Subsequent calls from webtier (servlet engine) to the

[JBoss-user] CMP Entity findAll()

2001-05-17 Thread Dovan Nguyen
JBossers, I declared a findAll() method in a home interface of a cmp entity bean. The spec requires the container to the implementation of findAll() method. The jndi lookup is fine and returns a non-null home ref but when I call home.findAll() I get the following:

[JBoss-user] Dynamic addition of new databases

2001-05-17 Thread Xander van der Merwe
Hi, we are developing a new product catalog type app against JBoss and one of the features we'd like to support is the ability dynamically add/remove product catalogs from the site. We have: 1. A master database plus multiple catalog databases. 2. The master database will contain a *catalog

[JBoss-user] integrate JBoss 2.2.1 into VAJ Professional 3.5.3

2001-05-17 Thread Thorsten Möller
Hi! I've downloaded the JBoss Test Environment 2.0 available from www.jboss.org and followed the instructions to integrate/install it to VAJ. But it doesn't work. Every time I get an error message: Cannot complete the operation because Java class libraries WAS 3.5.3 is required by the system.

RE: [JBoss-user] How To JBoss 2.1.1, Interbase 6.01, JDK1.3 on Su se Linux 7.0

2001-05-17 Thread David Jencks
Hi, snip Question: Does JBoss uses the dialect 3? I didn't notice it to follow new syntax (well, it's hard to do this if you use prepared statements only :)). I'm afraid I forgot what many of the dialect 3 changes are. The ones I remember are 64 bit number support, both bigint and

[JBoss-user] Immediate deletion of object from cache

2001-05-17 Thread Norton Lam
Hi, Before my next question I would like to say thanx to all those who are responding to questions on this list. I've never been on a list where people are so helpful (and paitent). I've never been able to count on answers from some mailing lists, let alone useful ones. On to my question:

Re: [JBoss-user] Immediate deletion of object from cache

2001-05-17 Thread danch (Dan Christopherson)
Norton Lam wrote: Hi, Before my next question I would like to say thanx to all those who are responding to questions on this list. I've never been on a list where people are so helpful (and paitent). I've never been able to count on answers from some mailing lists, let alone useful

[JBoss-user] Primary Key warnings

2001-05-17 Thread Norton Lam
Hi, I'm getting warnings from the JBoss verifier that I need to override equals() and hashCode() in my primary key class. The problem is, I *am* overriding these methods. At the risk of world-wide embarrassment, here's the log and code snippets: [Verifier] Bean : Item Section: 9.2.9

[JBoss-user] using transactions outside enterprise beans

2001-05-17 Thread Roberto Leong
Hi Is it possible to do a UserTransaction lookup on a client (like a servlet) running on a different VM of Jboss? I´ve tried doing the following lookups without no success: initcntx.lookup(java:comp/UserTransaction); initcntx.lookup(UserTransaction);

Re: [JBoss-user] Primary Key warnings

2001-05-17 Thread danch (Dan Christopherson)
/** * Hash code method. */ public int hashCode() { return(super.hashCode()); } This is the problem. This is delegating to the Object.hashCode method that uses the object's address as its input, so when the verifier tries to verify that your hashCode method is right (by

[JBoss-user] Beans in jsp

2001-05-17 Thread Emanuel Galindo
How can i see the beans in .jsp files?? I process the program logic (for example a customer list in an Enumeration object) and pass the objects via request.setAttribute.. i think that i can recover that object and use it in .jsp files!! But im getting : org.apache.jasper.JasperException:

Re: [JBoss-user] JBoss and ANT

2001-05-17 Thread Ivan Novick
What is EJBDoclet? could you provide some more information or a link. Regarding having ANT write the beans, I dont think that is such a strecth ... imagine just defining your properties and methods (including code) in an xml format and then having ant or some other tool generate all required

[JBoss-user] Ann: Super 1.3 - J2ee/Ejb monitoring tool

2001-05-17 Thread Wei Jiang
Announcement: Super 1.3 - an EJB/J2EE monitoring tool with SuperPeekPoke SuperLogging SuperStress It is free for open source J2ee/Ejb servers (JOnAS, J2EE-RI and jBoss). It is free for evaluation (no expiration date). You can anomyously down load a perpetual evaluation copy from:

Re: [JBoss-user] Dynamic addition of new databases

2001-05-17 Thread David Jencks
Hi, Well the obvious solution is to add a catalog_id column to all your tables and use only one database, but since you aren't proposing to do that there must be some reason that won't work for you. I believe what you have to do is, for each catalog you wish to add, create an mbean

Re: [JBoss-user] CMP and auto_increment

2001-05-17 Thread Georg Rehfeld
Hi Ray, I have a table which has an auto incrementing field, and I'm accessing it using a Contaimer Managed Bean If I want create a new record, I just call rec.create(title); I don't bother with setting the id number because it's generated automatically. Now I reckon that I still need a

[JBoss-user] Weird error in Jboss container

2001-05-17 Thread Russell
Hi all , i am using RedHat6.1 , jdk1.3 , postgresql7.0.1 and jBoss2.1 . The weird error are : I have deploy my ejb which included 3 entity and 1 session bean. The session bean is facade to the entity bean. When i run jboss container and called a method from session for example

[JBoss-user] Unable to locate elogj.jar

2001-05-17 Thread Manu Srivastava
Hi All, http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/log4j/readme gives the following instructions to use loj4j to enable logging. Download the latest version of log4j.jar from http://jakarta.apache.org/log4j. Copy log4j.jar and elogj.jar under lib/ext. Where do I find

Re: [JBoss-user] Immediate deletion of object from cache

2001-05-17 Thread Jim Archer
I agree... If your never going to modify the data I would use a session bean to do this. EBs cost a lot. Jim --On Thursday, May 17, 2001 5:57 PM -0400 toby cabot [EMAIL PROTECTED] wrote: I have a system where I'll be logging user transactions in one of my tables. I won't ever need to