[JBoss Seam] - Re: JBoss EL performance vs Sun EL
by mgrouch
Here is a piece of code to show what I'm trying to say.
In JSF EL same getters are called using reflections over and over again quite usually. So few reflection API calls could be spared and called once only.
import java.lang.reflect.Method;
|
| public class ReflectionTest {
|
| private String myProp = "VALUE";
| Class[] argTypes = new Class[] { };
| Object[] arg = new Object[0];
| Method getterMethod;
|
| public Object getBeanProperty(Object bean, String propName) throws Exception {
| Class clazz = bean.getClass();
| String getterName = "get" + Character.toUpperCase(propName.charAt(0)) + propName.substring(1);
| getterMethod = clazz.getDeclaredMethod(getterName, argTypes);
| Object obj = getterMethod.invoke(bean, arg);
| return obj;
| }
|
| public Object getBeanPropertyViaCachedMethod(Object bean, String propName) throws Exception {
| Object obj = getterMethod.invoke(bean, arg);
| return obj;
| }
|
| public String getMyProp() {
| return myProp;
| }
|
| public static void main(String... args) throws Exception {
|
| ReflectionTest testBean = new ReflectionTest();
|
| final int ITERATIONS = 1000000;
|
| long start = System.currentTimeMillis();
| for (int i = 0; i < ITERATIONS; i++) {
| String str = (String) testBean.getBeanProperty(testBean, "myProp");
| //System.out.println(str);
| }
| long finish = System.currentTimeMillis();
| System.out.println("Run1 time=" + (finish-start) + "ms");
|
| start = System.currentTimeMillis();
| for (int i = 0; i < ITERATIONS; i++) {
| String str = (String) testBean.getBeanPropertyViaCachedMethod(testBean, "myProp");
| //System.out.println(str);
| }
| finish = System.currentTimeMillis();
| System.out.println("Run2 time=" + (finish-start) + "ms");
| }
| }
|
Outputs (on my PC)
Run1 time=2906ms
Run2 time=140ms
Now more or less realistic example:
Render table 1000 rows 10 columns each cell has a dropdown of 100 elements
That's a million reflection calls
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084787#4084787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084787
18 years, 9 months
[JBoss Getting Started Documentation] - run.bat starts, but no jmx-console ot localhost:8080/ page
by jromeo
Hi. I've installed and successfully started run.bat, JBossAS 4.0.5.GA. However, opening either of the following pages produces a 404 error.
http://localhost:8080
http://localhost:8080/jmx-console
I can ping the localhost, so its available. Here is the output of the startup. Note near the bottom, it states the following:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
Not sure what this means. Please have a look. The full output is below. Thanks!
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\Java\jboss-4.0.5.GA\bin\\..
JAVA: C:\Java\jdk1.5.0_12\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: C:\Java\jdk1.5.0_12\lib\tools.jar;C:\Java\jboss-4.0.5.GA\bin\\run.jar
===============================================================================
16:42:32,375 INFO [Server] Starting JBoss (MX MicroKernel)...
16:42:32,375 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
16:42:32,390 INFO [Server] Home Dir: C:\Java\jboss-4.0.5.GA
16:42:32,390 INFO [Server] Home URL: file:/C:/Java/jboss-4.0.5.GA/
16:42:32,390 INFO [Server] Patch URL: null
16:42:32,390 INFO [Server] Server Name: default
16:42:32,390 INFO [Server] Server Home Dir: C:\Java\jboss-4.0.5.GA\server\default
16:42:32,390 INFO [Server] Server Home URL: file:/C:/Java/jboss-4.0.5.GA/server/default/
16:42:32,390 INFO [Server] Server Log Dir: C:\Java\jboss-4.0.5.GA\server\default\log
16:42:32,390 INFO [Server] Server Temp Dir: C:\Java\jboss-4.0.5.GA\server\default\tmp
16:42:32,390 INFO [Server] Root Deployment Filename: jboss-service.xml
16:42:32,906 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
16:42:32,906 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04,Sun Microsystems Inc.
16:42:32,906 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
16:42:34,281 INFO [Server] Core system initialized
16:42:40,390 INFO [WebService] Using RMI server codebase: http://XPDevBox:8083/
16:42:40,421 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
16:42:40,921 WARN [ServiceController] Problem starting service jboss:service=Naming
java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:249)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:184)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
at org.jnp.server.Main.initJnpInvoker(Main.java:337)
at org.jnp.server.Main.start(Main.java:300)
at org.jboss.naming.NamingService.startService(NamingService.java:243)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
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:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.(ServerSocket.java:185)
at org.jboss.net.sockets.DefaultSocketFactory.createServerSocket(DefaultSocketFactory.java:120)
at org.jboss.net.sockets.DefaultSocketFactory.createServerSocket(DefaultSocketFactory.java:95)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:622)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:237)
... 61 more
16:42:53,625 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
16:42:55,750 INFO [SnmpAgentService] SNMP agent going active
16:43:02,156 INFO [MailService] Mail Service bound to java:/Mail
16:43:02,843 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
16:43:02,937 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
16:43:02,968 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
16:43:03,015 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
16:43:03,093 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
16:43:03,125 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
16:43:05,437 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
16:43:06,765 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
16:43:06,890 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@4e72f0c2 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/http-invoker.sar/invoker.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/http-invoker.sar/invoker.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887811484
mbeans:
org.jboss.deployment.DeploymentInfo@dbcc3431 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887815921
mbeans:
org.jboss.deployment.DeploymentInfo@d92e3daf { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/jbossws-context.war }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/jbossws-context.war
altDD: null
lastDeployed: 1189888978984
lastModified: 1189888973218
mbeans:
org.jboss.deployment.DeploymentInfo@ade111ae { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887812578
mbeans:
org.jboss.deployment.DeploymentInfo@a4a16add { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/management/console-mgr.sar/web-console.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/management/console-mgr.sar/web-console.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887820609
mbeans:
org.jboss.deployment.DeploymentInfo@2864cc09 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
altDD: null
lastDeployed: 1189888986765
lastModified: 1189887814375
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@2864cc09 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
altDD: null
lastDeployed: 1189888986765
lastModified: 1189887814375
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss.system:service=ThreadPool
Depends On Me:
jboss.ws:service=WebServiceClientDeployer
jboss.cache:service=TomcatClusteringCache
jboss:service=DefaultPartition
jboss:service=HASessionState
jboss:service=invoker,type=jrmpha
jboss:service=invoker,type=pooledha
jboss:service=CorbaORB
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss.mq:service=DestinationManager
jboss.mq:service=Invoker
jboss.mq:service=InvocationLayer,type=UIL
jboss.mq:service=InvocationLayer,type=UILXA
jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
jboss.jms:alias=QueueConnectionFactory
jboss.jms:alias=TopicConnectionFactory
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
jboss.jmx:alias=jmx/rmi/RMIAdaptor
ObjectName: jboss.web:service=WebServer
State: CONFIGURED
I Depend On:
jboss.security:service=JaasSecurityManager
jboss.cache:service=TomcatClusteringCache
jboss:service=TransactionManager
jboss.jca:service=CachedConnectionManager
Depends On Me:
jboss.ws:service=WebServiceDeployerJSE
jboss.mq:service=InvocationLayer,type=HTTP
jboss:service=FarmMember,partition=DefaultPartition
ObjectName: jboss.ws:service=WebServiceClientDeployer
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.ws:service=WebServiceDeployerJSE
State: CONFIGURED
I Depend On:
jboss.web:service=WebServer
Depends On Me:
jboss.ws:service=DeployerInterceptorNestedJSE
ObjectName: jboss.ws:service=DeployerInterceptorNestedJSE
State: CONFIGURED
I Depend On:
jboss.system:service=MainDeployer
jboss.ws:service=WebServiceDeployerJSE
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
State: CONFIGURED
I Depend On:
jboss.mq:service=Invoker
jboss.web:service=WebServer
ObjectName: jboss.admin:service=PluginManager
State: CONFIGURED
I Depend On:
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
ObjectName: jboss.cache:service=TomcatClusteringCache
State: CONFIGURED
I Depend On:
jboss:service=Naming
jboss:service=TransactionManager
jboss.aop:service=AspectDeployer
Depends On Me:
jboss.web:service=WebServer
ObjectName: jboss:service=DefaultPartition
State: CONFIGURED
I Depend On:
jboss:service=Naming
Depends On Me:
jboss:service=HASessionState
jboss:service=HAJNDI
jboss.cache:service=InvalidationBridge,type=JavaGroups
jboss.ha:service=HASingletonDeployer
jboss:service=FarmMember,partition=DefaultPartition
ObjectName: jboss:service=HASessionState
State: CONFIGURED
I Depend On:
jboss:service=Naming
jboss:service=DefaultPartition
ObjectName: jboss:service=HAJNDI
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.system:service=ThreadPool
ObjectName: jboss:service=invoker,type=jrmpha
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss:service=invoker,type=pooledha
State: CONFIGURED
I Depend On:
jboss:service=TransactionManager
jboss:service=Naming
ObjectName: jboss.cache:service=InvalidationBridge,type=JavaGroups
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.cache:service=InvalidationManager
ObjectName: jboss.ha:service=HASingletonDeployer
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.system:service=MainDeployer
ObjectName: jboss:service=CorbaORB
State: CONFIGURED
I Depend On:
jboss:service=Naming
Depends On Me:
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss:service=CorbaTransaction
ObjectName: jboss:service=invoker,type=iiop
State: CONFIGURED
I Depend On:
jboss:service=CorbaORB
jboss:service=Naming
ObjectName: jboss:service=CorbaNaming
State: CONFIGURED
I Depend On:
jboss:service=CorbaORB
jboss:service=Naming
Depends On Me:
jboss:service=CorbaTransaction
ObjectName: jboss:service=CorbaTransaction
State: CONFIGURED
I Depend On:
jboss:service=TransactionManager
jboss:service=CorbaORB
jboss:service=CorbaNaming
ObjectName: jboss.mq:service=DestinationManager
State: CONFIGURED
I Depend On:
jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
jboss.mq:service=ThreadPool
jboss:service=Naming
Depends On Me:
jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq.destination:service=Queue,name=A
jboss.mq.destination:service=Queue,name=B
jboss.mq.destination:service=Queue,name=C
jboss.mq.destination:service=Queue,name=D
jboss.mq.destination:service=Queue,name=ex
jboss.mq:service=SecurityManager
jboss.mq.destination:service=Queue,name=DLQ
ObjectName: jboss.mq.destination:service=Topic,name=testTopic
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Queue,name=testQueue
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Queue,name=A
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=B
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=C
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=D
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=ex
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=Invoker
State: CONFIGURED
I Depend On:
jboss.mq:service=TracingInterceptor
jboss:service=Naming
Depends On Me:
jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2
ObjectName: jboss.mq:service=TracingInterceptor
State: CONFIGURED
I Depend On:
jboss.mq:service=SecurityManager
Depends On Me:
jboss.mq:service=Invoker
ObjectName: jboss.mq:service=SecurityManager
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
Depends On Me:
jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq:service=TracingInterceptor
jboss.mq.destination:service=Queue,name=DLQ
ObjectName: jboss.mq.destination:service=Queue,name=DLQ
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq:service=InvocationLayer,type=JVM
State: CONFIGURED
I Depend On:
jboss.mq:service=Invoker
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
State: CONFIGURED
I Depend On:
jboss.mq:service=Invoker
ObjectName: jboss.mq:service=InvocationLayer,type=UIL
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.mq:service=InvocationLayer,type=UILXA
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.jms:alias=QueueConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.jms:alias=TopicConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
State: CONFIGURED
I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
jboss:service=Naming
Depends On Me:
jboss.admin:service=PluginManager
ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss:service=FarmMember,partition=DefaultPartition
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.web:service=WebServer
jboss.system:service=MainDeployer
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss.system:service=ThreadPool
Depends On Me:
jboss.ws:service=WebServiceClientDeployer
jboss.cache:service=TomcatClusteringCache
jboss:service=DefaultPartition
jboss:service=HASessionState
jboss:service=invoker,type=jrmpha
jboss:service=invoker,type=pooledha
jboss:service=CorbaORB
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss.mq:service=DestinationManager
jboss.mq:service=Invoker
jboss.mq:service=InvocationLayer,type=UIL
jboss.mq:service=InvocationLayer,type=UILXA
jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
jboss.jms:alias=QueueConnectionFactory
jboss.jms:alias=TopicConnectionFactory
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
jboss.jmx:alias=jmx/rmi/RMIAdaptor
16:43:07,156 ERROR [Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@4e72f0c2 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/http-invoker.sar/invoker.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/http-invoker.sar/invoker.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887811484
mbeans:
org.jboss.deployment.DeploymentInfo@dbcc3431 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887815921
mbeans:
org.jboss.deployment.DeploymentInfo@d92e3daf { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/jbossws-context.war }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jbossws14.sar/jbossws-context.war
altDD: null
lastDeployed: 1189888978984
lastModified: 1189888973218
mbeans:
org.jboss.deployment.DeploymentInfo@ade111ae { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887812578
mbeans:
org.jboss.deployment.DeploymentInfo@a4a16add { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/management/console-mgr.sar/web-console.war/ }
deployer: null
status: Starting
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/management/console-mgr.sar/web-console.war/
altDD: null
lastDeployed: 1189888978984
lastModified: 1189887820609
mbeans:
org.jboss.deployment.DeploymentInfo@2864cc09 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
altDD: null
lastDeployed: 1189888986765
lastModified: 1189887814375
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@2864cc09 { url=file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/ }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/Java/jboss-4.0.5.GA/server/default/deploy/jmx-console.war/
altDD: null
lastDeployed: 1189888986765
lastModified: 1189887814375
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss.system:service=ThreadPool
Depends On Me:
jboss.ws:service=WebServiceClientDeployer
jboss.cache:service=TomcatClusteringCache
jboss:service=DefaultPartition
jboss:service=HASessionState
jboss:service=invoker,type=jrmpha
jboss:service=invoker,type=pooledha
jboss:service=CorbaORB
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss.mq:service=DestinationManager
jboss.mq:service=Invoker
jboss.mq:service=InvocationLayer,type=UIL
jboss.mq:service=InvocationLayer,type=UILXA
jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
jboss.jms:alias=QueueConnectionFactory
jboss.jms:alias=TopicConnectionFactory
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
jboss.jmx:alias=jmx/rmi/RMIAdaptor
ObjectName: jboss.web:service=WebServer
State: CONFIGURED
I Depend On:
jboss.security:service=JaasSecurityManager
jboss.cache:service=TomcatClusteringCache
jboss:service=TransactionManager
jboss.jca:service=CachedConnectionManager
Depends On Me:
jboss.ws:service=WebServiceDeployerJSE
jboss.mq:service=InvocationLayer,type=HTTP
jboss:service=FarmMember,partition=DefaultPartition
ObjectName: jboss.ws:service=WebServiceClientDeployer
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.ws:service=WebServiceDeployerJSE
State: CONFIGURED
I Depend On:
jboss.web:service=WebServer
Depends On Me:
jboss.ws:service=DeployerInterceptorNestedJSE
ObjectName: jboss.ws:service=DeployerInterceptorNestedJSE
State: CONFIGURED
I Depend On:
jboss.system:service=MainDeployer
jboss.ws:service=WebServiceDeployerJSE
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
State: CONFIGURED
I Depend On:
jboss.mq:service=Invoker
jboss.web:service=WebServer
ObjectName: jboss.admin:service=PluginManager
State: CONFIGURED
I Depend On:
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
ObjectName: jboss.cache:service=TomcatClusteringCache
State: CONFIGURED
I Depend On:
jboss:service=Naming
jboss:service=TransactionManager
jboss.aop:service=AspectDeployer
Depends On Me:
jboss.web:service=WebServer
ObjectName: jboss:service=DefaultPartition
State: CONFIGURED
I Depend On:
jboss:service=Naming
Depends On Me:
jboss:service=HASessionState
jboss:service=HAJNDI
jboss.cache:service=InvalidationBridge,type=JavaGroups
jboss.ha:service=HASingletonDeployer
jboss:service=FarmMember,partition=DefaultPartition
ObjectName: jboss:service=HASessionState
State: CONFIGURED
I Depend On:
jboss:service=Naming
jboss:service=DefaultPartition
ObjectName: jboss:service=HAJNDI
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.system:service=ThreadPool
ObjectName: jboss:service=invoker,type=jrmpha
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss:service=invoker,type=pooledha
State: CONFIGURED
I Depend On:
jboss:service=TransactionManager
jboss:service=Naming
ObjectName: jboss.cache:service=InvalidationBridge,type=JavaGroups
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.cache:service=InvalidationManager
ObjectName: jboss.ha:service=HASingletonDeployer
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.system:service=MainDeployer
ObjectName: jboss:service=CorbaORB
State: CONFIGURED
I Depend On:
jboss:service=Naming
Depends On Me:
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss:service=CorbaTransaction
ObjectName: jboss:service=invoker,type=iiop
State: CONFIGURED
I Depend On:
jboss:service=CorbaORB
jboss:service=Naming
ObjectName: jboss:service=CorbaNaming
State: CONFIGURED
I Depend On:
jboss:service=CorbaORB
jboss:service=Naming
Depends On Me:
jboss:service=CorbaTransaction
ObjectName: jboss:service=CorbaTransaction
State: CONFIGURED
I Depend On:
jboss:service=TransactionManager
jboss:service=CorbaORB
jboss:service=CorbaNaming
ObjectName: jboss.mq:service=DestinationManager
State: CONFIGURED
I Depend On:
jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
jboss.mq:service=ThreadPool
jboss:service=Naming
Depends On Me:
jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq.destination:service=Queue,name=A
jboss.mq.destination:service=Queue,name=B
jboss.mq.destination:service=Queue,name=C
jboss.mq.destination:service=Queue,name=D
jboss.mq.destination:service=Queue,name=ex
jboss.mq:service=SecurityManager
jboss.mq.destination:service=Queue,name=DLQ
ObjectName: jboss.mq.destination:service=Topic,name=testTopic
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Queue,name=testQueue
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq.destination:service=Queue,name=A
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=B
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=C
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=D
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq.destination:service=Queue,name=ex
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=Invoker
State: CONFIGURED
I Depend On:
jboss.mq:service=TracingInterceptor
jboss:service=Naming
Depends On Me:
jboss.mq:service=InvocationLayer,type=HTTP
jboss.mq:service=InvocationLayer,type=JVM
jboss.mq:service=InvocationLayer,type=UIL2
ObjectName: jboss.mq:service=TracingInterceptor
State: CONFIGURED
I Depend On:
jboss.mq:service=SecurityManager
Depends On Me:
jboss.mq:service=Invoker
ObjectName: jboss.mq:service=SecurityManager
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
Depends On Me:
jboss.mq.destination:service=Topic,name=testTopic
jboss.mq.destination:service=Topic,name=securedTopic
jboss.mq.destination:service=Topic,name=testDurableTopic
jboss.mq.destination:service=Queue,name=testQueue
jboss.mq:service=TracingInterceptor
jboss.mq.destination:service=Queue,name=DLQ
ObjectName: jboss.mq.destination:service=Queue,name=DLQ
State: CONFIGURED
I Depend On:
jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
ObjectName: jboss.mq:service=InvocationLayer,type=JVM
State: CONFIGURED
I Depend On:
jboss.mq:service=Invoker
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
State: CONFIGURED
I Depend On:
jboss.mq:service=Invoker
ObjectName: jboss.mq:service=InvocationLayer,type=UIL
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.mq:service=InvocationLayer,type=UILXA
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.jms:alias=QueueConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.jms:alias=TopicConnectionFactory
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
State: CONFIGURED
I Depend On:
jboss:service=invoker,type=jrmp
jboss.jmx:type=adaptor,name=Invoker
jboss:service=Naming
Depends On Me:
jboss.admin:service=PluginManager
ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
State: CONFIGURED
I Depend On:
jboss:service=Naming
ObjectName: jboss:service=FarmMember,partition=DefaultPartition
State: CONFIGURED
I Depend On:
jboss:service=DefaultPartition
jboss.web:service=WebServer
jboss.system:service=MainDeployer
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss.system:service=ThreadPool
Depends On Me:
jboss.ws:service=WebServiceClientDeployer
jboss.cache:service=TomcatClusteringCache
jboss:service=DefaultPartition
jboss:service=HASessionState
jboss:service=invoker,type=jrmpha
jboss:service=invoker,type=pooledha
jboss:service=CorbaORB
jboss:service=invoker,type=iiop
jboss:service=CorbaNaming
jboss.mq:service=DestinationManager
jboss.mq:service=Invoker
jboss.mq:service=InvocationLayer,type=UIL
jboss.mq:service=InvocationLayer,type=UILXA
jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
jboss.jms:alias=QueueConnectionFactory
jboss.jms:alias=TopicConnectionFactory
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
jboss.jmx:alias=jmx/rmi/RMIAdaptor
at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1385)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
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:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
16:43:07,156 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 34s:766ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084786#4084786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084786
18 years, 9 months
[JBoss Seam] - Re: Mixing and Matching ICEfaces/RichFaces/GWT etc
by pete.muir@jboss.org
>From experience/reading the forum I would say that IceFaces doesn't inegrate terribly well with other component suites (but discuss this on the Icefaces forum as well), RichFaces should (e.g. we have a Seam/Trinidad/Richfaces example) - IMO this depends on how well the component suite is written. Any issues with RichFaces interacting with other frameworks should be given high priority (assuming it is fixable from the RF end). GWT is another kettle of fish (and a bit orthogonal to JSF) - check out the GWT remoting example for one way to go about using it, and Rob Jellinghaus' work (not in Seam atm) on Seam/gwt4jsf for another way. In general JSF works better than GWT with Seam, as that is where Seam is most used ;)
1) I'm not sure about RF/IceFaces, but RF/GWT should be fine. Most frameworks have filters which can interfere with one another.
2) Seam/JSF shouldn't have any navigation problems with different view techs.
Post your problems back here/RF forum and they should be looked at.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084781#4084781
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084781
18 years, 9 months
[JBoss Seam] - Application context beans get null
by Stateless Bean
Hi,
I got bean like
| @Stateful
| @Scope(ScopeType.APPLICATION)
| @Name("collectionControler")
|
and collection inside this bean, this constant collection for all users.
When I start serwer, first I set my collection via method.
| public void createLists() {
| if (procentList == null) {
| procentList = new LinkedList<SelectItem>();
| procentList.add(new SelectItem("100", "100%"));
| procentList.add(new SelectItem("90", "90%"));
| procentList.add(new SelectItem("80", "80%"));
| procentList.add(new SelectItem("70", "70%"));
| procentList.add(new SelectItem("60", "60%"));
| procentList.add(new SelectItem("50", "50%"));
| procentList.add(new SelectItem("40", "40%"));
| procentList.add(new SelectItem("30", "30%"));
| procentList.add(new SelectItem("20", "20%"));
| procentList.add(new SelectItem("10", "10%"));
| }
| }
|
and here is my problem. 2 days after serwer start, collection setted null, don't know how?
this is only method where i do anythink with this collection, and don't have any other. Users have acces to this via page like:
<h:selectOneMenu value="#{}" ?
Is any explanation how this could set null?
This problem is not for only one collection, this bean has 4 collections for my app, and when anythink is broken all collections are null.
Maybe somethink destroys my bean?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084779#4084779
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084779
18 years, 9 months