1. java
  2. android
  3. c#
  4. .net
  5. javascript
  6. php
  7. jquery
  8. html
  9. sql

Página não encontrada eclipse

Boa noite amigos, estou tentando rodar um programa em jsp, mas no meu computador não está rodando, testei no da minha faculdade e ele rodou. Uso o Jboss. Quando rodo o index.jsp, ele dá erro que a página da web não foi encontrada.

Desde já agradeço a ajuda!

Erros do Console: 

21:48:31,496 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
21:48:34,127 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
21:48:34,338 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
21:48:51,898 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
21:48:52,059 INFO  [org.xnio] XNIO Version 3.0.3.GA
21:48:52,599 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
21:48:52,879 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
21:48:54,099 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
21:48:54,160 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 47) JBAS013101: Activating Security Subsystem
21:48:54,230 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 34) JBAS010280: Activating Infinispan subsystem.
21:48:54,310 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 51) JBAS015537: Activating WebServices Extension
21:48:54,400 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 41) JBAS011800: Activating Naming Subsystem
21:48:54,650 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 42) JBAS011940: Activating OSGi Subsystem
21:48:55,020 INFO  [org.jboss.as.connector] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
21:48:55,180 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
21:48:59,731 INFO  [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service
21:48:59,731 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
21:49:01,472 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 30) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
21:49:01,503 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-9090
21:49:04,504 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA
21:49:06,115 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on localhost/127.0.0.1:4447
21:49:06,115 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:9999
21:49:06,286 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory C:\jboss-as-7.1.1.Final\standalone\deployments
21:49:06,296 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment CadastroClientes
21:49:06,306 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment CadastroClientes2.war
21:49:06,366 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
21:49:06,386 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment ClinicaMedica.war
21:49:06,396 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment WebProjectJBoss.war
21:49:06,416 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found FormLoginCadastroFinalJDBC2.war in deployment directory. To trigger deployment create a file called FormLoginCadastroFinalJDBC2.war.dodeploy
21:49:06,416 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found FormLoginCadastroFinal2.war in deployment directory. To trigger deployment create a file called FormLoginCadastroFinal2.war.dodeploy
21:49:06,416 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found OlaMundo.war in deployment directory. To trigger deployment create a file called OlaMundo.war.dodeploy
21:49:06,416 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found WebProjectJSF.war in deployment directory. To trigger deployment create a file called WebProjectJSF.war.dodeploy
21:49:06,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found WebProjectJBoss.war in deployment directory. To trigger deployment create a file called WebProjectJBoss.war.dodeploy
21:49:06,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found CadastroClientes2.war in deployment directory. To trigger deployment create a file called CadastroClientes2.war.dodeploy
21:49:06,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found FinanceiroWeb.war in deployment directory. To trigger deployment create a file called FinanceiroWeb.war.dodeploy
21:49:06,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found OlaJBoss.war in deployment directory. To trigger deployment create a file called OlaJBoss.war.dodeploy
21:49:06,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found EmployeeTableHibernateAnnotationWeb.war in deployment directory. To trigger deployment create a file called EmployeeTableHibernateAnnotationWeb.war.dodeploy
21:49:06,426 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found OlaMundo2.war in deployment directory. To trigger deployment create a file called OlaMundo2.war.dodeploy
21:49:06,526 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found FormLoginCadastroFinalJDBCGABARITO.war in deployment directory. To trigger deployment create a file called FormLoginCadastroFinalJDBCGABARITO.war.dodeploy
21:49:06,526 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found LoginWebJDBC.war in deployment directory. To trigger deployment create a file called LoginWebJDBC.war.dodeploy
21:49:06,536 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found FormLogin3.war in deployment directory. To trigger deployment create a file called FormLogin3.war.dodeploy
21:49:06,536 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found ClinicaMedica.war in deployment directory. To trigger deployment create a file called ClinicaMedica.war.dodeploy
21:49:06,536 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found WebProjectGetDocument.war in deployment directory. To trigger deployment create a file called WebProjectGetDocument.war.dodeploy
21:49:06,886 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-5) Error starting static Resources: java.lang.IllegalArgumentException: Document base C:\jboss-as-7.1.1.Final\welcome-content does not exist or is not a readable directory
    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:148) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3554) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3723) [jbossweb-7.0.13.Final.jar:]
    at org.jboss.as.web.WelcomeContextService.start(WelcomeContextService.java:111) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

