Webservice, DB-Query

Hallo an All! Zuerst möchte ich sagen, dass ich auf diesem Gebiet gaaanz neu bin.

Meine Apps: Netbeans (8.0.1), Apache Tomcat

Also hier hab ich mein Webservice mit Webmethode.
Also der User soll über einen Client eine Zahl eingeben -> eine Sozialversicherungsnummer (SVN). Er soll als Rückgabe den dazugehörigen Nachnamen erhalten. Alles in einer Datenbank der Tabelle “kunden” gespeichert. Felder heißen “Sozialversicherungsnummer” und “Nachname”.

   public String svn( @WebParam( name = "Sozialversicherungsnummer" ) int SVN)
   {
      try
      {
         connection = DriverManager.getConnection( 
         DATABASE_URL, USERNAME, PASSWORD );
         statement = connection.createStatement();
         ResultSet resultSet = statement.executeQuery(
            "SELECT \"*\" FROM \"kunden\"" +
            "WHERE (\"Sozialversicherungsnummer\" = '" + SVN + 
            "')" );
         
         // Nachname soll zurückgegeben werden wenn die Sozialversicherungsnummer in der DB existiert
         while ( resultSet.next() )
         {
            return resultSet.getString("Nachname");
         } // end if

      } // end try
      catch ( SQLException e )
      {
         e.printStackTrace();
         String i= "Kann nicht gefunden werden";
         return i;
      } // end catch
      catch ( Exception e )
      {
         e.printStackTrace();  
         String i= "Kann nicht gefunden werden";
         return i;
      } // end catch
      finally
      {
         try
         {
            statement.close();
            connection.close();
         } // end try
         catch ( Exception e )
         {
            e.printStackTrace();
         String i= "Kann nicht gefunden werden";
         return i;
         } // end catch
      } // end finally
       return null;
   } // end WebMethod reserve```

Den Webservice teste ich mit SOAP UI. Leider habe ich einen Fehler drin. Wahrscheinlich bei der "while ( resultSet.next()" Abschnitt. Wäre echt nett, wenn mir jemand helfen könnte.

Lg

Tjo … aha.

Was ist denn der Fehler?

Fliegt eine Exception? Wenn ja, welche?
Der Rückgabewert ist null? Was steht im ResultSet? Gar nix? Hast du dich schon reindebugged?
Was schickst du hin? Heißt der Parameter wirklich “Sozialversicherungsnummer” oder hast du da was falsch geschrieben. Übergibst du vielleicht nur SVN als Parameter?

allgemeine (Programmier-)Lebensweisheit:
Dinge getrennt testen:

  • den Webservice nur testen mit einer Dummy-Rückgabe “test” ohne komplizierte DB, ohne try/catch
  • die DB-Anfrage für sich in einem normalen Java-Programm mit main-Methode ausprobieren

wenn beides für sich zufriedenstellend erscheint, dann muss man es freilich irgendwann auch zusammenbringen und es kann dann auch Fehler geben,
aber nicht zusätzlich schwierig manchen indem der Fehler (evtl. trivial) in allen (vermutlich) noch ungetesten Bestandteilen liegen kann

Das SQL-Statement ist ziemlich sicher fehlerhaft. Die Doppelten Anführungszeichen um den *, den Tabellennamen kunden und den Spaltennamen Sozialversicherungsnummer sind auf jeden Fall falsch.

Der int-Parameter der Methode legt die Vermutung nahe, dass auch die Spalte in der Tabelle ein numerischer Typ ist. Dann sind auch die einfachen Anführungszeichen um SVN falsch.

Dazu auch von mir (wie von SlaterB) der Hinweis des isolierten testens. Teste Deine Statements zunächst mit einem DB-Tool. Bevor Du sie in Java-Code einbaust.

P.S. Falls Du den Webservice veröffentlichen willst, solltest Du Dich unbedingt mit dem Thema SQL-Incjection beschäftigen.

Edit: Bleiglanz war ein paar Sekunden schneller.

Schau mal ins log-File

 ResultSet resultSet = statement.executeQuery(
            "SELECT \"*\" FROM \"kunden\"" +
            "WHERE (\"Sozialversicherungsnummer\" = '" + SVN +
            "')" );

ist komisch, warum select “*” mit Anführungszeichen? Schreib lieber

 ResultSet resultSet = statement.executeQuery(
            "SELECT * FROM kunden WHERE Sozialversicherungsnummer='" + SVN +"')" );

ersetze das while durch ein if, ist besser

Ich habe nun das SQL Statement so angepasst - danke dafür!
Leider komm ich trotzdem nicht weiter. Ich bekomme immer folgendes zurück:

Immer das was im letzten return drinnensteht, also siehe oben Zeile 47. Wenn ich return “halloo” schreibe, bekomme ich ein “halloo” zurück…
Siehe Screen von SOAP UI: http://www.youscreen.de/ulztprfs11.jpg

Ich versteh das nicht, denn die Datenbank lässt sich auch richtig abfragen, hier ein Screen vom Aufbau:

Vielleicht kann mir ja nochmals wer helfen! Danke!
Lg

