[JBoss-user] Why use JBOSS?
We are currently using tomcat, apache, and mysql to successfully deploy a fairly complex application and we have no cause for complaints. Since my knowledge of jboss consists mostly of what I was able to obtain from browsing the jboss website, can anyone tell me what (and if) we can gain by using jboss? Thank you, MC
RE: [JBoss-user] jboss 3.2.3 + jetty X
BCS poll shows Jetty winning however of the 18 million daily downloads of JBoss that majority now use Tomcat. We resisted moving to Tomcat because our stuff would break horribly on it. When the powers that be started steering the herd toward tomcat we decided to put the cart before the horse and jump on the bandwagon before the fat lady sung. The problem turned out to be non-compliant JSP tags that were exposed when we moved to Tomcat. After those were fixed up we had no further issues to speak of. -Original Message- From: Mike Moulton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 8:38 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X I would also like to see regular Jetty releases, despite the fact that it is no longer the container of choice. However I am not holding my breath, as previous post seem to indicate that politics come before innovation. .. Mike Moulton [EMAIL PROTECTED] On Dec 18, 2003, at 2:49 AM, Peter Ondruska wrote: > Thanks. It is not that I am not able to do it myself. I am curious why > is there such delay, if there are any issues, ... Back when Jetty used > to be the default web container Tomcat bundle was not delayed (correct > me if I am wrong). > > I believe I am not alone running JBoss+Jetty. I am not familiar with > sf.net but if it is not too complicated I offer my help producing > latest JBoss+Jetty if there are not enough resources. > > > Original Message Follows > From: "Rupp, Heiko" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: <[EMAIL PROTECTED]> > Subject: RE: [JBoss-user] jboss 3.2.3 + jetty X > Date: Thu, 18 Dec 2003 10:22:48 +0100 > > I would expect, that you can just take a jetty sar from > a previous release, remove the tomcat sar from deploy/ > and put the jetty one in. > > Heiko > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Mark > > Lassau > > Sent: Thursday, December 18, 2003 2:13 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X > > > > > > Your question has been asked here (on 4/12/2003) and on JBoss > > Forums: > > http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43294 > > > > But has not been answered. > > > > I know JBoss have decided to move the default bundle back to > > including Tomcat, but do they intend to also release a Jetty bundle > > with each prod > > release, and if so do we expect a long delay after the Tomcat release > > each time? > > > > Peter Ondruska wrote: > > > > > Archives are not searchable, so maybe my question was > > answered already: > > > > > > Where can I find JBoss 3.2.3 with Jetty? > > > > > > Thanks, > > > > > > Peter > > > > > > _ > > > FREE online games with MSN Messenger 6.0 - FREE download > > > http://messenger.msn.cz > > > > > > > > > > > > --- > > > This SF.net email is sponsored by: IBM Linux Tutorials. Become an > > > expert in LINUX or just sharpen your skills. > > Sign up for IBM's > > > Free Linux Tutorials. Learn everything from the bash shell > > to sys admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > > > > > --- > > This SF.net email is sponsored by: IBM Linux Tutorials. Become an > > expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > > to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. Become an > expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _ > Plan your week with MSN Weather - http://www.msn.cz/weather/ > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. Become an > expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > __
Re: [JBoss-user] Is this CMP2 behaviour according to the spec?
On Dec 18, 2003, at 10:58 PM, Bill Burke wrote: Man you are bitchin today :) Yeah it's one of those days that started all wrong! But I still like JBoss. In the end it always gets the job done :-) I'm pretty sure you're only required to do pass-by-value for calls through the remote interface. This would be a significant performance hit if set and get inside of the bean always did a copy. Besides, Collections returned from getRelationship are not copies. Ok. FYI, I know you don't care now, but we will look into the Tomcat virtual-host thing you bitched about a few emails ago too. Actually I do care. Tomcat 5.0 looks promising and I will probably use that in the future when it and the JBoss integration is more stable. So thanks for looking into this issue. I can file a complete bug report if you want, with log entries, etc. S. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Is this CMP2 behaviour according to the spec?
Man you are bitchin today :) I'm pretty sure you're only required to do pass-by-value for calls through the remote interface. This would be a significant performance hit if set and get inside of the bean always did a copy. Besides, Collections returned from getRelationship are not copies. FYI, I know you don't care now, but we will look into the Tomcat virtual-host thing you bitched about a few emails ago too. Bill Stefan Arentz wrote: Say I have a bean with two date fields, dateA and dateB. Then I do this: ejbCreate() { Date date = new Date(); setDateA(date); date.setTime(date.getTime() + 1000); setDateB(date); } The result in the database is that the value of dateA is also set to dateB. Now I know Java works by reference, but this just seemed odd. I thought Entity Beans hold their own private copy of fields. This is on 3.2.2. S. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Is this CMP2 behaviour according to the spec?
Say I have a bean with two date fields, dateA and dateB. Then I do this: ejbCreate() { Date date = new Date(); setDateA(date); date.setTime(date.getTime() + 1000); setDateB(date); } The result in the database is that the value of dateA is also set to dateB. Now I know Java works by reference, but this just seemed odd. I thought Entity Beans hold their own private copy of fields. This is on 3.2.2. S. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss 3.2.2/EJB-QL with >= or <=?
On Dec 17, 2003, at 6:02 PM, Darren Hartford wrote: Hey all, Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL statement contains '>=' or '<='? Yes, because EJB-QL is retarded. Use jboss-ql instead. Isn't that EJB/CMP2 spec great? :-/ S. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 3.2.x and Virtual Hosting: Tomcat Broken, Jetty Works
My scenario was pretty simple, yet it took hours to get it done with tomcat. What I have is two web applications packaged in .ear files. Both of these apps are bound to / but to different hostnames. Like this in jboss-web.xml: / host1.blah.com First try: Tomcat 4.x I first tried this with JBoss3.2.3/Tomcat4. This does not work at all. Tomcat4 barfs when the second .ear is loaded. 2003-12-16 09:10:13,148 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:fluts.war org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '' is not unique) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) Maybe something newer: Tomcat 5.x Then I tried to do this with Tomcat 5.x that comes with JBoss 3.2.3. Unfortunately this also does not work. The first app deploys fine again but when the second one is loaded I get an IncompatibleClassChangeError. To the rescue: Jetty Enough of that Tomcat cr*p. I got rid of jbossweb-*, downloaded jboss-3.2.2-jetty-4.2.14.sar from http://jetty.mortbay.org, dropped it in the deploy directory. My JBoss version is 3.2.3, but this Jetty version works fine with it. Guess what ... I deployed my ear files and they worked. No errors, no weird class loaded stuff, no exceptions. Why oh why does JBoss not ship with Jetty anymore. It is clearly the servlet engine that works. Maybe my setup is unique. Maybe none of the 5 million people who downloaded JBoss use virtual hosting like this. I don't know. All I know is that I will run my production servers with Jetty for the simple reason that it is currently the only servlet container that can actually deploy standard applications. Bah. Four hours wasted. S. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Bug when generating foreign keys with mySQL
Could you increase the log level to debug for org.jboss.ejb.plugins.cmp and see what's wrong with the issued SQL. Do you use composite or simple primary keys? Olve S. Hansen wrote: In jboss 3.2.2 I deployed to my InnoDB MySql without problems, but with 3.2.3 I experience problems generating foreign-keys when the flag fk-constraint is set to true in my applications jbosscmp-jdbc.xml. This worked very well in 3.2.2 Is this bug reported? The bug system at sf.net does not have a search facility (as I found)... Thanx 2003-12-18 18:39:20,562 ERROR [org.jboss.ejb.EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Error while adding foreign key constraint; - nested throwable: (java.sql.SQLException: General error, message from server: "Can't create table '.\bite2\#sql-754_236.frm' (errno: 150)") at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.addForeignKeyConstraint(JDBCStartCommand.java:724) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.addForeignKeyConstraint(JDBCStartCommand.java:637) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:177) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:484) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:388) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy30.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy12.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
Re: [JBoss-user] Jboss 3.2.2/EJB-QL with >= or <=?
EJBQL does not allow >=/<=, for example, for strings, dates. This all works in JBossQL. Darren Hartford wrote: Hey all, Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL statement contains '>=' or '<='? -D --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] problem with deploying EJB CMPs
Somehow it works for me. I deployed an ejb-jar jar w/o jboss-specific deployment descriptors and w/o any changes to standardjbossXXX files in 3.2.2 final. Please, provide instructions how to reproduce your problem. netanel weinberg wrote: I haven't changed anything in the jboss's xmls files and i'm using JBOSS 3.2.2 - Original Message - From: "Alexey Loubyansky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 12:00 PM Subject: Re: [JBoss-user] problem with deploying EJB CMPs Have you changed the default entity-command in standardjbosscmp-jdbc.xml or in jbosscmp-jdbc.xml? What JBoss version are you using? netanel weinberg wrote: I'm deploying my jar file with some EJB CMPs and one session bean and getting an error in my last EJB CMP deploying i'm deploying in the jar file first all the cmps and then the session bean and getting an error about nullpointer in the last cmp deployement. when i've tried to remove the last cmp from the jar file and from the xml file to check if it i still getting the error it gave me the same error on the current last cmp ejb deployment (nullpointer) can it be 'cause i have defined well the session bean after that cmps in the ejb-jar.xml? here is the error i got: --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jboss 3.2.2/EJB-QL with >= or <=?
Sometimes, there is. Depends on the query. Darren Hartford wrote: Hey all, Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL statement contains '>=' or '<='? -D --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] problem with jbuilder9, jboss-3.2.3 and JDataStore
Hi, I'm currently trying to deploy an enterprise javabean that uses a JDataStore database. First I deployed the JDataStore using the file jdatastore-ds.xml wich contains: ***begin xml file*** JDataStoreDS jdbc:borland:dslocal:C:/temp/eurdatabase/vp3.jds com.borland.datastore.jdbc.DataStoreDriver jeroen bladiebla ***end of xml file*** I copied dx.jar,jdsserver.jar and jds.jar from the jbuilder9\lib to c:\temp\jboss-3.2.3\server\all\lib and put the xml file in c:\temp\jboss-3.2.3\server\all\deploy. After I did that the server said: ***begin server output*** 18:32:38,796 INFO [MainDeployer] Starting deployment of package: file:/C:/temp/jboss-3.2.3/server/all/deploy/jdatastore-ds.xml 18:32:38,828 INFO [RARDeployment] Started jboss.jca:service=ManagedConnectionFactory,name=JDataStoreDS 18:32:38,828 INFO [JBossManagedConnectionPool] Started jboss.jca:service=ManagedConnectionPool,name=JDataStoreDS 18:32:38,828 INFO [JDataStoreDS] Bound connection factory for resource adapterfor ConnectionManager 'jboss.jca:service=LocalTxCM,name=JDataStoreDS to JNDI nam e 'java:/JDataStoreDS' 18:32:38,828 INFO [TxConnectionManager] Started jboss.jca:service=LocalTxCM,name=JDataStoreDS 18:32:38,828 INFO [MainDeployer] Deployed package: file:/C:/temp/jboss-3.2.3/server/all/deploy/jdatastore-ds.xml ***end of server output*** this looks fine to me, however when I put the bean( voorbeeldenejb.jar) in the deploy directory I get this error message: ***begin server output*** 20:19:25,484 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:jndiName=StudentTentamensLijst,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataStoreDS; - nested throwable: (javax.naming.NameNotFoundException: JDataStoreDS not bound), ObjectName: jboss.j2ee:jndiName=StudentLijst,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: JDataStoreDS; - nested throwable: (javax.naming.NameNotFoundException: JDataStoreDS not bound)] ***end of server output*** which seems kind of weird to me because jboss said it deployed the JDataStore just fine. Can someone please tell me what the problem could be here? Tell me if you need more info. Thanks in advance for any help! -- Kind regards, Jeroen Bruinink [EMAIL PROTECTED] --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Server Hanging on Startup
This does not happen if I start the 'default' server instead of the 'all' server. Any ideas. >>> [EMAIL PROTECTED] 12/15/03 12:07PM >>> Hey everyone, I am having problems with my JBoss-3.2.1 server coming up. It all of a sudden started hanging on the following: 09:59:28,443 INFO [DefaultPartition] Initializing 09:59:28,473 INFO [ClusterPartition] Created 09:59:28,473 INFO [HASessionStateService] Creating 09:59:28,503 INFO [HASessionStateService] Created 09:59:28,503 INFO [HANamingService] Creating 09:59:28,584 INFO [HANamingService] Created 09:59:28,584 INFO [JGCacheInvalidationBridge] Creating 09:59:28,594 INFO [JGCacheInvalidationBridge] Created 09:59:28,594 INFO [JRMPInvokerHA] Creating 09:59:28,594 INFO [JRMPInvokerHA] Created 09:59:28,594 INFO [ClusterPartition] Starting 09:59:28,594 INFO [ClusterPartition] Connecting to channel 09:59:28,674 INFO [STDOUT] --- GMS: address is DEV02DS:1063 --- Can you give me any idea of why it is not coming up? What is it doing with the GMS? Thanks, Rich --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Bug when generating foreign keys with mySQL
In jboss 3.2.2 I deployed to my InnoDB MySql without problems, but with 3.2.3 I experience problems generating foreign-keys when the flag fk-constraint is set to true in my applications jbosscmp-jdbc.xml. This worked very well in 3.2.2 Is this bug reported? The bug system at sf.net does not have a search facility (as I found)... Thanx -- Olve S. Hansen Intermedia (http://www.intermedia.uib.no) 2003-12-18 18:39:20,562 ERROR [org.jboss.ejb.EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Error while adding foreign key constraint; - nested throwable: (java.sql.SQLException: General error, message from server: "Can't create table '.\bite2\#sql-754_236.frm' (errno: 150)") at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.addForeignKeyConstraint(JDBCStartCommand.java:724) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.addForeignKeyConstraint(JDBCStartCommand.java:637) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:177) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:484) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:388) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy30.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy12.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentS
Re: [JBoss-user] last version of JBoss that supports J2SE 1.3 ?
On Thu, 2003-12-18 at 17:34, Ionel GARDAIS wrote: > Hi folks, > > my JMS client's NamingContextFactory throws a > ClassNotFound : javax.net.SocketFactory. > > As this is a 1.4 class, what is the last version of > JBoss which supports 1.3 ? No, this is a j2se extension class (most of which got included in the jre for 1.4) You will find it in client/jnet.jar Regards, Adrian > > thanks, > ionel > > ___ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] drop last post
Sorry guys, I've been working for too long. I just have to install JSSE for 1.3. Good night ... ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] last version of JBoss that supports J2SE 1.3 ?
Hi folks, my JMS client's NamingContextFactory throws a ClassNotFound : javax.net.SocketFactory. As this is a 1.4 class, what is the last version of JBoss which supports 1.3 ? thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.2.3 + jetty X
I would also like to see regular Jetty releases, despite the fact that it is no longer the container of choice. However I am not holding my breath, as previous post seem to indicate that politics come before innovation. .. Mike Moulton [EMAIL PROTECTED] On Dec 18, 2003, at 2:49 AM, Peter Ondruska wrote: Thanks. It is not that I am not able to do it myself. I am curious why is there such delay, if there are any issues, ... Back when Jetty used to be the default web container Tomcat bundle was not delayed (correct me if I am wrong). I believe I am not alone running JBoss+Jetty. I am not familiar with sf.net but if it is not too complicated I offer my help producing latest JBoss+Jetty if there are not enough resources. Original Message Follows From: "Rupp, Heiko" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] jboss 3.2.3 + jetty X Date: Thu, 18 Dec 2003 10:22:48 +0100 I would expect, that you can just take a jetty sar from a previous release, remove the tomcat sar from deploy/ and put the jetty one in. Heiko > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Mark Lassau > Sent: Thursday, December 18, 2003 2:13 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X > > > Your question has been asked here (on 4/12/2003) and on JBoss Forums: > http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43294 > > But has not been answered. > > I know JBoss have decided to move the default bundle back to > including > Tomcat, but do they intend to also release a Jetty bundle > with each prod > release, and if so do we expect a long delay after the Tomcat release > each time? > > Peter Ondruska wrote: > > > Archives are not searchable, so maybe my question was > answered already: > > > > Where can I find JBoss 3.2.3 with Jetty? > > > > Thanks, > > > > Peter > > > > _ > > FREE online games with MSN Messenger 6.0 - FREE download > > http://messenger.msn.cz > > > > > > > > --- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. > Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Plan your week with MSN Weather - http://www.msn.cz/weather/ --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user smime.p7s Description: S/MIME cryptographic signature
Re: [JBoss-user] JMS DestinationManager tweaking
I got it workiing ! At least, it does not show error :) Thanks Adrian ! = -- Regards, Ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JMS DestinationManager tweaking
On Thu, 2003-12-18 at 12:58, Ionel GARDAIS wrote: > thanks Adrian, > > I am close to get this working. > > Every beans are in state CONFIGURED except jms-ds.xml > and jms-ra.rar which are in state > INIT_WAITING_DEPLOYER. > Sounds like you deleted jboss-jca.sar Regards, Adrian > I turned on TRACE logging for org.jboss.mq but no > useful infos were printed. > > any ideas ? > ionel > > ___ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franÃais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JMS DestinationManager tweaking
thanks Adrian, I am close to get this working. Every beans are in state CONFIGURED except jms-ds.xml and jms-ra.rar which are in state INIT_WAITING_DEPLOYER. I turned on TRACE logging for org.jboss.mq but no useful infos were printed. any ideas ? ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl
At 11:46 18/12/2003 +, you wrote: The call to handle.getEJBHome() does a jndi lookup anyway (using properties stored in the handle). There goes my effort of the day.:-( Thanks Again:-) Muraly
Re: [JBoss-user] java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl
YWMC(Your Wish My Command ;-) Thanks a TON:-) Muraly At 11:36 18/12/2003 +, you wrote: RTFJD (Read the freaking javadoc) ClassCastException - if this Properties object contains any keys or values that are not Strings. Regards, Adrian On Thu, 2003-12-18 at 11:01, Muraly R wrote: > Hi Gurus, > I am trying a scenario, where in the home handle of the EJB plus the JNDI, > to be stored into a file using ObjectOutputStream. > But I am getting the following exception: > Exception : org.jboss.proxy.ejb.handle.HomeHandleImpl > java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl > at java.util.Properties.store(Properties.java:444) > at SamLookup.main(SamLookup.java:61) > > Code Snippet: > Object ref = ic.lookup(name); > EJBHome result = > (EJBHome)PortableRemoteObject.narrow(ref,Class.forName(names.getProperty(name))); > HomeHandle home = result.getHomeHandle(); > .. > FileOutputStream fos = new FileOutputStream(".\\handle.properties"); > ObjectOutputStream oos = new ObjectOutputStream(fos); > handle.store(fos,"Store the handle of remote home interface of QPM"); > . > > The point of exception is in the last line. > > The objective of this process is simple. Since there are 3 VM's involved in > our App. and all the VM's has to perform a lookup, if the handle is stored > in a file, all the VM's can read the handle form the file, thus reducing > the rmi lookup calss. > > TIA > Muraly > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl
On Thu, 2003-12-18 at 11:01, Muraly R wrote: > Hi Gurus, > I am trying a scenario, where in the home handle of the EJB plus the JNDI, > to be stored into a file using ObjectOutputStream. > But I am getting the following exception: > Exception : org.jboss.proxy.ejb.handle.HomeHandleImpl > java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl > at java.util.Properties.store(Properties.java:444) > at SamLookup.main(SamLookup.java:61) > > Code Snippet: > Object ref = ic.lookup(name); > EJBHome result = > (EJBHome)PortableRemoteObject.narrow(ref,Class.forName(names.getProperty(name))); > HomeHandle home = result.getHomeHandle(); > .. > FileOutputStream fos = new FileOutputStream(".\\handle.properties"); > ObjectOutputStream oos = new ObjectOutputStream(fos); > handle.store(fos,"Store the handle of remote home interface of QPM"); > . > > The point of exception is in the last line. > > The objective of this process is simple. Since there are 3 VM's involved in > our App. and all the VM's has to perform a lookup, if the handle is stored > in a file, all the VM's can read the handle form the file, thus reducing > the rmi lookup calss. > The call to handle.getEJBHome() does a jndi lookup anyway (using properties stored in the handle). Regards, Adrian > TIA > Muraly > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Clustering problem:jboss3.2.2RC3/RedHat9.2
You should get a message like: --- GMS: address is htimes2:32967 (additional data: 17 bytes) --- If it is missing the additional data, you've hit a bug that was fixed for 3.2.2 final Regards, Adrian On Thu, 2003-12-18 at 22:21, Nishant Aggarwal wrote: > Hi All, > I am having problems running "Jboss3.2.2RC3-jetty4.2.11" on "Red-Hat > Linux9.2" with "JDK1.3.1_08" in cluster mode. > I have attempted the following things: > > 1.Installed "Jboss3.2.2RC3-jetty4.2.11" on two linux machines on the same > NFS. > 2.Added the "multicast" enabling string on both the machines as: > > Destination Gateway Genmask Flags Metric RefUse > Iface > 224.0.0.0 0.0.0.0 240.0.0.0 U 0 00 eth0 > > 3.Tested using javagroups test client(McastReceiverTest/MCastSenderTest).Its > working fine. > 4.Now , I ran one of the Jbosses on one of the machine in "all" mode. > 5.When the first one came up, then started jboss on the other machine as > well in "all" mode. > 6.Both the jbosses seem not to recognize the presence of the other,ie,I am > getting the following > output in logs of both of the jboss. > - > [ClusterPartition] Starting channel > [DefaultPartition] Number of cluster members: 1 > [DefaultPartition] Other members: 0 > [ClusterPartition] Started ClusterPartition: DefaultPartition > - > None of the jboss instances are able to recognize the presence of > other,though the cluster-service is deployed successfully on both the > machines. > > Any help would be greatly appreciated!! > > Thanks in advance, > Nishant. > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl
RTFJD (Read the freaking javadoc) ClassCastException - if this Properties object contains any keys or values that are not Strings. Regards, Adrian On Thu, 2003-12-18 at 11:01, Muraly R wrote: > Hi Gurus, > I am trying a scenario, where in the home handle of the EJB plus the JNDI, > to be stored into a file using ObjectOutputStream. > But I am getting the following exception: > Exception : org.jboss.proxy.ejb.handle.HomeHandleImpl > java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl > at java.util.Properties.store(Properties.java:444) > at SamLookup.main(SamLookup.java:61) > > Code Snippet: > Object ref = ic.lookup(name); > EJBHome result = > (EJBHome)PortableRemoteObject.narrow(ref,Class.forName(names.getProperty(name))); > HomeHandle home = result.getHomeHandle(); > .. > FileOutputStream fos = new FileOutputStream(".\\handle.properties"); > ObjectOutputStream oos = new ObjectOutputStream(fos); > handle.store(fos,"Store the handle of remote home interface of QPM"); > . > > The point of exception is in the last line. > > The objective of this process is simple. Since there are 3 VM's involved in > our App. and all the VM's has to perform a lookup, if the handle is stored > in a file, all the VM's can read the handle form the file, thus reducing > the rmi lookup calss. > > TIA > Muraly > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JMS DestinationManager tweaking
On Thu, 2003-12-18 at 10:35, Ionel GARDAIS wrote: > Hi, > > Almost all JMS mbeans depends on DestinationManager. > But DestinationManager uses PersistanceManager and > MessageCache which seems to rely upon a db connection. > > I'd like to run JBossMQ without any db connections > (for standalone purpose : only JNDI + JBossMQ). > Is it possible or does db is used for the JBossMQ core > ? > > What if I disable the PersistanceManager and > MessageCache ? There are no "Null" implementations of either service. If you jboss-3.2.2+ there is an example using file persistence (but I don't recommend this if your messages are important - a db is much more reliable). See docs/examples/jms/file-pm-service.xml If you don't want your messages persisted, make sure you use DeliveryMode.NON_PERSISTENT either on the send or set as a property on the sender/publisher. The MessageCache will still kick in when the High Memory Mark is exceeeded (to try to keep overall memory below the Max Memory Mark). Regards, Adrian > > > = -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] mbean deployment : null object name
Hi again, I tried to use DestinationManager without MessageCache, PersistenceManager, StateManager. While starting, I now have an error saying "null object name" Here is the log : ObjectName: jboss.mq:service=DestinationManager state: FAILED I Depend On: Depends On Me: jboss.mq.destination:service=Topic,name=productTopic jboss.mq.destination:service=Topic,name=underlyingTopic jboss.mq.destination:service=Topic,name=dealTopic jboss.mq:service=SecurityManager jboss.mq.destination:service=Queue,name=DLQ javax.management.InstanceNotFoundException: null object name, DestinationManager is declared as : which parameter do I omit ? thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl
Hi Gurus, I am trying a scenario, where in the home handle of the EJB plus the JNDI, to be stored into a file using ObjectOutputStream. But I am getting the following exception: Exception : org.jboss.proxy.ejb.handle.HomeHandleImpl java.lang.ClassCastException: org.jboss.proxy.ejb.handle.HomeHandleImpl at java.util.Properties.store(Properties.java:444) at SamLookup.main(SamLookup.java:61) Code Snippet: Object ref = ic.lookup(name); EJBHome result = (EJBHome)PortableRemoteObject.narrow(ref,Class.forName(names.getProperty(name))); HomeHandle home = result.getHomeHandle(); .. FileOutputStream fos = new FileOutputStream(".\\handle.properties"); ObjectOutputStream oos = new ObjectOutputStream(fos); handle.store(fos,"Store the handle of remote home interface of QPM"); . The point of exception is in the last line. The objective of this process is simple. Since there are 3 VM's involved in our App. and all the VM's has to perform a lookup, if the handle is stored in a file, all the VM's can read the handle form the file, thus reducing the rmi lookup calss. TIA Muraly --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JMS DestinationManager tweaking
Hi, Almost all JMS mbeans depends on DestinationManager. But DestinationManager uses PersistanceManager and MessageCache which seems to rely upon a db connection. I'd like to run JBossMQ without any db connections (for standalone purpose : only JNDI + JBossMQ). Is it possible or does db is used for the JBossMQ core ? What if I disable the PersistanceManager and MessageCache ? = -- Regards, Ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] how to implement inheritance between CMPs
This is the problem on your side, probably. Can you check it with your admins? Also, there are some searchable archives on the net, for example, mail-archive.com. My answer was that there is no element in neither ejb-jar.xml nor jbossXXX.xml that configures inheritance. Your question for me is still not clear. forge wrote: Hello, I asked this question second time here. Alex and some other experts have given me some advice, much thanks. But it's disturbed that I've only read the titles of most of these messages because some mails from this maillist corrupted when reaching my mailbox. Will you please send your answers again? My question is: there are 2 CMPs, Person, Teacher and Student. Teache and Studen inherit from Person. In Websphere, there is a additional field in Person table to store the type, e.g. "teacher" denotes the record is a Teacher and "student" for Student. I'm using JBuilder9 + Jboss now, and don't know if they support CMP inheritance. If yes, how should I do in JBuilder? BTW, I'm trying Eclipse + Jboss, and they seems work better than J + J. Regards, Forge --http://www.eyou.com --нх╤╗©и©©╣д╣ГвспеоД сОрТсй╪Ч рф╤╞йИг╘ хуюЗ╥ЧнЯ мЬбГ╢Ф╢╒...рзсйн╢╬║ --http://vip.eyou.com --©Л©Л╣гб╪рзсйVIPпеоД в╒╡АдЗжпрБ╣дсц╩╖цШ --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.2.3 + jetty X
Jetty supplies JBoss sars with each Jetty release. There's currently a jboss-3.2.2-jetty-4.2.14.sar on sourceforge: http://sourceforge.net/project/showfiles.php?group_id=7322 There's also a FAQ about upgrading Jetty in JBoss: http://jetty.mortbay.org/jetty/faq?s=600-J2EE&t=JBoss I expect the next Jetty release will have a JBoss-3.2.3 sar. -Andrew Rupp, Heiko wrote: I would expect, that you can just take a jetty sar from a previous release, remove the tomcat sar from deploy/ and put the jetty one in. Heiko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Lassau Sent: Thursday, December 18, 2003 2:13 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X Your question has been asked here (on 4/12/2003) and on JBoss Forums: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43294 But has not been answered. I know JBoss have decided to move the default bundle back to including Tomcat, but do they intend to also release a Jetty bundle with each prod release, and if so do we expect a long delay after the Tomcat release each time? Peter Ondruska wrote: Archives are not searchable, so maybe my question was answered already: Where can I find JBoss 3.2.3 with Jetty? Thanks, Peter _ FREE online games with MSN Messenger 6.0 - FREE download http://messenger.msn.cz --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss 3.2.3 + jetty X
Thanks. It is not that I am not able to do it myself. I am curious why is there such delay, if there are any issues, ... Back when Jetty used to be the default web container Tomcat bundle was not delayed (correct me if I am wrong). I believe I am not alone running JBoss+Jetty. I am not familiar with sf.net but if it is not too complicated I offer my help producing latest JBoss+Jetty if there are not enough resources. Original Message Follows From: "Rupp, Heiko" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] jboss 3.2.3 + jetty X Date: Thu, 18 Dec 2003 10:22:48 +0100 I would expect, that you can just take a jetty sar from a previous release, remove the tomcat sar from deploy/ and put the jetty one in. Heiko > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Mark Lassau > Sent: Thursday, December 18, 2003 2:13 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X > > > Your question has been asked here (on 4/12/2003) and on JBoss Forums: > http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43294 > > But has not been answered. > > I know JBoss have decided to move the default bundle back to > including > Tomcat, but do they intend to also release a Jetty bundle > with each prod > release, and if so do we expect a long delay after the Tomcat release > each time? > > Peter Ondruska wrote: > > > Archives are not searchable, so maybe my question was > answered already: > > > > Where can I find JBoss 3.2.3 with Jetty? > > > > Thanks, > > > > Peter > > > > _ > > FREE online games with MSN Messenger 6.0 - FREE download > > http://messenger.msn.cz > > > > > > > > --- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. > Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Plan your week with MSN Weather - http://www.msn.cz/weather/ --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss 3.2.3 + jetty X
I would expect, that you can just take a jetty sar from a previous release, remove the tomcat sar from deploy/ and put the jetty one in. Heiko > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Mark Lassau > Sent: Thursday, December 18, 2003 2:13 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] jboss 3.2.3 + jetty X > > > Your question has been asked here (on 4/12/2003) and on JBoss Forums: > http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43294 > > But has not been answered. > > I know JBoss have decided to move the default bundle back to > including > Tomcat, but do they intend to also release a Jetty bundle > with each prod > release, and if so do we expect a long delay after the Tomcat release > each time? > > Peter Ondruska wrote: > > > Archives are not searchable, so maybe my question was > answered already: > > > > Where can I find JBoss 3.2.3 with Jetty? > > > > Thanks, > > > > Peter > > > > _ > > FREE online games with MSN Messenger 6.0 - FREE download > > http://messenger.msn.cz > > > > > > > > --- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. > Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Clustering problem:jboss3.2.2RC3/RedHat9.2
Hi All, I am having problems running "Jboss3.2.2RC3-jetty4.2.11" on "Red-Hat Linux9.2" with "JDK1.3.1_08" in cluster mode. I have attempted the following things: 1.Installed "Jboss3.2.2RC3-jetty4.2.11" on two linux machines on the same NFS. 2.Added the "multicast" enabling string on both the machines as: Destination Gateway Genmask Flags Metric RefUse Iface 224.0.0.0 0.0.0.0 240.0.0.0 U 0 00 eth0 3.Tested using javagroups test client(McastReceiverTest/MCastSenderTest).Its working fine. 4.Now , I ran one of the Jbosses on one of the machine in "all" mode. 5.When the first one came up, then started jboss on the other machine as well in "all" mode. 6.Both the jbosses seem not to recognize the presence of the other,ie,I am getting the following output in logs of both of the jboss. - [ClusterPartition] Starting channel [DefaultPartition] Number of cluster members: 1 [DefaultPartition] Other members: 0 [ClusterPartition] Started ClusterPartition: DefaultPartition - None of the jboss instances are able to recognize the presence of other,though the cluster-service is deployed successfully on both the machines. Any help would be greatly appreciated!! Thanks in advance, Nishant. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] how to implement inheritance between CMPs
Hello, I asked this question second time here. Alex and some other experts have given me some advice, much thanks. But it's disturbed that I've only read the titles of most of these messages because some mails from this maillist corrupted when reaching my mailbox. Will you please send your answers again? My question is: there are 2 CMPs, Person, Teacher and Student. Teache and Studen inherit from Person. In Websphere, there is a additional field in Person table to store the type, e.g. "teacher" denotes the record is a Teacher and "student" for Student. I'm using JBuilder9 + Jboss now, and don't know if they support CMP inheritance. If yes, how should I do in JBuilder? BTW, I'm trying Eclipse + Jboss, and they seems work better than J + J. Regards, Forge --http://www.eyou.com --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ --http://vip.eyou.com --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user