[JBoss-user] Compiling Haefel's example EJB 2.0 .java files in JBoss 3

2002-03-18 Thread Allan Kamau
I have tried compiling the example EJB application list in Richard Monson-Haefel's book. The application consists of the following *.java files i)CabinHomeRemote ii)CabinHome iii)CabinBean I am using the command below to compile. "javac -classpath %JBOSS_DIST%\client\jbosssx-client.jar;%JBOSS_DI

RE: [JBoss-user] JBoss 2.4.4 and Tomcat standalone

2002-03-18 Thread Georg Schmid
The following tip was already posted once on the JBoss user mailing list. You can start Tomcat 4 with the -nonaming option (edit the startup.sh). Then the settings in jndi.properties take effect again. Obviously this option is not documented. I had to search the source. I am using Tomcat 4.0.4b

[JBoss-user] org.jboss.security.auth.spi.IdentityLoginModule

2002-03-18 Thread Boris Shpungin
Title: org.jboss.security.auth.spi.IdentityLoginModule I'm working with JBoss 2.4.4 and trying to use this LoginModule implementation in the auth.conf as a way to mark certain beans with a role. In my configuration file, I have an entry like this: restricted-bean {   org.jboss.security.auth.

[JBoss-user] Casting INTEGER_VALUED_PATH to String ???

2002-03-18 Thread Jason Uithol
Hello Jboss-Users, I am now using the new EJB-QL that comes with post 24/3/2002 jboss versions. It has borken a few of my EJB-QL expressions, one of which is comparing a string field to an integer field. STRING_VALUED_PATH = INTEGER_VALUED_PATH Now, so far - I have not been able to get any va

Re: [JBoss-user] JBoss 2.4.4 and Tomcat standalone

2002-03-18 Thread Daniel Bruce Lynes
On March 18, 2002 11:31 am, Burkhard Vogel wrote: > there are at least two possibilities: > first, run Jboss standalone, copy the jars from $JBOSS_HOME/client into > Tomcats classpath and treat tomcat like any other client application. > (Remember jndi.properties...) jndi.properties no longer wo

Re: AW: [JBoss-user] JBoss 2.4.4 and Tomcat standalone

2002-03-18 Thread Daniel Bruce Lynes
On March 18, 2002 08:18 am, Lenhart wrote: Sorry...I hit reply last time, and I guess it makes me reply to the sender rather than the list; I must not have been paying attention. > I would prefer getting them running on the same VM, but having them talk to > each other would be a good start as

[JBoss-user] Calling ejbStore before calling ej

2002-03-18 Thread Sachin Pandey
According to the ejb-spec "the container should must first synchronize the state of the entity bean instances that are participating in the same transaction context as the ejbFind." It seems that this was fixed in JBoss version 2.4.0 Bug No : 433115. I am using version 2.4.3 final release and

[JBoss-user] Calling ejbStore before ejb

2002-03-18 Thread Sachin Pandey
Hi, According to the ejb-spec "the container should must first synchronize the state of the entity bean instances that are participating in the same transaction context as the ejbFind." It seems that this was fixed in JBoss version 2.4.0 Bug No : 433115. I am using version 2.4.3 final release

Re: [JBoss-user] JBoss 2.4.4 and Tomcat standalone

2002-03-18 Thread Burkhard Vogel
Hi, there are at least two possibilities: first, run Jboss standalone, copy the jars from $JBOSS_HOME/client into Tomcats classpath and treat tomcat like any other client application. (Remember jndi.properties...) the other would be to exchange the the tomcat 4.01 jar of the distribution with the

Re: [JBoss-user] Dead JDBC Connection in JBoss Pool

2002-03-18 Thread David Jencks
I believe the problem is in the jca jdbc wrappers, not the ConnectionManager or ConnectionEventListener implementations. The current code in 3.0 appears to not call ConnectionErrorOccurred no matter what SQLException is thrown. My opinion is that the wrapper should be driver specific and know wh

