RE: [JBoss-user] JDK Version for JBoss3.2.3
Hi Ionel, Thanks for the response! But, I need to know the "exact" JDK version(like 1.4.1_02) as my application needs to be baselined. Any help would be appreciated! Thanks in advance, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ionel GARDAIS Sent: Friday, January 16, 2004 4:03 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JDK Version for JBoss3.2.3 I experienced classloader issues with jdk <= 1.3.1 beta something ... I am not aware of any 1.4.x problems with JBoss. Hope this help = -- Regards, Ionel _ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.2.2 process takes 100% CPU on HPUX11 (tusc output of the JBoss 3.2.2 process)... no way get thread dump...
Hello All, OS: HPUX11 JVM:1.4.2.00 JBoss: 3.2.2 One of our multi-user test hangs JBoss v3.2.2 and the process takes 100% CPU. There is no way to take a thread dump as the process does not respond. Process does not respond to kill -3 command. The test is repeatable and hangs the server in 15 minutes. If there is any way to turn on some debugging/tracing to get more details, please let us know. Thanks in advance. Best Regards MS % tusc 16134 ( Attached to process 16134 ("/opt/java1.4/jre/bin/PA_RISC2.0/java -Dprogram.name=run.sh -") [32-bit] ) ksleep(PTH_CONDVAR_OBJECT, 0x54298, 0x542a0, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x7df3ecb0, 0x7df3ecb8, NULL) . [sleeping] nanosleep(0x7bb293d8, NULL) .. [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x56778, 0x56780, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x1cf0e0, 0x1cf0e8, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x532f8, 0x53300, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x54c98, 0x54ca0, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x54d38, 0x54d40, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x54d38, 0x54d40, NULL) ... [sleeping] nanosleep(0x762fe368, NULL) .. [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x2fb670, 0x2fb678, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x2fb7b0, 0x2fb7b8, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc0aa8, 0xbc0ab0, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc29e8, 0xbc29f0, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc2b28, 0xbc2b30, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc2c68, 0xbc2c70, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc3028, 0xbc3030, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc3168, 0xbc3170, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc32a8, 0xbc32b0, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x11feb18, 0x11feb20, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x1201e58, 0x1201e60, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] read(84, 0x654448d0, 8) .. [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x541a0, 0x541a8, NULL) . [sleeping] read(92, 0x651bf8d0, 8) .. [sleeping] sched_yield() [suspended] read(106, 0x66d768d0, 8) . [sleeping] sched_yield() [suspended] read(101, 0x655c78d0, 8) . [sleeping] read(90, 0x6513e8d0, 8) .. [sleeping] read(88, 0x659cf8d0, 8) .. [sleeping] In user-mode . [running] ksleep(PTH_MUTEX_OBJECT, 0x541a0, 0x541a8, NULL) . [sleeping] ksleep
[JBoss-user] JBoss 3.2.2 process takes 100% CPU on HPUX11
Hello All, OS: HPUX11 JVM:1.4.2.00 JBoss: 3.2.2 One of our multi-user test hangs JBoss v3.2.2 and the process takes 100% CPU. There is no way to take a thread dump as the process does not respond. We were able to take thread dumps of a client process. Can somebody give any clue on what could be wrong. The test is repeatable and hangs the server in 15 minutes. If there is any way to turn on some debugging/tracing to get more details, please let us know. Thanks in advance. Best Regards MS Client: "Signal Dispatcher" daemon prio=10 tid=0x000c5f10 nid=0x8 waiting on condition [ 0..0] "Finalizer" daemon prio=8 tid=0x000c1540 nid=0x6 in Object.wait() [fc381000..fc3 819f0] at java.lang.Object.wait(Native Method) - waiting on <0xf1610138> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) - locked <0xf1610138> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x000c0ac0 nid=0x5 in Object.wait() [fde8 1000..fde819f0] at java.lang.Object.wait(Native Method) - waiting on <0xf16101a0> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:429) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115) - locked <0xf16101a0> (a java.lang.ref.Reference$Lock) "main" prio=5 tid=0x00030388 nid=0x1 runnable [ffbec000..ffbecf3c] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read1(BufferedInputStream.java:222) at java.io.BufferedInputStream.read(BufferedInputStream.java:277) - locked <0xf14fa200> (a java.io.BufferedInputStream) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java :2150) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream .java:2163) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputS tream.java:2631) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734 ) at java.io.ObjectInputStream.(ObjectInputStream.java:253) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:197) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1181) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.plx.efw.client.FloWare.initCommandServer(FloWare.java:1467) at com.plx.efw.client.FloWare.login(FloWare.java:1083) at com.plx.efw.test.FlowareTest.execute(FlowareTest.java:201) at com.plx.efw.test.Epitest.execute(Epitest.java:362) at com.plx.efw.test.Epitest.main(Epitest.java:1100) "VM Thread" prio=5 tid=0x000bfc28 nid=0x4 runnable "VM Periodic Task Thread" prio=10 tid=0x000e1b88 nid=0xa waiting on condition "Suspend Checker Thread" prio=10 tid=0x000c55a8 nid=0x7 runnable --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.2.2 process takes 100% CPU on HPUX11 (tusc output of the JBoss 3.2.2 process)... no way get thread dump...
Hello All, OS: HPUX11 JVM:1.4.2.00 JBoss: 3.2.2 One of our multi-user test hangs JBoss v3.2.2 and the process takes 100% CPU. There is no way to take a thread dump as the process does not respond. Process does not respond to kill -3 command. The test is repeatable and hangs the server in 15 minutes. If there is any way to turn on some debugging/tracing to get more details, please let us know. Thanks in advance. Best Regards MS % tusc 16134 ( Attached to process 16134 ("/opt/java1.4/jre/bin/PA_RISC2.0/java -Dprogram.name=run.sh -") [32-bit] ) ksleep(PTH_CONDVAR_OBJECT, 0x54298, 0x542a0, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x7df3ecb0, 0x7df3ecb8, NULL) . [sleeping] nanosleep(0x7bb293d8, NULL) .. [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x56778, 0x56780, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x1cf0e0, 0x1cf0e8, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x532f8, 0x53300, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x54c98, 0x54ca0, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x54d38, 0x54d40, NULL) ... [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x54d38, 0x54d40, NULL) ... [sleeping] nanosleep(0x762fe368, NULL) .. [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x2fb670, 0x2fb678, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x2fb7b0, 0x2fb7b8, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc0aa8, 0xbc0ab0, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc29e8, 0xbc29f0, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc2b28, 0xbc2b30, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc2c68, 0xbc2c70, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc3028, 0xbc3030, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc3168, 0xbc3170, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0xbc32a8, 0xbc32b0, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x11feb18, 0x11feb20, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] ksleep(PTH_CONDVAR_OBJECT, 0x1201e58, 0x1201e60, NULL) ... [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x54240, 0x54248, NULL) . [sleeping] read(84, 0x654448d0, 8) .. [sleeping] ksleep(PTH_MUTEX_OBJECT, 0x541a0, 0x541a8, NULL) . [sleeping] read(92, 0x651bf8d0, 8) .. [sleeping] sched_yield() [suspended] read(106, 0x66d768d0, 8) . [sleeping] sched_yield() [suspended] read(101, 0x655c78d0, 8) . [sleeping] read(90, 0x6513e8d0, 8) .. [sleeping] read(88, 0x659cf8d0, 8) .. [sleeping] In user-mode . [running] ksleep(PTH_MUTEX_OBJECT, 0x541a0, 0x541a8, NULL) . [sleeping] ksleep
RE: [JBoss-user] Scheduling Service ...
At 21:03 19.01.2004, Scott M Stark wrote: See the quartz scheduler: https://sourceforge.net/projects/quartz/ thx. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafal Kedziorski Sent: Saturday, January 17, 2004 3:39 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Scheduling Service ... Hi, I have small design question. I need an "cron" service in J2EE environment. I've seen the scheduling service from JBoss, but I have to do some jobs like cron job each day at the same time. What will be the best solution with JBoss? Regards, Rafal --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Scheduling Service ...
See the quartz scheduler: https://sourceforge.net/projects/quartz/ Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafal Kedziorski Sent: Saturday, January 17, 2004 3:39 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Scheduling Service ... Hi, I have small design question. I need an "cron" service in J2EE environment. I've seen the scheduling service from JBoss, but I have to do some jobs like cron job each day at the same time. What will be the best solution with JBoss? Regards, Rafal --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] JBoss 3.2.4
At 19:27 19.01.2004, Rupp, Heiko wrote: Ewww, then this was a misunderstanding on my side. :) I forgot 3.2.4RC1 too, cause I working with the prelease from cvs. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag von Bill Burke Gesendet: Mo 19.01.2004 18:40 An: [EMAIL PROTECTED] Cc: Betreff: Re: [JBoss-user] JBoss 3.2.4 Scott told me an RC release first then a full release mid-end February. Rafal Kedziorski wrote: > At 12:28 19.01.2004, Rupp, Heiko wrote: > >> > is there an release date for JBoss 3.2.4? >> >> Afaik, within a week from now. > > > thx. this is great. > > /rk > > > --- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > -- Bill Burke Chief Architect JBoss Group LLC. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] too much queries - bug?
At 18:46 19.01.2004, Bill Burke wrote: Doesn't sound right. Are you using row-locking? on-find or on-load? What is the commit-option? Sorry, I forgot to add the bean description: /** * Description of the Class * * @version $Id: UserEntityBean.java,v 1.14 2004/01/08 10:14:42 rafal Exp $ * @ejb.bean * name = "UserEntityBean" * description = "User Entity Bean" * display-name = "User Entity Bean" * local-jndi-name = "user/UserBean" * view-type = "local" * type = "CMP" * cmp-version = "2.x" * schema = "users" * primkey-field = "user_id" * * @ejb.finder * view-type = "local" * signature = "java.util.Collection findAll()" * query = "SELECT OBJECT(o) FROM users o" * result-type-mapping = "Local" * * @ejb.finder * view-type = "local" * signature = "java.util.Collection findAllByMandantId(java.lang.Integer mandant_id)" * query = "SELECT OBJECT(o) FROM users o WHERE o.mandant_id = ?1" * result-type-mapping = "Local" * * @ejb.finder * view-type = "local" * signature = "net.magix.ejb.user.entitybeans.UserEntityBeanLocalHome findByLoginName(java.lang.String login_name)" * query = "SELECT OBJECT(o) FROM users o WHERE o.login_name = ?1" * result-type-mapping = "Local" * * @ejb.finder * view-type = "local" * signature = "net.magix.ejb.user.entitybeans.UserEntityBeanLocalHome findByLoginNameAndPassword(java.lang.String login_name, java.lang.String password)" * query = "SELECT OBJECT(o) FROM users o WHERE o.login_name = ?1 AND o.password = ?2" * result-type-mapping = "Local" * * @ejb.security-identity * use-caller-identity = "true" * * @ejb.transaction * type = "Mandatory" * * @jboss.persistence * row-locking = "true" * list-cache-max = "1" * * @ejb.persistence * table-name = "users" * * @jboss.container-configuration * name = "Standard CMP 2.x EntityBean with Commit Option B" * * @jboss.read-ahead * strategy = "on-load" * page-size = "4" * eager-load-group = "*" * * @jboss.entity-command * name = "mysql-get-generated-keys" * */ Regards, Rafal Thanks, Bill Rafal Kedziorski wrote: Hi, I took a look in my mysql.log and don't undersrtand something. I have this code in my stateless session bean: private UserVO loginUser(Long user_id, String remote_addr, String client_type, String retail_id) throws CreateException, PermissionException, ParameterException, OMAException { logger.debug("loginUser() entered for " + user_id); // get user_id (1) Long user_id = userLocal.getUserId(login_name.toLowerCase(), password); // check permission (2) checkAclPermission(user_id, AclHelper.OMA_ACCESS, PermissionHelper.ACCESS); // get group_id for the given user_id (3) BusinessDatabase database = ComponentManager.getBusinessDatabase(); Integer system_group_id = database.foundSystemGroupIdByUserId(user_id); if (system_group_id != null) { UserBeanLocal userLocal = userLocalHome.create(); // login user UserVO user = userLocal.loginUser(user_id, system_group_id, retail_id, client_type); // multi login // lock user if (! Config.getMultiLogin()) { userLocal.lockUser(user_id, null, remote_addr, client_type); } return user; } else { logger.warn("loginUser() can't find system_group_id for user_id=" + user_id); throw new PermissionException("AccessFacadeBean::loginUser() failed"); } } And this cann I see in mysql.log: (1) 228 Query SELECT t0_o.user_id FROM users t0_o WHERE (t0_o.login_name = 'demo' AND t0_o.password = 'demo') FOR UPDATE (???) 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date FROM users WHERE (user_id=15) FOR UPDATE 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date FROM users WHERE (user_id=15) FOR UPDATE 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_logindate FROM users WHERE (user_id=15) FOR UPDATE (???) (2) 228 Query select distinct u.user_id from user_2_system_group u2sg, system_group sg, users u, acl_entry ae, acl_entry_2_system_group ae2sg where u.user_id = 15 and ae.acl_id = 1 and ae.permission_id = 1 and ae2sg.acl_entry_id = ae.acl_entry_id and u2sg.system_group_id = sg.system_group_id and ae2sg.system_group_id = sg.system_group_id and u2sg.user_id = u.user_id and now() >= u2sg.valid_from and (u2sg.valid_to is null or now() <= u2sg.valid_to) (3) 228 Query select sg.system_group_id from user_2_system_group u2g, system_group sg where u2g.user_id = 15 and u2g.system_group_id = sg.system_group_id and now()>= u2g.valid_from
AW: [JBoss-user] JBoss 3.2.4
Title: Re: [JBoss-user] JBoss 3.2.4 Ewww, then this was a misunderstanding on my side. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag von Bill Burke Gesendet: Mo 19.01.2004 18:40 An: [EMAIL PROTECTED] Cc: Betreff: Re: [JBoss-user] JBoss 3.2.4 Scott told me an RC release first then a full release mid-end February.Rafal Kedziorski wrote:> At 12:28 19.01.2004, Rupp, Heiko wrote:>>> > is there an release date for JBoss 3.2.4? Afaik, within a week from now.>>> thx. this is great.>> /rk>>> ---> The SF.Net email is sponsored by EclipseCon 2004> Premiere Conference on Open Tools Development and Integration> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.> http://www.eclipsecon.org/osdn> ___> JBoss-user mailing list> [EMAIL PROTECTED]> https://lists.sourceforge.net/lists/listinfo/jboss-user>--Bill BurkeChief ArchitectJBoss Group LLC.---The SF.Net email is sponsored by EclipseCon 2004Premiere Conference on Open Tools Development and IntegrationSee the breadth of Eclipse activity. February 3-5 in Anaheim, CA.http://www.eclipsecon.org/osdn___JBoss-user mailing list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clie nts
Found the problem... jndi.properties needed a change... Please disregard this issue... -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 7:27 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clie nts Haven't seen any response on this, so I thought I would retry... Has anyone encountered client JNDI problems when upgrading to 3.2.3? Please help! Regards, Matt Hanson -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:53 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clie nts Sorry, we just upgraded to jboss 3.2.3. Apologies... -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:27 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clients Hi, We just upgraded to jboss 3.2.2. All beans, as written for 3.2.2, deployed fine to the container. However, the first simple client tests that I ran are having JNDI problems. Here is the stack trace: [echo] Client CLASSPATH = C:\jboss-3.2.3\client\concurrent.jar;C:\jboss-3.2.3\client\getopt.jar ;C:\jboss-3.2.3\client\gnu-regexp.jar;C:\jboss-3.2.3\client\jacorb.jar;C:\jb oss-3.2.3\client\jboss-c lient.jar;C:\jboss-3.2.3\client\jboss-common-client.jar;C:\jboss-3.2.3\clien t\jboss-iiop-client.jar; C:\jboss-3.2.3\client\jboss-j2ee.jar;C:\jboss-3.2.3\client\jboss-jaas.jar;C: \jboss-3.2.3\client\jbos s-jsr77-client.jar;C:\jboss-3.2.3\client\jboss-net-client.jar;C:\jboss-3.2.3 \client\jboss-system-cli ent.jar;C:\jboss-3.2.3\client\jboss-transaction-client.jar;C:\jboss-3.2.3\cl ient\jbossall-client.jar ;C:\jboss-3.2.3\client\jbosscx-client.jar;C:\jboss-3.2.3\client\jbossha-clie nt.jar;C:\jboss-3.2.3\cl ient\jbossjmx-ant.jar;C:\jboss-3.2.3\client\jbossmq-client.jar;C:\jboss-3.2. 3\client\jbosssx-client. jar;C:\jboss-3.2.3\client\jcert.jar;C:\jboss-3.2.3\client\jmx-connector-clie nt-factory.jar;C:\jboss- 3.2.3\client\jmx-ejb-connector-client.jar;C:\jboss-3.2.3\client\jmx-invoker- adaptor-client.jar;C:\jb oss-3.2.3\client\jmx-rmi-connector-client.jar;C:\jboss-3.2.3\client\jnet.jar ;C:\jboss-3.2.3\client\j np-client.jar;C:\jboss-3.2.3\client\jsse.jar;C:\jboss-3.2.3\client\log4j.jar ;C:\jboss-3.2.3\client\x doclet-module-jboss-net.jar;F:\Personal\Java\proj\hbrm\lib\ejb-hbrm.jar;F:\P ersonal\Java\proj\hbrm\l ib\hbrm.jar;C:\jargs-0.4\lib\jargs.jar;C:\eclipse\plugins\org.junit_3.8.1\ju nit.jar;C:\junit-addons- 1.4\junit-addons-1.4.jar;C:\junit-addons-1.4\src.jar [java] TestLog4j caught an unexpected exception! [java] javax.naming.CommunicationException: Receive timed out. Root exception is java.net.Sock etTimeoutException: Receive timed out [java] at java.net.PlainDatagramSocketImpl.receive(Native Method) [java] at java.net.DatagramSocket.receive(DatagramSocket.java:671) [java] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093) [java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) [java] at javax.naming.InitialContext.lookup(InitialContext.java:347) [java] at homebrew.ejb.session.util.AccountFacadeUtil.getHome(AccountFacadeUtil.java:2 7) Here are the jndi.properties entries: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces Have there been changes to the JNDI for 3.2.3? If so, could someone provide me with the new values? No source/configurations changes were introduced during the upgrade. Regards, Matt Hanson --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn
Re: [JBoss-user] too much queries - bug?
Doesn't sound right. Are you using row-locking? on-find or on-load? What is the commit-option? Thanks, Bill Rafal Kedziorski wrote: Hi, I took a look in my mysql.log and don't undersrtand something. I have this code in my stateless session bean: private UserVO loginUser(Long user_id, String remote_addr, String client_type, String retail_id) throws CreateException, PermissionException, ParameterException, OMAException { logger.debug("loginUser() entered for " + user_id); // get user_id (1) Long user_id = userLocal.getUserId(login_name.toLowerCase(), password); // check permission (2) checkAclPermission(user_id, AclHelper.OMA_ACCESS, PermissionHelper.ACCESS); // get group_id for the given user_id (3) BusinessDatabase database = ComponentManager.getBusinessDatabase(); Integer system_group_id = database.foundSystemGroupIdByUserId(user_id); if (system_group_id != null) { UserBeanLocal userLocal = userLocalHome.create(); // login user UserVO user = userLocal.loginUser(user_id, system_group_id, retail_id, client_type); // multi login // lock user if (! Config.getMultiLogin()) { userLocal.lockUser(user_id, null, remote_addr, client_type); } return user; } else { logger.warn("loginUser() can't find system_group_id for user_id=" + user_id); throw new PermissionException("AccessFacadeBean::loginUser() failed"); } } And this cann I see in mysql.log: (1) 228 Query SELECT t0_o.user_id FROM users t0_o WHERE (t0_o.login_name = 'demo' AND t0_o.password = 'demo') FOR UPDATE (???) 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date FROM users WHERE (user_id=15) FOR UPDATE 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date FROM users WHERE (user_id=15) FOR UPDATE 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_logindate FROM users WHERE (user_id=15) FOR UPDATE (???) (2) 228 Query select distinct u.user_id from user_2_system_group u2sg, system_group sg, users u, acl_entry ae, acl_entry_2_system_group ae2sg where u.user_id = 15 and ae.acl_id = 1 and ae.permission_id = 1 and ae2sg.acl_entry_id = ae.acl_entry_id and u2sg.system_group_id = sg.system_group_id and ae2sg.system_group_id = sg.system_group_id and u2sg.user_id = u.user_id and now() >= u2sg.valid_from and (u2sg.valid_to is null or now() <= u2sg.valid_to) (3) 228 Query select sg.system_group_id from user_2_system_group u2g, system_group sg where u2g.user_id = 15 and u2g.system_group_id = sg.system_group_id and now()>= u2g.valid_from and (u2g.valid_to is null or now() <= u2g.valid_to) ... I wondering, because I have no idea who is creating the queries between (???). JBoss is sending the same query more than one time. The getUserID() method looks so: public Long getUserId(String login_name, String password) throws FinderException { if (logger.isDebugEnabled()) { logger.debug("getUserId('" + login_name + "', '" + password + "') entered"); } // decode password password = Base64.decodeToString(password); UserEntityBeanLocal userLocal = userEntityLocalHome.findByLoginNameAndPassword(login_name, password); if (userLocal.getLogin_name().equals(login_name) && userLocal.getPassword().equals(password)) { return userLocal.getUser_id(); } else { throw new FinderException("UserBean::getUserId() can't find user"); } } The last if statement, is the reason for the three queries between (???). first geqry for: userLocal.getLogin_name() second query for: userLocal.getPassword() third query for: userLocal.getUser_id() I didn't define any load group, that means, that this is set to * and sould load all fields for the entity bean. I'm working with the current JBoss version 3.2.4RC1 from cvs (daily updates). Best Regards, Rafal --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists
Re: [JBoss-user] JBoss 3.2.4
Scott told me an RC release first then a full release mid-end February. Rafal Kedziorski wrote: At 12:28 19.01.2004, Rupp, Heiko wrote: > is there an release date for JBoss 3.2.4? Afaik, within a week from now. thx. this is great. /rk --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] RE: JBoss 3.2.4
On Jan 19, 2004, at 9:46 AM, Darren Hartford wrote: Just curious, would the JBoss 3.2.4 include the updated Jboss.NET stack? Specifically, I remember seeing in CVS-HEAD support for the value-object pattern with the @jboss-net.xml-schema tag, would be nice if this was included in 3.2.4 release. -D That's simply part of the xdoclet module. You can just take the xdoclet-module-jboss-net.jar that is generated by the 4.x tree and use it when generating your entity beans for 3.2.x in your entity beans (who's value objects you want to be able to serialize), just add the class level tag: * @jboss-net.xml-schema * object-type="value" and xdoclet will add the proper schema to the web-service.xml file for you. -jason --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: JBoss 3.2.4
Just curious, would the JBoss 3.2.4 include the updated Jboss.NET stack? Specifically, I remember seeing in CVS-HEAD support for the value-object pattern with the @jboss-net.xml-schema tag, would be nice if this was included in 3.2.4 release. -D To: [EMAIL PROTECTED] From: Rafal Kedziorski <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] JBoss 3.2.4 At 12:28 19.01.2004, Rupp, Heiko wrote: > > is there an release date for JBoss 3.2.4? > >Afaik, within a week from now. thx. this is great. /rk --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] too much queries - bug?
Hi, I took a look in my mysql.log and don't undersrtand something. I have this code in my stateless session bean: private UserVO loginUser(Long user_id, String remote_addr, String client_type, String retail_id) throws CreateException, PermissionException, ParameterException, OMAException { logger.debug("loginUser() entered for " + user_id); // get user_id (1) Long user_id = userLocal.getUserId(login_name.toLowerCase(), password); // check permission (2) checkAclPermission(user_id, AclHelper.OMA_ACCESS, PermissionHelper.ACCESS); // get group_id for the given user_id (3) BusinessDatabase database = ComponentManager.getBusinessDatabase(); Integer system_group_id = database.foundSystemGroupIdByUserId(user_id); if (system_group_id != null) { UserBeanLocal userLocal = userLocalHome.create(); // login user UserVO user = userLocal.loginUser(user_id, system_group_id, retail_id, client_type); // multi login // lock user if (! Config.getMultiLogin()) { userLocal.lockUser(user_id, null, remote_addr, client_type); } return user; } else { logger.warn("loginUser() can't find system_group_id for user_id=" + user_id); throw new PermissionException("AccessFacadeBean::loginUser() failed"); } } And this cann I see in mysql.log: (1) 228 Query SELECT t0_o.user_id FROM users t0_o WHERE (t0_o.login_name = 'demo' AND t0_o.password = 'demo') FOR UPDATE (???) 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date FROM users WHERE (user_id=15) FOR UPDATE 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date FROM users WHERE (user_id=15) FOR UPDATE 228 Query SELECT class_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_logindate FROM users WHERE (user_id=15) FOR UPDATE (???) (2) 228 Query select distinct u.user_id from user_2_system_group u2sg, system_group sg, users u, acl_entry ae, acl_entry_2_system_group ae2sg where u.user_id = 15 and ae.acl_id = 1 and ae.permission_id = 1 and ae2sg.acl_entry_id = ae.acl_entry_id and u2sg.system_group_id = sg.system_group_id and ae2sg.system_group_id = sg.system_group_id and u2sg.user_id = u.user_id and now() >= u2sg.valid_from and (u2sg.valid_to is null or now() <= u2sg.valid_to) (3) 228 Query select sg.system_group_id from user_2_system_group u2g, system_group sg where u2g.user_id = 15 and u2g.system_group_id = sg.system_group_id and now()>= u2g.valid_from and (u2g.valid_to is null or now() <= u2g.valid_to) ... I wondering, because I have no idea who is creating the queries between (???). JBoss is sending the same query more than one time. The getUserID() method looks so: public Long getUserId(String login_name, String password) throws FinderException { if (logger.isDebugEnabled()) { logger.debug("getUserId('" + login_name + "', '" + password + "') entered"); } // decode password password = Base64.decodeToString(password); UserEntityBeanLocal userLocal = userEntityLocalHome.findByLoginNameAndPassword(login_name, password); if (userLocal.getLogin_name().equals(login_name) && userLocal.getPassword().equals(password)) { return userLocal.getUser_id(); } else { throw new FinderException("UserBean::getUserId() can't find user"); } } The last if statement, is the reason for the three queries between (???). first geqry for: userLocal.getLogin_name() second query for: userLocal.getPassword() third query for: userLocal.getUser_id() I didn't define any load group, that means, that this is set to * and sould load all fields for the entity bean. I'm working with the current JBoss version 3.2.4RC1 from cvs (daily updates). Best Regards, Rafal --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] HotSpot Virtual Machine Error : 11
Does anyone knows how to solve or avoid this error? # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002EF I think it is a SUN JVM Bug and that the problem has been solved in versions 1.4.2_04 and tiger-beta, but what can I do until they are released? http://developer.java.sun.com/developer/bugParade/bugs/4927116.html I´m running my application at JBoss (tryed many versions) and RedHat8.0 Is there any configuration to the Hotspot JVM that helps me? I´ve tryed changing permanent, old e young but it did´t help me. Heap at VM Abort: Heap def new generation total 15488K, used 7784K [0x4493, 0x459f, 0x475a) eden space 13824K, 56% used [0x4493, 0x450ca068, 0x456b) from space 1664K, 0% used [0x4585, 0x4585, 0x459f) to space 1664K, 0% used [0x456b, 0x456b, 0x4585) tenured generation total 136576K, used 43087K [0x475a, 0x4fb0, 0x5d93) the space 136576K, 31% used [0x475a, 0x49fb3fc8, 0x4a0b4000, 0x4fb0) compacting perm gen total 31744K, used 31643K [0x5d93, 0x5f83, 0x6d93) the space 31744K, 99% used [0x5d93, 0x5f816c20, 0x5f816e00, 0x5f83) Local Time = Sat Jan 17 01:36:27 2004 Elapsed Time = 138286 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002EF # Please report this error at # http://java.sun.com/cgi-bin/bug report.cgi # # Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode) # # An error report file has been saved as hs_err_pid1877.log. # Please refer to the file for further information. Thanks, -- Gabriel Enviado usando webmail v2.3 --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss3.2.2 session clustering
hi all, i am configured clustering with 2 nodes ( jboss3.2.2) running from Apache web server(1.3.27) on Linux(7.3.2) using mod_jk.so Both jboss are running from apache server and my application (.ear file ) is running smoothly when i shut down one of the jboss. But the problem is that , session sharing is not configured, means when i shutdown the jboss1 , the application goes to sigin page again may be , because session is not shared. i had already done changes in jboss.xml true DefaultPartition org.jboss.ha.framework.interfaces.RoundRobin org.jboss.ha.framework.interfaces.RoundRobin and in web.xml i had added tag i dont know , what are the changes required in Cluster-service.xml Or any other xml files of Jboss. I am using a Workers.properties files , but i no clear of how to write load_balanced_workers in that Or , i had to go for Mod_jk2 ( that i dont know) if anyboday can solve my problem , then please let me know [EMAIL PROTECTED] wrote: Send JBoss-user mailing list submissions to[EMAIL PROTECTED]To subscribe or unsubscribe via the World Wide Web, visithttps://lists.sourceforge.net/lists/listinfo/jboss-useror, via email, send a message with subject or body 'help' to[EMAIL PROTECTED]You can reach the person managing the list at[EMAIL PROTECTED]When replying, please edit your Subject line so it is more specificthan "Re: Contents of JBoss-user digest..."Today's Topics:1. Re: Problems getting started ... (=?iso-8859-1?q?Ionel=20GARDAIS?=)2. Re: Problems getting started ... (Sacha Labourey)--__--__--Message: 1Date: Sun, 18 Jan 2004 10:24:44 +0100 (CET)From: =?iso-8859-1?q?Ionel=20GARDAIS?= <[EMAIL PROTECTED]>Subject: Re: [JBoss-user] Problems getting started ...To: [EMAIL PROTECTED]Reply-To: [EMAIL PROTECTED]dunno about the classloader problem.When executing JSP, tomcat first compile them as plainjava classes. it needs sdk stuff not available in jre.ionel_Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !Yahoo! Mail : http://fr.mail.yahoo.com--__--__--Message: 2From: "Sacha Labourey" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>Subject: Re: [JBoss-user] Problems getting started ...Date: Sun, 18 Jan 2004 11:54:38 +0100Reply-To: [EMAIL PROTECTED]That's something to modify in the jmx-console/web-console: we shouldprecompile JSP at build time.- Original Message - From: <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Sunday, January 18, 2004 12:06 AMSubject: Re: [JBoss-user] Problems getting started ...> Hey, thanks! The JMX Console now works!>> But now I'm confused ... shouldn't it run using the J2RE? Do I have to> install the SDK on the live system (will be a linux server)?>> The other thing is that the class loader warnings are still there and the> same as before.>> Thanks,> Chris>> > I suggest you first try to set JAVA_HOME to your SDK> > installation instead of the JRE> >> > this might not solve your problem but it's a good> > start> >> > ionel ---> The SF.Net email is sponsored by EclipseCon 2004> Premiere Conference on Open Tools Development and Integration> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.> http://www.eclipsecon.org/osdn> ___> JBoss-user mailing list> [EMAIL PROTECTED]> https://lists.sourceforge.net/lists/listinfo/jboss-user>>--__--__--___JBoss-user mailing list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/jboss-userEnd of JBoss-user Digest Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more. Download now.
RE: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clie nts
Haven't seen any response on this, so I thought I would retry... Has anyone encountered client JNDI problems when upgrading to 3.2.3? Please help! Regards, Matt Hanson -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:53 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clie nts Sorry, we just upgraded to jboss 3.2.3. Apologies... -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:27 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clients Hi, We just upgraded to jboss 3.2.2. All beans, as written for 3.2.2, deployed fine to the container. However, the first simple client tests that I ran are having JNDI problems. Here is the stack trace: [echo] Client CLASSPATH = C:\jboss-3.2.3\client\concurrent.jar;C:\jboss-3.2.3\client\getopt.jar ;C:\jboss-3.2.3\client\gnu-regexp.jar;C:\jboss-3.2.3\client\jacorb.jar;C:\jb oss-3.2.3\client\jboss-c lient.jar;C:\jboss-3.2.3\client\jboss-common-client.jar;C:\jboss-3.2.3\clien t\jboss-iiop-client.jar; C:\jboss-3.2.3\client\jboss-j2ee.jar;C:\jboss-3.2.3\client\jboss-jaas.jar;C: \jboss-3.2.3\client\jbos s-jsr77-client.jar;C:\jboss-3.2.3\client\jboss-net-client.jar;C:\jboss-3.2.3 \client\jboss-system-cli ent.jar;C:\jboss-3.2.3\client\jboss-transaction-client.jar;C:\jboss-3.2.3\cl ient\jbossall-client.jar ;C:\jboss-3.2.3\client\jbosscx-client.jar;C:\jboss-3.2.3\client\jbossha-clie nt.jar;C:\jboss-3.2.3\cl ient\jbossjmx-ant.jar;C:\jboss-3.2.3\client\jbossmq-client.jar;C:\jboss-3.2. 3\client\jbosssx-client. jar;C:\jboss-3.2.3\client\jcert.jar;C:\jboss-3.2.3\client\jmx-connector-clie nt-factory.jar;C:\jboss- 3.2.3\client\jmx-ejb-connector-client.jar;C:\jboss-3.2.3\client\jmx-invoker- adaptor-client.jar;C:\jb oss-3.2.3\client\jmx-rmi-connector-client.jar;C:\jboss-3.2.3\client\jnet.jar ;C:\jboss-3.2.3\client\j np-client.jar;C:\jboss-3.2.3\client\jsse.jar;C:\jboss-3.2.3\client\log4j.jar ;C:\jboss-3.2.3\client\x doclet-module-jboss-net.jar;F:\Personal\Java\proj\hbrm\lib\ejb-hbrm.jar;F:\P ersonal\Java\proj\hbrm\l ib\hbrm.jar;C:\jargs-0.4\lib\jargs.jar;C:\eclipse\plugins\org.junit_3.8.1\ju nit.jar;C:\junit-addons- 1.4\junit-addons-1.4.jar;C:\junit-addons-1.4\src.jar [java] TestLog4j caught an unexpected exception! [java] javax.naming.CommunicationException: Receive timed out. Root exception is java.net.Sock etTimeoutException: Receive timed out [java] at java.net.PlainDatagramSocketImpl.receive(Native Method) [java] at java.net.DatagramSocket.receive(DatagramSocket.java:671) [java] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093) [java] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) [java] at javax.naming.InitialContext.lookup(InitialContext.java:347) [java] at homebrew.ejb.session.util.AccountFacadeUtil.getHome(AccountFacadeUtil.java:2 7) Here are the jndi.properties entries: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces Have there been changes to the JNDI for 3.2.3? If so, could someone provide me with the new values? No source/configurations changes were introduced during the upgrade. Regards, Matt Hanson --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] survey on e-commerce applications management (please get involved)
Hello! Since November we started a survey on e-commerce applications management, that is part of my PhD work. We intend to make the management of e-commerce applications easier than it is up to now, but to come up with a useful solution, we need to know what really takes to keep an e-commerce application up and running in practice. We need to conclude it on 31th January. So, if you are an e-commerce site administrator and haven't participated yet, please respond the questionnaire published at http://www.lsd.ufcg.edu.br/~raquel/survey/availability-form.htm. It won't take long and, of course, all answers will be taken anonymously. If you know people who may be involved, please forward this e-mail to them. If you are interested on the results of this research, contact me at [EMAIL PROTECTED] Best regards, Raquel Vigolvino Lopes PhD Student in Computer Science Universidade Federal de Campina Grande Campina Grande - PB - Brazil --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] web-console applet throws exception
Hi, I've just compile JBoss 3.2.3 from the source and when I connect to server:8080/web-console/, the left nav applet throws this exception : http://localhost:8080/web-console/Invoker java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:95) at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputClassFields(Unknown Source) at java.io.ObjectInputStream.defaultReadObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputArray(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputClassFields(Unknown Source) at java.io.ObjectInputStream.defaultReadObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputArray(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputClassFields(Unknown Source) at java.io.ObjectInputStream.defaultReadObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputArray(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputClassFields(Unknown Source) at java.io.ObjectInputStream.defaultReadObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputArray(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputClassFields(Unknown Source) at java.io.ObjectInputStream.defaultReadObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.ArrayList.readObject(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectInputStream.invokeObjectReader(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.util.HashMap.readObject(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectInputStream.invokeObjectReader(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.inputClassFields(Unknown Source) at java.io.ObjectInputStream.defaultReadObject(Unknown Source) at java.io.ObjectInputStream.inputObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:78) at org.jboss.console.remote.Util.invoke(Util.java:77) at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:50) at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:104) at org.jboss.console.navtree.ConsoleTreeModel.(ConsoleTreeModel.java:59) at org.jboss.console.navtree.AdminTreeBrowser.(AdminTreeBrowser.java:63) at
RE: [JBoss-user] JBoss 3.2.4
At 12:28 19.01.2004, Rupp, Heiko wrote: > is there an release date for JBoss 3.2.4? Afaik, within a week from now. thx. this is great. /rk --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss 3.2.4
> is there an release date for JBoss 3.2.4? Afaik, within a week from now. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.2.4
hi, is there an release date for JBoss 3.2.4? Regards, Rafal --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user