[JBoss-user] Error logging
Is it possible to create any error.log file for System.err.println() commands in server/default/log folder? Is there any available configuration file? Thanks Vassilis --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Transaction exception, possible timing problems?
When running a quite big transaction which takes around 5 minutes or more, the following exception emerges. Rerunning the transaction, it fails on different places. Are there any timout settings we have forgotten? cocte1@banklab7:~/nb/nb2/src/build ant statusfil Buildfile: build.xml statusfil: [java] MANUELL KJOERING AV STATUSFIL [java] Dette tar gjerne 10-15 minutter [java] Nå starter det... [java] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: [java] java.rmi.ServerException: EJBException:; nested exception is: [java] javax.ejb.EJBException: null; CausedByException is: [java] null; CausedByException is: [java] null; CausedByException is: [java] Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback) [java] java.rmi.ServerException: EJBException:; nested exception is: [java] javax.ejb.EJBException: null; CausedByException is: [java] null; CausedByException is: [java] null; CausedByException is: [java] Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback) [java] javax.ejb.EJBException: null; CausedByException is: [java] null; CausedByException is: [java] null; CausedByException is: [java] Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback) [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245) [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) [java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128) [java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108) [java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73) [java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) [java] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111) [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) [java] at $Proxy1.manuellStatusfil(Unknown Source) [java] at norgesbank.bank.sil.tjenester.grensesnitt.ManuellStatusfil.init(ManuellStatusfil.java:44) [java] at norgesbank.bank.sil.tjenester.grensesnitt.ManuellStatusfil.main(ManuellStatusfil.java:19) [java] javax.ejb.EJBException: null; CausedByException is: [java] null; CausedByException is: [java] Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback) [java] no stack trace available [java] javax.ejb.EJBException: null; CausedByException is: [java] Find failed: org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: Could not enlist XAResource!javax.transaction.RollbackException: Already marked for rollback; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on
[JBoss-user] createMBean : NullPointerException
Hi,I've switched to JBoss 3.0.2 and I'm still trying to register a ModelMBean. I make a connection to the MBeanServer (from a remote client) with the following callRemoteMBeanServer connector = new RMIConnectorImpl ( (RMIAdaptor) this.initialContext.lookup("jmx:server:rmi"));After that I call getMBeanCount on the connector, it returns 144, so apparently the connector seems to be OK.But when I want to register a new modelmbean using the following code name = new ObjectName("test:name=MijnBoon"); connector.createMBean ("javax.management.modelmbean.RequiredModelMBean",name);I get an MBeanException. Does anyone has any idea what I'm doing wrong ? Thanks Erik The complete stacktrace of the MBeanException is listed hereMBeanException: preRegister() failed [ObjectName='test:name=MijnBoon', Class=javax.management.modelmbean.RequiredModelMBean (javax.management.modelmbean.RequiredModelMBean@abe654)] Cause: java.lang.NullPointerException at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:187) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:975) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:273) at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.createMBean(RMIAdaptorImpl.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:536) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl_Stub.createMBean(Unknown Source) at org.jboss.jmx.connector.rmi.RMIConnectorImpl.createMBean(RMIConnectorImpl.java:219) at jmx.erik.ModelMBeanInfoBuilder.registerMBean(ModelMBeanInfoBuilder.java:213) at jmx.erik.MijnBoon.main(MijnBoon.java:69) + nested throwable: java.lang.NullPointerException at org.jboss.mx.modelmbean.ModelBase.preRegister(ModelBase.java:216) at javax.management.modelmbean.RequiredModelMBean.preRegister(RequiredModelMBean.java:218) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:175) at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:975) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:273) at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.createMBean(RMIAdaptorImpl.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:536)
Re: [JBoss-user] DatabaseServerLoginModule
Scott, Hang on a moment. But, Todd has a WEB-INF/jboss-web.xml file and the security domain is pointing to his AbilSoftRealm and not to other. Do you have to point to other for this stuff to work? And why does what Todd is doing not work? Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Scott M Stark [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03.11.2002 16:50 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:Re: [JBoss-user] DatabaseServerLoginModule There is no jboss-web.xml descriptor describing the security domain under which authentication should occur. See the getting started guide where a WEB-INF/jboss-web.xml file is described as being required to enable security: jboss-web security-domainjava:/jaas/other/security-domain /jboss-web On Sunday, November 3, 2002, at 07:30 AM, Todd Gould wrote: Hello: I'm trying to configure the DatabaseServerLoginModule to use as an authentication mechanism for a simple JSP with simple FORM based security. I'm sure I am missing something, but have not been able to find my error(s) in the documentation or other related posts. This is with JBoss 3.0.0 with Tomcat 4.0.3. The problem is as follows: The JSP presents and appears to process the login form correctly and just as expected. The problem is that no matter what I respond to the form with for user and password, I am successfully transferred to the JSP that is supposed to be guarded. This is to say that users/pws that are in the database and any other garbabge that is not both appear to work equally well and result in successful authentication. There are no errors on the console or log that I have found. There are also no errors during startup. There are also no indications that any authentication is ocurring. I'd appreciate any and all help as I'm not sure what I'm missing at this point. Here are the relevant sections from the files: web.xml: security-constraint web-resource-collection web-resource-nameBookMarks/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-namePortalUser/role-name /auth-constraint /security-constraint login-config auth-methodFORM/auth-method realm-nameAbilSoftRealm/realm-name form-login-config form-login-page/login.html/form-login-page form-error-page/login-error.html/form-error-page /form-login-config /login-config security-role role-namePortalUser/role-name /security-role jboss-web.xml: jboss-web security-domainjava:/jaas/AbilSoftRealm/security-domain /jboss-web login-config.xml: application-policy name = SecurityDbRealm authentication login-module code = org.jboss.resource.security.ConfiguredIdentityLoginModule flag = required module-option name = principaltestuser/module-option module-option name = userNametestuser/module-option module-option name = passwordpw/module-option module-option name = managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=Securit yDS/module-option /login-module /authentication /application-policy application-policy name = AbilSoftRealm authentication login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required module-option name = dsJndiNamejava:/SecurityPool/module-option module-option name = principalsQueryselect password from users where username = ?/module-option module-option name = rolesQueryselect role, rolegroup from roles where username = ?/module-option module-option name = hashAlgorithmMD5/module-option module-option name = hashEncodingbase64/module-option /login-module /authentication /application-policy Thanks again. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Unregistering MBeans with HTTPAdaptor
Hi, I've switched from JBoss 2.4.3 to JBoss 3.0.2. When I have MBeans registered, is there a way to unregister them with the jmx-console like there was in previous versions ? Erik
[JBoss-user] 3.0.4 Release Notes are brilliant
Kudos to whoever wrote the release notes for 3.0.4 They are excellently organised, nicely formatted and the information is relevant and interesting. Also, thanks for the comment about where to find test results. Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: ClassCastException on redeploy of .ear
Hi David, As I indicated to Scott, I upgraded to jboss- 3.0.4_tomcat-4.0.6 (the most recent version, as far as I know), but I still have the exact same problem. Everything works fine when I first start JBoss and deploy the .ear, but as soon as I re-deploy the .ear, I get a ClassCastException when trying to access a session bean from within a servlet. I don't mean to be a whiner -- I think JBoss is great -- but having to restart JBoss every time an .ear is redeployed is just not acceptable for a production system. I can only imagine that what I am doing (accessing a session bean from a servlet) is extremely common. Am I the only one with this problem? Is there anybody out there who *doesn't* have this problem? How are other people dealing with it? Any solution or advice would be most welcome. Thanks, -- John Date: Sun, 3 Nov 2002 15:33:26 -0500 From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Re: ClassCastException on redeploy of .ear Reply-To: [EMAIL PROTECTED] At various times there have been various class cast problems, and many of them have been fixed. Please be sure you are using an up to date jboss version (such as 3.0.4) before complaining too loudly. thanks david jencks --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss server seems to be down
Hi all, jboss server seems to be down. Is there any mirror site? thanks --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Re: ClassCastException on redeploy of .ear
John, What environment are you running in? We had similar difficulties in previous versions of JBoss. Most of these seem to have gone away when we started using Sun's 1.4.1 JVM on Windows 2000. We had lots of problems with Linux 6.2 and Sun's 1.3.1 JVM. Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04.11.2002 13:14 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:[JBoss-user] Re: ClassCastException on redeploy of .ear Hi David, As I indicated to Scott, I upgraded to jboss- 3.0.4_tomcat-4.0.6 (the most recent version, as far as I know), but I still have the exact same problem. Everything works fine when I first start JBoss and deploy the .ear, but as soon as I re-deploy the .ear, I get a ClassCastException when trying to access a session bean from within a servlet. I don't mean to be a whiner -- I think JBoss is great -- but having to restart JBoss every time an .ear is redeployed is just not acceptable for a production system. I can only imagine that what I am doing (accessing a session bean from a servlet) is extremely common. Am I the only one with this problem? Is there anybody out there who *doesn't* have this problem? How are other people dealing with it? Any solution or advice would be most welcome. Thanks, -- John Date: Sun, 3 Nov 2002 15:33:26 -0500 From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Re: ClassCastException on redeploy of .ear Reply-To: [EMAIL PROTECTED] At various times there have been various class cast problems, and many of them have been fixed. Please be sure you are using an up to date jboss version (such as 3.0.4) before complaining too loudly. thanks david jencks --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Re: ClassCastException on redeploy of .ear
Hi, but having to restart JBoss every time an .ear is redeployed is just not acceptable for a production system. Is it actually sensible for a *production* (as in there are real users on it and oposed to I produce new software on it) system to have the software change just in the middle of operation? Do you expect the software to do the right thing when you e.g. change the signature of your business methods without changing the calls in the web tier? Heiko (and yes, this only represents my opinion ... ) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Error when building jboss
Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss site down
Hello does anyone know what is going on with jboss.org I require: http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd in order to run EJBDoclet task to automatically generate my EJB-JAR, but it has been down several times today. Have they been hacked? More importantly is there a way of running EJBDoclet withou it resorint to call jboss_3_0.dtd without providing your own jboss.xml file? Regards Ricardo --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
Maybe you have to set JAVA_HOME to the rootdir of your JDK, or put java-binary in the path. On man, 2002-11-04 at 17:55, [EMAIL PROTECTED] wrote: Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] MBean Question
I have an MBean which I deploy as a sar file with no problems provided I put the MBean class and its interface in the same package. However, if I move the interface into a separate package, and taking care that the MBean class and interface are in the sar file, JBoss throws an exception, complaining that my class does not expose an MBean interface. I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something else that needs to be put into the deployment descriptor to ensure that the interface is recognized ? Thanks Greg --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Entity Bean Performance Tuning Help
Bills suggestion was that the dataobject creation was the problem. Which i would agree with based on the trace i had put in. Bill also suggested that it was my code, which i don't think is the case. I could be wrong ~ can anyone suggest how i can optimize this constructor: public MyValueObject(SomeLocalInterface ejb){ name = ejb.getName(); id = ejb.getId(); someOtherField = ejb.getSomeOtherField(); } There are about 10 fields or so. I did double check and realize that one of them is a field on a relationship, which may be the source of the problem. I'll see if i have time this week for a quick sample. Last week was deployment week. .peter -Original Message- From: Sacha Labourey [mailto:Sacha.Labourey;ml.cogito-info.ch] Sent: Wednesday, October 30, 2002 3:14 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Entity Bean Performance Tuning Help Georg, It seems that my (and, at least to some degree, Peter's) specific problem is misunderstood. ... into a collection of value objects. None of the previous posts (except Peter's) touches upon this subject. That's wrong: Bill suggested something wrt to your value object and I suggested that you provide a small test case on which we could work. cheers, Sacha P.S.: BTW, is your for loop running in a single transaction? What is the transaction attribute of the code running in the for loop? --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Entity Bean Performance Tuning Help
I was using read-ahead, as it's on by default. See original posting. -Original Message- From: Emerson Cargnin - SICREDI Serviços [mailto:emersonc;sicredi.com.br] Sent: Tuesday, October 29, 2002 1:35 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help i think that maybe using a read-ahead configuration for cmr could turn CMP usable, hence the cause of the slowness (IMHO) is the great number of selects as you navigate through each BEAN. Jason Westra wrote: Dain wrote: I disagree with you here. It depends on the type of reads you are doing. A lot of applications increase performance by offloading processing to the database with very complex queries and stored procedures, and the current CMP design can not benefit from this design. This was my point. Sounds like you agree. :) The current CMP design has problems with large, complex reads. You can't effectivly use CMP for everything, nor was the EJB spec's CMP section able solve ALL data query problems. J -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]On Behalf Of Dain Sundstrom Sent: Tuesday, October 29, 2002 11:43 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help Jason Westra wrote: Hi JBoss friends, I tend to agree with Bill and Dain's last posting here. There are certain things that CMP is not designed to do *well* and large, heavy reads is one of them. I disagree with you here. It depends on the type of reads you are doing. A lot of applications increase performance by offloading processing to the database with very complex queries and stored procedures, and the current CMP design can not benefit from this design. The JBoss 4.0 design will be able to benefit from hand tuned queries. I'd venture to guess the same performance problem will occur on other app servers, in which case, it is not a war of servers, but a principle of application design (SSB+JDBC vs. CMP). If the numbers come in much better from testing on other app servers, we need to get JBoss fixed. Until then, I'd recommend a different approach than CMP. My goal for the 4.0 architecture is to enable the easy use of a hybrid approach to CMP. In this design you can use CMP for the 98% of you app that performs well under the current code and for the 2% that needs hand code you can plug in a custom interceptor to tune queries. -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list
RE: [JBoss-user] Entity Bean Performance Tuning Help
Thanks for the advice. I'll checkout SwiftMQ. .peter -Original Message- From: Georg Schmid [mailto:georg-schmid;ti.com] Sent: Tuesday, October 29, 2002 11:28 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Entity Bean Performance Tuning Help Peter, it's a great relief to see, that I am not the only one... I have not given up hope yet, but I cannot crank out enough hours to get to the core of the problem. In the app I did before the current one, I used the paging and web layer caching approach you suggest, albeit on a small scale. Then I embraced EJB and CMP2.0. Despite my current problems I am still convinced that it was the right decision. I find it more convenient to put my tables inside a div using the overflow:auto css style, so I can simply scroll down the complete list without paging. I am using the JSTL to do the presentation layer. Actually I had JBoss running under OptimizeIt two weeks ago, but then I was distracted and now my evaluation license expired. May be you try to use SwiftMQ (they used to have docs on how to integrate with Jboss on their website). My company did a performance comparison against IBM MQ Series, and SwiftMQ was significantly faster (lean and mean, so to say, but no work flow component etc.). Regards Georg -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net] On Behalf Of Luttrell, Peter Sent: Tuesday, October 29, 2002 17:39 To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] Entity Bean Performance Tuning Help Georg, I used 2 other non-ejb solutions to get what I needed done. Cache the dataobjects in the webtier. It will only work in certain cases, 2/3 in my case. I know it's duplicating work that the ejb container should do, but if there is noting that can be done to JBoss to get performance acceptable then... Paginate the results. Checkout this taglib, it does it all for you automatically: http://edhill.its.uiowa.edu/display/. Plus my users like it better because IE can render the pages very fast, compared to the super long time it takes with large tables. .peter -Original Message- From: Georg Schmid [mailto:georg-schmid;ti.com] Sent: Tuesday, October 29, 2002 2:23 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Entity Bean Performance Tuning Help First of all: This was only an experiment to check the impact of the EntitySynchronizationInterceptor on performance. Of course this is nothing you should do in a real setup. I know what the EntitySynchronizationInterceptor is for. I have been using JBoss for almost a year, reading almost all posts on the Jboss dev, user and cvs mailing lists, as well as searching the forums regulary, if I have an issue to solve. My problem is: Creating value objects through calling a method on an CMP2.0 entity bean takes 3 to 10 times more time than walking through an equivalent result set of a 'raw' JDBC query. I tried to dig into this issue by stripping down the interceptor stack !as an experiment! to the bare minimum. The result of this experiment was, that the EntitySynchronizationInterceptor is the only interceptor, that changes performance significantly in my setup. Removing the transaction or security interceptors did not have any significant impact. Getting the data from the database into the Jboss server memory is not the problem. The finder I am using for testing returns a result set with 1000 rows. It uses the default load group. This means that all data is in memory after the finder has completed, which takes only a few hundred milliseconds, just like issuing a select * from BeanTable. For this reason playing around with page sizes and load groups etc. is pointless. My experience is that locking has no measurable effect on the performance (the performance test is strictly single-user). The time is lost when I walk through the collection of entity beans returned by the finder and call a method on each to create the value objects (one method call per value object). Others have come to the same conclusion, but I have not found a post that points to a solution of this problem. I really would like to be able to do a web page, that displays at most about 4000 rows, using entity beans and CMP2.0. But with the current performance I have to switch to direct JDBC calls in my stateless session beans every time I have to display more than 500 rows (Jboss 3.0.3 running on a dual UltraSparcIII with 4GB memory and an Oracle db on similar hardware). This is the issue I am trying to solve. If you could help me with that I'd really appreciate it. Thanks. Regards Georg -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net] On Behalf Of Bill Burke Sent: Tuesday, October 29, 2002 07:24 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Entity Bean Performance Tuning Help Georg stop spewing nonsenseNever ever take out the synchronization interceptor! It registers synchronzations with the TM so that the
[JBoss-user] Strange errors in server.log
Title: Strange errors in server.log I use jboss 3.0.4RC1 week old from CVS (not updated to 3.0.4 release yet) My servlet calls CMP1.1 entity bean that has byte[] as one of CMP fields. From time to time I face the following exception: ===server.log=== ... 2002-11-04 18:28:02,454 ERROR [STDERR] java.lang.IllegalStateException: Task already scheduled or cancelled 2002-11-04 18:28:02,455 ERROR [STDERR] at java.util.Timer.sched(Timer.java:316) 2002-11-04 18:28:02,455 ERROR [STDERR] at java.util.Timer.schedule(Timer.java:128) 2002-11-04 18:28:02,456 ERROR [STDERR] at sun.rmi.transport.DGCAckHandler.startTimer(DGCAckHandler.java:84) 2002-11-04 18:28:02,456 ERROR [STDERR] at sun.rmi.transport.ConnectionOutputStream.done(ConnectionOutputStream.java:82) 2002-11-04 18:28:02,456 ERROR [STDERR] at sun.rmi.transport.StreamRemoteCall.releaseOutputStream(StreamRemoteCall.java:94) 2002-11-04 18:28:02,456 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:302) 2002-11-04 18:28:02,456 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:148) 2002-11-04 18:28:02,456 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) 2002-11-04 18:28:02,457 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:144) 2002-11-04 18:28:02,457 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) 2002-11-04 18:28:02,457 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) 2002-11-04 18:28:02,457 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536) ... ===server.log=== At client's (servlet's) side I see: [2002-11-04 18:28:02,455,ImageServlet] javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset by peer: Connection reset by peer] javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset by peer: Connection reset by peer at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:464) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443) at com.caucho.naming.LinkProxy.createObject(LinkProxy.java:127) at com.caucho.naming.ContextImpl.dereference(ContextImpl.java:540) at com.caucho.naming.ContextImpl.lookup(ContextImpl.java:173) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.tw.imgfactory.servlet.ImageServlet.getImageRemoteHome(ImageServlet.java:85) at com.tw.imgfactory.servlet.ImageServlet.doGet(ImageServlet.java:37) at javax.servlet.http.HttpServlet.service(HttpServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.caucho.server.http.Invocation.service(Invocation.java:312) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342) at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:272) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:536) Caused by: java.net.SocketException: Connection reset by peer: Connection reset by peer at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:116) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) at java.io.DataInputStream.readByte(DataInputStream.java:276) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 19 more From that jboss-side exception occurs earlier, I conclude that Connection reset by peer on client-side is caused by jboss-side rmi exception. Can anybody help me with this? Best wishes, Alexei Yudichev
Re: [JBoss-user] Re: ClassCastException on redeploy of .ear
It could be a problem with how the ear is packaged, placing classes in contexts that are not refreshed after the redeploy, including a jndi.properties file in the deployment, etc. Without an example ear that demonstrates the problem I can't say what your problem is. Create an example and attach it to a bug report at http://sourceforge.net/projects/jboss/ Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: John Snyder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 03, 2002 1:29 PM Subject: [JBoss-user] Re: ClassCastException on redeploy of .ear Scott, I upgraded to jboss-3.0.4_tomcat-4.0.6, but I still have the exact same problem. Everything works fine when I first start JBoss and deploy the .ear, but as soon as I re-deploy the .ear, I get the ClassCastException. This happens even when I remove the .jar and .ear files from the deploy directory completely, then re-deploy them. Could this be a problem with my web.xml and jboss-web.xml files, or is it unrelated? This strikes me as a pretty serious problem -- see any solution? The full error I am getting, if it helps, is: java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemo teObject.java:293) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134) at com.pc.servlets.RegistrationServlet.doRequest(RegistrationServlet.java:40) at com.pc.servlets.BaseServlet.doPost(BaseServlet.java:33) at com.pc.servlets.BaseServlet.doGet(BaseServlet.java:28) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
There is some problem with how JavaCC is integrating with the java vm/compiler under 1.4.1 that needs to be looked into. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 8:55 AM Subject: [JBoss-user] Error when building jboss Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss site down
To add this matter, there is a suspicious message on my browsers status bar when load the jboss.org page it says: All your J2EE are belong to us. It seems to me that JBoss was hacked and someone should alert them. Regards Ricardo A happy JBoss user. - Original Message - From: Ricardo Escalon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 5:08 PM Subject: [JBoss-user] JBoss site down Hello does anyone know what is going on with jboss.org I require: http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd in order to run EJBDoclet task to automatically generate my EJB-JAR, but it has been down several times today. Have they been hacked? More importantly is there a way of running EJBDoclet withou it resorint to call jboss_3_0.dtd without providing your own jboss.xml file? Regards Ricardo --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss site down
Its up now. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Ricardo Escalon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 8:08 AM Subject: [JBoss-user] JBoss site down Hello does anyone know what is going on with jboss.org I require: http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd in order to run EJBDoclet task to automatically generate my EJB-JAR, but it has been down several times today. Have they been hacked? More importantly is there a way of running EJBDoclet withou it resorint to call jboss_3_0.dtd without providing your own jboss.xml file? Regards Ricardo --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss site down
i guess there's ONE person out there that hasn't heard: ALL YOUR BASE ARE BELONG TO US. personnaly, i love seeing that on jboss's site! hilarious! -Original Message- From: Ricardo Escalon [mailto:ricardo;hni.uni-paderborn.de] Sent: Monday, November 04, 2002 11:00 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss site down To add this matter, there is a suspicious message on my browsers status bar when load the jboss.org page it says: All your J2EE are belong to us. It seems to me that JBoss was hacked and someone should alert them. Regards Ricardo A happy JBoss user. - Original Message - From: Ricardo Escalon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 5:08 PM Subject: [JBoss-user] JBoss site down Hello does anyone know what is going on with jboss.org I require: http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd in order to run EJBDoclet task to automatically generate my EJB-JAR, but it has been down several times today. Have they been hacked? More importantly is there a way of running EJBDoclet withou it resorint to call jboss_3_0.dtd without providing your own jboss.xml file? Regards Ricardo --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] MBean Question
I believe the mbean spec from Sun requires the interface and impl to be in the same package, with a specific naming convention. Check the spec for details.. James -Original Message- From: Greg Turner [mailto:gturner;tiburon-e-systems.com] Sent: Monday, November 04, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] MBean Question I have an MBean which I deploy as a sar file with no problems provided I put the MBean class and its interface in the same package. However, if I move the interface into a separate package, and taking care that the MBean class and interface are in the sar file, JBoss throws an exception, complaining that my class does not expose an MBean interface. I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something else that needs to be put into the deployment descriptor to ensure that the interface is recognized ? Thanks Greg --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] DatabaseServerLoginModule
The security-domain needs to point to a valid configuration. There is some configuration error or database schema problem. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Jonathan.O'[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 2:23 AM Subject: Re: [JBoss-user] DatabaseServerLoginModule Scott, Hang on a moment. But, Todd has a WEB-INF/jboss-web.xml file and the security domain is pointing to his AbilSoftRealm and not to other. Do you have to point to other for this stuff to work? And why does what Todd is doing not work? Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Scott M Stark [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03.11.2002 16:50 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:Re: [JBoss-user] DatabaseServerLoginModule There is no jboss-web.xml descriptor describing the security domain under which authentication should occur. See the getting started guide where a WEB-INF/jboss-web.xml file is described as being required to enable security: jboss-web security-domainjava:/jaas/other/security-domain /jboss-web On Sunday, November 3, 2002, at 07:30 AM, Todd Gould wrote: Hello: I'm trying to configure the DatabaseServerLoginModule to use as an authentication mechanism for a simple JSP with simple FORM based security. I'm sure I am missing something, but have not been able to find my error(s) in the documentation or other related posts. This is with JBoss 3.0.0 with Tomcat 4.0.3. The problem is as follows: The JSP presents and appears to process the login form correctly and just as expected. The problem is that no matter what I respond to the form with for user and password, I am successfully transferred to the JSP that is supposed to be guarded. This is to say that users/pws that are in the database and any other garbabge that is not both appear to work equally well and result in successful authentication. There are no errors on the console or log that I have found. There are also no errors during startup. There are also no indications that any authentication is ocurring. I'd appreciate any and all help as I'm not sure what I'm missing at this point. Here are the relevant sections from the files: web.xml: security-constraint web-resource-collection web-resource-nameBookMarks/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-namePortalUser/role-name /auth-constraint /security-constraint login-config auth-methodFORM/auth-method realm-nameAbilSoftRealm/realm-name form-login-config form-login-page/login.html/form-login-page form-error-page/login-error.html/form-error-page /form-login-config /login-config security-role role-namePortalUser/role-name /security-role jboss-web.xml: jboss-web security-domainjava:/jaas/AbilSoftRealm/security-domain /jboss-web login-config.xml: application-policy name = SecurityDbRealm authentication login-module code = org.jboss.resource.security.ConfiguredIdentityLoginModule flag = required module-option name = principaltestuser/module-option module-option name = userNametestuser/module-option module-option name = passwordpw/module-option module-option name = managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=Securit yDS/module-option /login-module /authentication /application-policy application-policy name = AbilSoftRealm authentication login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required module-option name = dsJndiNamejava:/SecurityPool/module-option module-option name = principalsQueryselect password from users where username = ?/module-option module-option name = rolesQueryselect role, rolegroup from roles where username = ?/module-option module-option name = hashAlgorithmMD5/module-option module-option name = hashEncodingbase64/module-option /login-module /authentication /application-policy Thanks again. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED I also had errors building 3.0.3 on a Win2k, also with J2SDK1.4.1_01 --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBean Question
Thanks James, I skimmed the spec and could not find any specs on the package of the interface. Furthermore, the manual from the adanced JBoss training has a diagram of a sar file that shows the MBean and its interface as being in different packages. Scott or Juha want to weigh in here ? Greg James Higginbotham wrote: I believe the mbean spec from Sun requires the interface and impl to be in the same package, with a specific naming convention. Check the spec for details.. James -Original Message- From: Greg Turner [mailto:gturner;tiburon-e-systems.com] Sent: Monday, November 04, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] MBean Question I have an MBean which I deploy as a sar file with no problems provided I put the MBean class and its interface in the same package. However, if I move the interface into a separate package, and taking care that the MBean class and interface are in the sar file, JBoss throws an exception, complaining that my class does not expose an MBean interface. I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something else that needs to be put into the deployment descriptor to ensure that the interface is recognized ? Thanks Greg --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543 --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] DatabaseServerLoginModule
Then why am I not seeing any output in the console or logfiles indicating that authentication is even occuring, let alone having any problems? Is there something in some other file that I need to modify to turn this on? I have verified the queries against my schema via mysql by hand - there doe not appear to be any problem there. I just don't think that authentication is really being processed in my environment - although the login.html is presented as expected - just not really validated against anything (always appears to return success regardless of input). Todd -- The security-domain needs to point to a valid configuration. There is some configuration error or database schema problem. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Jonathan.O'[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 2:23 AM Subject: Re: [JBoss-user] DatabaseServerLoginModule Scott, Hang on a moment. But, Todd has a WEB-INF/jboss-web.xml file and the security domain is pointing to his AbilSoftRealm and not to other. Do you have to point to other for this stuff to work? And why does what Todd is doing not work? Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Scott M Stark [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 03.11.2002 16:50 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:Re: [JBoss-user] DatabaseServerLoginModule There is no jboss-web.xml descriptor describing the security domain under which authentication should occur. See the getting started guide where a WEB-INF/jboss-web.xml file is described as being required to enable security: jboss-web security-domainjava:/jaas/other/security-domain /jboss-web On Sunday, November 3, 2002, at 07:30 AM, Todd Gould wrote: Hello: I'm trying to configure the DatabaseServerLoginModule to use as an authentication mechanism for a simple JSP with simple FORM based security. I'm sure I am missing something, but have not been able to find my error(s) in the documentation or other related posts. This is with JBoss 3.0.0 with Tomcat 4.0.3. The problem is as follows: The JSP presents and appears to process the login form correctly and just as expected. The problem is that no matter what I respond to the form with for user and password, I am successfully transferred to the JSP that is supposed to be guarded. This is to say that users/pws that are in the database and any other garbabge that is not both appear to work equally well and result in successful authentication. There are no errors on the console or log that I have found. There are also no errors during startup. There are also no indications that any authentication is ocurring. I'd appreciate any and all help as I'm not sure what I'm missing at this point. Here are the relevant sections from the files: web.xml: security-constraint web-resource-collection web-resource-nameBookMarks/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-namePortalUser/role-name /auth-constraint /security-constraint login-config auth-methodFORM/auth-method realm-nameAbilSoftRealm/realm-name form-login-config form-login-page/login.html/form-login-page form-error-page/login-error.html/form-error-page /form-login-config /login-config security-role role-namePortalUser/role-name /security-role jboss-web.xml: jboss-web security-domainjava:/jaas/AbilSoftRealm/security-domain /jboss-web login-config.xml: application-policy name = SecurityDbRealm authentication login-module code = org.jboss.resource.security.ConfiguredIdentityLoginModule flag = required module-option name = principaltestuser/module-option module-option name = userNametestuser/module-option module-option name = passwordpw/module-option module-option name = managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=Securit yDS/module-option /login-module /authentication /application-policy application-policy name = AbilSoftRealm authentication login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required module-option name = dsJndiNamejava:/SecurityPool/module-option module-option name = principalsQueryselect password from users where username = ?/module-option module-option name = rolesQueryselect role, rolegroup from roles where username = ?/module-option module-option name = hashAlgorithmMD5/module-option module-option name = hashEncodingbase64/module-option /login-module /authentication /application-policy Thanks again. --- This SF.net email is sponsored by: ApacheCon,
RE: [JBoss-user] JBoss-3.0.4 released
Warning to some, my 3.0.4 won't talk to 3.0.2 because a serialversionid changed somewhere down the line. Maybe there was a warning somewhere in the release notes but didn't find it! Scott, is there any desire someday to make revs talk to each other at least within one release? It sure makes gradual rollout tough! Rick -Original Message- From: Scott M Stark [mailto:scottmstark;attbi.com] Sent: Sunday, November 03, 2002 2:36 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [JBoss-user] JBoss-3.0.4 released JBoss-3.0.4 has been released to SourceForge and in addition to the default Jetty web container includes bundled versions of Tomcat-4.0.6 and Tomcat-4.1.12. The releases may be downloaded from: http://sourceforge.net/project/showfiles.php?group_id=22866 The release notes are available here: http://sourceforge.net/project/shownotes.php?release_id=120145 Scott Stark Chief Technology Officer JBoss Group, LLC --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] MBean Question
Hmm. True.. Here is what I was referring to: Pg 37 from the 1.0 JMX instrumentation spec: The name of an MBean's Java interface is formed by adding the MBean suffix to the MBean's Java class name. For example, the Java class MyClass would implement the MyClassMBean interface. The interface of a standard MBean is referred to as its MBean interface. Although not explicitly stated, I think it could be inferred, since there is not way per the spec to identify the location of the interface or impl from one another (via a manifest entry or something). I know that JB and WLS both assume the same package by default. But alas, I'm not sure if Jboss provides a means to declare this or not. Nothing stands out in the pay-for docs to me.. AFAICT, it appears that the code= attribute in your -service.xml is all that is used to find the rest of the mbean. HTH, James -Original Message- From: Greg Turner [mailto:gturner;tiburon-e-systems.com] Sent: Monday, November 04, 2002 11:40 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] MBean Question Thanks James, I skimmed the spec and could not find any specs on the package of the interface. Furthermore, the manual from the adanced JBoss training has a diagram of a sar file that shows the MBean and its interface as being in different packages. Scott or Juha want to weigh in here ? Greg James Higginbotham wrote: I believe the mbean spec from Sun requires the interface and impl to be in the same package, with a specific naming convention. Check the spec for details.. James -Original Message- From: Greg Turner [mailto:gturner;tiburon-e-systems.com] Sent: Monday, November 04, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] MBean Question I have an MBean which I deploy as a sar file with no problems provided I put the MBean class and its interface in the same package. However, if I move the interface into a separate package, and taking care that the MBean class and interface are in the sar file, JBoss throws an exception, complaining that my class does not expose an MBean interface. I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something else that needs to be put into the deployment descriptor to ensure that the interface is recognized ? Thanks Greg --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543 --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] No processor available
hi there, I am facing a problem with jboss 2.4.6, tomcat 4.0.3. When I generate load over jboss it failed to feed some of my request and gives message HttpConnector[8080] No processor available, rejecting this connection The reason of problem and solution that I have found over net is [Each Apache1.3 httpd process using establishes a single connectionto Tomcat the first time it has to forward a request to Tomcat. That connection is only used by that httpd process.Apache fail to make a new connection to Tomcat when an httpd process forwards its first request to Tomcat if the number of httpd processes which have already established a connection to Tomcat exceeds the HttpConnector maxProcessors setting.So it is critical that the HttpConnector maxProcessors be set =the maxiumum number of Apache httpd processes. I have found the HttpConnector settings in jboss.jcml i.e. Connector className = "org.apache.catalina.connector.http.HttpConnector" port = "8080" minProcessors = "3" maxProcessors = "10" enableLookups = "true" acceptCount = "10" debug = "0" connectionTimeout = "6"/ But unable to find the Apache httpd processes settings. That usually in httpd.conf file but jboss-2.4.6_Tomcat-4.0.3 did not contain any file of this name. so where can I set the httpd processes settings or is there any other solution of this problem. Thanks in advance. Nayyer Kamran
Re: [JBoss-user] MBean Question
Thanks James, I think you are correct. I can't remember everything. I just finished putting all my ejb interfaces into a separate "interface" package and getting XDoclet to work nicely, and then turned to my MBeans, and took a quick look at manual from advanced training at layout of sar file, and thought OK - separate "interface" package works here to, makes sense, blah blah. Oh well, perhaps this could be thought of as a flaw in JMX spec. Greg James Higginbotham wrote: Hmm. True.. Here is what I was referring to: Pg 37 from the 1.0 JMX instrumentation spec: "The name of an MBean's Java interface is formed by adding the MBean suffix to the MBean's Java class name. For example, the Java class MyClass would implement the MyClassMBean interface. The interface of a standard MBean is referred to as its MBean interface." Although not explicitly stated, I think it could be inferred, since there is not way per the spec to identify the location of the interface or impl from one another (via a manifest entry or something). I know that JB and WLS both assume the same package by default. But alas, I'm not sure if Jboss provides a means to declare this or not. Nothing stands out in the pay-for docs to me.. AFAICT, it appears that the code="" attribute in your -service.xml is all that is used to find the rest of the mbean. HTH, James -Original Message- From: Greg Turner [mailto:[EMAIL PROTECTED]] Sent: Monday, November 04, 2002 11:40 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] MBean Question Thanks James, I skimmed the spec and could not find any specs on the package of the interface. Furthermore, the manual from the adanced JBoss training has a diagram of a sar file that shows the MBean and its interface as being in different packages. Scott or Juha want to weigh in here ? Greg James Higginbotham wrote: I believe the mbean spec from Sun requires the interface and impl to be in the same package, with a specific naming convention. Check the spec for details.. James -Original Message- From: Greg Turner [mailto:[EMAIL PROTECTED]] Sent: Monday, November 04, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] MBean Question I have an MBean which I deploy as a sar file with no problems provided I put the MBean class and its interface in the same package. However, if I move the interface into a separate package, and taking care that the MBean class and interface are in the sar file, JBoss throws an exception, complaining that my class does not expose an MBean interface. I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something else that needs to be put into the deployment descriptor to ensure that the interface is recognized ? Thanks Greg --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBossQL and LIKE operator
Title: JBossQL and LIKE operator I'm wondering if JBossQL supports the LIKE operator with parameter (since EQJBQL don't). If yes, what's the syntax (an example will be highliy appreciate). thanx Herve Tchepannou Software Engineer Objexis Coorporation Phone: (514) 932 3295 Ext. 231 mailto:[EMAIL PROTECTED] Objexis Coorporation http://www.objexis.com 1635 Sherbrooke West, Suite #405 Montreal, Qc H3H 1E2 Tel: 514.932.3295 Fax: 514.932.4639 http://www.objexis.com Important - This message may contain privileged and confidential information. It is intended only for the use of the individual(s) named above. If the reader of this message is not the intended recipient you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Objexis Corporation immediately and promptly delete this message and any copies thereof. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Objexis Corporation.
Re: [JBoss-user] Error when building jboss
Marius Kotsbak wrote: Maybe you have to set JAVA_HOME to the rootdir of your JDK, or put java-binary in the path. Thanks Marius for the answer, but my JAVA_HOME var. is set. I have tried with both jdk1.3 and 1.4.1 without sucess On man, 2002-11-04 at 17:55, [EMAIL PROTECTED] wrote: Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: FileNotFoundException Accessing Session bean from Servlet
I had the same problem. This happens when a stateful session bean has been passivated and the serialized form of the bean is removed from the passivation store. The quick fix is to edit the standardjboss.xml file. In the container-configuration element for the Standard Stateful SessionBean, there is a container-cache-conf element. Change the value of max-bean-life from the default of 1800 to 2147483647. This will guarantee that the .ser file for all stateful session beans will not be deleted until they bean is redeployed. I just picked 2147483647 b/c it's the max value of a Java integer, any large number will do. Jason Gerard Lead Software Engineer ReClaim, LLC 904-731-1998 www.reclaimopl.com Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the Health Insurance Portability and Accountability Act of 1996 or other legal sanction. The message is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalty. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
Hi, it is essential that the JAVA_HOME points to the same jdk which has its bin directory first in the PATH. Just an idea.. Michael [EMAIL PROTECTED] wrote: Marius Kotsbak wrote: Maybe you have to set JAVA_HOME to the rootdir of your JDK, or put java-binary in the path. Thanks Marius for the answer, but my JAVA_HOME var. is set. I have tried with both jdk1.3 and 1.4.1 without sucess On man, 2002-11-04 at 17:55, [EMAIL PROTECTED] wrote: Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] MBean Question
Title: Message Oh well, perhaps this could be thought of as a flaw in JMX spec. Agreed. I'd even consider the entire lack of the service lifecycle API that jboss provides as a big flaw in the JMX spec.It just makes sense to offer lifecycle support to any good framework, esp management APIs. Anywho, enjoy your XDoclet/MBean development! James
[JBoss-user] ant deploy task
Hi everybody, I remember having heard of an ant task which talks directly to the jboss deployer mbean, so you can get along w/o filesystem copies. Or does it only provide an url to the deployer?... Can anybody provide me whith a hint where to look for the thing? Regards, Michael Bartmann --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Httpsession clustering synch?
It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.x doesn't set CMR in ejbPostCreate()
Title: JBoss 3.x doesn't set CMR in ejbPostCreate() JBoss 3.x doesn't set CMR in ejbPostCreate(). Is this a normal behaviour? Herve Tchepannou Software Engineer Objexis Coorporation Phone: (514) 932 3295 Ext. 231 mailto:[EMAIL PROTECTED] Objexis Coorporation http://www.objexis.com 1635 Sherbrooke West, Suite #405 Montreal, Qc H3H 1E2 Tel: 514.932.3295 Fax: 514.932.4639 http://www.objexis.com Important - This message may contain privileged and confidential information. It is intended only for the use of the individual(s) named above. If the reader of this message is not the intended recipient you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Objexis Corporation immediately and promptly delete this message and any copies thereof. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Objexis Corporation.
Re: [JBoss-user] jboss IBM AS 400
Hi Stefan. I have never run JBoss on an AS400 (never had the need, unfortunately). I have run major servers (1000+clients, NON - Webbased) written 100% Java on AS400, however. I believe that JBoss should run with anything after OS400V4, but you may want to verify the version of Java on the AS400 first. IBM has been regularly upgrading stuff, and I -think- the older AS400s only had JDK 1.1.8 and 1.2. There are later versions out for the AS400, but I am not sure how late. You may be interested to know that OS400 considers Java ByteCodes to be regular machine code, and its SLIC layer handles them as such. This makes the AS400 one of the better machines to be running Java on. -Steve Stefan Groschupf wrote: Hi, someone of you run Jboss successfully on a IBM AS 400? Thanks Stefan --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Java/J2EE Developer/Systems Integrator Dallas, Texas 214-724-7741 --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ant deploy task
varia/output/lib/jbossjmx-ant.jar There are slight instructions in the package docs for it, I think I wrote more instructions in the patch notice. You can do arbitrary (serializable) mbean operations with it. As with all deployment, it works by sending a url to the deployer. The deployer copies all jars to a local temp directory. david jencks On 2002.11.04 14:24:59 -0500 Michael Bartmann wrote: Hi everybody, I remember having heard of an ant task which talks directly to the jboss deployer mbean, so you can get along w/o filesystem copies. Or does it only provide an url to the deployer?... Can anybody provide me whith a hint where to look for the thing? Regards, Michael Bartmann --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 3.x doesn't set CMR in ejbPostCreate()
On Mon, 4 Nov 2002, Herve Tchepannou wrote: JBoss 3.x doesn't set CMR in ejbPostCreate(). It works for me. Could you be a bit more specific? Important - This message may contain privileged and confidential :-) Pavel --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote: It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
Greetings. I am having the EXACT same problem, but with JBoss v3.2 NOTE: I was able to build and run 3.0.0 and 3.0.1 successfully. My System; SuSE Linux 8.0 JDK 1.4.1 I posted a message earlier, but there was no response. I am considering posting a bug. Currently I am running a pre-release custom version of JBoss3.0.1, but would like to upgrade to get some of the many bug fixes and performance enhancements that have since been applied. -Steve Marius Kotsbak wrote: Maybe you have to set JAVA_HOME to the rootdir of your JDK, or put java-binary in the path. On man, 2002-11-04 at 17:55, [EMAIL PROTECTED] wrote: Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) -- Java/J2EE Developer/Systems Integrator 214-724-7741 --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help
Luttrell, Peter wrote: Bill also suggested that it was my code, which i don't think is the case. I could be wrong ~ can anyone suggest how i can optimize this constructor: public MyValueObject(SomeLocalInterface ejb){ name = ejb.getName(); id = ejb.getId(); someOtherField = ejb.getSomeOtherField(); } There are about 10 fields or so. I did double check and realize that one of them is a field on a relationship, which may be the source of the problem. You are doing 10 invocations through the ejb layers. The code will be way more efficient if you put the value object creation code inside the entity bean. For example public abstract class MyEntityBean extends EJBObject { public MyValueObject getValueObject() { MyValueObject valueObject = new MyValueObject(); valueObject.setName(getName()); valueObject.setId(getId()); valueObject.setSomeOtherField(getSomeOtherField()); } } The important difference is the loading of the value object gets all of the data from the ejb using calls inside of the bean instance and specifically the calls don't travel over a Remote or Local interface. This means there is no code interpositioned. -dain --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
Sorry, thought the clustering was abstracted, using jetty. I'm just at the point where I'm not sure of the intended operation. As for more detail, I'm not sure what would be useful. I have it rigged so I can switch between two servers, the only two together. Going to server B won't get me the session info. If I instead start both, then fool with a's session, b is OK. - Original Message - From: Jules Gosnell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 4:43 PM Subject: Re: [JBoss-user] Httpsession clustering synch? Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote: It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help
just a note : extends EJBObject - extends EntityBean Dain Sundstrom wrote: Luttrell, Peter wrote: Bill also suggested that it was my code, which i don't think is the case. I could be wrong ~ can anyone suggest how i can optimize this constructor: public MyValueObject(SomeLocalInterface ejb){ name = ejb.getName(); id = ejb.getId(); someOtherField = ejb.getSomeOtherField(); } There are about 10 fields or so. I did double check and realize that one of them is a field on a relationship, which may be the source of the problem. You are doing 10 invocations through the ejb layers. The code will be way more efficient if you put the value object creation code inside the entity bean. For example public abstract class MyEntityBean extends EJBObject { public MyValueObject getValueObject() { MyValueObject valueObject = new MyValueObject(); valueObject.setName(getName()); valueObject.setId(getId()); valueObject.setSomeOtherField(getSomeOtherField()); } } The important difference is the loading of the value object gets all of the data from the ejb using calls inside of the bean instance and specifically the calls don't travel over a Remote or Local interface. This means there is no code interpositioned. -dain --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
Stephen Davidson wrote: Greetings. I am having the EXACT same problem, but with JBoss v3.2 NOTE: I was able to build and run 3.0.0 and 3.0.1 successfully. My System; SuSE Linux 8.0 JDK 1.4.1 I posted a message earlier, but there was no response. I am considering posting a bug. Currently I am running a pre-release custom version of JBoss3.0.1, but would like to upgrade to get some of the many bug fixes and performance enhancements that have since been applied. -Steve Hi Steve, Try to install the bins, that's what I definitely did to make it work... good luck Marius Kotsbak wrote: Maybe you have to set JAVA_HOME to the rootdir of your JDK, or put java-binary in the path. On man, 2002-11-04 at 17:55, [EMAIL PROTECTED] wrote: Hallo I have tried to build jboss-3.0.4 on my SuSE Linux machine and had the following error message: ... generate-parsers: BUILD FAILED /work/Downloads/jboss-3.0.4-src/server/build.xml:348: Failed to launch JJTree: java.io.IOException: java.io.IOException: java: not found Can somebody please help me fixing it? Thanks java version 1.4.1_01 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] User Monitoring
My sysadmin has one large grip with JBoss: There is no way to tell who is using a webapp at a particular time, which he claims is possible with Weblogic. I'm using Jetty, if i turn on the metrics, i can ascertain how many sessions are active (not timed out). Does anyone know how i can figure out what the userPrincipal is for the httpsessions? Or does anyone have any other ideas on how to monitor Who is using Jboss? Other then the obvious one, which is write a bunch of custom code that updatessome custom monitorthrough filters or interceptors or manually? thanks. .peter as always ignore my firms silly warning below This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us.
RE: [JBoss-user] Entity Bean Performance Tuning Help
It is faster. I tried it in response to danch's message early in the thread. Thus I have the same question (which no one commented on): Time ~1200ms is a lot better then the original 2200, but can this still be acceptable for reading ~10 fields from 750ejbs that are 100% cached? Here is the email in this thread reporting the results: That makes sense for the weird timing observations. I tried the value object pattern with a local ejbHome method. Utilizing a finder this reduced my time from ~2200ms to ~1600, then i tried an ejbSelect which took it down to ~1400ms. Then i tried your suggestion (bulk getter) and was able to get the time to about ~1200ms. A lot better then the original 2200, but can this still be acceptable for reading ~10 fields from 750ejbs that are 100% cached? Also, the first time though (uncached), is still very long 11,000 ms for the exact same code and data...course a bit of this is creating db pool connections. .peter -Original Message- From: Dain Sundstrom [mailto:dain;daingroup.com] Sent: Monday, November 04, 2002 5:10 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help Luttrell, Peter wrote: Bill also suggested that it was my code, which i don't think is the case. I could be wrong ~ can anyone suggest how i can optimize this constructor: public MyValueObject(SomeLocalInterface ejb){ name = ejb.getName(); id = ejb.getId(); someOtherField = ejb.getSomeOtherField(); } There are about 10 fields or so. I did double check and realize that one of them is a field on a relationship, which may be the source of the problem. You are doing 10 invocations through the ejb layers. The code will be way more efficient if you put the value object creation code inside the entity bean. For example public abstract class MyEntityBean extends EJBObject { public MyValueObject getValueObject() { MyValueObject valueObject = new MyValueObject(); valueObject.setName(getName()); valueObject.setId(getId()); valueObject.setSomeOtherField(getSomeOtherField()); } } The important difference is the loading of the value object gets all of the data from the ejb using calls inside of the bean instance and specifically the calls don't travel over a Remote or Local interface. This means there is no code interpositioned. -dain --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] User Monitoring
One option is to check out the for pay software, AppSure, from JBoss partner www.alignmentsoftware.com. I've seen a demo and its well worth consideration. Luttrell, Peter wrote: My sysadmin has one large grip with JBoss: There is no way to tell who is using a webapp at a particular time, which he claims is possible with Weblogic. I'm using Jetty, if i turn on the metrics, i can ascertain how many sessions are active (not timed out). Does anyone know how i can figure out what the userPrincipal is for the httpsessions? Or does anyone have any other ideas on how to monitor Who is using Jboss? Other then the obvious one, which is write a bunch of custom code that updatessome custom monitorthrough filters or interceptors or manually? thanks. .peter as always ignore my firms silly warning below This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543
Re: [JBoss-user] Httpsession clustering synch?
OS JVM JBoss version What have you done to enable httpsession clustering How are you load-balancing/failing-over between the http nodes Are you testing using servlets or JSPs etc Jules Rick LaBanca wrote: Sorry, thought the clustering was abstracted, using jetty. I'm just at the point where I'm not sure of the intended operation. As for more detail, I'm not sure what would be useful. I have it rigged so I can switch between two servers, the only two together. Going to server B won't get me the session info. If I instead start both, then fool with a's session, b is OK. - Original Message - From: Jules Gosnell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 4:43 PM Subject: Re: [JBoss-user] Httpsession clustering synch? Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote: It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help
Luttrell, Peter wrote: It is faster. I tried it in response to danch's message early in the thread. Thus I have the same question (which no one commented on): Time ~1200ms is a lot better then the original 2200, but can this still be acceptable for reading ~10 fields from 750ejbs that are 100% cached? Here is the email in this thread reporting the results: I think you will get the same answer, run a profiler and find out what is taking the 1200 ms. It should be obvious. If you can't fix whatever is taking all the time, come back and complain about x being really slow. My guess is the data isn't cached and it is taking 1199 ms to get it from the database and 1 ms to build the value object. -dain --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Why 3.2? (Was: Error when building jboss)
I am having the EXACT same problem, but with JBoss v3.2 NOTE: I was able to build and run 3.0.0 and 3.0.1 successfully. [snip] I posted a message earlier, but there was no response. I am considering posting a bug. Currently I am running a pre-release custom version of JBoss3.0.1, but would like to upgrade to get some of the many bug fixes and performance enhancements that have since been applied. -Steve I am a little bit lost with the 3.2 release.. What's new in it that one may want that there is not in 3.0.x? For instance, from 2.4.x to 3.0.x the clustering features were enabled, and would never go to the 2.4 series... So.. whats in 3.2, or maybe I should go and read the release notes? Sorry if this is the case... --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 Clustering enabled per the clustering doc (copy the cluster xml file, jbossha sar, javagroups jar, distributed/ tag added) The test is with precompiled jsp's (so essentially servlets). What I am doing now for my simple test is this. I have two servers clustered this way. On a third windows box, I have a little utility that lets me map a local port to another ip:port, that allows me to switch over manually. So I use server A, kick the utility over to B and test. Everything seems fine except for this one case. Again, it's not clear how it's supposed to work, is it supposed to synch up servers coming online after activity has already occurred? rick - Original Message - From: Jules Gosnell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 7:51 PM Subject: Re: [JBoss-user] Httpsession clustering synch? OS JVM JBoss version What have you done to enable httpsession clustering How are you load-balancing/failing-over between the http nodes Are you testing using servlets or JSPs etc Jules Rick LaBanca wrote: Sorry, thought the clustering was abstracted, using jetty. I'm just at the point where I'm not sure of the intended operation. As for more detail, I'm not sure what would be useful. I have it rigged so I can switch between two servers, the only two together. Going to server B won't get me the session info. If I instead start both, then fool with a's session, b is OK. - Original Message - From: Jules Gosnell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 4:43 PM Subject: Re: [JBoss-user] Httpsession clustering synch? Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote: It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] MacOS X + Norton Personal Firewall
I upgraded to MacOS X 10.2.1 and Norton Personal Firewall Software 2.0.0 and begin to have strange problems that kind of acted like a resource problem. Port 8080 would just stop responding. Restarting JBoss wouldn't do any good, but rebooting the system made the problem go away for a few hours. After trying many different things, the problem has finally gone away after adding localhost (127.0.0.1) to the firewall allowing access to port 8080. Thought I'd pass it along as more people seem to be using MacOS X. --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] User Monitoring
You make the custom solution sound way too hard! It is quite easy. You need 2 classes. 1 Class implementing HttpBindingListener called MonitoredUser.java 1 MBean called CurrentUsersMBean.java, which holds a list of MonitoredUser objects representing currently logged in users. When the user logs in, create a session, create and bind the MonitoredUser instance to the session, and add it to the CurrentUsersMBean list. To see a list of currently logged in users, ask the CurrentUsersMBean for its list. When the session times out, or the user logs off, the MonitoredUser.unbind() method is called. At this time, remove the object from the CurrentUsersMBean list. Jason -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Luttrell, PeterSent: Monday, November 04, 2002 5:02 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] User Monitoring My sysadmin has one large grip with JBoss: There is no way to tell who is using a webapp at a particular time, which he claims is possible with Weblogic. I'm using Jetty, if i turn on the metrics, i can ascertain how many sessions are active (not timed out). Does anyone know how i can figure out what the userPrincipal is for the httpsessions? Or does anyone have any other ideas on how to monitor Who is using Jboss? Other then the obvious one, which is write a bunch of custom code that updatessome custom monitorthrough filters or interceptors or manually? thanks. .peter as always ignore my firms silly warning below This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us.
[JBoss-user] registerMBean not supported ?
Hello again,I'm trying to register a fully configured modelMBean using a remote RMIConnector but it seems that in jboss 3.0.2 the RemoteMBeanServer does not have this method. How can I register an MBean then? I first tried createMBean but the Management forums learned me that modelMBeans must be registered instead of created and configured afterwoods.Erik
[JBoss-user] (no subject)
Hello again,I'm trying to register a fully configured modelMBean using a remote RMIConnector but it seems that in jboss 3.0.2 the RemoteMBeanServer does not have this method. How can I register an MBean then? I first tried createMBean but the Management forums learned me that modelMBeans must be registered instead of created and configured afterwoods.Erik
[JBoss-user] RE: ejbstore in BMP
Hi, Now, instead, I do it in this way: 1. As the primary class object (returned from findbyprimarykey()) in session bean is not null, I used it to retrieve those old data and then used them to set back to the BMP with those setters through the remote interface 2. Then, I use setters again for those newly updated fields 3. When transaction is completed, ejbStore is invoked 4. That works !? However, I don't think this is the right way to do it. Any hint / idea is highly appreciated. Camus -Original Message- From: Camus Chan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 01, 2002 4:59 PM To: '[EMAIL PROTECTED]' Subject:ejbstore in BMP Hi, I have a problem for ejbStore in BMP: A stateless session bean looks up the BMP and calls the findbyprimarykey() through the remote interface. In ejbFindByPrimaryKey(), the setters are called (so that data fields are set to the one retrieved from database). However, in session bean, when call the getter methods through the remote interface, all are null ! And when the transaction is completed, the ejbStore invokes which raises errors as nulls even the primary key class. In my ejbStore, I have: update user set status = + this.status + where id = + this.id ; *** status and id are private data members in the BMP. Am I do in a proper way ? I mean when I want to update data, I invoke findbyprimarykey() to find the record first, and then invoke the setters method to update to a new value and that's it. Or it should not in this way ? *** I have used commit-option B. Thanks, Camus --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss Training @ Geneva
Hello, It seems that no e-mail address was available on JBoss.org web site to subscribe to the Geneva training. If you want to register for the JBoss Advanced Training taking place in Geneva at the end of the month (25-28 November 2002), please use this e-mail address: mailto:sales;jboss.org?subject=Geneva It's gonna be a great training! (well, like all JBoss trainings ;) ) Cheers, Sacha --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: [JBoss-dev] JBoss Training @ Geneva
This is resolved. --jason On Monday, November 4, 2002, at 11:26 AM, Alex Loubyansky wrote: Hello Sacha, clicking on Read More on the site I get HTTP ERROR: 404 /services/training Not Found alex Monday, November 04, 2002, 7:12:31 PM, you wrote: SL Hello, SL It seems that no e-mail address was available on JBoss.org web site to SL subscribe to the Geneva training. SL If you want to register for the JBoss Advanced Training taking place in SL Geneva at the end of the month (25-28 November 2002), please use this e-mail SL address: SL mailto:sales;jboss.org?subject=Geneva SL It's gonna be a great training! (well, like all JBoss trainings ;) ) SL Cheers, SL Sacha -- Best regards, Alex Loubyansky --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: [JBoss-dev] JBoss Training @ Geneva
Hello Sacha, clicking on Read More on the site I get HTTP ERROR: 404 /services/training Not Found alex Monday, November 04, 2002, 7:12:31 PM, you wrote: SL Hello, SL It seems that no e-mail address was available on JBoss.org web site to SL subscribe to the Geneva training. SL If you want to register for the JBoss Advanced Training taking place in SL Geneva at the end of the month (25-28 November 2002), please use this e-mail SL address: SL mailto:sales;jboss.org?subject=Geneva SL It's gonna be a great training! (well, like all JBoss trainings ;) ) SL Cheers, SL Sacha -- Best regards, Alex Loubyansky --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re[2]: [JBoss-dev] JBoss Training @ Geneva
it misses '.jsp' alex Monday, November 04, 2002, 9:26:03 PM, you wrote: AL Hello Sacha, AL clicking on Read More on the site I get AL HTTP ERROR: 404 /services/training Not Found AL alex AL Monday, November 04, 2002, 7:12:31 PM, you wrote: SL Hello, SL It seems that no e-mail address was available on JBoss.org web site to SL subscribe to the Geneva training. SL If you want to register for the JBoss Advanced Training taking place in SL Geneva at the end of the month (25-28 November 2002), please use this e-mail SL address: SL mailto:sales;jboss.org?subject=Geneva SL It's gonna be a great training! (well, like all JBoss trainings ;) ) SL Cheers, SL Sacha -- Best regards, Alex Loubyansky --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user