synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malith Dhanushka (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYNAPSE-857) Templates Sample is broken
Date Sat, 17 Mar 2012 17:57:37 GMT
Templates Sample is broken 
---------------------------

                 Key: SYNAPSE-857
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-857
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 2.1
         Environment: Linux
            Reporter: Malith Dhanushka
             Fix For: FUTURE


Getting following exception while running Sample-750.This happens because of improper paths
to resources in synapse samples.

2012-03-17 23:20:20,113 [-] [main]  WARN SynapseConfigUtils IO Error reading from URL /home/../synapse-2.1.0/repository/samples/resources/transform/transform.xsltjava.io.FileNotFoundException:
/home/../synapse-2.1.0/repository/samples/resources/transform/transform.xslt (No such file
or directory)
2012-03-17 23:20:20,118 [-] [main]  WARN SynapseConfigUtils Error connecting to URL : file:/home/../synapse-2.1.0/repository/samples/resources/transform/transform.xslt
java.io.FileNotFoundException: /home/../synapse-2.1.0/repository/samples/resources/transform/transform.xslt
(No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at java.io.FileInputStream.<init>(FileInputStream.java:79)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.apache.synapse.config.SynapseConfigUtils.getObject(SynapseConfigUtils.java:196)
	at org.apache.synapse.config.xml.EntryFactory.createEntry(EntryFactory.java:96)
	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineEntry(SynapseXMLConfigurationFactory.java:155)
	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:85)
	at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:161)
	at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:47)
	at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:91)
	at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:465)
	at org.apache.synapse.ServerManager.start(ServerManager.java:177)
	at org.apache.synapse.SynapseServer.main(SynapseServer.java:68)
2012-03-17 23:20:20,119 [-] [main]  WARN SynapseXMLConfigurationFactory Local entry configuration:
xslt-key-req cannot be built - Continue in fail-safe mode
org.apache.synapse.SynapseException: Error connecting to URL : file:/home/../synapse-2.1.0/repository/samples/resources/transform/transform.xslt
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:340)
	at org.apache.synapse.config.SynapseConfigUtils.getObject(SynapseConfigUtils.java:228)
	at org.apache.synapse.config.xml.EntryFactory.createEntry(EntryFactory.java:96)
	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineEntry(SynapseXMLConfigurationFactory.java:155)
	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:85)
	at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:161)
	at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:47)
	at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:91)
	at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:465)
	at org.apache.synapse.ServerManager.start(ServerManager.java:177)
	at org.apache.synapse.SynapseServer.main(SynapseServer.java:68)
Caused by: java.io.FileNotFoundException: /home/../synapse-2.1.0/repository/samples/resources/transform/transform.xslt
(No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:120)
	at java.io.FileInputStream.<init>(FileInputStream.java:79)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.apache.synapse.config.SynapseConfigUtils.getObject(SynapseConfigUtils.java:196)
	... 9 more



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message