ja wie nun, hast du im Quellcode drin dass “halloo” zurückgegeben werden soll, dann ist es auch kein Wunder,
wenn du DB-Code hast dürfte was aus der DB kommen?

Nein ich füge eine Sozialversicherungsnummer ein (die in der DB gespeichert ist), damit ich endlich mal einen Nachnamen zurückbekomme.

Hab meinen Code etwas angepasst:

   public String svn(int SVN)
   {
      try
      {
         connection = DriverManager.getConnection( 
         DATABASE_URL, USERNAME, PASSWORD );
         statement = connection.createStatement();
         ResultSet resultSet = statement.executeQuery( "SELECT Nachname FROM kunden WHERE Sozialversicherungsnummer='" + SVN +"'" );
         
         // if requested seat is available, reserve it
         if ( resultSet.next() )
         {
            return resultSet.getString("Nachname");
         } // end if
            return "fehler";
      } // end try
      catch ( SQLException e )
      {
         e.printStackTrace();
         return ("1");
      } // end catch
      catch ( Exception e )
      {
         e.printStackTrace();  
      return ("2");
      } // end catch
      finally
      {
         try
         {
            statement.close();
            connection.close();
         } // end try
         catch ( Exception e )
         {
            e.printStackTrace();
            return ("3");
         } // end catch
      } // end finally
   } // end WebMethod

So, hier bekomm ich ständig “3” als return. Also Exception e… und wenn ich den finally Block entferne bekomm ich return “1”. Wenn ich ebenfalls diesen entferne bekomm ich return “2”. Egal was ich eintipp: Entweder eine richtige Sozialversicherungsnummer aus der DB oder irgendeine Zahl wie “123”…

Ich verstehs nicht, DB Daten sind ja alle korrekt…

Ich will eine Zahl durch den Benutzer bekommen (INT) und gebe dafür einen dazugehörigen Nachnamen zurück (String). Viel schwerer als gedacht :-/

such endlich im tomcat log-File die Fehlerausgabe

und ein Problem ist auch, dass du

ein normales return hast

und

in der finally-Klausel AUCH ein return - wenn es beim Schließen ein Problem gibt (übrigens: was ist mit resultSet-Close)

*** Edit ***

Sprich: ein SQL-Fehler, den du im Logfile suchen solltest.

Wenn die Spalten

Nachname
Sozialversicherungsnummer

existieren, ist dann Sozialversicherungsnummer in der DB ein int? Wenn ja, lass die einfachen Hochkommas in der Query weg

Kannst du den Sql-Code nicht erstmal anderswo testen? In etwas mit MySqlBench vergleichbarem?

das ist Schritt 1,

und Schritt 2 dann wie gesagt ein normales Java-Programm mit main-Methode, das SQL mit JDBC, allen try/catch usw. ganz real ausprobieren,
Exceptions in der Konsole statt evtl. gnädigerweise in ominösen Logs

[QUOTE=Bleiglanz]such endlich im tomcat log-File die Fehlerausgabe

normales return hast und in der finally-Klausel AUCH ein return

dann Sozialversicherungsnummer in der DB ein int? Wenn ja, lass die einfachen Hochkommas in der Query weg[/QUOTE]

return: Er verlangt bei mir nach einem normalen return, eig nur deswegen hab ich es drin :confused:

SVN: Ja ist ein Integer, hab ich so geändert, danke.

Ich habe den Befehl getestet, seht hier bitte: http://www.youscreen.de/buspmwxs11.jpg

Und hier die Log Datei mit Dingen wo mein Webservice vorkommt… also ich werd daraus leider nicht schlau, ich hoffe jemand kann mir helfen…

