[Windows] Exception thrown when starting Simple Axis Server on Windows
----------------------------------------------------------------------

                 Key: ESBJAVA-508
                 URL: https://wso2.org/jira/browse/ESBJAVA-508
             Project: WSO2 ESB
          Issue Type: Bug
    Affects Versions: NIGHTLY
         Environment: Windows XP, Firefox 2.0.0.14, JDK1.5.0_14
            Reporter: Evanthika Amarasiri
            Assignee: Ruwan Linton
            Priority: Blocker


When starting the Simple Axis Server on Windows you get the following exception

****************************************************************************************************************************
"Starting Sample Axis2 Server ..."
Using AXIS2_HOME:        C:\ESB\WSO2ES~1.7-B\samples\AXIS2S~1\
Using JAVA_HOME:       C:\Program Files\Java\jdk1.5.0_14
--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.


WARNING - Unable to load the Wrapper's native library because none of the
          following files:
            wrapper-windows-x86-32.dll
            wrapper.dll
          could be located on the following java.library.path:
            C:\ESB\WSO2ES~1.7-B\webapp\WEB-INF\lib
          Please see the documentation for the wrapper.java.library.path
          configuration property.
          System signals will not be handled correctly.

[SimpleAxisServer] Using the Axis2 Repository : 
C:\ESB\WSO2ES~1.7-B\samples\AXIS2S~1\repository
[SimpleAxisServer] Using the Axis2 Configuration File : 
C:\ESB\WSO2ES~1.7-B\samples\AXIS2S~1\repository\conf\axis2.xml
2008-05-30 09:01:08,093 [-] [WrapperSimpleAppMain] ERROR HttpCoreNIOSSLSender 
Error opening Keystore : ../../webapp/WEB-INF/classes/conf/identity.jks
java.io.FileNotFoundException: ..\..\webapp\WEB-INF\classes\conf\identity.jks 
(The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at 
org.apache.synapse.transport.nhttp.HttpCoreNIOSSLSender.getSSLContext(HttpCoreNIOSSLSender.java:76)
        at 
org.apache.synapse.transport.nhttp.HttpCoreNIOSender.init(HttpCoreNIOSender.java:108)
        at 
org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationContextFactory.java:274)
        at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:205)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
        at 
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:91)
        at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
        at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)
        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.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
        at java.lang.Thread.run(Unknown Source)
2008-05-30 09:01:08,093 [-] [WrapperSimpleAppMain]  INFO HttpCoreNIOSender HTTP 
Sender starting
2008-05-30 09:01:08,140 [-] [WrapperSimpleAppMain]  INFO JMSSender JMS Sender 
started
2008-05-30 09:01:08,406 [-] [WrapperSimpleAppMain]  INFO MailTransportListener 
MAILTO Listener started
2008-05-30 09:01:08,406 [-] [WrapperSimpleAppMain]  WARN MailTransportListener 
Error configuring the Mail transport for Service : SimpleStockQuoteService :: 
Cannot find parameter : transport.mail.Address for service : 
SimpleStockQuoteServic
e
2008-05-30 09:01:08,406 [-] [WrapperSimpleAppMain]  WARN MailTransportListener 
Disabling the mailto transport for the service SimpleStockQuoteService, because 
it is not configured properly for the service
2008-05-30 09:01:08,406 [-] [WrapperSimpleAppMain] ERROR HttpCoreNIOSSLListener 
Error opening Key store : ../../webapp/WEB-INF/classes/conf/identity.jks
java.io.FileNotFoundException: ..\..\webapp\WEB-INF\classes\conf\identity.jks 
(The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at 
org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener.getSSLContext(HttpCoreNIOSSLListener.java:96)
        at 
org.apache.synapse.transport.nhttp.HttpCoreNIOListener.init(HttpCoreNIOListener.java:191)
        at 
org.apache.axis2.engine.ListenerManager.start(ListenerManager.java:125)
        at 
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:99)
        at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
        at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)
        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.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
        at java.lang.Thread.run(Unknown Source)
2008-05-30 09:01:08,421 [-] [WrapperSimpleAppMain]  INFO HttpCoreNIOListener 
HTTP Listener starting on port : 9000

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to