[JBoss-user] Help with HTTPS

2001-06-07 Thread Nithin Bose
Hi, Can anyone please help me as to what all configurations need to be done to use https with JBoss. I have jsse.jar, I am unable to set the system properties it specifies. Is there any other way of doing it?? Thanks Nithin ___ JBoss-user mailing

Re: Re: [JBoss-user] Help !! Dynamic User Authentication with JBoss

2001-06-07 Thread Binoy
Thanks Scott, Had been anxiously waiting for a lead.. and Hope to find it soon. Could just hint me to where to start for the integration .. is there some inital documentation available ? Regards Binoy ___ JBoss-user mailing list [EMAIL PROTECTED] htt

Re: Re: Re: [JBoss-user] Glitch in JBoss-2.2.2_Tomcat-3.2.2 distribution

2001-06-07 Thread Binoy
Thanks Scott, Had been anxiously waiting for a lead.. and Hope to find it soon. Could just hint me to where to Start ? Regards Binoy ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] DEAR JBOSS USERS

2001-06-07 Thread Allen Fogleson
It can't? We are using it in an application that has both CMP and BMP entity beans and they work fine. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Faisal Abdallah Sent: Thursday, June 07, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] DE

Re: [JBoss-user] question about bug: LOCKING-WAITING (TRANSACTION) ...

2001-06-07 Thread Georg Rehfeld
Dear Gianluca, sorry for the delay, I was busy. > In the jboss mailinglist archive I found the mail Georg Rehfeld mail (08 May > 2001) with subject: Transaction blocks forever, LOCKING-WAITING > > > > ... > > > I can access several beans in the first > > > place, but after a short while I again

RE: [JBoss-user] Version control

2001-06-07 Thread Paula Turnbull
Thanks for your replies. Sorry if my question seemed a bit vague.. Thats the problem with being new, you never quite know what or how to ask sometimes. To try to clarfiy, my data will be stored in a database..as yet I don't know which one. I guess I was trying to figure out if given multiple clien

RE: [JBoss-user] DEAR JBOSS USERS

2001-06-07 Thread Robert Schulz
We are very happy with it - we are currently using 2.2 on jdk1.3.0/Linux against postgres/Linux. We run resin as the servlet engine in separate VMs plugged into apache. We have about 10 entitiy and 20 session beans and written a fairly substantial web app on top of it and it works like a dream

[JBoss-user] DEAR JBOSS USERS

2001-06-07 Thread Faisal Abdallah
Dear Jboss users I am interested in hearing your experience with Jboss . I ve been using it since jboss2.0 update ...nd few improvements have occurred since .Till now it seems to me that IT can't, even, carry out the simplest EJB tasks such as finder methods( ByPrimarykey(),findAll( ) and Collect

RE: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread John Moore
Title: RE: [JBoss-user] Problem with Custom finders Then again, I guess if I had read the docs I would have seen the example too!    -Original Message-From: John Moore [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 6:36 PMTo: '[EMAIL PROTECTED]'Subject: RE: [JBoss-use

Re: [JBoss-user] Lookup Datasource from Javabeans. Possible?

2001-06-07 Thread Edward Wang
Seems impossible. When I was trying to connect to a Datasource that I saw was bound to java:/instantDB by JBoss at the startup in my servlet. But the following error was reported: Connection error:javax.naming.NameNotFoundException: InstandDB not bound Does this mean that? Edward --

RE: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread John Moore
Title: RE: [JBoss-user] Problem with Custom finders It's surprising it works when the select statement must have columns that exist in both tables being referenced.  The query must prefix the CMP table to each column in the select (e.g. price_list.price_id) or else I would have expected

[JBoss-user] Erroneous FinderException in a CreateException catch block

2001-06-07 Thread Mike Hoolehan
I'm catching a CreateException from BMP Entity bean in a Stateless session bean. The CreateException occurs because of a duplicate key already in the db (yes, I'll eventually use a DuplicateKeyException...) In the catch, I then try to do a Finder to get the existing bean from the db so that I c

Re: [JBoss-user] JBoss-Tomcat-Apache (try again)

2001-06-07 Thread Mike Hoolehan
Aliasing apache into your jboss temp deploy directory isn't really a great idea because you get exactly the problem you mention below. Instead, try using the mod-jk to bridge the gap between tomcat/apache. Check out the Jboss/Tomcat apache howto for info on getting jboss & embedded tomcat goin

Re: [JBoss-user] TransactionManager bug? or is there something i'm missing?

2001-06-07 Thread Toby Allsopp
On Thu, Jun 07, 2001 at 04:06:21PM -0400, David Esposito wrote: > I thought that UserTransaction is not accessible outside of the bean > context? I know in 2.3 beta it's available outside of the JVM even (there's > a whole seperate issue there .. ) ... but with 2.2, I thought that the only > way t