RE: [JBoss-user] forums

2002-03-18 Thread James Ward
The Forums are working fine for me.  Can you find out what IP address main.jboss.org is resolving to for you?  For me I get 209.61.155.140   If that is the IP address you are resolving to, then can you get me a traceroute?   Thanks.   -James     -Original Message- From: A

[JBoss-user] forums

2002-03-18 Thread Alice Ad
anyone working to bring back forums link on jboss? thanks much.Do You Yahoo!? Yahoo! Sports - live college hoops coverage

Re: [JBoss-user] Forums down?

2002-03-18 Thread tsmets
Any idea when it will be back up & running ?   thomas,   p.s. : Running on Open Source ?         ;-)         Just teasing :-)   --Thomas SMETSrue J. Wytsmanstraat 621050 Bruxellesyahoo-id : smetsthomas - Original Message - From: Steve Knight To: jboss List Sent: 18

[JBoss-user] Oracle, BLOB and BMP

2002-03-18 Thread Tejovikas Suravajjala
Hi Folks, I received quite a few emails reg. the code example. So, I will just post it. I had to edit some of the code to remove company name and stuff like that. Do not be upset if it does not compile, it needs some classes as we use inheritance as well. We are using oracle.sql.BLOB. I have no

RE: [JBoss-user] Can't use CMP entity beans with Oracle 8

2002-03-18 Thread Eric Kaplan
that's called increasing the barrier to exit. ask microsoft about it... >I wouldn't go so far, but I certainly wish Oracle wouldn't try so hard to have their drivers be so different from all others... ___ JBoss-user mailing list [EMAIL PROTECTED] h

[JBoss-user] Dead JDBC Connection in JBoss Pool

2002-03-18 Thread Ruwei Hu
In my concurrent stress tests, I noticed dead connections are not cleaned properly. Brief searching in the JBoss mail list archieve shows similar experience from other users. I am using JBoss 2.4.1 with the ConnectionFactoryLoader and InvalidateOnError set to true. Is the issue get fixed in later

RE: [JBoss-user] Can't use CMP entity beans with Oracle 8

2002-03-18 Thread Eric Jain
> There this is a known problem with Oracle and LOBs. This problem is > because the oracle JDBC driver is a piece of shit. I wouldn't go so far, but I certainly wish Oracle wouldn't try so hard to have their drivers be so different from all others... > There is a patch for this in JAWS but, I h

Re: [JBoss-user] How do I model and implement inheritance between EJB's?

2002-03-18 Thread Stephen Davidson
Hi Dmitri. At over a year in age, I will admin that my approach may now be somewhat dated. I will also admit that there are a number of places where I do things by hand because some of the excellent tools out there won't/can't touch a project the size I am working on, but will work quite nice

Re: [JBoss-user] How do I model and implement inheritance between EJB's?

2002-03-18 Thread Dmitri Colebatch
> At over a year in age, I will admin that my approach may now be somewhat dated. I >will also > admit that there are a number of places where I do > things by hand because some of the excellent tools out there won't/can't touch a >project the > size I am working on, but will work quite nicely

[JBoss-user] JBoss 2.4, 3.0 and Dependent Objects

2002-03-18 Thread Frederick N. Brier
I just wanted to double check. Did Dependent Objects get dropped during the transition/rewrite to JBoss 3.0? They were in JBoss 2.4. Are they not available in 3.0? It was a nice feature. Thanks. Fred. At 10:27 AM 11/8/2001, danch wrote: >dependent objects were dropped from the EJB 2.0 spe

Re: [JBoss-user] How do I model and implement inheritance between EJB's?