10-Dec-2014 20:46:35.877 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
10-Dec-2014 20:46:35.877 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
10-Dec-2014 20:46:35.892 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 27598 ms
10-Dec-2014 20:46:37.158 INFO [http-nio-8080-exec-11] null.null WSSERVLET15: JAX-WS servlet destroyed
10-Dec-2014 20:46:37.158 INFO [http-nio-8080-exec-11] null.null Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 20:46:37.158 INFO [http-nio-8080-exec-11] null.null WSSERVLET13: JAX-WS context listener destroyed
10-Dec-2014 20:46:37.174 SEVERE [http-nio-8080-exec-11] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@6e9bbd66]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 20:46:37.174 SEVERE [http-nio-8080-exec-11] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@b9eafef]) and a value of type [java.util.WeakHashMap] (value [{class com.sun.xml.ws.runtime.config.MetroConfig=java.lang.ref.WeakReference@59981743, class com.sun.xml.ws.runtime.config.TubelineDefinition=java.lang.ref.WeakReference@7442991a, class com.sun.xml.ws.runtime.config.TubeFactoryList=java.lang.ref.WeakReference@47817a79, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@391e44b1, class com.sun.xml.ws.runtime.config.TubeFactoryConfig=java.lang.ref.WeakReference@20a56ede, class java.util.ArrayList=java.lang.ref.WeakReference@40cfb999, class com.sun.xml.ws.runtime.config.Tubelines=java.lang.ref.WeakReference@cd1514b, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@4721a7ac}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 20:46:37.174 SEVERE [http-nio-8080-exec-11] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@4c79f208]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@7147896f]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 20:46:37.174 SEVERE [http-nio-8080-exec-11] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@6e9bbd66]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 20:46:38.121 INFO [http-nio-8080-exec-11] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
10-Dec-2014 20:46:38.184 INFO [http-nio-8080-exec-5] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
10-Dec-2014 20:46:38.199 WARNING [http-nio-8080-exec-5] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
10-Dec-2014 20:46:42.934 INFO [http-nio-8080-exec-5] null.null WSSERVLET12: JAX-WS context listener initializing
10-Dec-2014 20:46:47.397 INFO [http-nio-8080-exec-5] com.sun.xml.ws.server.MonitorBase.createRoot Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 20:46:47.912 INFO [http-nio-8080-exec-5] null.null WSSERVLET14: JAX-WS servlet initializing
10-Dec-2014 20:46:48.053 INFO [http-nio-8080-exec-5] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
10-Dec-2014 20:46:48.256 INFO [http-nio-8080-exec-5] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
10-Dec-2014 20:46:49.256 INFO [http-nio-8080-exec-5] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 11,072 ms
10-Dec-2014 20:46:49.272 INFO [http-nio-8080-exec-3] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
10-Dec-2014 20:47:04.890 INFO [http-nio-8080-exec-3] null.null WSSERVLET15: JAX-WS servlet destroyed
10-Dec-2014 20:47:04.890 INFO [http-nio-8080-exec-3] null.null Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 20:47:04.890 INFO [http-nio-8080-exec-3] null.null WSSERVLET13: JAX-WS context listener destroyed
10-Dec-2014 20:47:04.906 SEVERE [http-nio-8080-exec-3] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@2147cdfb]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 20:47:05.812 INFO [http-nio-8080-exec-3] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
10-Dec-2014 20:47:05.859 INFO [http-nio-8080-exec-16] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
10-Dec-2014 20:47:05.875 WARNING [http-nio-8080-exec-16] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
10-Dec-2014 20:47:09.599 INFO [http-nio-8080-exec-16] null.null WSSERVLET12: JAX-WS context listener initializing
10-Dec-2014 20:47:14.302 INFO [http-nio-8080-exec-16] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 20:47:14.786 INFO [http-nio-8080-exec-16] null.null WSSERVLET14: JAX-WS servlet initializing
10-Dec-2014 20:47:14.911 INFO [http-nio-8080-exec-16] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
10-Dec-2014 20:47:15.099 INFO [http-nio-8080-exec-16] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
10-Dec-2014 20:47:16.099 INFO [http-nio-8080-exec-16] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 10,240 ms
10-Dec-2014 20:47:16.115 INFO [http-nio-8080-exec-4] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
10-Dec-2014 21:00:20.946 INFO [http-nio-8080-exec-21] null.null WSSERVLET15: JAX-WS servlet destroyed
10-Dec-2014 21:00:20.958 INFO [http-nio-8080-exec-21] null.null Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 21:00:20.966 INFO [http-nio-8080-exec-21] null.null WSSERVLET13: JAX-WS context listener destroyed
10-Dec-2014 21:00:21.001 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@4a4e776a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@18cc9b22]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.003 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@1b50f340]) and a value of type [java.util.WeakHashMap] (value [{class at.fhprojectkuranstalt.ws.jaxws.Svn=java.lang.ref.WeakReference@46ed6ebe}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.004 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@4a4e776a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3c83573]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.004 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@1b50f340]) and a value of type [java.util.WeakHashMap] (value [{class at.fhprojectkuranstalt.ws.jaxws.Svn=java.lang.ref.WeakReference@1f1e0cb9}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.006 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@322b097a]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.008 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@4a4e776a]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@40d94bc5]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.009 SEVERE [http-nio-8080-exec-21] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@1b50f340]) and a value of type [java.util.WeakHashMap] (value [{class at.fhprojectkuranstalt.ws.jaxws.Svn=java.lang.ref.WeakReference@2f89d00}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:00:21.951 INFO [http-nio-8080-exec-21] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
10-Dec-2014 21:00:22.030 INFO [http-nio-8080-exec-20] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
10-Dec-2014 21:00:22.094 WARNING [http-nio-8080-exec-20] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
10-Dec-2014 21:00:29.825 INFO [http-nio-8080-exec-20] com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized WSSERVLET12: JAX-WS context listener initializing
10-Dec-2014 21:00:35.449 INFO [http-nio-8080-exec-20] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 21:00:36.011 INFO [http-nio-8080-exec-20] null.null WSSERVLET14: JAX-WS servlet initializing
10-Dec-2014 21:00:36.144 INFO [http-nio-8080-exec-20] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
10-Dec-2014 21:00:36.361 INFO [http-nio-8080-exec-20] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
10-Dec-2014 21:00:38.034 INFO [http-nio-8080-exec-20] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 16,004 ms
10-Dec-2014 21:00:38.066 INFO [http-nio-8080-exec-27] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
10-Dec-2014 21:46:18.932 INFO [http-nio-8080-exec-34] null.null WSSERVLET15: JAX-WS servlet destroyed
10-Dec-2014 21:46:18.942 INFO [http-nio-8080-exec-34] null.null Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 21:46:18.953 INFO [http-nio-8080-exec-34] null.null WSSERVLET13: JAX-WS context listener destroyed
10-Dec-2014 21:46:18.986 SEVERE [http-nio-8080-exec-34] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@1bad980d]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@22a08827]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:46:18.988 SEVERE [http-nio-8080-exec-34] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@3ad5e529]) and a value of type [java.util.WeakHashMap] (value [{class at.fhprojectkuranstalt.ws.jaxws.Svn=java.lang.ref.WeakReference@773384bf}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:46:18.989 SEVERE [http-nio-8080-exec-34] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@a917a4]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 21:46:20.129 INFO [http-nio-8080-exec-34] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
10-Dec-2014 21:46:20.204 INFO [http-nio-8080-exec-31] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
10-Dec-2014 21:46:20.289 WARNING [http-nio-8080-exec-31] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
10-Dec-2014 21:46:30.085 INFO [http-nio-8080-exec-31] com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized WSSERVLET12: JAX-WS context listener initializing
10-Dec-2014 21:46:35.466 INFO [http-nio-8080-exec-31] com.sun.xml.ws.server.MonitorBase.createRoot Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 21:46:36.247 INFO [http-nio-8080-exec-31] null.null WSSERVLET14: JAX-WS servlet initializing
10-Dec-2014 21:46:36.426 INFO [http-nio-8080-exec-31] null.contextInitialized Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
10-Dec-2014 21:46:36.751 INFO [http-nio-8080-exec-31] com.sun.faces.spi.InjectionProviderFactory.createInstance JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
10-Dec-2014 21:46:42.274 INFO [http-nio-8080-exec-31] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 22,071 ms
10-Dec-2014 21:46:42.298 INFO [http-nio-8080-exec-32] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
10-Dec-2014 22:01:39.591 INFO [http-nio-8080-exec-48] null.null WSSERVLET15: JAX-WS servlet destroyed
10-Dec-2014 22:01:39.606 INFO [http-nio-8080-exec-48] null.null Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Web-Service-Webservice-WebservicePort
10-Dec-2014 22:01:39.609 INFO [http-nio-8080-exec-48] null.null WSSERVLET13: JAX-WS context listener destroyed
10-Dec-2014 22:01:39.622 SEVERE [http-nio-8080-exec-48] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Web-Service] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@66839bc6]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 22:02:00.562 INFO [http-nio-8080-exec-49] null.null WSSERVLET15: JAX-WS servlet destroyed
10-Dec-2014 22:02:00.574 INFO [http-nio-8080-exec-49] com.sun.xml.ws.server.MonitorBase.closeMOM Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 22:02:00.582 INFO [http-nio-8080-exec-49] null.null WSSERVLET13: JAX-WS context listener destroyed
10-Dec-2014 22:02:00.593 SEVERE [http-nio-8080-exec-49] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@53ea23d7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@7e19925e]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 22:02:00.594 SEVERE [http-nio-8080-exec-49] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@745692e8]) and a value of type [java.util.WeakHashMap] (value [{class at.fhprojectkuranstalt.ws.jaxws.Svn=java.lang.ref.WeakReference@4a188ec8}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 22:02:00.595 SEVERE [http-nio-8080-exec-49] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@53ea23d7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@48eee8c7]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 22:02:00.596 SEVERE [http-nio-8080-exec-49] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@745692e8]) and a value of type [java.util.WeakHashMap] (value [{class at.fhprojectkuranstalt.ws.jaxws.Svn=java.lang.ref.WeakReference@7a5708e6}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 22:02:00.597 SEVERE [http-nio-8080-exec-49] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@3ad61496]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
10-Dec-2014 22:02:01.534 INFO [http-nio-8080-exec-49] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
10-Dec-2014 22:02:01.602 INFO [http-nio-8080-exec-53] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
10-Dec-2014 22:02:01.651 WARNING [http-nio-8080-exec-53] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
10-Dec-2014 22:02:09.433 INFO [http-nio-8080-exec-53] null.null WSSERVLET12: JAX-WS context listener initializing
10-Dec-2014 22:02:16.239 INFO [http-nio-8080-exec-53] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
10-Dec-2014 22:02:16.801 INFO [http-nio-8080-exec-53] null. WSSERVLET14: JAX-WS servlet initializing
10-Dec-2014 22:02:16.944 INFO [http-nio-8080-exec-53] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
10-Dec-2014 22:02:17.151 INFO [http-nio-8080-exec-53] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
10-Dec-2014 22:02:18.434 INFO [http-nio-8080-exec-53] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 16,832 ms
10-Dec-2014 22:02:18.471 INFO [http-nio-8080-exec-43] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.

das ist nur der Anfang, ist die log-Datei nicht größer??

fliegt die SQL-Exception noch?

@WebParam( name = “Sozialversicherungsnummer” ) int SVN)

