Olá gujeiros, bom dia a todos.
Estou passando por uma dificuldade em migrar minha aplicação web do tomcat 6 para o jboss 6, por motivos de força maior...
já fiz a instalação do jboss no eclipse, seguindo o tutorial do Bruno (http://brunorota.wordpress.com/2011/05/04/instalar-jboss-6-no-eclipse/). Até aqui tudo certo.
Removi o tomcat 6, instalei o jboss 6 conforme o orientado no tutorial acima citado, adicionei o projeto, corrigi as libraries do build path do projeto, marquei o jboss 6 Runtime como default nas propriedades do projeto web, apliquei e em seguida, tentei inicializar o servidor, porém, logo de cara ele me dá um erro:Publishing to JBoss 6.0 Runtime Server ... has encountered a problem.
An internal error occurred during: "Publishing to JBoss 6.0 Runtime Server...".
org/jboss/ide/eclipse/as/core/extensions/events/ServerLog
Starting JBoss 6.0 Runtime Server:
Server JBoss 6.0 Runtime Server was unable to start within 450 seconds. If the server requires more time, try increasing the timeout in the server editor.
Stoping JBoss 6.0 Runtime Server:
An internal error occurred during: "Stopping JBoss 6.0 Runtime Server".
java.lang.NoClassDefFoundError: org/jboss/ide/eclipse/as/core/extensions/events/ServerLog
11:34:10,159 INFO [AbstractJBossASServerBase] Server Configuration:
JBOSS_HOME URL: file:/home/viper/workspace/jboss-6.0.0.Final/
Bootstrap: $JBOSS_HOME/server/standard/conf/bootstrap.xml
Common Base: $JBOSS_HOME/common/
Common Library: $JBOSS_HOME/common/lib/
Server Name: standard
Server Base: $JBOSS_HOME/server/
Server Library: $JBOSS_HOME/server/standard/lib/
Server Config: $JBOSS_HOME/server/standard/conf/
Server Home: $JBOSS_HOME/server/standard/
Server Data: $JBOSS_HOME/server/standard/data
Server Log: $JBOSS_HOME/server/standard/log/
Server Temp: $JBOSS_HOME/server/standard/tmp
11:34:10,168 INFO [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
11:34:14,262 INFO [ServerInfo] Java version: 1.6.0_18,Sun Microsystems Inc.
11:34:14,262 INFO [ServerInfo] Java Runtime: OpenJDK Runtime Environment (build 1.6.0_18-b18)
11:34:14,262 INFO [ServerInfo] Java VM: OpenJDK Server VM 16.0-b13,Sun Microsystems Inc.
11:34:14,263 INFO [ServerInfo] OS-System: Linux 2.6.28-15-generic,i386
11:34:14,264 INFO [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.0 Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/home/viper/workspace/jboss-6.0.0.Final/lib/endorsed -Djava.library.path=/home/viper/workspace/jboss-6.0.0.Final/bin/native: -Dfile.encoding=UTF-8
11:34:14,420 INFO [JMXKernel] Legacy JMX core initialized
11:34:25,934 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
11:34:27,919 INFO [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
11:34:35,526 WARNING [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
11:34:41,368 WARNING [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
11:34:42,021 WARN [config] jacorb.home unset! Will use '.'
11:34:42,021 WARN [config] File ./jacorb.properties for configuration jacorb not found
11:34:42,023 INFO [config] configuration jacorb loaded from classpath
11:34:42,283 INFO [orb] Property "jacorb.hashtable_class" is set to: java.util.Hashtable
11:34:42,397 WARN [config] jacorb.home unset! Will use '.'
11:34:42,398 WARN [config] File ./jacorb.properties for configuration jacorb not found
11:34:42,399 INFO [config] configuration jacorb loaded from classpath
11:34:42,400 INFO [singleton] created ORBSingleton
11:34:42,708 INFO [interceptors] InterceptorManager started with 2 Server Interceptors, 2 Client Interceptors and 4 IOR Interceptors
11:34:42,992 INFO [orb] ORB run
11:34:43,303 INFO [JMXConnector] starting JMXConnector on host localhost:1090
11:34:43,539 INFO [poa] oid:
72 6F 6F 74 root
object is activated
11:34:43,913 INFO [CorbaNamingService] CORBA Naming Started
11:34:43,928 INFO [MailService] Mail Service bound to java:/Mail
11:34:45,898 INFO [HornetQServerImpl] live server is starting..
11:34:46,142 INFO [JournalStorageManager] Using NIO Journal
11:34:46,215 WARNING [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.
11:34:48,116 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protocol
11:34:48,171 INFO [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protocol
11:34:48,178 INFO [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started
11:34:48,275 INFO [WebService] Using RMI server codebase: http://localhost:8083/
11:34:48,605 INFO [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
11:34:48,612 INFO [arjuna] ARJUNA-12324 Start RecoveryActivators
11:34:48,640 INFO [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Seg, 5 Set 2011 11:34:48
11:34:48,753 INFO [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
11:34:48,755 INFO [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
11:34:48,756 INFO [jbossatx] ARJUNA-32013 Starting transaction recovery manager
11:34:48,786 INFO [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
11:34:48,788 INFO [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
11:34:48,847 INFO [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
11:34:48,993 INFO [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
11:34:49,104 INFO [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
11:34:50,191 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/viper/workspace/jboss-6.0.0.Final/bin/native:
11:34:50,599 INFO [ModClusterService] Initializing mod_cluster 1.1.0.Final
11:34:50,734 INFO [RARDeployment] Required license terms exist, view vfs:/home/viper/workspace/jboss-6.0.0.Final/server/standard/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
11:34:50,796 INFO [RARDeployment] Required license terms exist, view vfs:/home/viper/workspace/jboss-6.0.0.Final/server/standard/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
11:34:50,824 INFO [RARDeployment] Required license terms exist, view vfs:/home/viper/workspace/jboss-6.0.0.Final/server/standard/deploy/jms-ra.rar/META-INF/ra.xml
11:34:50,857 INFO [HornetQResourceAdapter] HornetQ resource adaptor started
11:34:51,639 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
11:34:52,069 INFO [TomcatDeployment] deploy, ctxPath=/juddi
11:34:52,657 INFO [RegistryServlet] Loading jUDDI configuration.
11:34:52,684 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
11:34:52,684 INFO [RegistryServlet] Initializing jUDDI components.
11:34:53,131 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
11:34:53,547 INFO [xnio] XNIO Version 2.1.0.CR2
11:34:53,562 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2
11:34:53,950 INFO [remoting] JBoss Remoting version 3.1.0.Beta2
11:34:54,144 INFO [TomcatDeployment] deploy, ctxPath=/
11:34:54,194 INFO [service] Removing bootstrap log handlers
11:34:54,322 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
11:34:54,326 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
11:34:54,327 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 44s:150ms
Já tentei todas as opções dentro do JBoss Runtime, em window/preferences, mas todas deram o mesmo problema.
Alguma dica pessoal?? Eu não deveria realizar alguma alteração no web.xml?
Agradeço a todos.