[JBoss-user] [Security JAAS/JBoss] - Problem after switch to JBoss4.0.3SP1
hi, I'v starten my application under JBoss 4.0.3SP1 which runs under JBodd 3.2.7 without any problem. I added this lines in login-config: | application-policy name = mmcms | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required | module-option name = dsJndiNamejava:/MmcmsDS/module-option | module-option name = principalsQueryselect password from principals where principal=?/module-option | module-option name = rolesQueryselect role, 'Roles' from roles where principal=?/module-option | /login-module | /authentication | /application-policy | And my Beans has this entry: | * @ejb.bean | * name = AccessFacadeBean | * description = Access Facade Stateless Session Bean | * display-name = Access Facade Stateless Session Bean | * local-jndi-name = mmcms/access/AccessFacade | * view-type = local | * type = Stateless | * transaction-type = Container | * | * @ejb.permission | * role-name = mmcms | * | * @ejb.security-identity | * use-caller-identity = true | But after deploy, I get this message: | 17:17:47,403 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:268) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:171) | at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:185) | at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:112) | 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:585) | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) | at javax.security.auth.login.LoginContext.login(LoginContext.java:579) | at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:572) | at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:506) | at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:315) | at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:196) | at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:120) | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) | at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613) | at org.jboss.ejb.Container.invoke(Container.java:894) | at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344) | at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118) | at $Proxy2327.create(Unknown Source) | at net.magix.mmcms.web.StartupServlet.init(StartupServlet.java:79) | at javax.servlet.GenericServlet.init(GenericServlet.java:211) | at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383) | at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243) | at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:446) | at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:321) | at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509) | at org.mortbay.j2ee.J2EEWebApplicationContext.doStart(J2EEWebApplicationContext.java:78) | at org.jboss.jetty.JBossWebApplicationContext.doStart(JBossWebApplicationContext.java:79) | at org.mortbay.util.Container.start(Container.java:72) | at org.jboss.jetty.Jetty.deploy(Jetty.java:322) | at org.jboss.jetty.JettyService.performDeploy(JettyService.java:207) | at
[JBoss-user] [JBoss Portal] - Re: How to use CMSPortlet to display a page
yxyang wrote : i tried ContentPortlet also. | | https://www.mobmeee.com/mobmeeecms?uri=test.html | | What do you mean uri prefence? Is it just request parameter? | | regards | yang Hi, which hardware you have for your portal? Cause the performance is not so good. Regards, Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897591#3897591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897591 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How to use CMSPortlet to display a page
joyjava wrote : Yxyang, ur website is so cool | | I am rebuilding my webiste: http://biible.net | | I tried to rebuild and redeploy jboss-portal-2.0, but failed. | | What can u remove the portal path? | | thx You using Liferay Portal? Which hardware you have? And how many concurrent users? Best Regards, Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897592#3897592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897592 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss Portal Jetty
ScottDawson wrote : JBoss Portal is only guaranteed to run on the JBoss App Server version 4.0.2 and higher. | See: http://www.jboss.com/index.html?module=bbop=viewtopict=69046 | | Scott Dawson | Unisys I know. I want use Jetty instead on Tomcat with JBoss 4.x for JBossPortal. Best Regards, Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897387#3897387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897387 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - 1000 concurrent users
Hi, has anyone experiences with JBoss Portal and more than 1000 concurrent users/sessions? Best Regards, Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897465#3897465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897465 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss Portal Jetty
Hi, it's possible to user JBoss Portal with Jetty? Cause we don't use Tomcat. Best Regards, Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896950#3896950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896950 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Log4J SMTPAppender
jiwils wrote : Try using the HTMLLayout by using the following layout elment in your SMTPAppender element: | | layout class=org.apache.log4j.HTMLLayout/ | | As this is really a Log4j question, you should reference the Log4j website (http://logging.apache.org/log4j/) for help with questions like this. I did, but didn't get right help. thx. for help. it's working. /rafcio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887133#3887133 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887133 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Log4J SMTPAppender
Hi, I configured my Log4J in Jboss 3.2.5/7 with SMTPAppender or sending FATAL's. Thaw was not the problem. But the exception in the mail is not so good formated: | 2005-07-27 10:37:57,372 FATAL [net.magix.web.api.request.payment.AddInvoiceWhiteList_1_0] run() failed | net.magix.exception.OMAException: InvoiceBean::addToInvoiceWhiteList() can't add new user at net.magix.ejb.payment.sessionbeans.InvoiceBean.addToInvoiceWhiteList(InvoiceBean.java:258) 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 org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:395) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:709) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy1234.addToInvoiceWhiteList(Unknown Source) at net.magix.ejb.payment.sessionbeans.PaymentFacadeBean.addToInvoiceWhiteList(PaymentFacadeBean.java:925) 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 org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:317) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:709) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy1232.addToInvoiceWhiteList(Unknown Source) at net.magix.web.api.request.payment.AddInvoiceWhiteList_1_0.run(AddInvoiceWhiteList_1_0.java:61) at net.magix.web.api.request.RequestQueryAnalyzer.analyzeDocument(RequestQueryAnalyzer.java:168) at net.magix.web.api.XMLServlet.parseXML(XMLServlet.java:172) at net.magix.web.api.XMLServlet.doPost(XMLServlet.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.jboss.jetty.Jetty.service(Jetty.java:460)at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at
[JBoss-user] [Installation Configuration] - http-invoker problem
Hi, I'm not working with http-invoker. It will be deployed on my server. Now I'm testing a monitoring tool (ManageEngine), but I get a message, that Service is not running.. Can somone help me? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879433#3879433 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879433 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - jvmstat with JBoss
Hi, I try to use jvmstat E:\data\rafcio\bin\jvmstat\batvisualgc.cmd invalid argument count Version 3.0_b04 10/12/04 - Requires J2SE/Hotspot 1.5.0 or later with my remote JBoss installation under Linux. The parameter is set to: JAVA_OPTS=$JAVA_OPTS -XX:+UsePerfData and we use this Java: [12:25:35 [EMAIL PROTECTED]:ofadevel]$ /usr/oma/java/bin/java -version java version 1.4.2_07 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05) Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode) I get this error message: E:\data\rafcio\bin\jvmstat\batvisualgc.cmd [EMAIL PROTECTED] RMI Registry not available at 10.11.0.29:1099 Connection refused to host: 10.11.0.29; nested exception is: java.net.ConnectException: Connection refused: connect I tryied to start JBoss 3.2.5 unter 1088 instead of 1099. A local installation unter Windows XP works fine. What can I do? has anybody use jvmstat with remote JBoss? Best Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878722#3878722 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878722 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: jvmstat with JBoss
I forgot to start ./rmiregistry But after start I get this error: E:\data\rafcio\bin\jvmstat\batvisualgc.cmd [EMAIL PROTECTED] RMI Server JStatRemoteHost not available Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878727#3878727 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878727 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JBOSS 3.2.3 Performance Tuning
Try this: http://www.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878317#3878317 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878317 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss: too much threads?
hi, we are using JBoss 3.2.5 with Jetty. We have two JBoss instances with Apache/mod_jk at a front. Our servers we have about 200-300 concurent users. After a week the JBoss has 200-220 PoolThread's. Is this normal? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877955#3877955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877955 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 4.0.2 with Jetty 5.x
frankgrimes wrote : http://www.jboss.org/index.html?module=bbop=viewtopict=63494 I've added | !DOCTYPE web-app PUBLIC |-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN |http://java.sun.com/dtd/web-app_2_3.dtd; | to jboss-ws4ee.war/WEB-INF/web.xml but I get this: | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/ } | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/ | altDD: null | lastDeployed: 1115733120810 | lastModified: 1115638088263 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war } | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war | altDD: null | lastDeployed: 1115733120810 | lastModified: 1115733117560 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil. | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ | altDD: null | lastDeployed: 1115733120810 | lastModified: 1115638090169 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console.war/ | altDD: null | lastDeployed: 1115733120810 | lastModified: 1115638092716 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ | altDD: null | lastDeployed: 1115733134856 | lastModified: 1115638091278 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/tmp/deploy/tmp19050oma.ear-contents/oma.war } | deployer: null | status: Starting | state: START_SUBDEPLOYMENTS | watch: file:/E:/jboss/jboss-4.0.2/server/oma/tmp/deploy/tmp19050oma.ear-contents/oma.war | altDD: null | lastDeployed: 1115733137888 | lastModified: 1115733135388 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/ | altDD: null | lastDeployed: 1115733165919 | lastModified: 1115733079278 | mbeans: | | --- Incompletely deployed packages --- | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ | altDD: null | lastDeployed: 1115733134856 | lastModified: 1115638091278 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/ | altDD: null | lastDeployed: 1115733165919 | lastModified: 1115733079278 | mbeans: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.ws4ee:service=ServiceDeployerJSE | State: CONFIGURED | I Depend On: | jboss.web:service=WebServer | | ObjectName: jboss.mq:service=InvocationLayer,type=HTTP | State: CONFIGURED | I Depend On: | jboss.mq:service=Invoker | jboss.web:service=WebServer | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.web:service=WebServer | State: NOTYETINSTALLED | Depends On Me: | jboss.ws4ee:service=ServiceDeployerJSE | jboss.mq:service=InvocationLayer,type=HTTP | I installed the newest Jetty 5.1.3 for JBoss 4.0.0. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877163#3877163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877163 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ JBoss-user mailing list
[JBoss-user] [Installation Configuration] - Re: JBoss 4.0.2 with Jetty 5.x
frankgrimes wrote : The log output you posted doesn't show what exception(s) are occurring that are keeping those services from being deployed. | | Still, I did manage to get everything working by building a jetty-5.1.4rc0-jboss-4.0.2.sar from the jetty-5.1.4rc0-all.zip distribution. | Just edit jboss.properties and run build.xml under JETTY_HOME/extra/j2ee/. | | I then dropped in the jetty-5.1.4rc0-jboss-4.0.2.sar (removing the jbossweb-tomcat55.sar). | After that, for jboss-ws4ee.war, I only needed to add the web.xml doctype entry and remove the JBossAxisAdminServlet servlet declaration and mapping. | | I also needed to comment out the Status Servlet (org.jboss.web.tomcat.tc5.StatusServlet) declaration and mapping from the web-console.war. | I try this tomorrow. Currently I get this exceptions: | 18:33:21,075 INFO [ModelMBeanImpl] Registered jboss.jetty:Server=0,JBossWebApplicationContext=3,context=/web-console | 18:33:22,372 INFO [Container] Started [EMAIL PROTECTED] | 18:33:22,872 INFO [ModelMBeanImpl] Deregister jboss.jetty:Server=0,JBossWebApplicationContext=3,context=/web-console | 18:33:22,888 ERROR [WebModule] Starting failed jboss.web.deployment:war=web-console.war,id=-1436731177 | org.jboss.deployment.DeploymentException: Started; - nested throwable: (java.lang.IllegalStateException: Started) | at org.jboss.jetty.Jetty.undeploy(Jetty.java:374) | at org.jboss.jetty.Jetty.deploy(Jetty.java:345) | at org.jboss.jetty.JettyService.performDeploy(JettyService.java:207) | at org.jboss.jetty.JettyService$JettyDeployer.performDeploy(JettyService.java:414) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) | at org.jboss.web.WebModule.startModule(WebModule.java:68) | at org.jboss.web.WebModule.startService(WebModule.java:46) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:418) | at org.jboss.system.ServiceController.start(ServiceController.java:440) | at org.jboss.system.ServiceController.start(ServiceController.java:440) | at org.jboss.system.ServiceController.start(ServiceController.java:440) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at
[JBoss-user] [Installation Configuration] - JBoss 4.0.2 with Jetty 5.x
Hi, I downloaded JBoss 4.0.2. After replace tomcat with Jetty 5.1.2 sar for JBoss 4.0.0 I get this message: 13:34:25,560 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/ } | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/ | altDD: null | lastDeployed: 1115638453122 | lastModified: 1115638088263 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war } | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war | altDD: null | lastDeployed: 1115638453122 | lastModified: 1115638449731 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ } | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ | altDD: null | lastDeployed: 1115638453122 | lastModified: 1115638090169 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console.war/ } | deployer: null | status: Starting | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console.war/ | altDD: null | lastDeployed: 1115638453122 | lastModified: 1115638092716 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ | altDD: null | lastDeployed: 1115638465544 | lastModified: 1115638091278 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/ | altDD: null | lastDeployed: 1115638465544 | lastModified: 1115638160310 | mbeans: | | --- Incompletely deployed packages --- | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ | altDD: null | lastDeployed: 1115638465544 | lastModified: 1115638091278 | mbeans: | | [EMAIL PROTECTED] { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/ | altDD: null | lastDeployed: 1115638465544 | lastModified: 1115638160310 | mbeans: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.ws4ee:service=ServiceDeployerJSE | State: CONFIGURED | I Depend On: | jboss.web:service=WebServer | | ObjectName: jboss.mq:service=InvocationLayer,type=HTTP | State: CONFIGURED | I Depend On: | jboss.mq:service=Invoker | jboss.web:service=WebServer | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.web:service=WebServer | State: NOTYETINSTALLED | Depends On Me: | jboss.ws4ee:service=ServiceDeployerJSE | jboss.mq:service=InvocationLayer,type=HTTP | Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3876980#3876980 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3876980 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Testimonials] - Re: 4.0.2 Performance
fbiaggi wrote : Hi, | | yust tried the 4.0.2 version. | | In a pure EJB 2.x environment the performance is 30% better. gow did you check this? /rk View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3876934#3876934 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3876934 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Good profiling tool for JBoss
[EMAIL PROTECTED] wrote : It's a very subjective question. It really depends. | | It depends on what you are doing, what kind of features you are looking for and what kind of user you are. | Performance, memory (leaks) ... [EMAIL PROTECTED] wrote : | I have developed JBossProfiler and it works well with jbossAS. | I've tryed thid, but have some problems under Windows 2000. It wil be deployed, but the profiler can't find the logs. regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875888#3875888 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875888 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - deadlock question
Hi, short question: Ist this an JBoss or DB deadlock? 2005-04-28 16:31:12,825 FATAL [net.magix.ejb.user.sessionbeans.UserBean] getUserVO() can't find user class_id=67FC3E407E7411D88FAED159D45BF136 javax.ejb.FinderException: Find failed: java.sql.SQLException: Deadlock found when trying to get lock; Try restarting transaction message from server: Lock wait timeout exceeded; Try restarting transaction Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875789#3875789 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875789 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Good profiling tool for JBoss
hi, I'm looking for a good profiling tool which works without problmes with JBoss 3.2.x and 4.x. Is the a profiling tool which is recomended by the JBoss Group? Best Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875679#3875679 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875679 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: How to configure MySQL for CMP Transaction
redBeard15 wrote : The Getting Started with JBoss guide (Chapter 8) talks about how to use MySQL with JBoss (3.2.x, anyway). I'm using MySQL | 4.0 and JBoss 3.2.6 with great success. Is there a possibility to control autocimmit, cause: In MySQL 4.0, the query cache works only with autocommit enabled. This restriction is removed in MySQL 4.1.1 and up. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875194#3875194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875194 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - JBoss 3.2.x MySQL 4.0.x
Hi, is there a possibility to set autocommit for ds cause: In MySQL 4.0, the query cache works only with autocommit enabled. This restriction is removed in MySQL 4.1.1 and up. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3875195#3875195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875195 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - JBoss queries aren't cached by MySQL
Hi, we have the problem, that queries generated by JBoss or our code which runns under JBoss will be not cached by MySQL. The same query sendet from an external application or MySQLFront will be cached by the same MySQL. Any idea why? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874851#3874851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874851 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss queries aren't cached by MySQL
rafcio wrote : Hi, | | we have the problem, that queries generated by JBoss or our code which runns under JBoss will be not cached by MySQL. The same query sendet from an external application or MySQLFront will be cached by the same MySQL. | | Any idea why? | | | Regards, | Rafal The MySQL version is the problem: In MySQL 4.0, the query cache works only with autocommit enabled. This restriction is removed in MySQL 4.1.1 and up. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874864#3874864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874864 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Strange behavior: slow JDBC queries
[EMAIL PROTECTED] wrote : How did you fix it? Now I found that: In MySQL 4.0, the query cache works only with autocommit enabled. This restriction is removed in MySQL 4.1.1 and up. And this is our problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874865#3874865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874865 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Strange behavior: slow JDBC queries
[EMAIL PROTECTED] wrote : How did you fix it? It wasn't JBoss problem. After switch to MySQL master/slave the result sets of some queries wasn't sent to client but write to the tmp area of MySQL. We increase only the value of 'tmp_table_size' and we get better performance. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874410#3874410 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874410 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Migrating to JBoss from Weblogic
Xjava2001 wrote : 3) How do I specify | isolation-levelTRANSACTION_READ_COMMITTED/isolation-level in jboss? is this Default value? IN DataSource configuration file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874456#3874456 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874456 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Strange behavior: slow JDBC queries
fixed! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3874375#3874375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874375 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Performance problem with some sql queries
Hi, after extending our MySQL 4.0.23a installation to master-slave configuration, two specific queries sended from our JBoss are 25-30 times slower. In our J2EE application which runs under JBoss 3.2.2 we are generating own queries by using a connection from JBoss connection pool. This are prepared statements: First query: | select count(distinct m.media_id) from category_tree c_tree, media_2_category m2c, media m, magix_product mp, media_type_2_magix_product mt2mp, media_file mf where c_tree.mandant_id = ? and c_tree.partner_id = ? and c_tree.category_tree_id = m2c.category_tree_id and m2c.media_id = m.media_id and mp.magix_product_id = ? and mp.magix_product_id = mt2mp.magix_product_id and m.media_type_id = mt2mp.media_type_id and mf.media_id = m.media_id and (mf.language_id = ? or mf.language_id is null) and mf.media_file_quality_id = ? and (c_tree.category_tree_id = ? or c_tree.parent_id = ? or c_tree.path like ?) | Second query: | select distinct m.media_id from category_tree c_tree, media_2_category m2c, media m, media_2_partner m2p, magix_product mp, media_type_2_magix_product mt2mp, media_file mf where c_tree.mandant_id = ? and c_tree.partner_id = ? and c_tree.category_tree_id = m2c.category_tree_id and m2c.media_id = m.media_id and m2p.media_id = m.media_id and m2p.partner_id = ? and mp.magix_product_id = ? and mp.magix_product_id = mt2mp.magix_product_id and m.media_type_id = mt2mp.media_type_id and mf.media_id = m.media_id and (mf.language_id = ? or mf.language_id is null) and mf.media_file_quality_id = ? and (c_tree.category_tree_id = ? or c_tree.parent_id = ? or c_tree.path like ?) order by m2p.priority desc limit ?, ? | The code looks so: | public final List getMediaIdsForCategoryNode(Integer mandant_id, Integer partner_id, Integer language_id, | Long category_tree_id, String path, Integer media_type_id, Integer start, Integer offset, Integer magix_product_id, | Integer media_file_quality_id) { | if (logger.isDebugEnabled()) { | logger.debug(getMediaIdsForCategoryNode(' + mandant_id + ', ' + partner_id + ', ' + language_id + ', ' + | category_tree_id + ', ' + path + ', ' + media_type_id + ', ' + start + ', ' + offset + ', ' + | magix_product_id + ', ' + media_file_quality_id + ') entered); | } | | Connection conn = null; | PreparedStatement pstmt = null; | ResultSet rs = null; | | try { | conn = getConnection(); | | if (conn != null) { | timer.reset(); | | // SQL Query | StringBuffer query = new StringBuffer(BUFFER_LEN) | .append(select distinct m.media_id) | .append( from) | .append( category_tree c_tree) | .append(, media_2_category m2c) | .append(, media m) | .append(, media_2_partner m2p); | | // magix_product_id tables | addMagic_ProductSQLTables(query, magix_product_id); | | if (media_type_id != null) { | query.append(, media_type mt); | } | | if (language_id != null) { | query.append(, media_file mf); | } | | query.append( where) | .append( c_tree.mandant_id = ?) | .append( and c_tree.partner_id = ?) | .append( and c_tree.category_tree_id = m2c.category_tree_id) | .append( and m2c.media_id = m.media_id) | .append( and m2p.media_id = m.media_id) | .append( and m2p.partner_id = ?); | | // magix_product_id conditions | if (media_type_id != null) { | query.append( and m.media_type_id = ?); | } | | // magix_product_id conditions | addMagic_ProductSQLConditions(query, magix_product_id); | | if (language_id != null) { | query.append( and mf.media_id = m.media_id) | .append( and (mf.language_id = ? or mf.language_id is null)) | .append( and mf.media_file_quality_id = ?); | } | | query.append( and (c_tree.category_tree_id = ? or c_tree.parent_id = ? or c_tree.path like ?)); | query.append( order by m2p.priority desc); | | boolean setLimit = false; | if (start != null offset != null) { | query.append( limit ?, ?); | | setLimit = true; | } | |
[JBoss-user] [Performance Tuning] - Strange behavior: slow JDBC queries
Hi, after extending our MySQL 4.0.23a installation to master-slave configuration two specific queries sended from our JBoss are 25-30 times slower. In our J2EE application which runs under JBoss 3.2.2 we are generating own queries by using a connection from JBoss connection pool. This are prepared statements: 1. | select count(distinct m.media_id) from category_tree c_tree, media_2_category m2c, media m, magix_product mp, media_type_2_magix_product mt2mp, media_file mf where c_tree.mandant_id = ? and c_tree.partner_id = ? and c_tree.category_tree_id = m2c.category_tree_id and m2c.media_id = m.media_id and mp.magix_product_id = ? and mp.magix_product_id = mt2mp.magix_product_id and m.media_type_id = mt2mp.media_type_id and mf.media_id = m.media_id and (mf.language_id = ? or mf.language_id is null) and mf.media_file_quality_id = ? and (c_tree.category_tree_id = ? or c_tree.parent_id = ? or c_tree.path like ?) | 2. | select distinct m.media_id from category_tree c_tree, media_2_category m2c, media m, media_2_partner m2p, magix_product mp, media_type_2_magix_product mt2mp, media_file mf where c_tree.mandant_id = ? and c_tree.partner_id = ? and c_tree.category_tree_id = m2c.category_tree_id and m2c.media_id = m.media_id and m2p.media_id = m.media_id and m2p.partner_id = ? and mp.magix_product_id = ? and mp.magix_product_id = mt2mp.magix_product_id and m.media_type_id = mt2mp.media_type_id and mf.media_id = m.media_id and (mf.language_id = ? or mf.language_id is null) and mf.media_file_quality_id = ? and (c_tree.category_tree_id = ? or c_tree.parent_id = ? or c_tree.path like ?) order by m2p.priority desc limit ?, ? | Times: 1. - needed from JBoss 450-500 millis - nedded from normal Java application 15-25 millis 2. needed from JBoss 500-800 millis - nedded from normal Java application 19 millis - nedded from normal Java application 20-30 millis All other sql statements generated by JBoss for entity beans are fast like bevore switching to master-slave configuration. Thru this queries the speed of our service is 2-3 times slower. After spend some hours checking our system, I have no more idea where is the problem. This is our my.cnf: | [mysqld] | datadir=/drbd/mysql | | | log-bin | server-id=20 | | | set-variable= key_buffer=128M | set-variable= table_cache=512 | set-variable= sort_buffer=8M | set-variable= join_buffer_size=8M | set-variable= query_cache_size=32M | set-variable= record_buffer=4M | set-variable= thread_cache_size=400 | set-variable= max_connections=300 | set-variable= long_query_time=10 | log_long_format | log_slow_queries | innodb_data_file_path = ibdata1:2048M;ibdata2:10M:autoextend | #innodb_buffer_pool_size = 384M | innodb_buffer_pool_size = 1228M | innodb_additional_mem_pool_size = 20M | innodb_log_file_size = 100M | innodb_log_buffer_size = 8M | innodb_flush_log_at_trx_commit = 1 | Is this a JBoss or MySQL problem? We are using mysql-jdbc 3.0.16! Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872367#3872367 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872367 --- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Commit Option B or C
Hi, our application is running with JBoss 3.2.5 on two linux servers. We do not use clustering, but Commit Option C with row-locking for much of our entity beans: | container-configuration extends=Instance Per Transaction CMP 2.x EntityBean | container-nameStandard CMP 2.x EntityBean with Commit Option C/container-name | commit-optionC/commit-option | /container-configuration | The database could (sometimes) be changed by other application. Without | Instance Per Transaction CMP 2.x EntityBean | we get Deadlock on big load. Why? Now I'm thinking about change the container configuration to commit option B. Will it be better for my application? Best Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872019#3872019 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872019 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - javax.management.NotCompliantMBeanException
Hi, I'm using JBoss 3.2.5 with this container configuration: | container-configuration extends=Instance Per Transaction CMP 2.x EntityBean | container-nameStandard CMP 2.x EntityBean with Commit Option C/container-name | commit-optionC/commit-option | /container-configuration | But while hot deploy I get this debug print outs: | 2005-03-08 09:39:53,072 DEBUG [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.management | .Notification[source=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.create,sequenceNumber=18865,timeStamp=1110271193072 | ,message=null,userData=jboss.j2ee:jndiName=statistic/Traffic_Stat_BackupBean,plugin=pool,service=EJB] | 2005-03-08 09:39:53,072 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=statistic/Traffic_Stat_Ba | ckupBean,plugin=pool,service=EJB dependents are: [] | 2005-03-08 09:39:53,072 DEBUG [org.jboss.ejb.EntityContainer] Failed to register cache as mbean | javax.management.NotCompliantMBeanException: Class does not expose a management interface: org.jboss.ejb.plugins.PerTxEntityInstanceCache | at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:52) | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:175) | at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1018) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:326) | at org.jboss.ejb.EntityContainer.createService(EntityContainer.java:285) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219) | at sun.reflect.GeneratedMethodAccessor2775.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) | at $Proxy17.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:283) | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy9578.create(Unknown Source) | at org.jboss.ejb.EjbModule.createService(EjbModule.java:337) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219) | at sun.reflect.GeneratedMethodAccessor2775.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at
[JBoss-user] [Installation Configuration] - Log4J with JBoss Question
Hi, its possible to configure Log4J in JBoss for daily logging with max. file size rotating? If yes, how? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3869178#3869178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3869178 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: javax.net.ssl.HttpsURLConnection Problem
it's working now. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868498#3868498 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868498 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - javax.net.ssl.HttpsURLConnection Problem
Hi, I want make an HTTPS connection from JBoss: | // build url and connection | URL url = null; | try { | url = new URL(mmsURL); | } | catch (MalformedURLException murle) { | logger.fatal(sendMMS() failed build url to mmsURL= + mmsURL, murle); | throw new OMAException(MMS::sendMMS() failed build url to mmsURL= + mmsURL, murle, ErrorIDs.FATAL_ERROR); | } | | // open connection | javax.net.ssl.HttpsURLConnection conn = null; | try { | conn = (javax.net.ssl.HttpsURLConnection) url.openConnection(); | conn.setSSLSocketFactory(ctx.getSocketFactory()); | } | catch (IOException ioe) { | logger.fatal(sendMMS() open connection failed to mmsURL= + mmsURL, ioe); | throw new OMAException(MMS::sendMMS() open connection failed to mmsURL= + mmsURL, ioe, ErrorIDs.FATAL_ERROR); | } | But I get an ClassCastException while url.openConnection() an | com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl | What cann I do? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868386#3868386 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868386 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - PCKS#12 certificate?!
Hi, I have to make a HTTPS connections from my JBoss application. How can I intergrate the PCKS#12 certificate in JBoss. I'm working with JBoss 3.2.2/3.2.5/3.2.7. Best Ragards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868268#3868268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868268 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Problem with JAAS
Hi, we are now testing our application (development was started with JBoss 3.0.6) with JBoss 3.2.5. We are used JAAS. This is our configuration: login-config.xml: application-policy name = mmcms login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required module-option name = dsJndiNamejava:/MmcmsDS/module-option module-option name = principalsQueryselect password from principals where principal=?/module-option module-option name = rolesQueryselect role, 'Roles' from roles where principal=?/module-option /login-module /application-policy each session bean facade is defined so: /** * Description of the Class * * @authorRafal Kedziorski * @version $Id: AccessFacadeBean.java,v 1.19 2004/07/26 06:23:46 rafal Exp $ * @ejb.bean * name = AccessFacadeBean * description = Access Facade Stateless Session Bean * display-name = Access Facade Stateless Session Bean * local-jndi-name = access/AccessFacade * view-type = local * type = Stateless * transaction-type = Container * * @ejb.permission * role-name = mmcms * * @ejb.transaction * type = Required * * @jboss.container-configuration * name = Standard Stateless SessionBean * */ and before we call our session bean facades, we do this: LoginContext loginContext = CallbackHandlerHelper.doLoginAsMmcms(CallbackHandlerHelper.SECURITY_DOMAIN); ... private static LoginContext doLogin(String securityDomain, CallbackHandler callbackHandler) { try { LoginContext loginContext = new LoginContext(securityDomain, callbackHandler); loginContext.login(); return loginContext; } catch (LoginException le) { return null; } } But this is not working. If I don't call out doLogin() method or remove the tables from DB, I can every time call my session beans. I tested the same configuration with JBoss 3.2.2 with the same result. Do we something wrong? Best Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843239#3843239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843239 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Problem with JAAS
hi, I found that our problem is related to client-login definition in login-context.xml, which is currently set to: !-- Used by clients within the application server VM such as mbeans and servlets that access EJBs. -- application-policy name = client-login login-module code = org.jboss.security.ClientLoginModule flag = required /login-module /application-policy What will be defined in client-login? Best Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843240#3843240 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843240 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - It's working!
hi, after moving to JBoss 3.2.5 I switched to XDoclet and forgot add security-domain in the xdoclet call: Now it's working. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843246#3843246 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843246 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - More than one DB configuration
Hi, I wan't to define more than one MySQL definition. How do this? This is my current configuration: local-tx-datasource jndi-nameMmcmsDS/jndi-name connection-urljdbc:mysql://10.0.0.10:3306/xxx/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-namexxx/user-name xxx connection-property name=autoReconnecttrue/connection-property !--pooling parameters-- min-pool-size5/min-pool-size max-pool-size50/max-pool-size blocking-timeout-millis5000/blocking-timeout-millis idle-timeout-minutes15/idle-timeout-minutes /local-tx-datasource Stored in mysql-ds.xml Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839865#3839865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839865 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: More than one DB configuration
Hi, I found other article for my problem: http://www.jboss.org/index.html?module=bbop=viewtopict=50970 Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839899#3839899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839899 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination
[EMAIL PROTECTED] wrote : To show shell config | ulimit -a | | But the JVM should be trapping all signals and producing its own dump. in $PWD | | If you are sure you are not exiting gracefully (I haven't seen any evidence from you | either way - e.g. tail log/server.log) it is a JVM bug or OS problem. | | I do not intend to turn this forum into a Sun JVM or Linux support forum. This is a problemn with JVM with -server option and MySQL driver. I found this: http://lists.mysql.com/java/6511 Has anybody the same problems with Java 1.4.2_x? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837238#3837238 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837238 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination
[EMAIL PROTECTED] wrote : To show shell config | ulimit -a | | But the JVM should be trapping all signals and producing its own dump. in $PWD | | If you are sure you are not exiting gracefully (I haven't seen any evidence from you | either way - e.g. tail log/server.log) it is a JVM bug or OS problem. | | I do not intend to turn this forum into a Sun JVM or Linux support forum. o.k. we have to check something. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837032#3837032 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837032 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination
[EMAIL PROTECTED] wrote : CMP is irrevelent. | | JBoss never crashes, the JVM does. If it does not core dump when it receives | an errant signal I suggest (at the risk of repeating myself) you look at your OS config. I didn't find any JVM dump or core dump. Which OS configs you mean? Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836857#3836857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836857 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss 3.2.2 abnormal termination
Hi, we have sometimes abnormal JBoss 3.2.2 termination. It happens only on production. We can't reproduce it on out test instance. We have two JBoss instances (but not in cluster). JBoss crashes without any error message, while we make SQL queries directly, i.e.: public int getCountOfMediaForMandant(Integer mandant_id) { if (logger.isDebugEnabled()) { logger.debug(getCountOfMediaForMandant(' + mandant_id + ') entered); } Connection con = null; PreparedStatement pstmt = null; ResultSet rs = null; try { con = getConnection(); if (con != null) { String query = select count(m.media_id) from media m, users u where u.mandant_id = ? and m.user_id = u.user_id; pstmt = con.prepareStatement(query); pstmt.setInt(1, mandant_id.intValue()); rs = pstmt.executeQuery(); if (rs.next()) { return rs.getInt(1); } } return -1; } catch (SQLException sqle) { logger.fatal(getCountOfMediaForMandant() failed, sqle); return -1; } finally { SQLUtils.getInstance().closeConnections(con, pstmt, rs); } } getConnection() implementation: public Connection getConnection() { logger.debug(getConnection() entered); try { DataSource datasource = ServiceLocator.getInstance().getDataSource(JNDINamesDataSource.DEFAULT_DS); if (datasource != null) { return datasource.getConnection(); } } catch (ServiceLocatorException sle) { logger.fatal(getConnection() failed, sle); } catch (SQLException sqle) { logger.fatal(getConnection() failed, sqle); } logger.error(getConnection() can't get connection); return null; } closeConnections() implementation: public void closeConnections(Connection conn, Statement stmt, ResultSet rs) { logger.debug(closeConnections() entered); try { if (rs != null) { rs.close(); } } catch (SQLException sqle) { logger.fatal(closeConnections() close rs failed, sqle); } try { if (stmt != null) { stmt.close(); } } catch (SQLException sqle) { logger.fatal(closeConnections() close stmt failed, sqle); } try { if (conn != null) { conn.close(); } } catch (SQLException sqle) { logger.fatal(closeConnections() close conn failed, sqle); } } We are working with MySQL 4.0.18 and the MySQL-Connector 3.0.11 on Linux with J2SDK 1.4.2_04. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836406#3836406 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836406 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination
[EMAIL PROTECTED] wrote : JVM bug | | Check for dumps in $JBOSS_HOME/bin There aren't any dump files. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836447#3836447 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836447 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: PreparedStatementCache
I think the parameter prepared-statement-cache-size is per transaction. But I'm not sure. Regards, Rafal a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826813#3826813;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826813Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Does anybody know how to do EJB-QL successfully?
pouncil wrote : I figured out what my problem is. My problem is Jboss doesn't work well with Windows XP so I am going to use Window2000 instead. | | Thanks to everyone who gave a suggestion on how to solve the problem. | | Thanks again! | | tp JBoss is working fine with Windows XP. Rafal a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826972#3826972;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826972Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - mod_jk problem ...
Hi, we habe some problems with mod_jk. We have two JBoss instances (not in cluster). At the front we have Apache 1.3.29 with mod_jk 2.0.2 configured with sticky option. But sometimes we get errors: [Wed Mar 17 10:17:20 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [Wed Mar 17 10:17:20 2004] (error) [jk_worker_ajp13.c (389)]: ajp13.service() Error sending initial post -1 32 0 [Wed Mar 17 10:17:20 2004] ( info) [mod_jk2.c (465)]: mod_jk.translate(): uriMap /xml;jsessionid=5e2ies51i2o3i.omaasp1 lb:lb [Wed Mar 17 10:17:20 2004] ( info) [mod_jk2.c (362)]: mod_jk.handler() per dir worker for 0x93436e8 0x935f288 [Wed Mar 17 10:17:20 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [Wed Mar 17 10:17:31 2004] ( info) [mod_jk2.c (465)]: mod_jk.translate(): uriMap /plugin;jsessionid=5e2ies51i2o3i.omaasp1 lb:lb [Wed Mar 17 10:17:31 2004] ( info) [mod_jk2.c (362)]: mod_jk.handler() per dir worker for 0x93436e8 0x9357ef8 [Wed Mar 17 10:17:31 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x9357ef8 [Wed Mar 17 10:17:31 2004] (error) [jk_channel_socket.c (557)]: channelSocket.receive(): Error receiving message body -1 0 [Wed Mar 17 10:17:31 2004] (error) [jk_workerEnv.c (482)]: workerEnv.processCallbacks() Error reading reply [Wed Mar 17 10:17:31 2004] (error) [jk_worker_ajp13.c (416)]: ajp13.service() ajpGetReply recoverable error 21000 [Wed Mar 17 10:17:37 2004] ( info) [mod_jk2.c (465)]: mod_jk.translate(): uriMap /xml;jsessionid=5e2ies51i2o3i.omaasp1 lb:lb [Wed Mar 17 10:17:37 2004] ( info) [mod_jk2.c (362)]: mod_jk.handler() per dir worker for 0x93436e8 0x935f288 [Wed Mar 17 10:17:37 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [Wed Mar 17 10:17:37 2004] ( info) [mod_jk2.c (465)]: mod_jk.translate(): uriMap /xml;jsessionid=5e2ies51i2o3i.omaasp1 lb:lb [Wed Mar 17 10:17:37 2004] ( info) [mod_jk2.c (362)]: mod_jk.handler() per dir worker for 0x93436e8 0x935f288 [Wed Mar 17 10:17:37 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [Wed Mar 17 10:17:37 2004] (error) [jk_worker_ajp13.c (389)]: ajp13.service() Error sending initial post -1 32 0 [Wed Mar 17 10:17:38 2004] ( info) [mod_jk2.c (465)]: mod_jk.translate(): uriMap /xml;jsessionid=5e2ies51i2o3i.omaasp1 lb:lb [Wed Mar 17 10:17:38 2004] ( info) [mod_jk2.c (362)]: mod_jk.handler() per dir worker for 0x93436e8 0x935f288 [Wed Mar 17 10:17:38 2004] ( info) [mod_jk2.c (405)]: modjk.handler() Calling lb:lb 0x935f288 [Wed Mar 17 10:17:38 2004] (error) [jk_worker_ajp13.c (389)]: ajp13.service() Error sending initial post -1 32 0 mod_jk is sending the requests to the wrong Jetty/JBoss instance. It#s look to be an mod_jk problem, but we didn't find any solution. If we configure mod_jk to send all requests to one instance, than it works fine. Regards, Rafal a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826120#3826120;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826120Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination
We tryed with nohup, but we have the same problems. Sometimes ater call out admin environment, which is sending some SQL queries directly to the DB, our JBoss crashed without any error message. Regards, Rafal a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823997#3823997;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3823997Reply to the post/a --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss 3.2.2 abnormal termination
hi, our JBoss 3.2.2 terminates without any message on a Linux system. We've build own linux system and use the latest SUNs J2SE. I've seen allready this posting: http://www.jboss.org/index.html?module=bbop=viewtopict=44206 We try to start our JBoss with nohup. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822866#3822866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822866 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Deadlock problem ...
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821684#3821684 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821684 Hi, since today I have problems with the actual JBoss version from cvs (3.2.4RC1): 13:51:55,218 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Integer net .magix.ejb.setting.sessionbeans.SettingBeanLocal.getSettingValueAsIntegerBySystemGroupIdAndSettingName(java.lang.Integer ,java.lang.String) throws net.magix.exception.ParameterException, causedBy: org.jboss.util.deadlock.ApplicationDeadlockException: Application deadlock detected, resource=org.jboss.ejb.plugins.lock [EMAIL PROTECTED], bean=Setting_2_System_GroupBean, id=104, refs=2, tx=TransactionImpl:XidImpl [FormatId =257, GlobalId=prog-01//41, BranchQual=], synched=Thread[TP-Processor2,5,jboss], timeout=5000, queue=[], holder=Transact ionImpl:XidImpl [FormatId=257, GlobalId=prog-01//36, BranchQual=], waitingResource=org.jboss.ejb.plugins.lock.QueuedPess [EMAIL PROTECTED], bean=Setting_2_System_GroupBean, id=105, refs=1, tx=TransactionImpl:XidImpl [FormatId=257, Globa lId=prog-01//36, BranchQual=], synched=null, timeout=5000, queue=[], waitingResourceHolder=TransactionImpl:XidImpl [Form atId=257, GlobalId=prog-01//36, BranchQual=] at org.jboss.util.deadlock.DeadlockDetector.deadlockDetection(DeadlockDetector.java:48) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedPessimisticEJBLock.java:301) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:236) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:183) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:85) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:395) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:147) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:489) at org.jboss.ejb.Container.invoke(Container.java:700) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375) at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38) at $Proxy224.getValue(Unknown Source) at net.magix.ejb.setting.sessionbeans.SettingBean.getSettingValueAsObjectBySystemGroupIdAndSettingName(SettingBe an.java:790) at net.magix.ejb.setting.sessionbeans.SettingBean.getSettingValueAsIntegerBySystemGroupIdAndSettingName(SettingB ean.java:579) 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 org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:395) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:147) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:700) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy226.getSettingValueAsIntegerBySystemGroupIdAndSettingName(Unknown Source) at
[JBoss-user] [Connectors and JCA/JBoss] - Re: JBoss 3.2.3 crashing and hanging unpredictably
View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3821709#3821709 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821709 Hi, we have the same experiences with JBoss 3.2.2 on Linux with J2SE 1.4.2_03. Regards, Rafal --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user