21:49:06,896 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-5) Error in resourceStart()
21:49:06,926 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-5) Context [] startup failed due to previous errors
21:49:06,926 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-5) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
21:49:07,406 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "CadastroClientes2.war"
21:49:07,406 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "CadastroClientes"
21:49:07,406 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "WebProjectJBoss.war"
21:49:07,406 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "ClinicaMedica.war"
21:49:12,957 ERROR [org.jboss.remoting.remote.connection] (Remoting "weltonnote:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: Uma conexão estabelecida foi anulada pelo software no computador host
21:49:13,638 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016002: Processing weld deployment ClinicaMedica.war
21:49:13,688 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for CadastroClientes
21:49:13,708 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016002: Processing weld deployment CadastroClientes2.war
21:49:13,928 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016005: Starting Services for CDI deployment: ClinicaMedica.war
21:49:14,139 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016005: Starting Services for CDI deployment: CadastroClientes2.war
21:49:14,409 INFO  [org.jboss.weld.Version] (MSC service thread 1-7) WELD-000900 1.1.5 (AS71)
21:49:14,449 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) JBAS016008: Starting weld service for deployment ClinicaMedica.war
21:49:14,459 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011402: Starting Persistence Unit Service 'CadastroClientes2.war#CadastroClientes'
21:49:14,809 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /WebProjectJBoss
21:49:15,609 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-4) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
21:49:15,640 INFO  [org.hibernate.Version] (MSC service thread 1-4) HHH000412: Hibernate Core {4.0.1.Final}
21:49:15,640 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH000206: hibernate.properties not found
21:49:15,650 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH000021: Bytecode provider name : javassist
21:49:15,870 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-4) HHH000204: Processing PersistenceUnitInfo [
    name: CadastroClientes
    ...]
21:49:16,800 WARN  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-4) HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections
21:49:17,011 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."CadastroClientes2.war#CadastroClientes": org.jboss.msc.service.StartException in service jboss.persistenceunit."CadastroClientes2.war#CadastroClientes": Failed to start service
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: CadastroClientes] Unable to build EntityManagerFactory
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
    at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)
    at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    ... 3 more
Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set
    at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:97)
    at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:67)
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:176)
    at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
    at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)
    at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)
    at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
    ... 9 more

21:49:17,461 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Inicializando Mojarra 2.1.7-jbossorg-1 (20120227-1401) para o contexto '/ClinicaMedica'
21:49:23,271 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-3) Hibernate Validator 4.2.0.Final
21:49:26,132 INFO  [org.jboss.web] (MSC service thread 1-3) JBAS018210: Registering web context: /ClinicaMedica
21:49:26,142 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin console listening on http://127.0.0.1:9990
21:49:26,142 ERROR [org.jboss.as] (MSC service thread 1-1) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 58226ms - Started 284 of 390 services (23 services failed or missing dependencies, 82 services are passive or on-demand)
21:49:26,343 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "WebProjectJBoss.war" was rolled back with no failure message
21:49:26,343 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "ClinicaMedica.war" was rolled back with no failure message
21:49:26,343 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "CadastroClientes2.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"CadastroClientes2.war#CadastroClientes\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"CadastroClientes2.war#CadastroClientes\": Failed to start service"}}
21:49:26,353 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "CadastroClientes" was rolled back with no failure message
21:49:26,393 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment CadastroClientes in 35ms
21:49:26,403 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment CadastroClientes2.war in 50ms
21:49:26,413 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016009: Stopping weld service for deployment ClinicaMedica.war
21:49:26,423 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment WebProjectJBoss.war in 79ms
21:49:26,433 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ClinicaMedica.war in 86ms
21:49:26,443 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.persistenceunit."CadastroClientes2.war#CadastroClientes": org.jboss.msc.service.StartException in service jboss.persistenceunit."CadastroClientes2.war#CadastroClientes": Failed to start service

21:49:26,443 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
21:49:26,443 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"CadastroClientes2.war#CadastroClientes\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"CadastroClientes2.war#CadastroClientes\": Failed to start service"}}}}
21:49:26,453 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
21:49:26,453 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
  • Aparece algum erro no console?

    pvrsouza   20 de jun de 2013
  • Configurou seu 'persistenceunit' corretamente??

    pvrsouza   20 de jun de 2013
  • Aparentemente está certo, como disse eu rodei o mesmo programa nos micros da minha faculdade, ele rodou. As configurações também são as mesmas.

    welton_john   20 de jun de 2013
  • Vc usa maven no seu projeto?? Aproveita e posta toda a pilha de erro do console.

    pvrsouza   20 de jun de 2013
  • Não uso maven, a pilha de erro que apareceu é o que eu postei na edição da pergunta. Mesmo assim coloquei todas informações da minha console.

    welton_john   20 de jun de 2013
  1. Você vai ver essas setas em qualquer página de pergunta. Com elas, você pode dizer se uma pergunta ou uma resposta foram relevantes ou não.
  2. Edite sua pergunta ou resposta caso queira alterar ou adicionar detalhes.
  3. Caso haja alguma dúvida sobre a pergunta, adicione um comentário. O espaço de respostas deve ser utilizado apenas para responder a pergunta.
  4. Se o autor da pergunta marcar uma resposta como solucionada, esta marca aparecerá.
  5. Clique aqui para mais detalhes sobre o funcionamento do GUJ!

1 resposta

Não é a resposta que estava procurando? Procure outras perguntas com as tags java jboss jsf jsp orientação-a-objetos ou faça a sua própria pergunta.