Re: [JBoss-user] JBoss-Tomcat-Apache (try again)

2001-06-07 Thread K.V. Vinay Menon
For what its worth some stuff i'd typed about setting up apache/tomcat/jboss Setting up jBoss-Tomcat 2.2 1. Unzip the zip file to your applications directory 2. To setup a datasource, a) Take a back up of jboss.jcml under JBOSS_HOME/conf/tomcat [assuming that you are running the Tomcat-jBos

Re: [JBoss-user] Can I use cmr-fields with JBoss 2.2 ?

2001-06-07 Thread Jim Archer
Hi Francesco... Currently, Jboss does not support and EJB 2.0 CMP features. It does support home methods and MDBs. If you want to give 2.0 CMP on jobss a whirl, check out: http://www.mvcsoft.com They offer a persistence manager you can use with jBoss that currently supports EJB 2.0 PFD1. Ji

Re: [JBoss-user] JBoss 2.2.2 / Jetty 3.1RC5 package available

2001-06-07 Thread Julian Gosnell
I'll have a look as soon as I can and get back to you. Jules "Daren R. Sefcik" wrote: > Applications seem to run fine but every request > generates the null null error. > > for the moment, Linux, JDK1.3. > > Also, just running the default RC5 Jetty only > (no JBoss) release is fine, no errors a

[JBoss-user] Options handling exception in MDB's onMessage?

2001-06-07 Thread Kar YEOW
Just wondering what people are doing when there is an exception inside the onMessage method?  As you can't throw it back to the client, all I can think of is to - do nothing - log it - send a message back Anybody has any suggestion? TIA Kar

Re: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-07 Thread Kar YEOW
I believe you can't use thread or IO either directly or indirectly. As these are resource controlled by the Container. If they are used without the Container's knowledge, the Container will not be able to manage them. eg opened file and unterminated thread etc etc... Kar - Original Message -

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread David Jencks
Hi, 1. Your sql won't work, you left article_categories and article_to_categories out of the from clause, so mysql has no idea what you are talking about, 2. you should be able to do this the easy way foobarquery , article_categories ac, articles_to_categories atc where articles.Articl

RE: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread David Jencks
Hi, Well, the example in the doco is like this: findByProvinceAndType ,CreatureEJBTable WHERE CreatureEJBTable.id = PopulationEJBTable.creatureId AND provinceId={0} AND type={1} I think I did this too, once, although I can'

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread David Jencks
Hi, if you want to look at the data in the intermediate tables, you probably need entity beans for them. If you are using them only to link things up with some criteria, you don't need entity beans for them. His description of the problem and sql code indicates he is doing the latter. How to do

Re: [JBoss-user]

2001-06-07 Thread Victor Lan
No, I believe an env-entry is only accessible within the java:comp namespace, which is inacessible to non-J2EE clients. In fact, the env-entry as declared below is not even accessible to other EJBs because you need to declare it for every bean that refers to it (in the deployment descriptor).

Re: [JBoss-user] JBoss-Tomcat-Apache (try again)

2001-06-07 Thread David Ward
I would love to read a good answer to this one. I have this in my httpd.conf include: Alias /myapp "/usr/local/jboss/tmp/deploy/Default/myapp.ear/web1001" Options Indexes FollowSymLinks Unfortunately, if I re-deploy myapp.ear, "web1001" increments and I have no way for Apache to cha

RE: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-07 Thread Matthew Baird
I don't think it's alright to use threads/io in classes that ejb's contain. I don't think there is anything that prevents you from doing this technically, but once you do something like that your warranty expires and you will probably see some pretty subtle bugs that will have you scratching your

RE: [JBoss-user] TransactionManager bug? or is there something i'm missing?

2001-06-07 Thread David Esposito
I thought that UserTransaction is not accessible outside of the bean context? I know in 2.3 beta it's available outside of the JVM even (there's a whole seperate issue there .. ) ... but with 2.2, I thought that the only way to give explicit transaction bounds outside of a bean is to use Transacti

