Hallo alle zusammen,
ich bin blutiger Anfänger in Sachen Web-Applikation mit Java und versuche mich gerade in JSF. Leider bekomme ich meine Test-Applikation nicht zum Laufen
Evt. könnt ihr mir Hinweise geben, woran es liegen kann.
Ich habe dieses Tutorial umgesetzt.
Die Startseite wird auch korrekt angezeigt nur die Weiterleitung auf "geometricmodel.faces" funktioniert nicht.
Folgende Fehlermeldung erscheint im Browser
Folgende Ausgabe generiert der JBoss Applikation Server
ich bin blutiger Anfänger in Sachen Web-Applikation mit Java und versuche mich gerade in JSF. Leider bekomme ich meine Test-Applikation nicht zum Laufen
Evt. könnt ihr mir Hinweise geben, woran es liegen kann.
Ich habe dieses Tutorial umgesetzt.
Die Startseite wird auch korrekt angezeigt nur die Weiterleitung auf "geometricmodel.faces" funktioniert nicht.
Folgende Fehlermeldung erscheint im Browser
HTTP Status 404 - /JSFTest/geometricmodel.faces
--------------------------------------------------------------------------------
type Status report
message /JSFTest/geometricmodel.faces
description The requested resource (/JSFTest/geometricmodel.faces) is not available.
--------------------------------------------------------------------------------
JBossWeb/2.0.1.GA
Folgende Ausgabe generiert der JBoss Applikation Server
15:33:26,636 INFO [Server] Starting JBoss (MX MicroKernel)...
15:33:26,636 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
15:33:26,636 INFO [Server] Home Dir: D:\jboss
15:33:26,636 INFO [Server] Home URL: file:/D:/jboss/
15:33:26,636 INFO [Server] Patch URL: null
15:33:26,636 INFO [Server] Server Name: default
15:33:26,636 INFO [Server] Server Home Dir: D:\jboss\server\default
15:33:26,636 INFO [Server] Server Home URL: file:/D:/jboss/server/default/
15:33:26,636 INFO [Server] Server Log Dir: D:\jboss\server\default\log
15:33:26,636 INFO [Server] Server Temp Dir: D:\jboss\server\default\tmp
15:33:26,636 INFO [Server] Root Deployment Filename: jboss-service.xml
15:33:26,824 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
15:33:26,824 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun Microsystems Inc.
15:33:26,824 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
15:33:27,527 INFO [Server] Core system initialized
15:33:28,871 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
15:33:28,886 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
15:33:29,183 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
15:33:29,183 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
15:33:29,386 INFO [TransactionManagerService] Starting recovery manager
15:33:29,449 INFO [TransactionManagerService] Recovery manager started
15:33:29,449 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
15:33:31,074 INFO [EJB3Deployer] Starting java:comp multiplexer
15:33:32,637 INFO [NativeServerConfig] JBoss Web Services - Native
15:33:32,637 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
15:33:33,199 INFO [Embedded] Catalina naming disabled
15:33:33,309 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_07\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Programme/Java/jre1.6.0_07/bin/client;C:/Programme/Java/jre1.6.0_07/bin;C:\ORACLE9\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\ORANT\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ORANT\jdk\bin;C:\Programme\Java\jdk1.6.0_07\bin
15:33:33,340 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
15:33:33,355 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
15:33:33,355 INFO [Catalina] Initialization processed in 156 ms
15:33:33,355 INFO [StandardService] Starting service jboss.web
15:33:33,355 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
15:33:33,387 INFO [Catalina] Server startup in 33 ms
15:33:33,449 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
15:33:34,012 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
15:33:34,152 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
15:33:34,230 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
15:33:34,746 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
15:33:35,059 INFO [MailService] Mail Service bound to java:/Mail
15:33:35,199 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
15:33:35,230 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
15:33:35,246 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
15:33:35,277 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
15:33:35,324 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
15:33:35,356 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
15:33:35,387 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
15:33:35,402 INFO [QuartzResourceAdapter] start quartz!!!
15:33:35,449 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
15:33:35,465 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
15:33:35,465 INFO [RAMJobStore] RAMJobStore initialized.
15:33:35,465 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
15:33:35,465 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
15:33:35,465 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
15:33:36,121 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaefaultDS'
15:33:36,340 INFO [A] Bound to JNDI name: queue/A
15:33:36,340 INFO Bound to JNDI name: queue/B
15:33:36,340 INFOCode:Bound to JNDI name: queue/C 15:33:36,340 INFO [D] Bound to JNDI name: queue/D 15:33:36,340 INFO [ex] Bound to JNDI name: queue/ex 15:33:36,356 INFO [testTopic] Bound to JNDI name: topic/testTopic 15:33:36,356 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 15:33:36,356 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 15:33:36,356 INFO [testQueue] Bound to JNDI name: queue/testQueue 15:33:36,387 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093 15:33:36,402 INFO [DLQ] Bound to JNDI name: queue/DLQ 15:33:36,496 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 15:33:36,824 INFO [TomcatDeployer] deploy, ctxPath=/JSFTest, warUrl=.../tmp/deploy/tmp5967JSFTest-exp.war/ 15:33:37,402 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ 15:33:37,527 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 15:33:37,543 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 15:33:37,543 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 10s:907ms [/quote] Meine Konfigurationsdatei hat folgenden Inhalt: [code]<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>JSFTest</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> </web-app>
Folgende Libs sind im lib-Ordner, erscheinen aber nicht in Eclipse :shock:
jboss-faces.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
Ich entwickle unter Eclipse Ganymede und benutze den JBoss Applikation Server 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181440)
Ich weiß jetzt nicht, was noch an Informationen relevant wäre, um mein Problem zu lösen.
Ich sehe so direkt kein Fehler und es werden mir auch keine Fehler in Eclipse angezeigt.
Hat jemand eine Idee, woran es liegen könnte?
Viele Dank und viele Grüße
Jana