steht da überhaupt was drin? lass dir SVN mal zurückgeben…

eine Möglichkeit wäre immer noch

[quote=SlaterB]und Schritt 2 dann wie gesagt ein normales Java-Programm mit main-Methode, das SQL mit JDBC, allen try/catch usw. ganz real ausprobieren,
Exceptions in der Konsole statt evtl. gnädigerweise in ominösen Logs[/quote]

Ok! Habe nun ein neues Projekt gemacht und habe das ganze OHNE Webservice versucht. Ergebnis: Es hat geklappt und ich hab seit Langem ein Erfolgserlebnis
Hier ein Screen: http://www.youscreen.de/wutlkxgz18.jpg

Habe meinen Webservice aktualisiert:


@WebService
public class KuranstaltWS {

     static final String DATABASE_URL = "jdbc:mysql://X.X.X.X:XXXX/X";
     static final String USERNAME = "X";
     static final String PASSWORD = "X";
     Connection connection;

    @WebMethod( operationName = "SVN-Abfrage" )
   public String svn(int SVN)
   {
        try {
            connection = DriverManager.getConnection(DATABASE_URL, USERNAME, PASSWORD);

            String query = "SELECT Nachname FROM kunden WHERE Sozialversicherungsnummer=" + SVN;
            PreparedStatement stmnt = connection.prepareStatement(query);
            ResultSet resultSet = stmnt.executeQuery();
            
            if (resultSet.next()) {
                return resultSet.getString(1);
            } 
            
        } 
        catch (SQLException ex) {
            Logger.getLogger(KuranstaltWS.class.getName()).log(Level.SEVERE, null, ex);
        }
         return "Error!";     
    }
}