[JBoss-user] Custom LoginModule

2001-06-07 Thread Matthew Baird
Hi All, I wrote a custom loginmodule to use our security api's to log people into our application. I used the UserLoginModule included with jboss as an example. The login module I wrote looks up a session EJB in jboss and uses that bean to authenticate the user. Everything looks good, and I've te

Re: [JBoss-user] TransactionManager bug? or is there something i'm missing?

2001-06-07 Thread Toby Allsopp
On Thu, Jun 07, 2001 at 02:01:36PM -0400, David Esposito wrote: > Summary: > It seems as though my two bean operations are executing under different DB > connections even though they are encapsulated in a TransactionManager > transaction block > > (and please don't tell me that I have to write a

RE: [JBoss-user] DB pool without specified username/password.

2001-06-07 Thread Allen Fogleson
Why dont you just set the pool up normally, then use the datasource.getConnection(String user, String Password) to connect as a named user? It's probably not the most efficient mechanism, but it should work. Assuming your drivers support the mechanism. Al -Original Message- From: [EMAI

Re: [JBoss-user] how to map ejb-ref from web.xml ? jboss-web.xml?

2001-06-07 Thread Cuong Tran
Hmm, I thought I already sent a reply for this :) Anyway, the dtd is in lib/ext/tomcat-service.jar. > Does that not imply JNDI references to EJBs in Servlets/JSP has to be > declared in jboss-web.xml? I guess this goes back to the original > question -- where would one find the DTD for jboss

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Ray
Further to my problem with custom finders :-) Is there a preferred method for doing relational joins using CMP? Thanks. It's beginning to sound like I've overcomplicated things ... _ Do You Yahoo!? Get your free @yahoo.com address a

