[JBoss-user] descriptor problem
Hi, I've got some problems with the jboss deployment descriptors. I've got the following error: 16:48:33,539 ERROR [EmbeddedCatalinaServiceSX] Failed to setup web application ENC javax.naming.NamingException: ejb-ref: ejb/UserSession, no ejb-link match, use jndi-name in jboss-web.xml See my deployment descriptors in attachments. Could you please tell my mistake(s)? Thanks in advance, wondersonic ___ Do You Yahoo!? -- Une adresse yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com deployment descriptors.zip Description: deployment descriptors.zip
RE: [JBoss-user] VOTE FOR JBOSS
On Sun, 2002-05-26 at 16:01, Bill Burke wrote: Come On people! Vote! Vote twice! It's ridiculous that Borland has more votes than us. Done, ... 3 times actually. (need a new mouse soon) BTW is it just me or are the lists in some of the categories completely ridiculous. Looks to me that if they had a 'Best Kitchen Tool' category they would put Oracle, Borland and Co even into this one. Cheers, Torsten ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Trouble hot re-deploying
I'm currently developing an app using JBoss 3RC3 (and the bundled tomcat 4.0.3) It would be lovely to be able to do a hot redeploy of my app after making fixes, because currently start times are hovering around 3 minutes. I'm developing using a file structure with a suitable name (foo.ear) for the root directory, rather than a .EAR file. When I touch the application.xml file, the app appears to be un-deployed (?) and the re-deployed, however calls to obtain EJBLocalHome objects barf, where before the redeploy they worked fine. I use a method that takes a JNDI name and returns an EJBLocalHome object, which is then cast to the appropriate type. Although the returned object has the same class name as before the redeployment, I'm getting ClassCastExceptions. Can anyone help? Regards, Simon -- UNIX command of the day: # ar x matey, the treasure ar: matey, the tresure does not exist ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Do I Not Understand Scoped ClassLoadingRepositories for EARs?
OK. The same case that I have. Tried to put the jboss-app.xml in META-INF in the .ears but I it does'n seem to solve the problem, so I think it is a bug. I also think that it is a bug that the boss-app-file is needed. The default should be not to share classes between ear/jar/wars. Have you submitted the files to demonstrate this problem? On Mon, 2002-05-27 at 01:04, Hunter Hillegas wrote: I have two ears that represent different versions of an application. They use the same class names and project hierarchy, and without the scoped classloading, JBoss sees confuses which class goes with which deployment descriptor. From: Marius Kotsbak [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: 26 May 2002 23:48:29 +0200 To: Hunter Hillegas [EMAIL PROTECTED] Cc: JBoss User [EMAIL PROTECTED] Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories for EARs? I meant the reason that you need to use the scoped classloading. On søn, 2002-05-26 at 23:24, Hunter Hillegas wrote: My problem is that it doesn't seem to work... I'm putting together a test case that exhibits the behavior I am seeing so the developers can take a look at it. Hunter From: Marius Kotsbak [EMAIL PROTECTED] Date: 26 May 2002 22:53:14 +0200 To: Hunter Hillegas [EMAIL PROTECTED] Cc: JBoss User [EMAIL PROTECTED] Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories for EARs? What kind of problem do you have then? I don't understand the release-note fully. Should META-INF/jboss-app.xml be placed inside the ear? Why do you need to include the name of the ear in the xml then? What is a valid JMX Objectname? Are users supposed to know the JMX-standard? Marius K On søn, 2002-05-26 at 22:29, Hunter Hillegas wrote: As I understand it, yes, the scoped classloading for EAR respositories is what you need. Read the RC3 release notes on SourceForge for an explanation of how it should work. Hunter From: Marius Kotsbak [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: 26 May 2002 22:08:03 +0200 To: [EMAIL PROTECTED] Cc: Scott M Stark [EMAIL PROTECTED] Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories for EARs? I beleve I could have a need for this functionality. I get this error: Caused by: org.jboss.deployment.DeploymentException: Bean Person has PK of type no.polardesign.boostcom.medlemsregister.PersonPK, so it should have a cmp-field named personID I have 2 versions of the Person-bean with the same class name/package. This error would be correct if it is using the wrong version. But since they are bound to different jndi-names, jboss should be able to distinguish between the 2 instances. I think it works ok when only one of the versions is deployed. Is this a bug or a feature? If it's a feature, what is it for? What is the scoped ear stuff for? Will it solve my problem (if it is working!). Is there any doc for this setting? I couldn't even find a dtd for the xml-file (jboss-app.xml) mentioned. Is this option for having 2 versions of a bean with the same jndi-name? Marius K Boost Communications A/S On søn, 2002-05-26 at 21:41, Hunter Hillegas wrote: Sorry, I should have phrased my question differently. Do you mean I need to write a Junit test? I have never done anything like that... I poked around on the developer site and didn't find a HOWTO or any kind of instructions. Is there any other place I should be looking for that info? Hunter From: Scott M Stark [EMAIL PROTECTED] Organization: JBoss Group Reply-To: [EMAIL PROTECTED] Date: Sat, 25 May 2002 21:20:25 -0700 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories for EARs? The simplest one that demonstrates the problem you are having. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Hunter Hillegas [EMAIL PROTECTED] To: JBoss User [EMAIL PROTECTED] Sent: Saturday, May 25, 2002 12:03 PM Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories for EARs? The same thing occurs if both EARs define unique repositories... The repositories show up in the JMX HTML console but the same type of exceptions occur. What kind of testcase do you want? Hunter ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___
Re: [JBoss-user] where is the doc?
Check out the manual module from CVS. Ricardo Argüello -Original Message- From: Ray Tayek [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 26, 2002 1:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] where is the doc? hi, just downloaded jboss. can't seem to find any doc. where does it live? thanks --- ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Do I Not Understand Scoped ClassLoadingRepositories for EARs?
I haven't had time to put together a test case yet. If you want to do that, I'm sure Scott, et al would be happy to look at it. If not, I'll be working on it sometime this week. As far as this being default behavior, that was discussed previously and it sounds like they have some pretty good reasons to offer both sets of functionality. Hunter From: Marius Kotsbak [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: 27 May 2002 21:02:20 +0200 To: Hunter Hillegas [EMAIL PROTECTED] Cc: JBoss User [EMAIL PROTECTED] Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories for EARs? OK. The same case that I have. Tried to put the jboss-app.xml in META-INF in the .ears but I it does'n seem to solve the problem, so I think it is a bug. I also think that it is a bug that the boss-app-file is needed. The default should be not to share classes between ear/jar/wars. Have you submitted the files to demonstrate this problem? ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] where is the doc?
and then go to manual/src/guide .) markus * Ricardo Argüello [EMAIL PROTECTED] [2002-05-27 22:48]: Check out the manual module from CVS. Ricardo Argüello -Original Message- From: Ray Tayek [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 26, 2002 1:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] where is the doc? hi, just downloaded jboss. can't seem to find any doc. where does it live? thanks --- ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- --- Markus Garschaemail: [EMAIL PROTECTED] Patrichsiedlung 32 fon: +49 9142 962749 91757 Treuchtlingen fax: +49 89 244356966 Germany pgp-keyid: 0xEE18AF3B --- msg16253/pgp0.pgp Description: PGP signature
Re: [JBoss-user] auto restart connection pool
You could write a jca-jdbc wrapper with this functionality in it. It's going to be a pain IMO since I believe one of the failures you have to deal with is nothing happening so for every request you have to execute it in a separate thread so timeouts can throw away the initial thread/request and try again. How do you propose to deal transparently with transactions in such a scenario without good cooperation from the db?? david jencks On 2002.05.24 16:20:21 -0400 Georg Schmid wrote: An interesting topic. We use a Veritas cluster to cluster our Oracle databases. It can do a hot fail-over, however the database connection is lost. The fail-over takes only about five minutes. Our goal is to make this temporary disruption transparent to the user. The only way (?) to get a hot failover for Oracle, that keeps the connection alive, is using Parallel Server, which is too expensive. I did some experiments by shutting down the Oracle server on my local Win box during database access and I got different exceptions, depending on the state the server was in (starting up, running, shutting down...). Now I am waiting for some time if I get an exception on the getConnection() call, then try again. It may not be bullet proof, but it's kind of funny if you can press the reload button while in your web application, shutdown the database, start it up again, and the web page appears (after many rotations of the logo in the upper right corner, of course). Is there any place inside JBoss where something like this would fit in? Regards Georg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Jencks Sent: Friday, May 24, 2002 20:19 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] auto restart connection pool How about setting the idle timeout? Or are you talking about a db error that breaks the connection? These are hard to deal with since SQLExceptions could be a constraint violation or a dead connection, and there's no way to distinguish them. david jencks On 2002.05.24 12:53:34 -0400 Mir Islam wrote: Is there a way to restart the connection pool if the DB drops the connection for some reason, without having to restart jboss ? From all mails I have been reading, it seems like the app server has to be restarted. Thanks Mir ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Clustering
Does JBoss clustering work if the nodes are configured in a DHCP environment? -- On Wed, 22 May 2002 17:55:46 Bill Burke wrote: Yes, JBoss supports clustering now. http://www.jboss.org/developers/jboss-jbossClustering.jsp JBoss clustering only requires some additional configuring of the deployment descriptors. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of bryan hansen Sent: Wednesday, May 22, 2002 5:21 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Clustering It is my understanding that JBoss supports clustering now, correct? When I was looking a while back it didn't. I guess this is more of a J2EE question, but code shouldn't have to be written differently to run on a cluster should it? As long as the code is written to the J2EE spec and runs on a single instance, it should run on a cluster just fine, if I understand this correctly. Thanks, Bryan __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user Outgrown your current e-mail service? Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL PLUS. http://login.mail.lycos.com/brandPage.shtml?pageId=plus ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user