[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 Taking LONG Time to Start Up
Your assumption is correct. I am using JBoss Tools. Yeah, I think that may be the next place to try. Thanks for the link. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200637#4200637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 Taking LONG Time to Start Up
Hi, | === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\jboss-5.0.0.GA | | JAVA: C:\Program Files\Java\jdk1.6.0_02\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: C:\jboss-5.0.0.GA\bin\run.jar | | For a completely clean & unmodified instance (no apps) of JBoss 5.0, it takes about 1 minute to start. In Eclipse, using the JBoss plugin, it takes about 2 minutes to start the app using the "Run" command and 3-4 minutes to start in debug mode. In other words, starting it in debug mode is taking significantly longer. I guess it should be slower than non-debug mode, but I don't remember the discrepancy ever being this drastic. Anyway, I guess probably not much I can do about it.. unless you have some ideas. Thanks again for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200128#4200128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5.0 Taking LONG Time to Start Up
Thanks, Here's the relevant piece I found in the log. If I run it from command line instead of Eclipse plugin, it runs faster. If I remove my EAR from the deployment dir it runs even faster. 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jmx-console.war/ endpoint mappings: | | 2009-01-03 13:49:12,640 DEBUG [org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (main) Processing unit=jmx-console.war, structure: | jmx-console.war | | | 2009-01-03 13:51:02,015 DEBUG [org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added Processor org.jboss.metadata.process.processor.ejb.jboss.setdefaultlocalbusinessinterfaceproces...@1e55518 to Chain org.jboss.metadata.process.chain.ejb.jboss.jbossmetadataprocessorch...@135cde4 | This piece takes almost 2 minutes. Is this normal? Do you think there's anything I can do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199358#4199358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Resource Injection into Servlet Filter = Receive timed o
Found the problem. There was an old jbossall-client.jar file in the web lib directory (which gets deployed with the app). Removed this and now that error is gone... on to the next error ;) Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199351#4199351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Resource Injection into Servlet Filter = Receive timed o
Hi Jaikiran, Thanks for your response. I was using the JBoss Eclipse plugin to start it up. Now I'm trying from the command line (default bin/run.bat) with the same result. I do not have a jndi.properties. The EJB does show up in JNDI-View. I'm trying a bunch of things but not getting anywhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199341#4199341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Resource Injection into Servlet Filter = Receive timed out
JBoss AS 5.0 JDK 6.x Window XP Eclipse JBoss Plugin My Eclipse project is set up using the default EJB project structure (Ear project, EJB project, Web project). I'm trying to inject a stateless ejb into a servlet filter, but upon deployment, I get the following exception 00:11:22,593 ERROR [[/acme]] Exception starting filter MyServletFilter | java.lang.RuntimeException: Unable to inject jndi dependency: env/com.acme.myApp.servlets.MyServletFilter/myStatelessEJB into property com.acme.myApp.servlets.MyServletFilter.myStatelessEJB: Receive timed out | at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:82) | at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) | at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:360) | at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:243) | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:220) | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332) | at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:90) | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4413) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:96) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5.0 Taking LONG Time to Start Up
Hi, I'm just starting to check out 5.0. I have pretty much a basic/default installation of JBoss AS 5.0. The same EJB app that takes about a minute to start up in 4.x takes more than 4 minutes in 5.0. Some sample output... | 22:41:14,203 INFO [WebService] Using RMI server codebase: http://localhost:8083/ | 22:41:34,515 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core | 22:41:34,515 INFO [NativeServerConfig] 3.0.4.SP1 | [. LONG WAIT HERE .] | 22:43:44,359 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@7764591{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/myApp.ear/myAppEJB.jar/} | 22:43:44,359 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@7764591{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/myApp.ear/myAppEJB.jar/} | As you can see, right after "[NativeServerConfig] 3.0.4.SP1", you can see that about 2 minutes elapse before the next line. I'm using Eclipse + JBoss plugin (Windows XP, JDK 6.x) to deploy and start up JBoss. Is this normal? Any suggestions on how to speed this up? I don't need web services, so if that's the culprit, any tips on removing/disabling it? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199307#4199307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user