2002-03-18 Thread Dmitri Colebatch
XDoclet (http://sf.net/projects/xdoclet) provides good support for this structure. hth dim - Original Message - From: "Stephen Davidson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 3:53 AM Subject: Re: [JBoss-user] How do I model and impl

[JBoss-user] java.rmi.server.hostname

2002-03-18 Thread Eric Biggs
I've upgraded to jboss3.0.0beta from 2.4.4 and cannot find where to set java.rmi.server.hostname for jboss3beta.  The file where it used to be set (jboss.properties) is deprecated.  The error output when I run my client is an rmi connection error on localhost  so i am guessing the java.rmi.s

[JBoss-user] BMP, blob and oracle

2002-03-18 Thread Tejovikas Suravajjala
I noticed some messages from floks having trouble with BMP, CMP/ BLOB on Oracle. After some effort I did manage to get my BMP to work with Oracle BLOB datatype. If someone needs the code snippet email me. ___ JBoss-user mailing list [EMAIL PROTECTED]

[JBoss-user] Oracle 9i and jboss

2002-03-18 Thread Tejovikas Suravajjala
Hi Folks, Does anyone out there happen to work with JBoss-2.4.4 and Oracle 9i. I am using SYS.XMLTYPE datatype in Oracle9i and if the rown counts exceeds 300, I am getting an error. My XML documents are quite big and things seems to be going fine on low volumes. ORA-04031: unable to allocate 81

Re: [JBoss-user] Problem with entity bean remove()

2002-03-18 Thread Dain Sundstrom
This looks like a bug. Can you post this to the bug database at sourceforge? http://sourceforge.net/tracker/?group_id=22866&atid=376685 Also include a stacktrace. -dain Leon Dud wrote: > I'm working with JBoss 3 from CVS. Calling remove on an entity bean does > remove the object from the d

RE: [JBoss-user] Can't use CMP entity beans with Oracle 8

2002-03-18 Thread Eric Kaplan
the only thing i'd say is oracle's handling of blobs is very specific. we failed to implement this generically (pure jdbc) for our bean managed persistence layer and failed, so had to go another route. if someone has a solution that is not oracle specific, please let me know. thanks eric kapla

Re: [JBoss-user] Can't use CMP entity beans with Oracle 8

2002-03-18 Thread Dain Sundstrom
There this is a known problem with Oracle and LOBs. This problem is because the oracle JDBC driver is a piece of shit. Check out tip 7 in the article at onjava http://www.onjava.com/lpt/a//onjava/2001/12/19/oraclejdbc.html There is a patch for this in JAWS but, I haven't gotten to integrating

Re: [JBoss-user] How do I model and implement inheritance between EJB's?

2002-03-18 Thread Stephen Davidson
Hi Dirk. I just did straight inheritance. Base classes went into a package called common. Base ejb classes went into common.ejb. Appropriate common files (including the entire common.ejb package) went into a Jar called Common.jar. Other EJBs went into their appropriate jars. Call child ejbs as n

[JBoss-user] Can't use CMP entity beans with Oracle 8

2002-03-18 Thread Eric Jain
Creating a CMP entity bean with a field containing an object (JAVA_OBJECT->BLOB) produces the following error message. Note that deployment works and produces the expected tables in the database. JBoss 3.0beta2 + classes12.zip. Any ideas? 16:35:49,584 ERROR [TestEJB] Could not create entity java

[JBoss-user] Problem with entity bean remove()

2002-03-18 Thread Leon Doud
I'm working with JBoss 3 from CVS. Calling remove on an entity bean does remove the object from the database, but doesn't allow the object to be created later. Anyone else having this problem? Attached are the testcase and bean code. Thanks, Leon <> <> TestEntity.java Description: Binar

RE: [JBoss-user] Forums down?

2002-03-18 Thread Eric Kaplan
yes -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve KnightSent: Monday, March 18, 2002 10:38 AMTo: jboss ListSubject: [JBoss-user] Forums down? Anyone else having problems accessing the forums via the links from the website?  

[JBoss-user] cannot create an instance entity bean on Jboss 3.0

2002-03-18 Thread CamBinh Pham
Hello, When run a command to create an entity bean from client, i got this pbm, did anyone have experience on this pbm yet ?. Im using Jboss 3.0 alpha database : PostgreSQL Hope i can get some helps here. thanks in advance, [14:41:30,933,Default] setEntityContext called [14:41:30,964,Default

RE: [JBoss-user] Forums down?

2002-03-18 Thread Georg Schmid
Yes. I get a proxy error on my Windows and Solaris boxes: Reason: Could not connect to remote machine: Connection refused Apache/1.3.22 Server at main.jboss.org Port 80 Georg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Knight Sent: Monday, M

RE: [JBoss-user] InvalidClassException

2002-03-18 Thread Georg Schmid
See for instance http://pgmjsd.weblogs.com/stories/storyReader$61 Georg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, March 18, 2002 15:16 To: [EMAIL PROTECTED] Subject: [JBoss-user] InvalidClassException I've got two

[JBoss-user] Forums down?

2002-03-18 Thread Steve Knight
Anyone else having problems accessing the forums via the links from the website?   Steve

[JBoss-user] InvalidClassException

2002-03-18 Thread rickmacc
I've got two Ear files, both of which contain some of the same classes. When I deploy both of them in the same JBoss instance, I get the following: java.lang.reflect.UndeclaredThrowableException: [EmbeddedTomcatSX] java.io.InvalidClassException Local class not compatible: stream classdesc seria

[JBoss-user] Re: Load Failed Error on Simple Bean

2002-03-18 Thread Peter Shillan
Hi All, I have no idea exactly what I did as I've been making too many changes to recall including, getting JBoss 3.0 from CVS and rebuilding. Whatever I did, my problem has gone and I'd like to thank you all for your help, especially Eric. Regards, Peter. __

Re: [JBoss-user] How do I model and implement inheritance between EJB's?

2002-03-18 Thread Sternagel Annegret (PN-SYS/PE)
e.g. look at http://www.theserverside.com/discussion/thread.jsp?thread_id=265 Annegret -Ursprüngliche Nachricht- Von: Dirk Storck [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 18. März 2002 13:36 An: Jboss User (E-Mail) Betreff: [JBoss-user] How do I model and implement inheritance betwe

[JBoss-user] How do I model and implement inheritance between EJB's?

2002-03-18 Thread Dirk Storck
Hi, where do I find suggestions in how to model and implement inheritance between EJB's? Many thanks and any suggestions are welcome! ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] JBoss 2.4.4 and Tomcat standalone

2002-03-18 Thread Dmitri Colebatch
Hi, We've done it for Tomcat 3.x, and my advice would be to download the jboss-tomcat bundle and have a look at how the configuration fits together. The important things to note are: - server.xml is _not_ parsed - webapps previously deployed in server.xml will need to be deployed via jboss's

[JBoss-user] JBoss 2.4.4 and Tomcat standalone

2002-03-18 Thread Lenhart Stefan
Hi everyone! I would like to integrate JBoss 2.4.4 with an existing installation of Tomcat version 4.0.3 (NOT the Tomcat version bundled with JBoss) on a WinNT system. All documentation I could find refers to the configuration of the JBoss-Tomcat-bundle. Has anybody done this before and can pro

Re: Re: [JBoss-user] Problems with JBoss, Tomcat and Win2K?

2002-03-18 Thread Chris Pitts
Hi Dmitri Thanks for the suggestion. I have now solved the problem - it was a dumb problem with JNDI; I had managed to put some weird stuff into the JRE's jndi.properties, so it's not surprising it wouldn't work! It's working a treat now. The app is now ported, and appears to be working. Rega

Re: [JBoss-user] Load Failed Error on Simple Bean

2002-03-18 Thread Peter Shillan
Hi Eric (et all), I am using JBoss "out of the box" so I'm using Hypersonic SQL as the database. The tables were created by JBoss deployment and the statements used look fine. I generated the whole lot (CMP Bean, ejb-jar.xml, JBoss XML) using xdoclet 1.2.2. Perhaps now I need to post up the EA