RE: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread David Esposito
Title: RE: [JBoss-user] Problem with Custom finders You actually can do a join with another table .. (however, you can't fetch any of the data from those tables as they are not part of the CMP fields) ... it does have a little hacky flavor to it though ... ;)   this is for my PriceListB

Re: [JBoss-user] DB pool without specified username/password.

2001-06-07 Thread Jeffrey Thomas Liu
Nicolai P Guba wrote: > > > "HP" == Heikki Paajanen <[EMAIL PROTECTED]> writes: > > HP> Hi Is it possible to create DB pool without giving username and > HP> password beforehand ? So you can use DataSource connecting run > HP> time with some username and password... > > I've never managed

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Ray
--- David Jencks <[EMAIL PROTECTED]> wrote: > Hi, > I misunderstood, I thought you wanted to just define > the query in jaws.xml. Naah, I've decided to do it the hard way :-) > If this won't work, > maybe you should show your code and indicate where > the exception happens. OK, here

Re: [JBoss-user] help needed!! Can't create Primary Key class

2001-06-07 Thread Pascal Noppe
Thanks Georg, you certainly helped me. The public no arg constructor did the job. Pascal - Original Message - From: "Georg Rehfeld" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 30, 2001 10:16 PM Subject: Re: [JBoss-user] help needed!! Can't create Primary Key class

[JBoss-user]

2001-06-07 Thread Richard Hutton
Hi Is it possible to create environment entries in jndi which then can be then looked up outside of the app server e.g test TEST_ENTRY java.lang.String test value I have done this in the web.xml file and have an empty jboss-web.xml file under WEB-INF works fine when a servle

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Ray
--- "danch (Dan Christopherson)" <[EMAIL PROTECTED]> wrote: > Bear in mind that the ability to do finders like > this (BMP style finders > for a CMP bean) is a JBoss specific feature. > Are they?!! :-( At the bottom of the JBOSS JAWS document, it said that they were part of the EJB1.1 spe

[JBoss-user] TransactionManager bug? or is there something i'm missing?

2001-06-07 Thread David Esposito
Summary: It seems as though my two bean operations are executing under different DB connections even though they are encapsulated in a TransactionManager transaction block (and please don't tell me that I have to write a session bean ... there are many reasons why this is impractical for my parti

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Grim Shieldsson
More then likeley yes :) You need one for each child table if you're using CMP. I chose to use BMP for this situation becasue from a pure OO view, it's one object not a bunch of seperate objects. In addition you may very well take a performance hit with all those EJB's running around, depending

Re: [JBoss-user] JBoss 2.2.2 / Jetty 3.1RC5 package available

2001-06-07 Thread Daren R. Sefcik
Applications seem to run fine but every request generates the null null error. for the moment, Linux, JDK1.3. Also, just running the default RC5 Jetty only (no JBoss) release is fine, no errors are generated. Daren On Thu, 7 Jun 2001, Julian Gosnell wrote: > Oops. > > Mine runs fine ! > >

RE: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-07 Thread Grim Shieldsson
As long as those classed don't have a problem with being stopped when the EJB container swaps them out. --- Allen Fogleson <[EMAIL PROTECTED]> wrote: > Threads and IO are prohibited in an EJB, there is nothing to stop a > separate > class from using IO and threads, and having those classes be

RE: [JBoss-user] question about bug: LOCKING-WAITING (TRANSACTION) ...

2001-06-07 Thread Bordet, Simone
Gianluca, > Hi! > > In the jboss mailinglist archive I found the mail Georg > Rehfeld mail (08 May > 2001) with subject: Transaction blocks forever, LOCKING-WAITING > > > > ... > > > I can access several beans in the first > > > place, but after a short while I again get a block in the JNDI >

RE: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread John Moore
Title: RE: [JBoss-user] Problem with Custom finders if you use a join you have to make sure that it is handled in a subselect since, I don't believe, you can modify the from clause in EJB 1.1 CMP.  Here is an example of an where we join between two tables.     findExternalOrganiza

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Ray
Oh ... this could be my problem then ... so I do need to define entity beans for the intermediate tables, yes? --- Grim Shieldsson <[EMAIL PROTECTED]> wrote: > No I didn't, under Bean Managed Persistence. You do > under CMP. > --- Ray <[EMAIL PROTECTED]> wrote: > > Hi again :-) > > > > Sti

Re: [JBoss-user] JBoss 2.2.2 / Jetty 3.1RC5 package available

2001-06-07 Thread Julian Gosnell
Oops. Mine runs fine ! I'm going to need some help here: Platform, OS, JVM, etc... Anyone else seen this - or not seen this ? Jules --- "Daren R. Sefcik" <[EMAIL PROTECTED]> wrote: > On Wed, 6 Jun 2001, Sebastien Alborini wrote: > > > The package is available from the Sourceforge > site

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread David Jencks
Hi, I misunderstood, I thought you wanted to just define the query in jaws.xml. If this won't work, maybe you should show your code and indicate where the exception happens. david jencks On 2001.06.07 10:22:13 -0400 Ray wrote: > Yep, I did ... > > I've got the finder declared in the jaws.xml f

Re: [JBoss-user] Help !! Dynamic User Authentication with JBoss

2001-06-07 Thread Scott M Stark
You can do this using custom security proxies. There are a couple of changes that need to be commited to main for this along with the usage docs. I'll get to it next week. - Original Message - From: "Binoy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 06, 2001 8:48 PM

Re: [JBoss-user] EJB security

2001-06-07 Thread Scott M Stark
You can control this by installing your own authentication cache. By default a timed cache is used, but there aren't any methods exposed to flush this cache. I'll add this. - Original Message - From: "Martin Renner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 07, 2001

Re: [JBoss-user] how to map ejb-ref from web.xml ? jboss-web.xml?

2001-06-07 Thread Charles Ng
> Ben, you'll be happy to know that your search was in vain. You most likely > would have found all the information you wanted on the jboss-web.xml file if > there was such a file. In the deployment phase of your project, you will > create a web archive (.war) file that contains all of your web

Re: Re: [JBoss-user] Glitch in JBoss-2.2.2_Tomcat-3.2.2 distribution

2001-06-07 Thread Scott M Stark
Claudio submitted a patch: http://sourceforge.net/tracker/index.php?func=detail&aid=430035&group_id=228 66&atid=376687 I'll look into why this issue has shown up in the 2.2.2 release and put out another tomcat bundle release next week. - Original Message - From: "Binoy" <[EMAIL PROTECTED

Re: [JBoss-user] (no subject)

2001-06-07 Thread Grim Shieldsson
What do you mean by cached? I'm using the same setup and the user stays "logged in" until the session expires. I have no idea how to log someone out right now. --- Ivan Bolcina <[EMAIL PROTECTED]> wrote: > Hello all. > I am using JAAS security manager,which goes to database for users. > Are S

Re: [JBoss-user] Deploy Error : jboss trying to connect to java.sun.com ?

2001-06-07 Thread Nicolai P Guba
> "GS" == Grim Shieldsson <[EMAIL PROTECTED]> writes: GS> The XML parser is trying to get the DTD from sun. You need to GS> have it locally available. You prolly have a line like: taglib PUBLIC "-//SunMicrosystms, Inc.//DTD JSP Tag Library GS> 1.1//EN" "http://java.sun.com/j2ee/dtds/web-js

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Grim Shieldsson
No I didn't, under Bean Managed Persistence. You do under CMP. --- Ray <[EMAIL PROTECTED]> wrote: > Hi again :-) > > Still working on my problem with customer finders > > Has anyone got an example of a cusotmer finder that > uses SQL joins? This appears to be my problem. > > Did you have

Re: [JBoss-user] Deploy Error : jboss trying to connect to java.sun.com ?

2001-06-07 Thread Grim Shieldsson
The XML parser is trying to get the DTD from sun. You need to have it locally available. You prolly have a line like: http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"; > at the top of your xml files. You need to change it so that you have it looking locally for the file. I don't rem

Re: [JBoss-user] Can anyone explain...

2001-06-07 Thread Grim Shieldsson
Okay, how about a stack trace then? or the server.log file. That would be nice. I run on Linux, but I might be able to help with M$ Winblows :) Easy way to check if it's having problems with the JDK is to use a 1.3 JDK. I would seriously doubt there's a problem with that JDK. --- Lachezar Dobr

Re: [JBoss-user] Can anyone explain...

2001-06-07 Thread Burkhard Vogel
Post full stack trace... - Original Message - From: "Lachezar Dobrev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 07, 2001 10:33 AM Subject: Re: [JBoss-user] Can anyone explain... Download: JBoss 2.2.1 + Tomcat 3.2.1 as bundled on the site. Unzip (Win2K, JDK 1.

Re: [JBoss-user] JBoss 2.2.2 / Jetty 3.1RC5 package available

2001-06-07 Thread Daren R. Sefcik
On Wed, 6 Jun 2001, Sebastien Alborini wrote: > The package is available from the Sourceforge site. > The jboss.org website should be updated soon. I installed it (all default files) and just loading the default page I get: [Jetty] Started [Jetty] start HttpServer version Jetty/3.1.RC5 [Jetty]

[JBoss-user] Re: bug with Custom finder and Date

2001-06-07 Thread Sami JABER
Ok i found the solution... It's a bug in JBoss 2.2.1 that doesn't allow automatic persitence of *java.sql.Date* field type with InstantDB (but i quite sure that the issue come from the jboss persistentManager not from the DB) . I had to rename all my java.sql.Date in java.util.Date and it works !

Re: [JBoss-user] run_with_jetty.sh or run_wiht_jetty.bat

2001-06-07 Thread Julian Gosnell
I'm sure I put a NOTES or README at the top of tree saying exactly how to run it. If it's not there let me know. Jules --- Kemp Randy-W18971 <[EMAIL PROTECTED]> wrote: > Can anyone tell me what's missing from this picture? > > -> Previous version of jboss/jetty > <---

Re: [JBoss-user] DB pool without specified username/password.

2001-06-07 Thread Nicolai P Guba
> "HP" == Heikki Paajanen <[EMAIL PROTECTED]> writes: HP> Hi Is it possible to create DB pool without giving username and HP> password beforehand ? So you can use DataSource connecting run HP> time with some username and password... HP> Or is there a way to do it without pool or direct jdbc

RE: [JBoss-user] newbie question - what is an mBean

2001-06-07 Thread Ferguson, Doug
Check out jmx at java.sun.com -Original Message- From: kevin1 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 10:38 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] newbie question - what is an mBean What is an mBean, and where does that terminology come from? __

