[JBoss-user] [Management, JMX/JBoss] - Re: Big Problem with Schedulable
I've looked into this bug more. It seems that one of the Schedulable items is hanging, it makes a network connection and does some work. This seems to stop all other Scheduled items. I was under the impression that this was a threaded operation. In fact, our production server under 3.2.6 didn't have this problem. Is the Scheduled timer threaded? "atillman" wrote : I have several Schedulable items that are designed to run at ~5min intervals. There is a ServletContextListener that starts up the items when our application deploys. These schedulable items worked fine for months but now they are giving us problems. When our application starts up the Schedulable items are run once, but are never run again. Even if I go the the jmx-console and tell it to restartSchedule() I see in the logs the the item's constructor is called, but the perform(Date, long) method is never called. | | Any help with this problem would be appreciated as this is affecting a production server. | | Here is the mbeam XML configuration | | | false | | com.backstopsolutions.fundbutter.crm.collaboration.timer.ContactSyncTask | | 108,10 | | java.lang.Integer,int | | NOW | | 30 | | -1 | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861791#3861791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861791 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Big Problem with Schedulable
I have several Schedulable items that are designed to run at ~5min intervals. There is a ServletContextListener that starts up the items when our application deploys. These schedulable items worked fine for months but now they are giving us problems. When our application starts up the Schedulable items are run once, but are never run again. Even if I go the the jmx-console and tell it to restartSchedule() I see in the logs the the item's constructor is called, but the perform(Date, long) method is never called. Any help with this problem would be appreciated as this is affecting a production server. Here is the mbeam XML configuration | false | com.backstopsolutions.fundbutter.crm.collaboration.timer.ContactSyncTask | 108,10 | java.lang.Integer,int | NOW | 30 | -1 | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861645#3861645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861645 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Big problem with login-config.xml on Jboss-3.2.6 on Debian L
My web applications cannot seem to find the loging configurations that are defined in their jboss-app.xml file. This is a problem on my own web apps as well as the ones that come with Jboss-3.2.6. This is a huge problem and is preventing me from upgrading. Here is my login-config.xml http://www.jboss.org/j2ee/dtd/security_config.dtd";> guest java:/jdbc/JMSPool SELECT PASSWD FROM JMS_USERS WHERE USERID=? SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? sa sa jboss.jca:service=LocalTxCM,name=DefaultDS sysdba sysdba masterkey jboss.jca:service=XaTxCM,name=FirebirdDS guest guest guest jboss.jca:service=TxCM,name=JmsXA jmx-console-users.properties jmx-console-roles.properties And here is my jboss-web for jmx-console. java:/jaas/jmx-console Now, I have changed the username and password in "jmx-console-users.properties" but not in the "user.properties" file in the conf directory. If I use the username and password in "jmx-console-users.properties" the login fails, but if I use the one in "user.properties" it succeeds. Furthermore, if I remove the "other" configuration from login-config.xml and go back to jmx-console, and error is logged with the message "No LoginModules configured for jboss.web". It seems that it cannot find the configuration "jmx-console". In this case you cannot login at all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853117#3853117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853117 --- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins003001msi/direct/01/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss4.0 and JAAS/Login-config.xml
Here is some more information. Here is my login-config.xml http://www.jboss.org/j2ee/dtd/security_config.dtd";> guest java:/jdbc/JMSPool SELECT PASSWD FROM JMS_USERS WHERE USERID=? SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? sa sa jboss.jca:service=LocalTxCM,name=DefaultDS sysdba sysdba masterkey jboss.jca:service=XaTxCM,name=FirebirdDS guest guest guest jboss.jca:service=TxCM,name=JmsXA jmx-console-users.properties jmx-console-roles.properties And here is my jboss-web for jmx-console. java:/jaas/jmx-console Now, I have changed the username and password in "jmx-console-users.properties" but not in the "user.properties" file in the conf directory. If I use the username and password in "jmx-console-users.properties" the login fails, but if I use the one in "user.properties" it succeeds. Furthermore, if I remove the "other" configuration from login-config.xml and go back to jmx-console, and error is logged with the message "No LoginModules configured for jboss.web". It seems that it cannot find the configuration "jmx-console". In this case you cannot login at all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852807#3852807 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852807 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss4.0 and JAAS/Login-config.xml
"UncleSam" wrote : Hi, | | in my webapp I am using JAAS for security. It references to the entry in login-config.xml and corresponds to the same name. | When I start my application and try to login JBoss doesn't find the application policy and takes the policy "other". So I did an dirty fix and comment the "other"-tag and rename my application policy-tag to "other". | | Now it works, but is this a bug in JBoss4.0? In JBoss3.2.5 ist works fine! | | Thanks for replies! | | Markus | | anonymous wrote : | | jboss-web.xml: | | anonymous wrote : | | | < jboss-web > | | |< security-domain >java:/jaas/DbRealm< /security-domain > | | | < /jboss-web > | | | | | login-config.xml | | anonymous wrote : | | | | | | < application-policy name = "other" > | | |< authentication > | | | < login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required" > | | | < module-option name = "dsJndiName" >java:/psfDS< /module-option > | | | < module-option name = "principalsQuery">select passwd from users where username=?< /module-option > | | | < module-option name = "rolesQuery">select role, 'Roles' from userroles where username=?< /module-option > | | | < /login-module > | | |< /authentication > | | | < /application-policy > | | | | | I am getting the same problem in 3.2.6 on Linux (works fine of Windows). It is happening for all web apps on my box including jmx-console. If I activate security on jmx-console it is using the "other" login config and not the "jmx-console" config. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852805#3852805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852805 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user