RE: [JBoss-user] what does jboss use instantDB for
Maybe it's for durable messages with jbossmq Just wild guess though. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Mader, Cary > J > Sent: Tuesday, May 22, 2001 1:41 PM > To: Jboss-User (E-mail) > Subject: [JBoss-user] what does jboss use instantDB for > > > I couldn't find a clear answer in the list archives on what instantDB is > actually used for by Jboss. If anyone could provide a little detail, I'd > like to hear it. > > Is the InstantDB instance that is started by JBoss there to use as I need? > Or would I be better off starting a seperate instance of an InstantDB > database? > > Thanks. > > Cary > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] petstore 1.1.2
Yes the only reason you should need it and you can work around it is because they use a j2ee RI class for deployment in the Ant rules. This can be easily worked around by simply building a war and not worrying about that class. That's the only reason you should need to reference j2ee.jar from RI otherwise, the jars you need should come with jboss. you just have to edit the j2ee.path stuff to make it reference the jboss files. I recently ported 1.1.2 to Weblogic 6 and I simply passed -Dweblogic.home= through as a property when invoking ant from build.bat and refereneced it from the build.xml files. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Cuong Tran > Sent: Tuesday, May 22, 2001 10:28 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] petstore 1.1.2 > > > > You need j2ee sdk to build it. > > --- mroosendaal <[EMAIL PROTECTED]> wrote: > > Has anyone installed and deployed the new petstore 1.1.2, when i ran the > > build.bat from petstore i got loads (60) of errors. > > > > I have jdk1.3 and jboss is running, it shouldn't be more then > just executing > > the build .bat in de petstore/src/petstore/src, shoud it? > > > > Maarten > > > > > = > Cuong Q. Tran <[EMAIL PROTECTED]> > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] petstore 1.1.2 deployed successfully
Did you maintain separate jars in the .ear or use one big jar for the ejbs? Also, does Jboss allow you to generate the stubs and skels are deploy time like Weblogic 6.0 with ejbc? In the case o Weblogic 6.0 you cannot do this because there are class resolution issues across the jars and their dependencies with ejbc at deploytime and there's no way to define the order in which ejbc should process the .jars in the .ear as deploy time. Just interested in how Jboss performs in the this regard. Cheers. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Cuong Tran > Sent: Friday, May 18, 2001 2:13 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] petstore 1.1.2 deployed successfully > > > > Hi everyone, > > I have managed to successfully deploy petstore 1.1.2 > on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. > If anyone is interested, I'm willing to share what I've done. > > > = > Cuong Q. Tran <[EMAIL PROTECTED]> > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] dear god, please help (petstore 1.1.2)
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 is to get 1.1.2 running on the reference implementation and then look at the deploy tool to see all the names and associations that exist and mimic these in what ever container you're trying to get it running in. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Shriver, > Ryan > Sent: Thursday, May 17, 2001 6:43 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [JBoss-user] dear god, please help (petstore 1.1.2) > > > > After spending two full days trying to get Petstore 1.1.2 to deploy on > > Jboss, it would be so great if someone with experience > > could write up a > > quick tutorial. > > > > I've followed the instructions from the 1.1.1 install, and > > have tried many > > things on my own, but having just started with EJB/JBoss, > > this is driving me > > crazy. > > > > This should take an experienced user less than an hour, and > > it would save > > days for all of us just learning EJB/Jboss. > > I got Petstore 1.1.1 deployed and working in JBoss. Yesterday I spent the > morning trying to get 1.1.2 deployed and after four hours gave > up. I got the > "Can't connect to database" error too, but modified PopulateServlet and > changed the JNDI name to java:/EstoreDB and that fixed that > problem. The new > "integrated" populate database feature doesn't seem to be working and at > this point I gave up. > > If I get this working I'll post what to do, else I'd encourage others if > they have the time to give it a try. It would be nice to figure it out. > > -ryan > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ejbFinder problem
Actually looks to me as though his PersonBean is a kind of Data Value Objects that's serialized over the wire. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of DeGreef, > Chris J. (AIT) > Sent: Wednesday, May 16, 2001 12:12 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [JBoss-user] ejbFinder problem > > > It looks unusual to directly access any class called ...Bean. > The standard > naming convention would imply this to be a class that only the container > would directly reference. Application code would access the > remote instead. > Maybe the problem has to do with that. > > -Original Message- > From: Jim Downing [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 16, 2001 12:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] ejbFinder problem > > > Hi Robert, thanks for the tip, > I've tried both casting the objects from the collection to the type of my > remote interface, and using PortableRemoteObject.narrow, but to no avail. > Any more clues? > > jim > > > - Original Message - > From: "Robert Nicholson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 16, 2001 6:12 PM > Subject: RE: [JBoss-user] ejbFinder problem > > > > I believe you are suppose to use PortableRemoteObject narrow on > items in a > > collection. > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of > Jim Downing > > > Sent: Wednesday, May 16, 2001 5:13 AM > > > To: [EMAIL PROTECTED] > > > Subject: [JBoss-user] ejbFinder problem > > > > > > > > > Hi all, > > > I'm trying to implement a findAll method for my BMP entity bean. > > > Sometimes it works fine, sometimes a FinderException is thrown when > > > calling business methods on the Remote interfaces in the returned > > > collection: e.g. > > > > > > Collection all = home.findAll(); > > > Iterator i = all.iterator(); > > > i = all.iterator(); > > > while(i.hasNext()) > > > { > > > PersonBean pb = ((Person) i.next()).getPersonBean(); > <-- Exception > > > thrown here > > > ... > > > } > > > > > > The exception is thrown in ejbLoad because there is no record in the > > > database table with a primary key of null (surprise surprise). > > > > > > Is there something I'm missing about the scope of these > collections? Is > > > it better to wrap all the finders in methods that return arrays? > > > > > > thanks in advance, > > > jim > > > > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ejbFinder problem
Have you checked the database? Are any of your primary key values NULL? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Downing > Sent: Wednesday, May 16, 2001 10:43 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] ejbFinder problem > > > Hi Robert, thanks for the tip, > I've tried both casting the objects from the collection to the type of my > remote interface, and using PortableRemoteObject.narrow, but to no avail. > Any more clues? > > jim > > > - Original Message - > From: "Robert Nicholson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 16, 2001 6:12 PM > Subject: RE: [JBoss-user] ejbFinder problem > > > > I believe you are suppose to use PortableRemoteObject narrow on > items in a > > collection. > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of > Jim Downing > > > Sent: Wednesday, May 16, 2001 5:13 AM > > > To: [EMAIL PROTECTED] > > > Subject: [JBoss-user] ejbFinder problem > > > > > > > > > Hi all, > > > I'm trying to implement a findAll method for my BMP entity bean. > > > Sometimes it works fine, sometimes a FinderException is thrown when > > > calling business methods on the Remote interfaces in the returned > > > collection: e.g. > > > > > > Collection all = home.findAll(); > > > Iterator i = all.iterator(); > > > i = all.iterator(); > > > while(i.hasNext()) > > > { > > > PersonBean pb = ((Person) i.next()).getPersonBean(); > <-- Exception > > > thrown here > > > ... > > > } > > > > > > The exception is thrown in ejbLoad because there is no record in the > > > database table with a primary key of null (surprise surprise). > > > > > > Is there something I'm missing about the scope of these > collections? Is > > > it better to wrap all the finders in methods that return arrays? > > > > > > thanks in advance, > > > jim > > > > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] ejbFinder problem
I believe you are suppose to use PortableRemoteObject narrow on items in a collection. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Downing > Sent: Wednesday, May 16, 2001 5:13 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] ejbFinder problem > > > Hi all, > I'm trying to implement a findAll method for my BMP entity bean. > Sometimes it works fine, sometimes a FinderException is thrown when > calling business methods on the Remote interfaces in the returned > collection: e.g. > > Collection all = home.findAll(); > Iterator i = all.iterator(); > i = all.iterator(); > while(i.hasNext()) > { > PersonBean pb = ((Person) i.next()).getPersonBean(); <-- Exception > thrown here > ... > } > > The exception is thrown in ejbLoad because there is no record in the > database table with a primary key of null (surprise surprise). > > Is there something I'm missing about the scope of these collections? Is > it better to wrap all the finders in methods that return arrays? > > thanks in advance, > jim > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Pet Store 1.1.2
The way I would approach this is get 1.1.1 and use the jboss patch for that and then try to follow your way to 1.1.2 by spotting the differences. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Da-Ming Duan > Sent: Monday, May 14, 2001 1:39 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Pet Store 1.1.2 > > > Can somebody tell me how to deploy Pet Store1.1.2 on > JBoss2.2.1_Tomcat3.2.1 ? Especially the database (Cloudscape) > configuration part like that for Pet Store 1.1.1 at > http://www.jboss.org/documentation/HTML/ch11s167.html. I don't quite > understand steps 6,7 and 8 on this site. Step 9 even makes my JBoss > server stopped working. > > Da-Ming > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] EJB call other EJB
Have you separated out your interfaces home and remote into a separate jar and declared the class path as a dependency in the manifest for the jar files? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Guy > Rouillier > Sent: Monday, May 07, 2001 9:37 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] EJB call other EJB > > > There is a section in the online documentation that covers this > subject, and > it pops up regularly on this mailing list. Search the archives > just for the > last week. > > - Original Message - > From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Monday, May 07, 2001 11:48 AM > Subject: [JBoss-user] EJB call other EJB > > > Hi, > > I have a problem : EJB A is calling EJB B, they are deployed in different > jar files. > In ejb-jar.xml file of EJB A, i declared a reference to EJB B and create a > jboss.xml file to reference the jndi-name of EJB B. > When I call EJB A, it try to call EJB B and i have a class not found > exception. > Do I need to include EJB B files into EJB A .jar file ? > > > Cécile Saint-Martin > [EMAIL PROTECTED] > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Deploying the Petstore app on Jboss.
Well I downloaded the 1.1.1 patch and fortunately I already have the 1.1.1 source release from javasoft. Despite it no longer being available today. I look at the README in the patch and it points me to a URL that's no longer valid http://www.jboss.org/newsite/documentation/petstore-1.1.1-01.html I would like to see a number list of steps needed to deploy the Petstore on jboss. Does such a thing exist? The Readme still leaves a lot up to the user and it's not for novices. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss Petstore going to be hard without access to jps 1.1.1
Someone needs to update the patch I think because I didn't see an easy way to obtain the 1.1.1 release on javasoft which the patch requires. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] weblogic ejb descriptors vs jboss descriptors
I've just been recently looking at Weblogic 6.0 and noticed that there's very little that gets you to a weblogic-ejb-jar.xml short of editing the file by hand yourself. I wanted to ask folks on this list if the process is any easier on jboss. I was looking at getting the petstore 1.1.2 release working on Weblogic but it's gonna take a lot of hand creating weblogic-ejb-jar.xml files. Has anybody got 1.1.2 working on Jboss yet? Is there any way to easily get from the RI's ejb-jar.xml to the proprietory descriptor that jboss needs to define jndi names and security roles etc? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user