[Installation, Configuration & Deployment] - Trouble starting up JBoss
by Azavia
Hi,
I've just recently installed JBoss, and the eclipse ide with the jboss plugins.
I'm having trouble getting JBoss started though. When I installed it, I used the jems installation package, and specified the ejb3-clustered install. It doesn't seem the "all" option includes ejb3, and I wanted ejb3.
I specified MySQL for the datasource, and put the appropriate .jar file in server/default/lib
When I try to start JBoss from within Eclipse, it says it fails. The console contains the following:
13:59:07,921 INFO [Server] Starting JBoss (MX MicroKernel)...
| 13:59:07,921 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
| 13:59:07,937 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.5.GA
| 13:59:07,937 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.5.GA/
| 13:59:07,937 INFO [Server] Patch URL: null
| 13:59:07,937 INFO [Server] Server Name: default
| 13:59:07,937 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.5.GA\server\default
| 13:59:07,937 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.5.GA/server/default/
| 13:59:07,937 INFO [Server] Server Log Dir: C:\Program Files\jboss-4.0.5.GA\server\default\log
| 13:59:07,937 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.5.GA\server\default\tmp
| 13:59:07,937 INFO [Server] Root Deployment Filename: jboss-service.xml
| 13:59:08,312 INFO [ServerInfo] Java version: 1.6.0-rc,Sun Microsystems Inc.
| 13:59:08,312 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-rc-b104,Sun Microsystems Inc.
| 13:59:08,312 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 13:59:08,734 INFO [Server] Core system initialized
| 13:59:10,109 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
| 13:59:11,031 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
| 13:59:11,406 INFO [AspectDeployer] Deployed AOP: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/ejb3-interceptors-aop.xml
| 13:59:15,015 INFO [AspectDeployer] Deployed AOP: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/tc5-cluster.sar/tc5-cluster.aop
| 13:59:15,625 INFO [DefaultPartition] Initializing
| 13:59:15,859 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is localhost:1390 (additional data: 14 bytes)
| -------------------------------------------------------
| 13:59:18,046 INFO [DefaultPartition] Number of cluster members: 1
| 13:59:18,046 INFO [DefaultPartition] Other members: 0
| 13:59:18,046 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
| 13:59:18,046 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
| 13:59:18,109 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=localhost/127.0.0.1
| 13:59:18,125 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
| 13:59:18,296 INFO [WebService] Using RMI server codebase: http://localhost:8083/
| 13:59:18,453 WARN [TreeCache] Using deprecated config element CacheLoaderFetchPersistentState. This element will be removed in future, please use CacheLoaderConfiguration instead.
| 13:59:18,453 WARN [TreeCache] Using legacy cache loader config mechanisms.
| 13:59:18,453 WARN [TreeCache] Using deprecated config element CacheLoaderFetchTransientState. This element will be removed in future, replaced with FetchInMemoryState.
| 13:59:18,453 WARN [TreeCache] Calls to setFetchStateOnStartup are ignored; configure state transfer using setFetchInMemoryState and any cache loader's FetchPersistentState property
| 13:59:18,453 WARN [TreeCache] Using deprecated config element CacheLoaderClass. This element will be removed in future, please use CacheLoaderConfiguration instead.
| 13:59:18,468 WARN [TreeCache] Using deprecated config element CacheLoaderConfig(Properties). This element will be removed in future, please use CacheLoaderConfiguration instead.
| 13:59:18,468 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
| 13:59:18,500 WARN [TreeCache] Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
| 13:59:18,562 INFO [InterceptorChainFactory] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.EvictionInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.CacheLoaderInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| class org.jboss.cache.interceptors.CacheStoreInterceptor
| class org.jboss.cache.interceptors.TxInterceptor
| class org.jboss.cache.interceptors.CacheMgmtInterceptor
| 13:59:18,781 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is localhost:1397
| -------------------------------------------------------
| 13:59:20,781 INFO [TreeCache] TreeCache local address is localhost:1397
| 13:59:20,781 INFO [TreeCache] viewAccepted(): [localhost:1397|0] [localhost:1397]
| 13:59:20,781 INFO [TreeCache] State could not be retrieved (we are the first member in group)
| 13:59:22,171 INFO [InterceptorChainFactory] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| class org.jboss.cache.interceptors.TxInterceptor
| class org.jboss.cache.interceptors.CacheMgmtInterceptor
| 13:59:22,203 WARN [TreeCache] Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
| 13:59:22,203 INFO [InterceptorChainFactory] interceptor chain is:
| class org.jboss.cache.interceptors.CallInterceptor
| class org.jboss.cache.interceptors.EvictionInterceptor
| class org.jboss.cache.interceptors.PessimisticLockInterceptor
| class org.jboss.cache.interceptors.UnlockInterceptor
| class org.jboss.cache.interceptors.ReplicationInterceptor
| class org.jboss.cache.interceptors.TxInterceptor
| class org.jboss.cache.interceptors.CacheMgmtInterceptor
| 13:59:22,312 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is localhost:1406
| -------------------------------------------------------
| 13:59:24,437 INFO [TreeCache] viewAccepted(): [localhost:1406|0] [localhost:1406]
| 13:59:24,437 INFO [TreeCache] TreeCache local address is localhost:1406
| 13:59:24,453 INFO [TreeCache] State could not be retrieved (we are the first member in group)
| 13:59:24,453 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
| 13:59:24,484 INFO [STDOUT]
| -------------------------------------------------------
| GMS: address is localhost:1414
| -------------------------------------------------------
| 13:59:26,484 INFO [TreeCache] TreeCache local address is localhost:1414
| 13:59:26,484 INFO [TreeCache] viewAccepted(): [localhost:1414|0] [localhost:1414]
| 13:59:26,484 INFO [TreeCache] State could not be retrieved (we are the first member in group)
| 13:59:26,781 INFO [Embedded] Catalina naming disabled
| 13:59:26,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 13:59:26,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
| 13:59:27,265 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
| 13:59:27,265 INFO [Catalina] Initialization processed in 406 ms
| 13:59:27,265 INFO [StandardService] Starting service jboss.web
| 13:59:27,265 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
| 13:59:27,312 INFO [StandardHost] XML validation disabled
| 13:59:27,328 INFO [Catalina] Server startup in 63 ms
| 13:59:27,437 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
| 13:59:27,796 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
| 13:59:28,140 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp15130jbossws-context-exp.war/
| 13:59:28,390 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
| 13:59:29,093 INFO [MailService] Mail Service bound to java:/Mail
| 13:59:29,406 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 13:59:29,562 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
| 13:59:29,640 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
| 13:59:29,656 INFO [QuartzResourceAdapter] start quartz!!!
| 13:59:29,734 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
| 13:59:29,765 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 13:59:29,765 INFO [RAMJobStore] RAMJobStore initialized.
| 13:59:29,765 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
| 13:59:29,765 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 13:59:29,765 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
| 13:59:30,281 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 13:59:30,718 INFO [A] Bound to JNDI name: queue/A
| 13:59:30,718 INFO [B] Bound to JNDI name: queue/B
| 13:59:30,734 INFO [C] Bound to JNDI name: queue/C
| 13:59:30,734 INFO [D] Bound to JNDI name: queue/D
| 13:59:30,734 INFO [ex] Bound to JNDI name: queue/ex
| 13:59:30,750 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 13:59:30,750 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 13:59:30,750 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
| 13:59:30,765 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 13:59:30,781 INFO [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
| 13:59:30,828 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 13:59:31,000 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 13:59:31,031 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 13:59:31,218 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
| 13:59:31,312 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
| 13:59:31,328 INFO [JkMain] Jk running ID=0 time=0/63 config=null
| 13:59:31,359 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 23s:422ms
|
I don't know what those warnings are from. I see no errors, though.
Any ideas what could be going wrong?
Any help much appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986275#3986275
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986275
19Â years, 8Â months
[JBoss Seam] - How to impliment a Paged + Sorted DataTable (session) withou
by antispart
I have what must be a fairly typical usecase.
1. User starts at search / list page.
2. Selects an object from list and modifies it
3. Returns to search / list page.
Now, I can get this to work with something similar to the Booking example.
SFSB
@DataModel
private List sessions;
@Factory("playerSessions")
@Observer("dataChanged")
public String find() {
query();
return null;
}
Another SFSB:
public String create() {
...
events.raiseEvent("dataChanged");
...
}
The problem lies when the backing data is modified outside the application or by another user and hence the "dataChanged" event is never fired, the @Observer on the find() method is never triggered and the data is stale upon subsequent requests.
Now, this problem goes away if I stick the SFSB that outjects the @DataModel into Event Scope, but then things like sort order and number of rows gets lost between requests.
So, I thought maybe using PAGE scope for the @DataModel and Session Scope for the SFSB that outjects the @DataModel, but the factory method on the @DataModel still doesnt get invoked when the page is loaded the 2nd time. And, obviously, a paged scoped Action bean cannot be stateful.
So, I'm not quite sure what to do. I know I can , for example, put an object in session scope that tracks sort order, etc for each list but that feels pretty ugly.
Is there an excepted pattern for this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986274#3986274
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986274
19Â years, 8Â months