Re: [JBoss-user] newbie question - what is an mBean

2001-06-07 Thread Mike Hoolehan
An mbean is a management service using JMX. I guess I don't actually know this definitively, but I'm reasonably confident the 'M' stands for 'Management'. Lennart Peterssen recommended these two references earlier on this list. http://java.sun.com/products/JavaManagement/ http://www.jboss.org/

Re: [JBoss-user] notifying multiple users of a change

2001-06-07 Thread Nicolai P Guba
> "AF" == Allen Fogleson <[EMAIL PROTECTED]> writes: AF> you wouldnt necessarily have to use a MDB, although I believe JMS AF> is probably a decent solution for this. At least a low coding AF> overhead. you could have each client subscribe to some topic, and AF> have JMS publish to that topic

Re: [JBoss-user] newbie question - what is an mBean

2001-06-07 Thread R . Price
MBean = Managed Bean See the JMX (Java Management Extensions) API on Sun's website for detailed info. Robert Price epixtech, inc. (801) 223-5954 [EMAIL PROTECTED] kevin1 <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/07/2001 09:38 AM Please respond to jboss-user                 To:  

[JBoss-user] RE: CMP ejb findByPrimaryKey() and create() problems

2001-06-07 Thread Noorzaie, Jamal
Title: RE: CMP ejb findByPrimaryKey() and create() problems Paul:   Thanks a million. This was exactly the problem. Everything is working now.   My best regards, Jamal. -Original Message-From: Paul D Austin [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 10:37 AMTo:

Re: [JBoss-user] Re: [JBoss-dev] Serious Bug? EntityBean out of synch with database.

2001-06-07 Thread awc
Hi Georg, I guess it is bug in our coding. When you use ejbDoclet ( This is great doclet to create the beans and it is getting better and better like JBoss) you have variable called dataHolder to pass the data around, then you set and get the dataHolder with setData() and getData() methods. I do

[JBoss-user] question about bug: LOCKING-WAITING (TRANSACTION) ...

2001-06-07 Thread Gianluca Mameli
Hi! In the jboss mailinglist archive I found the mail Georg Rehfeld mail (08 May 2001) with subject: Transaction blocks forever, LOCKING-WAITING > > ... > > I can access several beans in the first > > place, but after a short while I again get a block in the JNDI > > lookup() method followed by

[JBoss-user] newbie question - what is an mBean

2001-06-07 Thread kevin1
What is an mBean, and where does that terminology come from? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

AW: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Jung , Dr. Christoph
In fact, if you look at the current source, we have managed to have separate classloaders for each ear that behave as a single classloader, but only if the needed classes cannot be found locally. That means, if you package your jars traditionally, you won´t even notice ...   CGJ -Urs

Re: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-07 Thread Mike Hoolehan
On (07/06/01 13:04), ZHU Jia wrote: > 1. How to model our existing inheritence tree in EJB? Someone told me > that both the RemoteInterface and the bean class should be in the tree, > but I'm not sure about that. Can I let an Interface inherit from a > normal class? What does it mean exactly? int

RE: [JBoss-user] problem with jboss2.2.1+tomcat 3.2.1+cocoon1.8.2

2001-06-07 Thread Gar?ar ?. Gu?geirsson
Did you make sure that xerces.jar is ahead of all other XML jars in the classpath? Details on this problem and how to solve it are in the Cocoon installation instructions (installing on Tomcat). If this doesen't solve your problem, try the Cocoon users mailing list, as this is more likely to be

RE: [JBoss-user] notifying multiple users of a change

2001-06-07 Thread Allen Fogleson
you wouldnt necessarily have to use a MDB, although I believe JMS is probably a decent solution for this. At least a low coding overhead. you could have each client subscribe to some topic, and have JMS publish to that topic whenever data is changed. No real need for a MDB here. Al -Origina

Re: [JBoss-user] Qurey about classpath

2001-06-07 Thread danch (Dan Christopherson)
Raghu Rao wrote: > Hi, > I have 2 EJBeans. In one bean(say A) i am trying to invoke other bean > (say B) through Java Reflection API (This is my absoulte necessity. I > don't want to do JNDI lookup). Heh? If you don't do a JNDI lookup, you can't get an instance of the bean. > CASE 1:- When

[JBoss-user] problem with jboss2.2.1+tomcat 3.2.1+cocoon1.8.2

2001-06-07 Thread Anil Tatineni
hi, i am tryin to use jboss2.2.1+tomcat 3.2.1 + cocoon 1.8.2 with jdk1.2 on windows2000. i installed cocoon's jar files in $TOMCAT_HOME/lib and started jboss. when i tried to hit the sample page as specified in the docs http:/localhost:8080/cocoon/samples/index.xml i get the following error. Pu

Re: [JBoss-user] to Dexter

2001-06-07 Thread Emerson
Sorry guys, i found the error : ) I forgot to repack and redeploy the ejb, : )) (need to seep a little more) Thank you for all I´ve got the following error when trying to execute the lookup() on the context [EleitorDetailHome] javax.naming.NameNotFoundException: jdbc not bound [EleitorDetailHo

[JBoss-user] EntityBean CreateException with Oracle8i

2001-06-07 Thread Joshua Zhao
Following the guide in http://www.jboss.org/documentation/HTML/ch11s44.html, I have been able to run the examples from Richard Monson-Haefel's book "Enterprise JavaBeans" (Chap4). In this case, I used the default DB (Hypersonic). However, if I switch to Oracle8i, following the instructions from "C

RE: [JBoss-user] Deploy Error : jboss trying to connect to java.sun.com ?

2001-06-07 Thread Allen Fogleson
remove your mailto:[EMAIL PROTECTED]]On Behalf Of Brimley, David: CSFB ECM Sent: Thursday, June 07, 2001 5:55 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Deploy Error : jboss trying to connect to java.sun.com ? Hi I'm sure this is a dumb first timers question.I've scanned thru the onli

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread danch (Dan Christopherson)
Bear in mind that the ability to do finders like this (BMP style finders for a CMP bean) is a JBoss specific feature. Now, to your problem: I'm not at all a MySQL expert, but is it possible that there's a permission/namespace problem there? For example, if JBoss created the table that correspo