Hier als Bild:

Und hier das Bild zu SOAP UI, als ich getestet habe (Rückgabe: “Error!”):

Im Moment weiß ich nicht weiter… Vllt kann mir wer helfen! DANKE!

Lg

Schaue Deinen Code an. In welchen Fällen würde dieser bis return “Error” kommen? Kann man erkennen, welcher dieser Fälle aufgetreten ist? Wenn ja, woran? Wo kannst du noch nachschauen, außer in den Webservice-Response ganz am Ende der Kette?

Allgemeiner Tipp: Führe Tests durchgängig mit gleichen Parametern aus. Wenn Du in Deinem Teiltest (hier der Teil ohne Webservice mit main-Methode) andere Parameter verwendest, als im Gesamttest, hast Du keine Vergleichbarkeit und wieder Unsicherheiten hinsichtlich Interpretation der Ergebnisse.

P.S. Hier Randthema und wahrscheinlich nicht Fehlerursache, aber PreparedStatements baut man gerade NICHT mit fest belegten Parametern zusammen. Dort, wo der Parameter hin soll, schreibt man ein ? und nutzt dann die Methoden der Klasse PreparedStatement, um ihn dynamisch zu setzen.

edit:

sogar exakt gleicher Code, Parameter des WebService erstmal ignorieren, die Nummer direkt im Programm vorgeben


ansonsten langes Posting zu allgemeines:

versuche dich nochmal am Log,

