[JBoss-user] Re: Problem with a deployed WAR
Use the jnlp-servlet.jar v1.2 which seems to fix the bug. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user]
Title: --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Simple Quick Question - how to change JSPs on the fly
Title: RE: [JBoss-user] Simple Quick Question - how to change JSPs on the fly How can a war file be deployed in a exploded way .. -Original Message- From: Keene Hammond [mailto:[EMAIL PROTECTED]] Sent: Friday, July 25, 2003 9:22 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Simple Quick Question - how to change JSPs on the fly Brian, You could deploy the ear file exploded into it's directory structure. -Keene Brian McSweeney wrote: Hi all, Quick question. Im deploying my app in an ear file. The jsps are contained in a war in the ear. If I want to change a jsp, currently I redeploy the ear. I am wondering if the actual jsps are available, unpacked in some directory where I could just change the jsp code on the fly. Thanks, Brian - The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet _072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Simple Quick Question - how to change JSPs on th e fly
On Sun, 27 Jul 2003 09:04 pm, Nimish Chourey , Tidel Park - Chennai wrote: How can a war file be deployed in a exploded way .. Move your war aside and create a directory (in the deploy dir) with the name of the war, (ie: myapp.war) and then unpack your war file inside that directory. so you have myapp.war/WEB-INF/... myapp.war/META-INF/... etc. This will deploy the same way as your war did. brian wallis... --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Re: JBoss-QL
Hello Rafal, first of all, finders allow you to fetch only local interface[s], not entity's fields. ejbSelect methods allow you to fetch one field per ejbSelect. So, you should declare ejbSelect method like: /** * @ejb.select query=SELECT DISTINCT mp.mediaId FROM Media2Project WHERE mp.projectId = ?1 */ public abstract Collection ejbSelectDistinctMediaId(int projectId); alex Friday, July 25, 2003, 6:22:14 PM, Rafal Kedziorski wrote: RK At 17:18 25.07.2003 +0200, Rafal Kedziorski wrote: hi, we have following table: CREATE TABLE `media_2_project` ( `media_2_project_id` BIGINT NOT NULL AUTO_INCREMENT, `project_id` BIGINT NOT NULL, `media_id` BIGINT NOT NULL, `media_file_id` BIGINT NOT NULL, # PRIMARY KEY (`media_2_project_id`), ... ); possible entries could be: m2p_id | p_id | m_id | mf_id - 1 1 1 1 2 1 1 2 3 1 2 3 4 1 2 4 5 2 1 5 6 2 1 6 7 2 3 7 now we have a finder findAllByProjectId() and we want DISTINC data by media_id. so for project_id = RK I forgot to write that our ejb-ql looks so: RK ejb-ql![CDATA[SELECT OBJECT(o) FROM media_2_project o WHERE o.project_id = ?1]]/ejb-ql RK and we get 1, 1, 2 and 2 and have make DESTINCT in our business logic. 1 we should get 1 and 2. normaly you could do this with this query: SELECT DISTINCT o.media_id o.media_2_project_id FROM media_2_project o WHERE o.project_id = 13 but how can we do this with JBoss-QL? Regards, Rafal RK --- RK This SF.Net email sponsored by: Free pre-built ASP.NET sites including RK Data Reports, E-commerce, Portals, and Forums are available now. RK Download today and enter to win an XBOX or Visual Studio .NET. RK http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 RK ___ RK JBoss-user mailing list RK [EMAIL PROTECTED] RK https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] what if no beans are found by a finder ?
Hi, What happens if a finder doesn't find any beans matching its query ? Does a FinderException is thrown or does a null value is returned ? Thanks, Ionel --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Simple Quick Question - how to change JSPs on th e fly
How can a war file be deployed in a exploded way .. just create a directory named foo.ear and in the deploy directory, and unpack your EAR file in foo.ear. Then unpack the WAR file in a directory named foo.war in foo.ear. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Bir ayda ingilizce !!
Title: Dating Tips Newsletter 1 Ayda ingilizce konusmak ister misiniz ??? Kendi evinizde, 1 ay gibi kisa bir sure icerisinde, hergun yarim saatcalisarak ingilizce konusmak ve konusulanlari anlamak ister misiniz ? Inanilmaz kolay ve zevkli bir yontem ve uygun bir fiyatla ingilizce ogrenmeningarantisini veriyoruz. Verecegimiz egitim sisteminden aldiginiz sonuca siz bile sasiracaksiniz. Eger ilgileniyorsaniz asagidaki kutucuklari doldurun veekle tusuna basin. Saygilarimizla. Hemen simdi bilgilerinizi gnderin Adi ve Soyadi Email Adresi Sorulariniz icin mail adresimiz [EMAIL PROTECTED] Not: Bu mail bir kerelige mahsus tanitim amacli gonderilmistirbir daha gonderilmeyecektir. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] memory leaks during redeployment
Hi, The problem I have after 2 or 3 redeployments all my finders method fail and at the 5 the server goes out of memory. Below is the stack trace of my finderError 2003-07-25 15:51:01,029 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.MDSKeyVector.findByMandatoryP arameters] Executing SQL: SELECT t0_o.MK_MDS_ID, t0_o.MK_ASOFDATE, t0_o.MK_BUSINESS_AREA, t0_o.MK_CLASS, t0_o.MK_CURRENCY, t0_o.MK_CURVE_ID, t0_o.MK_DATE_SAVED, t0_o.MK_INSTANCE, t0_o.MK_LOCATION, t0_o.MK_NAME, t0_o.MK_PROCESS, t0_o.MK_TIMESTAMP, t0_o.MK_USER FROM MDS_KEY t0_o WHERE t0_o.MK_CLASS = ? AND t0_o.MK_CURRENCY = ? AND t0_o.MK_INSTANCE = ? AND t0_o.MK_PROCESS = ? AND t0_o.MK_ASOFDATE = ? AND t0_o.MK_LOCATION = ? AND t0_o.MK_BUSINESS_AREA = ? AND t0_o.MK_NAME = ? 2003-07-25 15:51:01,045 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.MDSKeyVector.findByMandatoryP arameters] Find failed java.lang.IllegalArgumentException: Entity primary key is null at org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache$PreloadKey.init(ReadAheadCac he.java:695) at org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.getPreloadDataMap(ReadAheadCac he.java:527) at org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.addPreloadData(ReadAheadCache. java:460) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstract QueryCommand.java:175) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstract QueryCommand.java:91) at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityC ommand.java:44) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager. java:593) at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager .java:307) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity( CachedConnectionInterceptor.java:301) at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:628) at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine r.java:1006) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.jav a:88) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync hronizationInterceptor.java:188) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome( CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.jav a:88) at org.jboss.ejb.plugins.EntityMultiInstanceInterceptor.invokeHome(EntityMultiI nstanceInterceptor.java:54) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor .java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInt erceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav a:92) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryF inderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478) at org.jboss.ejb.Container.invoke(Container.java:720) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyF actory.java:272) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy245.findByMandatoryParameters(Unknown Source) at com.db.gm.mercury.ejb.session.mds.MDSKeyVectorFacadeBean.findLightByMandator yParameters(Unknown Source) at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles sSessionContainer.java:646) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Cach edConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe ssionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor .java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT. java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:11 7) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinde rInterceptor.java:122) at
[JBoss-user] Client Access to JBoss EJBs
Hi, at the moment I am learning for an exam on tuesday and am realy sort of frustrated. I finaly managed to understand using XDoclet and simply wanted to try to access my Beans from a simple Client. Now something has to have changed since earlier JBoss versions (I am using 3.2.2RC2) How can I authenticate a simple client application in a seperate VM so I can acces my EJBs. I have tried googeling for a solution, but that only made things worse. It seems impossible to find up-to-date information. All hints turned out to be wrong. Could someone please send me a link on how to write a client to correctly authenticate with the JAAS-Service of JBoss ? Thanx in advance, Chris --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Client Access to JBoss EJBs
Your simple client should have code that looks up the JNDI context using the LoginInitialContextFactory. Something like this: public Context login(String user, String password) { try { Context ctx = null; Properties p = new Properties(); p.put(Context.PROVIDER_URL, yourhost:1099); p.put(Context.INITIAL_CONTEXT_FACTORY, org.jboss.security.jndi.LoginInitialContextFactory); p.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); p.put(Context.SECURITY_PROTOCOL, login); p.put(Context.SECURITY_PRINCIPAL, user); p.put(Context.SECURITY_CREDENTIALS, password); ctx = new InitialContext(p); return ctx; } When you run your cliemt, set the following system property: java.security.auth.login.config=A URL THAT POINTS TO auth.conf eg. http://MYHOST:8080/security-conf/auth.conf The auth.conf file looks like this: login { org.jboss.security.ClientLoginModule required; }; other { org.jboss.security.ClientLoginModule required; }; So the line p.put(Context.SECURITY_PROTOCOL, login); refers to the entry in the auth.conf file. Hopefully, that will sort you out. //Nicholas --- Christofer Dutz [EMAIL PROTECTED] wrote: Hi, at the moment I am learning for an exam on tuesday and am realy sort of frustrated. I finaly managed to understand using XDoclet and simply wanted to try to access my Beans from a simple Client. Now something has to have changed since earlier JBoss versions (I am using 3.2.2RC2) How can I authenticate a simple client application in a seperate VM so I can acces my EJBs. I have tried googeling for a solution, but that only made things worse. It seems impossible to find up-to-date information. All hints turned out to be wrong. Could someone please send me a link on how to write a client to correctly authenticate with the JAAS-Service of JBoss ? Thanx in advance, Chris --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user = Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 [EMAIL PROTECTED] Get Your News From The Crowbar: http://crowbar.dnsalias.com:443/crowbar/ --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] WebObjects on JBoss
Anyone here have applications built with Apple's WebObjects deployed on JBoss? Any comments? Thanks, Hunter --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Clustering and failover
Hi, I'm trying to currently get a two node cluster and a client work only in a failover setup. I'm using jboss-3.2.1. my jboss.xml file has entries such as: clusteredtrue/clustered cluster-config partition-nameTestEJBPartition/partition-name home-load-balance-policyorg.jboss.ha.framework.interfaces.FirstAvailable/home-load-balance-policy bean-load-balance-policyorg.jboss.ha.framework.interfaces.FirstAvailable/bean-load-balance-policy /cluster-config And, my client code has jndi.properties that look like: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming java.naming.provider.url=172.23.254.12:20100,172.23.254.11:20100 (20100 is the HA-JNDI port for these two machines). The behaviour that I'd like is for the client to use just the first host (172.23.254.12) until it fails, and then failover to host 2 (172.23.254.11). However, no matter what I try, the client seems to round-robin the calls. I've read through the purchased clustering docs, and I'm failing to see something simple here. The clustering DOES appear to work flawlessly, as I have stateful, stateless, and entity beans all in this partition, which work. My problem is that I want fail-over really, not clustering per se. Any pointers? Thanks, Russ Chan --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Help - Cipher (NoClassDefFoundError)
This works fine for me with 1.4.1_03 and 1.4.2. JBoss Bootstrap Environment JBOSS_HOME: /home/jboss/jboss-3.2.2RC2 JAVA: /usr/java/j2sdk1.4.2/bin/java JAVA_OPTS: -server -Dprogram.name=run.sh ... 20:39:17,795 INFO [Server] Starting JBoss (MX MicroKernel)... 20:39:17,797 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2RC2 (build: CVSTag=JBoss_3_2_2_RC2 date=200307231513) ... 20:39:28,785 INFO [MainDeployer] Starting deployment of package: file:/home/jboss/jboss-3.2.2RC2/server/nukes/deploy/jce.sar/ 20:39:29,255 INFO [STDOUT] TestJCE.started, [EMAIL PROTECTED] 20:39:29,266 INFO [MainDeployer] Deployed package: file:/home/jboss/jboss-3.2.2RC2/server/nukes/deploy/jce.sar/ [EMAIL PROTECTED] deploy]$ cat jce.sar/TestJCE.java import javax.crypto.*; public class TestJCE implements TestJCEMBean { public void start() throws Exception { Cipher cipher = null; try { cipher = Cipher.getInstance(DES/ECB/PKCS5Padding); } catch (NoClassDefFoundError e) { e.printStackTrace(); } System.out.println(TestJCE.started, cipher=+cipher); } public void stop() throws Exception { System.out.println(TestJCE.stopped); } } -- Scott Stark Chief Technology Officer JBoss Group, LLC Keene Hammond wrote: Hi, I am using java 1.4.2 with the strong US encryption and jboss 3.2.1. Why do I get a NoClassDefFoundError error when using Cipher in my mbean on JBoss? I am able to compile and test this in a application but I get an exception when I try iit on JBoss. Here is the offending code block: Cipher cipher = null; try { cipher = Cipher.getInstance(DES/ECB/PKCS5Padding); } catch (NoClassDefFoundError e) { e.printStackTrace(); } Here is the resulting stack trace: 2003-07-25 09:14:40,163 DEBUG [org.jboss.system.ServiceCreator] About to create bean: PAYCHEX:service=ldap/InternalNetscapeReadDirectory,jndiName=ldap/Internal etscapeReadDirectory with code: com.paychex.oeg.ldap.mbean.LDAPConnectionPool 2003-07-25 09:14:40,212 ERROR [STDERR] java.lang.NoClassDefFoundError 2003-07-25 09:14:40,214 ERROR [STDERR] at javax.crypto.Cipher.a(DashoA6275) 2003-07-25 09:14:40,215 ERROR [STDERR] at javax.crypto.Cipher.getInstance(Dash A6275) 2003-07-25 09:14:40,215 ERROR [STDERR] at com.paychex.oeg.ldap.mbean.LDAPConne tionPool.decrypt(LDAPConnectionPool.java:240) 2003-07-25 09:14:40,216 ERROR [STDERR] at com.paychex.oeg.ldap.mbean.LDAPConne tionPool.init(LDAPConnectionPool.java:87) 2003-07-25 09:14:40,216 ERROR [STDERR] at sun.reflect.NativeConstructorAccesso Impl.newInstance0(Native Method) 2003-07-25 09:14:40,217 ERROR [STDERR] at sun.reflect.NativeConstructorAccesso Impl.newInstance(NativeConstructorAccessorImpl.java:39) 2003-07-25 09:14:40,217 ERROR [STDERR] at sun.reflect.DelegatingConstructorAcc ssorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 2003-07-25 09:14:40,218 ERROR [STDERR] at java.lang.reflect.Constructor.newIns ance(Constructor.java:274) 2003-07-25 09:14:40,218 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl. nstantiate(MBeanServerImpl.java:844) 2003-07-25 09:14:40,219 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl. nstantiate(MBeanServerImpl.java:294) 2003-07-25 09:14:40,219 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl. reateMBean(MBeanServerImpl.java:321) 2003-07-25 09:14:40,220 ERROR [STDERR] at org.jboss.system.ServiceCreator.inst ll(ServiceCreator.java:85) 2003-07-25 09:14:40,220 ERROR [STDERR] at org.jboss.system.ServiceConfigurator internalInstall(ServiceConfigurator.java:155) 2003-07-25 09:14:40,221 ERROR [STDERR] at org.jboss.system.ServiceConfigurator install(ServiceConfigurator.java:118) 2003-07-25 09:14:40,221 ERROR [STDERR] at org.jboss.system.ServiceController.i stall(ServiceController.java:225) 2003-07-25 09:14:40,222 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2 .invoke(Unknown Source) 2003-07-25 09:14:40,222 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessor mpl.invoke(DelegatingMethodAccessorImpl.java:25) 2003-07-25 09:14:40,223 ERROR [STDERR] at java.lang.reflect.Method.invoke(Meth d.java:324) 2003-07-25 09:14:40,223 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBe nDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 2003-07-25 09:14:40,224 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl. nvoke(MBeanServerImpl.java:549) 2003-07-25 09:14:40,224 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invo e(MBeanProxyExt.java:177) 2003-07-25 09:14:40,225 ERROR [STDERR] at $Proxy5.install(Unknown Source) 2003-07-25 09:14:40,225 ERROR [STDERR] at org.jboss.deployment.SARDeployer.cre te(SARDeployer.java:183) 2003-07-25 09:14:40,226 ERROR [STDERR] at org.jboss.deployment.MainDeployer.cr ate(MainDeployer.java:784)
RE: [JBoss-user] Clustering Problem
Hi Kevin, Thanks for the info! I don't know if 3.2.2RC2 will sort out this issue.Becaz,the problem seems to be with order in which the servers in cluster were started. As asked by you,I had put the jar in server 2 after removing the jar from one of the servers.Thus undeploying it before deploying it! Any help would be appreciated! Thanks Regards, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kevin Duffey Sent: Friday, July 25, 2003 10:10 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Clustering Problem Did you put it in node 2 when both were clean? Re-deploying of apps in the /farm dir doesn't seem to work in RC1. You may want to get the very latest RC2 that just came out two days or so ago. That may have fixed it, but I haven't tried yet. Anywho, I also note that the only thing that works with farming is if you first deploy it (clean deploy), it propery farms. If you delete it out of one node, it then properly undeletes it out of other nodes. So, as of now, to redeploy, first delete it, then add it again. Shouldn't be this way, so hopefully RC2 fixes that problem. --- Nishant Aggarwal [EMAIL PROTECTED] wrote: Hi All, I am working on JBoss 3.2.2RC1 and trying out clustering! I am running 2 different JBoss on different machines in clustering mode,ie, the 2 JBoss servers are started as run.sh -c all. Now , I have a simple SLSB Hello.jar with clusteredtrue/clustered specified in jboss.xml file. Now, I tested 2 cases: 1.I try to put the above jar in the directory (all/farm) of the server started first.The Hello.jar gets deployed in both the servers and I can see it in corresponding all/farm dirs. 2.I try to put the above jar in the directory (all/farm) of the server started second.The Hello.jar gets deployed only in second server and first server doesn't have any clue! Can you pls help me out?Is there concept of Master/Slave etc? Thanks in advance, Nish --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user