[JBoss-user] Qurey about classpath

2001-06-07 Thread Raghu Rao
Hi, I have 2 EJBeans. In one bean(say A) i am trying to invoke other bean (say B) through Java Reflection API (This is my absoulte necessity. I don't want to do JNDI lookup). CASE 1:- When i try to do this, the Exception i get is that the bean B's Home Interface Class not found. CASE 2:- Then

Re: [JBoss-user] to Dexter

2001-06-07 Thread Emerson
I´ve got the following error when trying to execute the lookup() on the context [EleitorDetailHome] javax.naming.NameNotFoundException: jdbc not bound [EleitorDetailHome] at org.jnp.server.NamingServer.getBinding(NamingServer.java:474) [EleitorDetailHome] at org.jnp.server.NamingServer.ge

Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Ray
Yep, I did ... I've got the finder declared in the jaws.xml file working OK, but it's defining it in the bean that's the problem. Unfortunately, the example given: -- public class PopulationEJB implements EJBObject { public Collection ejbFindByProvince

Re: [JBoss-user] JBoss autocommit problem

2001-06-07 Thread Dexter Legaspi
dude, you have to provide more details (about your problem): are you using Bean-managed transaction or Container-managed? do you get this connection from a datasource used for loading and storing beans? if this is Container-managed then you shouldn't be calling setAutoCommit() for the jdbc co

[JBoss-user] notifying multiple users of a change

2001-06-07 Thread Nicolai P Guba
Suppose I have a multitude of EJB clients connecting to a jboss server. One client changes some data displayed in the other clients. How do I notify other clients that a change occurred so that they can display the update? My guess would be MDB. -- Nicolai P Gubahttp://www.gnu.org

Re: DataSource ?? Re: [JBoss-user] to Dexter

2001-06-07 Thread Burkhard Vogel
jdbc2_0-stdext.jar - Original Message - From: "Emerson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 07, 2001 2:26 PM Subject: DataSource ?? Re: [JBoss-user] to Dexter I´m getting the error : C:\webcad\classes>javac EleitorDao.java EleitorDao.java:11: cannot resolve

Re: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Lachezar Dobrev
   :)))    Seems like I missunderstood you.    That was what I meant.    BTW. Per-container means... Ughhh... There could be a couple of containers. Per-container means, that every EJB container has its own classloader. The global meant for all the application server there was one and only c

