[Yanel-dev] [Bug 5325] Import Site doesn't work on Windows

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Tue May 1 18:19:09 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5325

jonathan.addison at wyona.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |josias.thoeny at wyona.org



------- Additional Comments From jonathan.addison at wyona.com  2007-05-01 18:19 -------
It turns out that this is not a problem in the AddRealmResource2.java, but
rather in the RealmConfiguration.java.

The realmsConfigFile variable is not being escaped properly, so the path
contains %20 instead of spaces.  I added a debug statement to the logs which
shows this.

44814 2007-05-01 12:37:03,425 [http-8080-Processor25] ERROR
org.wyona.yanel.core.map.RealmConfiguration.addRealm():307  - realmsConfigFile:
C:\src\tomcat-5%205%20x\webapps\yanel\WEB-INF\classes\realms.xml
44814 2007-05-01 12:37:03,425 [http-8080-Processor25] ERROR
org.wyona.yanel.impl.resources.AddRealmResource2.getFromExistingWebsiteInputDocument():570
 - C:\src\tomcat-5%205%20x\webapps\yanel\WEB-INF\classes\realms.xml (The system
cannot find the path specified)
java.io.FileNotFoundException:
C:\src\tomcat-5%205%20x\webapps\yanel\WEB-INF\classes\realms.xml (The system
cannot find the path specified)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at
org.apache.avalon.framework.configuration.DefaultConfigurationSerializer.serializeToFile(DefaultConfigurationSerializer.java:251)
	at
org.wyona.yanel.core.map.RealmConfiguration.addRealm(RealmConfiguration.java:308)
	



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list