schreibe dabei zu Beginn der Web-Methode
System.out.pintln("Web ist gar nicht so leicht.);
kannst du dies mit Textsuche in der Textdatei finden?
und kommt danach wichtiges?

ansonsten besteht auch die Möglichkeit, alles mögliche in einer eigenen Textdatei abzuspeichern,
BufferedWriter usw., erstmal wieder separat in einem main-Programm zu prüfen,
(gar nicht gesehen: Logger-Klasse ist ja entsprechendes, aber wer sagt dass es funktioniert? selbst wenn in main-Programm, dann in WebService-Kontext vielleicht ganz anders)

gewitzt wäre auch, das Log als gesammelten String im Objekt oder statisch zu speichern und in einer zweiten WebService-Methode abzufragen,
weiß nicht ob bei WebService Zustand gemerkt wird, und vielleicht auch unnötig kompliziert
(obwohl es mit Handling von String eine je nach Sichtweise bessere Grundlagen-Übung für WebService als DB-Abfrage wäre)

edit:
noch sehr passend und einfacher ist natürlich, gesammelte String-Info als Rückgabewert dieser Methode zu geben,
habe bisher gar nicht gesehen dass “Error!” eine selbstgewählte Rückgabe ist,
wenn das also funktioniert dann kann man zu dieser Stelle ja auch Infos sammeln und sie zurückgeben


ob mit Log oder Datei oder sonstwie, unabhängig davon gilt wiederum, klein anzufangen, Schritt für Schritt voran und dabei die Kontrolle behalten

Programm 1:

{
    // irgendeine Art Log 'jetzt gehts los'
    String erg = "dummy";
    // irgendeine Art Log 'erg ist: '+dummy
    return erg;
}

unerläßliche Ziele:

  • Ausgaben im Log wiederfinden, ob WebService-Log, eigene Datei, String der im Programm später abgefragt wird, was auch immer
  • Rückgabewert muss natürlich stimmen

wenn gar nichts funktioniert, kein Log-Eintrag, die Methode svn() vielleicht gar nicht gestartet wird, dann wirkliches Problem, aber nach #6 sollte es ja grundsätzlich klappen,
anderes nicht zu betrachten (da fiele mir auch nicht viel ein :wink: )

Programm 2: den Parameter zurückgeben ist eine gute Übung

Programm 3:

{
    // irgendeine Art Log 'jetzt gehts los'
    String erg = "dummy";
    try {
       Object o = null;
        o.toString();
    } catch (Exception e) {
        // irgendeine Art Log der Exception, idealerweise StackTrace, 
        // irgendwas einfaches 'Fehler tratt auf' auch guter Anfang, aber dann auszubauen
    }
    // irgendeine Art Log 'erg ist: '+dummy
    return erg;
}

unerläßliche Ziele:

  • hier eine erzwungene einfache Exception, dazu MUSS es eine Log-Meldung geben, möglichst einfach programmiert, so dass nicht im catch selber Exception auftritt,
  • restliches Log muss auch da sein

soweit ein paar Schritte zum Vorgehen in fast jeder Art Umgebung zu fast jeder Art Problem,
das A und O und 24 andere Buchstaben von allem ist die Kontrolle durch Überprüfung zu haben, einfache Log-Ausgaben und dann auch Exceptions bemerken können,

wenn du dich für irgendeine Art von Log entschieden hast und dies auch funktioniert, kann man danach weiter machen, falls sich dann nicht eh schon alles von selber ergibt

Klugsch… Na gut, dann eben direkt die Lösung hingeschrieben: In den Screenshots sieht man, dass beim main-Test nach der Id 123… gesucht wird. Der Webservice-Aufruf verwendet aber 1156… Damit liegt die Vermutung nahe, dass beim WS-Aufruf kein Datensatz gefunden wurde. Damit wird if(resultSet.next()) false sein und es wird Error zurück gegeben. Mit meinem länglichen Post wollte ich auf die Verifikation dieser Vermutung hinführen. Und zu der Erkennnis, dass möglcherweise der Abfragecode eben nicht so glücklich ist, wenn man nicht unterscheiden kann zwischen “nicht gefunden” und echten per Exception gemeldeten Fehlerzuständen.

Error kann nur kommen, wenn das resultSet LEER ist oder eine Exception flog…stellt sich die Frage, was genau SVN ist?

Und lerne, mit den Logfiles umzugehen.

Ich habe die richtige Sozialversicherungsnummer im SOAP UI eingegeben und erhalte “Error!”. Ich verstehs leider nicht warum er nicht die eingegebene Nummer übernimmt und daher anscheinend keinen Datensatz findet :frowning:
@Bleiglanz
SVN ist ein Integer, den ich im SOAP UI zum Testen eingebe und stimmt bzw. es einen dazugehörigen Nachnamen gibt.

Ich habe jetzt ex.printStackTrace(); eingebaut, ICH kann aber im LOG immer noch nichts erkennen. Dafür bin ich einfach zu unerfahren. Vielleicht ihr?

12-Dec-2014 00:44:50.116 INFO [main] org.apache.catalina.core.AprLifecycleListener.init The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_20\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Smart Projects\IsoBuster;.
12-Dec-2014 00:44:50.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
12-Dec-2014 00:44:50.663 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Dec-2014 00:44:50.678 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“ajp-nio-8009”]
12-Dec-2014 00:44:50.678 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Dec-2014 00:44:50.678 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1020 ms
12-Dec-2014 00:44:50.725 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
12-Dec-2014 00:44:50.725 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.9
12-Dec-2014 00:44:50.741 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
12-Dec-2014 00:44:50.819 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 00:44:56.991 INFO [localhost-startStop-1] null.null WSSERVLET12: JAX-WS context listener initializing
12-Dec-2014 00:45:03.663 INFO [localhost-startStop-1] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:45:04.179 INFO [localhost-startStop-1] null.null WSSERVLET14: JAX-WS servlet initializing
12-Dec-2014 00:45:04.288 INFO [localhost-startStop-1] com.sun.faces.config.ConfigureListener.contextInitialized Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
12-Dec-2014 00:45:04.523 INFO [localhost-startStop-1] com.sun.faces.spi.InjectionProviderFactory.createInstance JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
12-Dec-2014 00:45:05.835 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 15,094 ms
12-Dec-2014 00:45:05.835 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kur_WebService.xml
12-Dec-2014 00:45:05.851 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 00:45:05.851 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kur_WebService]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1686)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@151050ee]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4863)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4992)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
… 10 more
Caused by: java.lang.IllegalArgumentException: The main resource set specified [C:\Users\Mario\Documents\NetBeansProjects\Kur_WebService\build\web] is not valid
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:643)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
… 13 more

12-Dec-2014 00:45:05.867 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kur_WebService.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kur_WebService]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:727)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1686)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