Re: [JBoss-user] Deploy Error : jboss trying to connect to java.sun.com ?

2001-06-07 Thread Nicolai P Guba
> "DB" == David Brimley writes: DB> The default ear is not deploying correctly, it looks as if JBoss DB> is trying to reach java.sun.com ??? Could it be that one of the DTD's () is referencing something like http://java.sun.com... ?? -- Nicolai P Gubahttp://www.gnu.org

RE: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Allen Fogleson
Im assuming since it says "will be the default" that there will be other options to use current deployment schemes. Nothing wrong with that at all as I see it. So I assume the per-jar/per-container/global you speak of will be supported in whole or part.   Al -Original Message-Fro

RE: [JBoss-user] Packaging

2001-06-07 Thread Allen Fogleson
Below is a sample ejb-jar.xml that has several beans in it, both session and entity. Al http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> PageScreamer Central Message Beans Messages messageController com.crunchy.ejb.session.messageControllerHome com.crunchy.ejb

RE: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-07 Thread Allen Fogleson
Threads and IO are prohibited in an EJB, there is nothing to stop a separate class from using IO and threads, and having those classes be used within the EJB. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ZHU Jia Sent: Thursday, June 07, 2001 7:05

Re: [JBoss-user] Minerva Source

2001-06-07 Thread Nicolai P Guba
> "TA" == Toby Allsopp <[EMAIL PROTECTED]> writes: PL> Minerva has been forked and is now (being) replaced by PL> JBossPool. It should be available in the JBoss CVS repository. >> Could somebody explain why it was necessary to fork this project? TA> The author, Aaron Mulder, did not wish to

