Pessoal quando eu starto o JBoss e entro no browser com http://localhost:8080/ entra no JBoss em vez de subir a minha pagina, tem que configurar mais alguma coisa?
tem certeza que sua aplicação subiu, veja la o log, do servidor. e ela está na pasta correta que o servidor vai procurar ? webapps por exemplo?
Então Camilo, tem o arquivo Everton.WAR na pasta deploy do JBoss nao seria isso que iria subir com o server? Agora sobre webapps nao tenho ou nao sei onde fica =[.
Aqui o log que gera no console:
01:42:27,902 INFO [ServerImpl] Starting JBoss (Microcontainer)...
01:42:27,902 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)
01:42:27,904 INFO [ServerImpl] Home Dir: C:\Program Files\jboss-5.0.0.CR2-jdk6\jboss-5.0.0.CR2
01:42:27,904 INFO [ServerImpl] Home URL: file:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/
01:42:27,904 INFO [ServerImpl] Library URL: file:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/lib/
01:42:27,905 INFO [ServerImpl] Patch URL: null
01:42:27,905 INFO [ServerImpl] Server Name: default
01:42:27,905 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss-5.0.0.CR2-jdk6\jboss-5.0.0.CR2\server\default
01:42:27,905 INFO [ServerImpl] Server Home URL: file:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/
01:42:27,905 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss-5.0.0.CR2-jdk6\jboss-5.0.0.CR2\server\default\data
01:42:27,905 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss-5.0.0.CR2-jdk6\jboss-5.0.0.CR2\server\default\tmp
01:42:27,905 INFO [ServerImpl] Server Config URL: file:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/conf/
01:42:27,906 INFO [ServerImpl] Server Library URL: file:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/lib/
01:42:27,906 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
01:42:28,217 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/conf/bootstrap.xml
01:42:28,674 INFO [CopyMechanism] VFS temp dir: C:\Program Files\jboss-5.0.0.CR2-jdk6\jboss-5.0.0.CR2\server\default\tmp
01:42:28,687 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
01:42:29,566 INFO [ServerInfo] Java version: 1.6.0_21,Sun Microsystems Inc.
01:42:29,571 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 17.0-b16,Sun Microsystems Inc.
01:42:29,571 INFO [ServerInfo] OS-System: Windows 7 6.1,amd64
01:42:29,589 INFO [JMXKernel] Legacy JMX core initialized
01:42:30,348 INFO [MetaDataAwareProfile] Using profile root:C:\Program Files\jboss-5.0.0.CR2-jdk6\jboss-5.0.0.CR2\server\default
01:42:31,177 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
01:42:35,137 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
01:42:35,352 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@370c488c for BaseClassLoader@397a82f{vfsfile:/C:/Program%20Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/ejb3-interceptors-aop.xml}
01:42:43,108 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
01:42:43,175 INFO [MailService] Mail Service bound to java:/Mail
01:42:43,453 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
01:42:43,453 INFO [NativeServerConfig] 3.0.3.GA
01:42:44,049 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
01:42:44,171 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
01:42:44,171 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
01:42:44,378 INFO [TransactionManagerService] Initializing recovery manager
01:42:44,483 INFO [TransactionManagerService] Recovery manager configured
01:42:44,483 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
01:42:44,498 INFO [TransactionManagerService] Starting transaction recovery manager
01:42:44,793 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_21\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.6.0_21/bin/../jre/bin/server;C:/Program Files/Java/jdk1.6.0_21/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_21/bin/../jre/lib/amd64;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files (x86)\Windows Live\Shared
01:42:44,830 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
01:42:44,831 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
01:42:44,831 INFO [Catalina] Initialization processed in 150 ms
01:42:44,831 INFO [StandardService] Starting service jboss.web
01:42:44,832 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR7
01:42:44,863 INFO [Catalina] Server startup in 31 ms
01:42:44,874 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
01:42:45,288 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
01:42:45,331 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
01:42:45,587 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
01:42:45,595 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
01:42:45,607 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/jms-ra.rar/META-INF/ra.xml
01:42:45,613 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/mail-ra.rar/META-INF/ra.xml
01:42:45,652 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss-5.0.0.CR2-jdk6/jboss-5.0.0.CR2/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
01:42:45,792 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
01:42:45,808 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
01:42:45,810 INFO [RAMJobStore] RAMJobStore initialized.
01:42:45,810 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
01:42:45,810 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
01:42:45,811 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
01:42:46,265 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
01:42:46,441 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
01:42:46,464 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
01:42:46,466 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
01:42:46,466 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
01:42:46,483 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
01:42:46,483 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
01:42:46,483 INFO [JobStoreCMT] JobStoreCMT initialized.
01:42:46,483 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
01:42:46,483 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
01:42:46,499 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
01:42:46,507 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
01:42:46,507 INFO [JobStoreCMT] Recovery complete.
01:42:46,507 INFO [JobStoreCMT] Removed 0 'complete' triggers.
01:42:46,507 INFO [JobStoreCMT] Removed 0 stale fired job entries.
01:42:46,509 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
01:42:46,682 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
01:42:46,745 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
01:42:46,745 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
01:42:46,802 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
01:42:46,802 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@68c48187 started
01:42:46,803 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
01:42:46,803 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@7c542b0c started
01:42:46,810 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
01:42:46,812 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
01:42:46,812 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@5c34f625 started
01:42:46,814 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
01:42:46,872 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
01:42:46,964 INFO [TomcatDeployment] deploy, ctxPath=/Everton, vfsUrl=Everton.war
01:42:47,092 INFO [StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
01:42:47,442 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
01:42:47,470 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
01:42:47,518 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
01:42:47,541 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
01:42:47,551 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)] Started in 19s:644ms
bem eu nunca subo com .war aff ja tive serios problemas de o server nao encontrar app, eu simplemente vou no meu projeto e mando os arquivos direto pra la, se ja usa o eclipse ele separa o codigo fonte. faco isso quando nao tenho um ferramenta como o Hudson para dar o help que preciso.
eu nunca mexi com jboss as, mas dar uma olhada na documentacao, ou no google
veja o que achei: http://www.java-samples.com/showtutorial.php?tutorialid=465
[quote=LPJava]bem eu nunca subo com .war aff ja tive serios problemas de o server nao encontrar app, eu simplemente vou no meu projeto e mando os arquivos direto pra la, se ja usa o eclipse ele separa o codigo fonte. faco isso quando nao tenho um ferramenta como o Hudson para dar o help que preciso.
eu nunca mexi com jboss as, mas dar uma olhada na documentacao, ou no google
veja o que achei: http://www.java-samples.com/showtutorial.php?tutorialid=465[/quote]
Entendi, eu nao usei nenhum Wizard com o JBoss aqui, só criei á variavel de ambiente JBoss_Home e apontei para a pasta onde ele se encontra. Olhando no log tem escrito Patch URL: null, sera que tem haver?