12-Dec-2014 00:45:05.867 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kur_WebService.xml has finished in 32 ms
12-Dec-2014 00:45:05.945 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Web-Service.xml
12-Dec-2014 00:45:05.945 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 00:45:10.757 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
12-Dec-2014 00:45:10.773 INFO [localhost-startStop-1] com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized WSSERVLET12: JAX-WS context listener initializing
12-Dec-2014 00:45:15.586 INFO [localhost-startStop-1] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Web-Service-Webservice-WebservicePort
12-Dec-2014 00:45:16.133 INFO [localhost-startStop-1] null.null WSSERVLET14: JAX-WS servlet initializing
12-Dec-2014 00:45:16.148 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Web-Service.xml has finished in 10,203 ms
12-Dec-2014 00:45:16.148 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\docs
12-Dec-2014 00:45:16.398 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
12-Dec-2014 00:45:16.398 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\docs has finished in 250 ms
12-Dec-2014 00:45:16.398 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\examples
12-Dec-2014 00:45:17.539 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\examples has finished in 1,141 ms
12-Dec-2014 00:45:17.539 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\host-manager
12-Dec-2014 00:45:17.914 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
12-Dec-2014 00:45:17.914 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\host-manager has finished in 375 ms
12-Dec-2014 00:45:17.914 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\manager
12-Dec-2014 00:45:18.414 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
12-Dec-2014 00:45:18.414 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\manager has finished in 500 ms
12-Dec-2014 00:45:18.414 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\ROOT
12-Dec-2014 00:45:18.680 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
12-Dec-2014 00:45:18.680 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Apache Software Foundation\Apache Tomcat 8.0.9\webapps\ROOT has finished in 266 ms
12-Dec-2014 00:45:18.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
12-Dec-2014 00:45:18.695 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-8009”]
12-Dec-2014 00:45:18.711 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 28031 ms
12-Dec-2014 00:45:20.227 INFO [http-nio-8080-exec-5] com.sun.xml.ws.transport.http.servlet.WSServletDelegate.destroy WSSERVLET15: JAX-WS servlet destroyed
12-Dec-2014 00:45:20.227 INFO [http-nio-8080-exec-5] com.sun.xml.ws.server.MonitorBase.closeMOM Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:45:20.227 INFO [http-nio-8080-exec-5] com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextDestroyed WSSERVLET13: JAX-WS context listener destroyed
12-Dec-2014 00:45:20.242 SEVERE [http-nio-8080-exec-5] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@4d942520]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 00:45:20.242 SEVERE [http-nio-8080-exec-5] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@7063f3f2]) and a value of type [java.util.WeakHashMap] (value [{class com.sun.xml.ws.runtime.config.TubeFactoryList=java.lang.ref.WeakReference@20277d78, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@3d23f37e, class com.sun.xml.ws.runtime.config.Tubelines=java.lang.ref.WeakReference@51726cdf, class com.sun.xml.ws.runtime.config.MetroConfig=java.lang.ref.WeakReference@3e61e960, class java.util.ArrayList=java.lang.ref.WeakReference@25b69f69, class com.sun.xml.ws.runtime.config.TubelineDefinition=java.lang.ref.WeakReference@72c20a2, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@457aa00c, class com.sun.xml.ws.runtime.config.TubeFactoryConfig=java.lang.ref.WeakReference@74616b2a}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 00:45:20.242 SEVERE [http-nio-8080-exec-5] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@65bdff18]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3f2fa3d]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 00:45:20.242 SEVERE [http-nio-8080-exec-5] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@4d942520]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 00:45:21.164 INFO [http-nio-8080-exec-5] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
12-Dec-2014 00:45:21.227 INFO [http-nio-8080-exec-2] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
12-Dec-2014 00:45:21.242 WARNING [http-nio-8080-exec-2] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 00:45:26.008 INFO [http-nio-8080-exec-2] null.null WSSERVLET12: JAX-WS context listener initializing
12-Dec-2014 00:45:30.337 INFO [http-nio-8080-exec-2] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:45:30.790 INFO [http-nio-8080-exec-2] null.null WSSERVLET14: JAX-WS servlet initializing
12-Dec-2014 00:45:30.915 INFO [http-nio-8080-exec-2] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
12-Dec-2014 00:45:31.102 INFO [http-nio-8080-exec-2] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
12-Dec-2014 00:45:32.118 INFO [http-nio-8080-exec-2] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 10,891 ms
12-Dec-2014 00:45:32.134 INFO [http-nio-8080-exec-9] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
12-Dec-2014 00:46:25.530 INFO [http-nio-8080-exec-18] null.null WSSERVLET15: JAX-WS servlet destroyed
12-Dec-2014 00:46:25.530 INFO [http-nio-8080-exec-18] null.null Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:46:25.530 INFO [http-nio-8080-exec-18] null.null WSSERVLET13: JAX-WS context listener destroyed
12-Dec-2014 00:46:25.530 SEVERE [http-nio-8080-exec-18] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@451176db]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 00:46:26.452 INFO [http-nio-8080-exec-18] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
12-Dec-2014 00:46:26.499 INFO [http-nio-8080-exec-12] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
12-Dec-2014 00:46:26.514 WARNING [http-nio-8080-exec-12] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 00:46:30.390 INFO [http-nio-8080-exec-12] null.null WSSERVLET12: JAX-WS context listener initializing
12-Dec-2014 00:46:34.843 INFO [http-nio-8080-exec-12] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:46:35.265 INFO [http-nio-8080-exec-12] null.null WSSERVLET14: JAX-WS servlet initializing
12-Dec-2014 00:46:35.390 INFO [http-nio-8080-exec-12] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
12-Dec-2014 00:46:35.593 INFO [http-nio-8080-exec-12] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
12-Dec-2014 00:46:36.531 INFO [http-nio-8080-exec-12] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 10,032 ms
12-Dec-2014 00:46:36.546 INFO [http-nio-8080-exec-19] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
12-Dec-2014 00:47:57.399 INFO [http-nio-8080-exec-24] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kur_WebService]
12-Dec-2014 00:48:07.599 INFO [http-nio-8080-exec-29] null.null WSSERVLET15: JAX-WS servlet destroyed
12-Dec-2014 00:48:07.599 INFO [http-nio-8080-exec-29] com.sun.xml.ws.server.MonitorBase.closeMOM Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:48:07.599 INFO [http-nio-8080-exec-29] null.null WSSERVLET13: JAX-WS context listener destroyed
12-Dec-2014 00:48:07.599 SEVERE [http-nio-8080-exec-29] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@219f8ed1]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 00:48:08.521 INFO [http-nio-8080-exec-29] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
12-Dec-2014 00:48:08.568 INFO [http-nio-8080-exec-28] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
12-Dec-2014 00:48:08.583 WARNING [http-nio-8080-exec-28] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 00:48:12.318 INFO [http-nio-8080-exec-28] null.null WSSERVLET12: JAX-WS context listener initializing
12-Dec-2014 00:48:16.927 INFO [http-nio-8080-exec-28] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 00:48:17.365 INFO [http-nio-8080-exec-28] null.null WSSERVLET14: JAX-WS servlet initializing
12-Dec-2014 00:48:17.474 INFO [http-nio-8080-exec-28] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
12-Dec-2014 00:48:17.724 INFO [http-nio-8080-exec-28] null.null JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
12-Dec-2014 00:48:18.771 INFO [http-nio-8080-exec-28] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 10,203 ms
12-Dec-2014 00:48:18.787 INFO [http-nio-8080-exec-26] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.
12-Dec-2014 01:03:22.921 INFO [http-nio-8080-exec-30] com.sun.xml.ws.transport.http.servlet.WSServletDelegate.destroy WSSERVLET15: JAX-WS servlet destroyed
12-Dec-2014 01:03:22.921 INFO [http-nio-8080-exec-30] com.sun.xml.ws.server.MonitorBase.closeMOM Closing Metro monitoring root: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 01:03:22.921 INFO [http-nio-8080-exec-30] null.null WSSERVLET13: JAX-WS context listener destroyed
12-Dec-2014 01:03:22.937 SEVERE [http-nio-8080-exec-30] org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks The web application [/Kuranstaltwebapp] created a ThreadLocal with key of type [org.glassfish.gmbal.generic.OperationTracer$1] (value [org.glassfish.gmbal.generic.OperationTracer$1@39aca697]) and a value of type [java.util.ArrayList] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
12-Dec-2014 01:03:23.843 INFO [http-nio-8080-exec-30] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/Kuranstaltwebapp]
12-Dec-2014 01:03:23.890 INFO [http-nio-8080-exec-35] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml
12-Dec-2014 01:03:23.890 WARNING [http-nio-8080-exec-35] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property ‘antiJARLocking’ to ‘true’ did not find a matching property.
12-Dec-2014 01:03:27.359 INFO [http-nio-8080-exec-35] com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized WSSERVLET12: JAX-WS context listener initializing
12-Dec-2014 01:03:32.437 INFO [http-nio-8080-exec-35] null.null Metro monitoring rootname successfully set to: com.sun.metro:pp=/,type=WSEndpoint,name=/Kuranstaltwebapp-KuranstaltWSService-KuranstaltWSPort
12-Dec-2014 01:03:32.906 INFO [http-nio-8080-exec-35] null.null WSSERVLET14: JAX-WS servlet initializing
12-Dec-2014 01:03:33.031 INFO [http-nio-8080-exec-35] null.null Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) für Kontext ‘/Kuranstaltwebapp’ wird initialisiert.
12-Dec-2014 01:03:33.296 INFO [http-nio-8080-exec-35] com.sun.faces.spi.InjectionProviderFactory.createInstance JSF1048: PostConstruct/PreDestroy-Annotationen vorhanden. Verwaltete Bean-Methoden, die mit diesen Annotationen markiert sind, lassen die entsprechenden Annotationen verarbeiten.
12-Dec-2014 01:03:34.359 INFO [http-nio-8080-exec-35] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor C:\Apache Software Foundation\Apache Tomcat 8.0.9\conf\Catalina\localhost\Kuranstaltwebapp.xml has finished in 10,469 ms
12-Dec-2014 01:03:34.375 INFO [http-nio-8080-exec-33] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Kuranstaltwebapp]] after start() had already been called. The second call will be ignored.