Re: [JBoss-user] ejbCreate help

2001-06-07 Thread danch
Chris Tragas wrote: > Hi. > > I've been on this problem for days now and I'm crying out for some help. > > What I am trying to achive is to have a cmp bean that is mapped to a > database table in which the primary key is also an identity column (ie self > incrementing) I've read a lot of the qu

RE: [JBoss-user] Can String be mapped to "CLOB" in Oracle8i using CMP?

2001-06-07 Thread Allen Fogleson
we use blobs for Strings... you could use a clob I suppose but I believe (havent tried it) you would have to put the string in a char array. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ZHU Jia Sent: Thursday, June 07, 2001 6:41 AM To: jbossuser Su

Re: [JBoss-user] Version control

2001-06-07 Thread David Jencks
Hi, I think you may have trouble with cvs since it is not really ACID transactional. On the other hand, lots of people use mysql. If your data fits reasonably well in a rdbms, you may be able to do something like this: For each table T, have another table V_T with the same columns + a new abst

Re: [JBoss-user] JBoss autocommit problem

2001-06-07 Thread danch
Khurrum Abdullah wrote: > Hi, > I have used connection.setAutoCommit(false) but when i call > homeinterface.create() in my client program, the results get commited > after the method call . I have tried the same code in weblogic but it > works fine. JBoss already sets autocommit off on all conne

Re: [JBoss-user] ejbCreate help

2001-06-07 Thread David Jencks
Hi, None of the other replies I've seen have pointed out that your max() + 1 method for obtaining the next id is unsuitable for a multi user environment, unless you want to lick the entire table for the duration of the create method. There are zillions of posts on this topic. One solution, since

Re: [JBoss-user] Lookup Datasource from Javabeans. Possible?

2001-06-07 Thread Dexter Legaspi
yes! --- Tim Yates <[EMAIL PROTECTED]> wrote: > Is it possible to lookup the Datasource from my > JavaBeans? > > I use direct SQL to improve performance in several > methods, and wondered if > I could use the connection pool from my BMP beans... > > Cheers. > > Tim. > > > __

Re: [JBoss-user] Packaging

2001-06-07 Thread Dexter Legaspi
the DTD for the ejb-jar.xml should help...it's in the EJB1.1 spec docs: http://java.sun.com/products/ejb/docs.html --- Emerson <[EMAIL PROTECTED]> wrote: > How i execute the xml maker app that documentation > refers??? > > How do I pack 2 beans in one ejb-jar.xml??? > Emerson Cargnin > TRE-SC

AW: [JBoss-user] How to look up one bean in one jar from another bean in another jar cleanly

2001-06-07 Thread Jung , Dr. Christoph
Hell yes!   maybe it was ambiguous from my mail: the default for 3.0 will be a _scoped_ deployer that IS CAPABLE of deploying several ears into a common scope. But this should be influencable at deployment time where global scope (GLOBAL) and local scope (PER_JAR) are just two extremes. Du

Re: DataSource ?? Re: [JBoss-user] to Dexter

2001-06-07 Thread Dexter Legaspi
javax.sql make sure classes12.zip of Oracle is in the classpath for compiling --- Emerson <[EMAIL PROTECTED]> wrote: > I´m getting the error : > > C:\webcad\classes>javac EleitorDao.java > EleitorDao.java:11: cannot resolve symbol > symbol : class DataSource > location: package sql >

Re: DataSource ?? Re: [JBoss-user] to Dexter

2001-06-07 Thread Allan Kamau
I also did experience the same problem. Here's how I solved mine. You may need include the JDBC optional (or greater) package into your classpath during your .java compilation. Visit the www.javasoft.com for this class or get it from the attachment with this email. I hope this helps. I would be

  1   2   >