I am trying automation of mobile app testing using Selenium.
i used eclipse indigo with plugins.
So far i tried using the but i get error message.
D:\Android\Android>java -jar selendroid.jar -app app.apk
Sep 24, 2015 3:50:58 PM io.selendroid.standalone.SelendroidLauncher main
INFO: ################# Selendroid #################
Sep 24, 2015 3:50:58 PM io.selendroid.standalone.SelendroidLauncher main
INFO: ################# Configuration in use #################
Sep 24, 2015 3:50:58 PM io.selendroid.standalone.SelendroidLauncher main
INFO: io.selendroid.standalone.SelendroidConfiguration#1270107[
port=4444
timeoutEmulatorStart=300000
supportedApps=[app.apk]
verbose=false
emulatorPort=5560
deviceScreenshot=false
selendroidServerPort=8080
keystore=<null>
keystorePassword=<null>
keystoreAlias=<null>
emulatorOptions=<null>
keepEmulator=false
registrationUrl=<null>
proxy=<null>
serverHost=<null>
keepAdbAlive=false
maxSession=5
maxInstances=5
registerCycle=0
noWebViewApp=false
noClearData=false
sessionTimeoutSeconds=1800
forceReinstall=false
logLevel=ERROR
deviceLog=true
serverStartTimeout=20000
printHelp=false
serverStartRetries=5
folder=<null>
deleteTmpFiles=true
]
Sep 24, 2015 3:50:58 PM io.selendroid.standalone.SelendroidLauncher launchServer
INFO: Starting Selendroid standalone on port 4444
Sep 24, 2015 3:50:58 PM io.selendroid.standalone.SelendroidLauncher launchServer
SEVERE: Error building server: Environment variable 'ANDROID_HOME' was not found
!
Exception in thread "main" io.selendroid.server.common.exceptions.SelendroidExce
ption: Environment variable 'ANDROID_HOME' was not found!
at io.selendroid.standalone.android.AndroidSdk.androidHome(AndroidSdk.ja
va:98)
at io.selendroid.standalone.android.AndroidSdk.platformToolsHome(Android
Sdk.java:87)
at io.selendroid.standalone.android.AndroidSdk.aapt(AndroidSdk.java:39)
at io.selendroid.standalone.android.impl.DefaultAndroidApp.deleteFileFro
mWithinApk(DefaultAndroidApp.java:107)
at io.selendroid.standalone.builder.SelendroidServerBuilder.deleteFileFr
omAppSilently(SelendroidServerBuilder.java:133)
at io.selendroid.standalone.builder.SelendroidServerBuilder.resignApp(Se
lendroidServerBuilder.java:142)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.addT
oAppsStore(SelendroidStandaloneDriver.java:121)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.init
ApplicationsUnderTest(SelendroidStandaloneDriver.java:155)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.<ini
t>(SelendroidStandaloneDriver.java:94)
at io.selendroid.standalone.server.SelendroidStandaloneServer.initialize
SelendroidServer(SelendroidStandaloneServer.java:63)
at io.selendroid.standalone.server.SelendroidStandaloneServer.<init>(Sel
endroidStandaloneServer.java:52)
at io.selendroid.standalone.SelendroidLauncher.launchServer(SelendroidLa
uncher.java:65)
at io.selendroid.standalone.SelendroidLauncher.main(SelendroidLauncher.j
ava:117)
D:\Android\Android>set ANDROID_HOME=D:\Android\Android\sdk
D:\Android\Android>java -jar selendroid.jar -app app.apk
Sep 24, 2015 3:52:18 PM io.selendroid.standalone.SelendroidLauncher main
INFO: ################# Selendroid #################
Sep 24, 2015 3:52:18 PM io.selendroid.standalone.SelendroidLauncher main
INFO: ################# Configuration in use #################
Sep 24, 2015 3:52:18 PM io.selendroid.standalone.SelendroidLauncher main
INFO: io.selendroid.standalone.SelendroidConfiguration#1270107[
port=4444
timeoutEmulatorStart=300000
supportedApps=[app.apk]
verbose=false
emulatorPort=5560
deviceScreenshot=false
selendroidServerPort=8080
keystore=<null>
keystorePassword=<null>
keystoreAlias=<null>
emulatorOptions=<null>
keepEmulator=false
registrationUrl=<null>
proxy=<null>
serverHost=<null>
keepAdbAlive=false
maxSession=5
maxInstances=5
registerCycle=0
noWebViewApp=false
noClearData=false
sessionTimeoutSeconds=1800
forceReinstall=false
logLevel=ERROR
deviceLog=true
serverStartTimeout=20000
printHelp=false
serverStartRetries=5
folder=<null>
deleteTmpFiles=true
]
Sep 24, 2015 3:52:18 PM io.selendroid.standalone.SelendroidLauncher launchServer
INFO: Starting Selendroid standalone on port 4444
Sep 24, 2015 3:52:18 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/MANIFEST.MF
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/CERT.RSA
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/CERT.SF
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/ANDROIDD.SF
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/ANDROIDD.RSA
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/NDKEYSTO.SF
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: D:\Android\Android\sdk\platform-tools\aapt.exe re
move D:\Android\Android\app.apk META-INF/NDKEYSTO.RSA
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.io.ShellCommand exec
INFO: Executing shell command: C:\Program Files\Java\jdk1.7.0_71\jre\bin\jarsign
er.exe -sigalg MD5withRSA -digestalg SHA1 -signedjar D:\Android\Android\resigned
-app.apk -storepass android -keystore C:\Users\Soma0013\.android\debug.keystore
D:\Android\Android\app.apk androiddebugkey
Sep 24, 2015 3:52:19 PM io.selendroid.standalone.SelendroidLauncher launchServer
SEVERE: Error building server: An error occurred while resigning the app 'app.ap
k'.
Exception in thread "main" io.selendroid.server.common.exceptions.SessionNotCrea
tedException: An error occurred while resigning the app 'app.apk'.
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.addT
oAppsStore(SelendroidStandaloneDriver.java:123)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.init
ApplicationsUnderTest(SelendroidStandaloneDriver.java:155)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.<ini
t>(SelendroidStandaloneDriver.java:94)
at io.selendroid.standalone.server.SelendroidStandaloneServer.initialize
SelendroidServer(SelendroidStandaloneServer.java:63)
at io.selendroid.standalone.server.SelendroidStandaloneServer.<init>(Sel
endroidStandaloneServer.java:52)
at io.selendroid.standalone.SelendroidLauncher.launchServer(SelendroidLa
uncher.java:65)
at io.selendroid.standalone.SelendroidLauncher.main(SelendroidLauncher.j
ava:117)
Caused by: io.selendroid.standalone.exceptions.ShellCommandException: Error exec
uting shell command: C:\Program Files\Java\jdk1.7.0_71\jre\bin\jarsigner.exe -si
galg MD5withRSA -digestalg SHA1 -signedjar D:\Android\Android\resigned-app.apk -
storepass android -keystore C:\Users\Soma0013\.android\debug.keystore D:\Android
\Android\app.apk androiddebugkey
at io.selendroid.standalone.io.ShellCommand.exec(ShellCommand.java:53)
at io.selendroid.standalone.builder.SelendroidServerBuilder.signTestServ
er(SelendroidServerBuilder.java:296)
at io.selendroid.standalone.builder.SelendroidServerBuilder.resignApp(Se
lendroidServerBuilder.java:154)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.addT
oAppsStore(SelendroidStandaloneDriver.java:121)
... 6 more
Caused by: io.selendroid.standalone.exceptions.ShellCommandException:
... 10 more
D:\Android\Android>
is there any documentation to refer the selendroid testing
is there any documentation to refer the selendroid testing
Yes. See this page.
Related
So, I'm pretty much just starting with servlets, jsp and apache tomcat inside eclipse.
I'm doing a project, which was already working, and I accidentally opened a HTML form (which send data to a java method with post) with the web editor inside of eclipse (which does not support the slovenian letters ščćžđ, and the encoding got messed up.
Upon opening back in the default editor and fixing the messed encoding, the file could not be saved. It gave me a popup about ISO encoding and how it needs to be as UTF8 so I just clicked yes and then apache would load not just the forms and methods, it wouldn't even open the whole website (index, etc..)..
When I tried some other fix I found on the web, it gave me 404, 500, and a bunch of other errora..Heck now it won't even run (I located the problem inside the web.xml file --when its commented out, the server runs but off course nothing runs..)..
Here is the error message:
apr. 09, 2017 5:19:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Naloga1spletnaTRGbootstrap' did not find a matching property.
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/8.5.13
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Mar 27 2017 14:25:04 UTC
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 8.5.13.0
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 10
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 10.0
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home: C:\Program Files\Java\jre1.8.0_121
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.8.0_121-b13
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\Eclipse2_delovno_okolje\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\apache-tomcat-8.5.13
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\Eclipse2_delovno_okolje\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\apache-tomcat-8.5.13
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\Eclipse2_delovno_okolje\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\apache-tomcat-8.5.13\endorsed
apr. 09, 2017 5:19:21 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1250
apr. 09, 2017 5:19:21 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: 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\jre1.8.0_121\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Skype\Phone\;C:\Users\Denis Bobovnik\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Java\jdk1.8.0_111\bin\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Denis Bobovnik\AppData\Local\atom\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Denis Bobovnik\Desktop\FERI\1. letnik\2. Semester\OST - Osnove Spletnih Tehnologij\eclipse;;.
apr. 09, 2017 5:19:21 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
apr. 09, 2017 5:19:22 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
apr. 09, 2017 5:19:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
apr. 09, 2017 5:19:22 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
apr. 09, 2017 5:19:22 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 987 ms
apr. 09, 2017 5:19:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
apr. 09, 2017 5:19:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.13
apr. 09, 2017 5:19:22 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Naloga1spletnaTRGbootstrap]]
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Naloga1spletnaTRGbootstrap]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
... 6 more
Caused by: java.lang.IllegalArgumentException: The servlets named [SejnoUgibanje] and [si.um.feri.ost.bobovnik.seje.SejnoUgibanje] are both mapped to the url-pattern [/SejnoUgibanje] which is not permitted
at org.apache.tomcat.util.descriptor.web.WebXml.addServletMappingDecoded(WebXml.java:323)
at org.apache.tomcat.util.descriptor.web.WebXml.addServletMapping(WebXml.java:316)
at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2389)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2066)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1952)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1946)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1946)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1946)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1946)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1946)
at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1946)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1153)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:775)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5105)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
apr. 09, 2017 5:19:22 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more
apr. 09, 2017 5:19:22 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:947)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
apr. 09, 2017 5:19:22 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-8080"]
apr. 09, 2017 5:19:22 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-nio-8009"]
apr. 09, 2017 5:19:22 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
apr. 09, 2017 5:19:22 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8080"]
apr. 09, 2017 5:19:22 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
And the XML:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<servlet>
<servlet-name>GetKalkulator</servlet-name>
<servlet-class>si.um.feri.ost.bobovnik.zahteve/GetKalkulator</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GetKalkulator</servlet-name>
<url-pattern>/GetKalkulator</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>GetZahteva</servlet-name>
<servlet-class>si.um.feri.ost.bobovnik.zahteve/GetZahteva</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>GetZahteva</servlet-name>
<url-pattern>/GetZahteva</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>PostKalkulator</servlet-name>
<servlet-class>si.um.feri.ost.bobovnik.zahteve/PostKalkulator</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PostKalkulator</servlet-name>
<url-pattern>/PostKalkulator</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>SejnoUgibanje</servlet-name>
<servlet-class>si.um.feri.ost.bobovnik.seje/SejnoUgibanje</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SejnoUgibanje</servlet-name>
<url-pattern>/SejnoUgibanje</url-pattern>
</servlet-mapping>
</web-app>
I have a x86_64 m/c and i successfully installed Sles12 and RHEL7 guests on this m/c. But while creating a ubuntu guest (64 bit), this is failing.
virt-install --name=ubuntu1 --virt-type=kvm --boot cdrom,hd --network=default,model=virtio --disk /dev/dm-13,size=300,format=raw,bus=virtio,cache=none,sparse=true --memory=8192 --vcpu=2 --location=/home/suse/ubuntu-16.04-server-amd64.iso --console pty,target_type=serial --graphics none --extra-args 'console=ttyS0,115200n8 serial'
Starting install...
Retrieving file info... | 134 B 00:00:00
Retrieving file version.info... |116 B 00:00:00
ERROR Couldn't find hvm kernel for Ubuntu tree.
lsmod|grep kvm
kvm_intel 162153 8
kvm 525259 1 kvm_intel
While running with debug, this is expecting i386 ?
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:1169) Regex didn't match, not a ALT Linux distro
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:196) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.VxW9Li/current/images/MANIFEST
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:101) Fetching URI: /var/lib/libvirt/boot/virtinstmnt.VxW9Li/install/netboot/version.info
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:112) Saved file to /var/lib/libvirt/boot/virtinst-version.info.C0NcW7
Retrieving file version.info... |116 B 00:00:00
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:446) Detected distro name=Ubuntu osvariant=linux
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:196) local hasFile: Couldn't find /var/lib/libvirt/boot/virtinstmnt.VxW9Li/install/netboot/ubuntu-installer/i386/linux
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (urlfetcher:243) Cleaning up mount at /var/lib/libvirt/boot/virtinstmnt.VxW9Li
[Wed, 28 Dec 2016 11:57:45 virt-install 17391] DEBUG (cli:295) File "/usr/share/virt-manager/virt-install", line 1084, in <module>
sys.exit(main())
File "/usr/share/virt-manager/virt-install", line 1078, in main
start_install(guest, continue_inst, options)
Can someone pls suggest?
From debug, it can be see it is indeed looking for i386, which is "default arch".
Exact same problem has been tackled in askubuntu q/a and has been patched to detect architecture from ISO name correctly.
Virt-manager with the patch does not have official release, so one would need to run virt-manager from sources or tinker with existing installation by changing and compiling /usr/share/virt-manager/virtinst/urlfetcher.py file.
I need locally on windows 7 machine to start tomcat's example applications on port 80 like this: http://localhost:80/examples/ .
I m following this great and simple tutorial
and it works great when trying any of the tutorial's results:
http://localhost:7000/examples/servlets ,Try Tomcat's servlet examples via Apache
http://localhost:7000/examples/jsp ,Try Tomcat's JSP examples via Apache
http://localhost:7000/examples ,Try Tomcat's examples via Apache
http://localhost:8181/ws ,Access ws from Tomcat directly (ws is a dummy custom app)
http://localhost:7000/ws ,Access ws via Apache
When I change the httpd.conf file from:
Listen 127.0.0.1:7000 -----> 127.0.0.1:80
localhost:80 works --> apache main page
localhost/examples/ --->it just wont work!!(url not found)
For some reason when httpd is set to any other port that 80 it shall communicate with tomcat nicelly as the tutorial suggests, but when port is 80 it's like its refusing to contact with tomcat. Why is that ?
mod_jk.conf
LoadModule jk_module modules/mod_jk.so
JkWorkersFile C:\apache-tomcat-7.0.8\conf\workers.properties
JkLogFile C:\apache-tomcat-7.0.8\logs\mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /ws ajp13
JkMount /ws/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
server.xml
<Connector port="8181" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
httpd.conf
Listen localhost:80
include C:\apache-tomcat-7.0.8\conf\mod_jk.conf
error.log
[Tue Aug 26 22:26:01.599679 2014] [ssl:warn] [pid 1780:tid 548] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 26 22:26:04.984885 2014] [ssl:warn] [pid 1780:tid 548] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 26 22:26:05.000485 2014] [mpm_winnt:notice] [pid 1780:tid 548] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1h mod_jk/1.2.40 configured -- resuming normal operations
[Tue Aug 26 22:26:05.016085 2014] [mpm_winnt:notice] [pid 1780:tid 548] AH00456: Apache Haus VC9 Server built: Jul 15 2014 20:34:18
[Tue Aug 26 22:26:05.016085 2014] [core:notice] [pid 1780:tid 548] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Tue Aug 26 22:26:06.061287 2014] [mpm_winnt:notice] [pid 1780:tid 548] AH00418: Parent: Created child process 3480
[Tue Aug 26 22:26:09.025292 2014] [ssl:warn] [pid 3480:tid 496] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 26 22:26:09.540093 2014] [ssl:warn] [pid 3480:tid 496] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Aug 26 22:26:10.413694 2014] [mpm_winnt:notice] [pid 3480:tid 496] AH00354: Child: Starting 64 worker threads.
access.log
::1 - - [26/Aug/2014:22:58:27 +0300] "GET /examples HTTP/1.1" 404 206
127.0.0.1 - - [26/Aug/2014:23:14:43 +0300] "GET /examples HTTP/1.1" 404 206
mod_jk.log
Tue Aug 26 22:26:01 2014][1780:1784] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cachesize' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:01 2014][1780:1784] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cache_timeout' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:03 2014][1780:1784] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Tue Aug 26 22:26:04 2014][1780:1784] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cachesize' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:04 2014][1780:1784] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cache_timeout' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:05 2014][1780:1784] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Tue Aug 26 22:26:09 2014][3480:3484] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cachesize' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:09 2014][3480:3484] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cache_timeout' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:09 2014][3480:3484] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Tue Aug 26 22:26:09 2014][3480:3484] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cachesize' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:09 2014][3480:3484] [warn] jk_map_validate_property::jk_map.c (419): The attribute 'worker.ajp13.cache_timeout' is deprecated - please check the documentation for the correct replacement.
[Tue Aug 26 22:26:09 2014][3480:3484] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
catalina_t/t/t.log
Αυγ 26, 2014 10:35:44 ΜΜ org.apache.catalina.core.AprLifecycleListener init
INFO: 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.7.0_04\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Windows\System32;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\Windows Live\Shared;C:\ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\PostgreSQL\9.2\bin;C:\Program Files\PostgreSQL\9.2\lib;;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\Windows Live\Shared;C:\ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\PostgreSQL\9.2\bin;C:\Program Files\PostgreSQL\9.2\lib;;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\Windows Live\Shared;C:\ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\PostgreSQL\9.2\bin;C:\Program Files\PostgreSQL\9.2\lib;C:\Users\Papatheodorou\RailsInstaller\Git\cmd;C:\Users\Papatheodorou\RailsInstaller\Ruby1.9.3\bin;c:\jruby-1.7.10\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Java\jdk1.7.0_04\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;\;C:\Program Files (x86)\Sony\VAIO Startup Setting Tool;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Windows\System32;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\Windows Live\Shared;C:\ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\PostgreSQL\9.2\bin;C:\Program Files\PostgreSQL\9.2\lib;;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\Windows Live\Shared;C:\ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\PostgreSQL\9.2\bin;C:\Program Files\PostgreSQL\9.2\lib;;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;C:\Program Files (x86)\Windows Live\Shared;C:\ant\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\PostgreSQL\9.2\bin;C:\Program Files\PostgreSQL\9.2\lib;;C:\ant\bin;C:\maven\apache-maven-3.0.4\bin;.
Αυγ 26, 2014 10:35:45 ΜΜ org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8181"]
Αυγ 26, 2014 10:35:45 ΜΜ org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Αυγ 26, 2014 10:35:45 ΜΜ org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2670 ms
Αυγ 26, 2014 10:35:46 ΜΜ org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Αυγ 26, 2014 10:35:46 ΜΜ org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.8
Αυγ 26, 2014 10:35:46 ΜΜ org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ch08download.xml from C:\apache-tomcat-7.0.8\conf\Catalina\localhost
Αυγ 26, 2014 10:35:46 ΜΜ org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Αυγ 26, 2014 10:35:47 ΜΜ org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Αυγ 26, 2014 10:35:47 ΜΜ org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Αυγ 26, 2014 10:35:47 ΜΜ org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Αυγ 26, 2014 10:35:47 ΜΜ org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Αυγ 26, 2014 10:35:48 ΜΜ org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory temp
Αυγ 26, 2014 10:35:48 ΜΜ org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-8181"]
Αυγ 26, 2014 10:35:48 ΜΜ org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Αυγ 26, 2014 10:35:48 ΜΜ org.apache.catalina.startup.Catalina start
INFO: Server startup in 2265 ms
The problem was with the apache distribution which I had downloaded from : http://www.apachehaus.com/cgi-bin/download.plx . The version was Apache 2.4.10 . I installed everything from the official site of appache and everything worked like a charm :)
I'm trying to configure tomcat 7 with intellij 12 but with no success.
If I run the catalina.sh startup script from command line, tomcat starts properly and I can see tomcat homepage.
If I run tomcat from Intellij, I get the following stacktrace (from intellijs log-file):
2013-03-20 21:11:48,631 [1065007] DEBUG - .util.AbstractConnectorCommand -
javax.management.InstanceNotFoundException: Catalina:type=Server at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:668)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1442)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:75)
..............
Looks like it cannot find any instance of tomcat.
I do not get any errors in the output log in intellij, and no errors when configuring tomcat in intellij.
Output-log:
/Library/Tomcat/bin/catalina.sh run
Mar 20, 2013 9:11:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: /Users/rana/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
Mar 20, 2013 9:11:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 20, 2013 9:11:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 20, 2013 9:11:48 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 482 ms
Mar 20, 2013 9:11:48 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Mar 20, 2013 9:11:48 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.37
Mar 20, 2013 9:11:48 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 20, 2013 9:11:48 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 20, 2013 9:11:48 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 37 ms
Connected to server
Mar 20, 2013 9:11:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /usr/local/apache-tomcat-7.0.37/webapps/manager
Does anyone know why this is happening?
I am trying to deploy RESTful webservice on Apache Tomcat build using Apache Wink in ECLIPSE IDE. I am getting below error while trying to run my app on server:
Feb 02, 2013 8:47:04 PM org.apache.catalina.core.AprLifecycleListener init
INFO: 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\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\php\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\sw\Java\apache-maven-2.2.1-bin\apache-maven-2.2.1\bin;D:\PR\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin;C:\cTAKES-2.5.0;C:\cTAKES-2.5.0\bin;C:\Program Files\Java\jdk1.7.0_02\bin;C:\Downloads\Apache-Subversion-1.7.6\bin;UIMA_HOME\bin;D:\sw\Apache AXIS and JavaBeans Activation framework\axis-src-1_4\axis-1_4\lib\commons-logging-1.0.4.jar;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\IDM Computer Solutions\UltraEdit\;D:\sw\eclipse-jee-indigo-SR2-win32\eclipse;;.
Feb 02, 2013 8:47:04 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Books' did not find a matching property.
Feb 02, 2013 8:47:04 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Feb 02, 2013 8:47:05 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Feb 02, 2013 8:47:05 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 804 ms
Feb 02, 2013 8:47:05 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 02, 2013 8:47:05 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.22
Feb 02, 2013 8:47:05 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 02, 2013 8:47:05 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Feb 02, 2013 8:47:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 458 ms
148 [http-bio-8080-exec-3] INFO org.apache.wink.common.internal.application.ApplicationFileLoader - Loading application from META-INF/core/wink-providers.
471 [http-bio-8080-exec-3] INFO org.apache.wink.server.internal.servlet.RestServlet - Using application class com.ibm.devworks.ws.rest.books.BookWebApp named in init-param javax.ws.rs.Application
472 [http-bio-8080-exec-3] ERROR org.apache.wink.server.internal.servlet.RestServlet - com.ibm.devworks.ws.rest.books.BookWebApp
java.lang.ClassNotFoundException: com.ibm.devworks.ws.rest.books.BookWebApp
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.wink.server.internal.servlet.RestServlet.getApplication(RestServlet.java:163)
at org.apache.wink.server.internal.servlet.RestServlet.createRequestProcessor(RestServlet.java:113)
at org.apache.wink.server.internal.servlet.RestServlet.init(RestServlet.java:87)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:836)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Feb 02, 2013 8:47:06 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet restSdkService as unavailable
Feb 02, 2013 8:47:06 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet restSdkService
javax.servlet.UnavailableException: com.ibm.devworks.ws.rest.books.BookWebApp
at org.apache.wink.server.internal.servlet.RestServlet.init(RestServlet.java:97)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:836)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Where am I missing??
Thanks.
Regards,
Piyush