GWt with EJB and JBoss

121 views
Skip to first unread message

ph09

unread,
Nov 7, 2011, 1:18:04 PM11/7/11
to google-we...@googlegroups.com

I tried to connect my WGT Application with EJB via JBoss by doing this Tutorial: http://jamies-gwt.blogspot.com/2010/03/walkthrough-integrating-gwt-with-jboss.html

I used GWT 2.4, Eclipse Indigo, Jboss 6.1.0.Final and this Eclipse Plugin:http://download.jboss.org/jbosstools/updates/stable/helios/

When i try to start the Application, nothing happen ant sometimes I get an error from the JBoss. Thats the log:

18:26:57,766 INFO  [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/C:/jboss-6.1.0.Final/
Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME\common/
Common Library: $JBOSS_HOME\common/lib/
Server Name: default
Server Base: $JBOSS_HOME\server/
Server Library: $JBOSS_HOME\server/default/lib/
Server Config: $JBOSS_HOME\server/default/conf/
Server Home: $JBOSS_HOME\server/default/
Server Data: $JBOSS_HOME\server/default/data/
Server Log: $JBOSS_HOME\server/default/log/
Server Temp: $JBOSS_HOME\server/default/tmp/

18:26:57,771 INFO  [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]
18:26:59,945 INFO  [ServerInfo] Java version: 1.6.0_27,Sun Microsystems Inc.
18:26:59,946 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
18:26:59,946 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.2-b06,Sun Microsystems Inc.
18:26:59,946 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
18:26:59,947 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.0 Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\jboss-6.1.0.Final\lib\endorsed -Djava.library.path=C:/jboss-6.1.0.Final/bin/native -Dlogging.configuration=file:C:/jboss-6.1.0.Final/bin/logging.properties -Dfile.encoding=Cp1252 
18:26:59,991 INFO  [JMXKernel] Legacy JMX core initialized
18:27:10,268 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
18:27:10,999 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
18:27:24,144 WARNUNG [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
18:27:24,640 INFO  [JMXConnector] starting JMXConnector on host localhost:1090
18:27:24,880 INFO  [MailService] Mail Service bound to java:/Mail
18:27:26,931 INFO  [HornetQServerImpl] live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=C:\jboss-6.1.0.Final\server\default\data/hornetq/journal,bindingsDirectory=C:\jboss-6.1.0.Final\server\default\data/hornetq/bindings,largeMessagesDirectory=C:\jboss-6.1.0.Final\server\default\data/hornetq/largemessages,pagingDirectory=C:\jboss-6.1.0.Final\server\default\data/hornetq/paging)
18:27:26,934 INFO  [HornetQServerImpl] Waiting to obtain live lock
18:27:27,083 INFO  [JournalStorageManager] Using NIO Journal
18:27:27,131 WARNUNG [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
18:27:27,359 INFO  [FileLockNodeManager] Waiting to obtain live lock
18:27:27,359 INFO  [FileLockNodeManager] Live Server Obtained live lock
18:27:28,718 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r${buildNumber} localhost:5455 for CORE protocol
18:27:28,720 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.3.Final-r${buildNumber} localhost:5445 for CORE protocol
18:27:28,726 INFO  [HornetQServerImpl] Server is now live
18:27:28,727 INFO  [HornetQServerImpl] HornetQ Server version 2.2.5.Final (HQ_2_2_5_FINAL_AS7, 121) [cf21bf14-0959-11e1-a1aa-002243686b23] started
18:27:28,875 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
18:27:29,467 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
18:27:29,487 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators
18:27:29,554 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Mo, 7 Nov 2011 18:27:29
18:27:29,813 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
18:27:29,815 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
18:27:29,818 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager
18:27:29,862 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
18:27:29,874 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
18:27:29,882 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
18:27:30,003 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
18:27:30,148 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
18:27:31,862 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/jboss-6.1.0.Final/bin/native
18:27:32,275 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final
18:27:32,313 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
18:27:33,392 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss-6.1.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
18:27:33,425 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss-6.1.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
18:27:33,446 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss-6.1.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
18:27:33,497 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started
18:27:33,515 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss-6.1.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
18:27:33,545 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/jboss-6.1.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
18:27:33,866 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
18:27:34,001 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
18:27:34,003 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
18:27:34,012 INFO  [RAMJobStore] RAMJobStore initialized.
18:27:34,019 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

18:27:34,020 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.
18:27:34,020 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3
18:27:34,021 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.
18:27:36,066 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
18:27:36,543 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
18:27:36,750 INFO  [xnio] XNIO Version 2.1.0.CR2
18:27:36,770 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2
18:27:37,104 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2
18:27:37,281 INFO  [TomcatDeployment] deploy, ctxPath=/
18:27:37,311 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.ExpiryQueue
18:27:37,432 INFO  [HornetQServerImpl] trying to deploy queue jms.queue.DLQ
18:27:37,459 INFO  [service] Removing bootstrap log handlers
18:27:37,585 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
18:27:37,591 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
18:27:37,592 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.1.0.Final "Neo"] Started in 39s:815ms

 

Is it because I take a newer Version of gwt,eclipse and JBoss, or what have I done wrong? I think i did everything how it was described in the tutorial.

Reply all
Reply to author
Forward
0 new messages