[esb-issues] [JBoss JIRA] Updated: (JBESB-3147) FTP notifier - Illegal character in fragment - with special char in password
Len DiMaggio (JIRA)
jira-events at lists.jboss.org
Mon Jan 25 21:49:20 EST 2010
[ https://jira.jboss.org/jira/browse/JBESB-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Len DiMaggio updated JBESB-3147:
--------------------------------
Priority: Minor (was: Major)
> FTP notifier - Illegal character in fragment - with special char in password
> -----------------------------------------------------------------------------
>
> Key: JBESB-3147
> URL: https://jira.jboss.org/jira/browse/JBESB-3147
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Rosetta
> Affects Versions: 4.7
> Environment: 4.7 GA
> Reporter: Len DiMaggio
> Priority: Minor
>
> Related to: https://jira.jboss.org/jira/browse/JBESB-2828
> For example - this FTP notifier:
> <action class="org.jboss.soa.esb.actions.Notifier" name="notify">
> <property name="okMethod" value="notifyOK" />
> <property name="notification-details">
> <NotificationList type="OK">
> <target class="NotifyFTP">
> <ftp
> URL="ftp://username:char##@servername.jboss.com/ftp_dir##"
> filename=".test.{jbossesb.message.id}.dat"
> passive="true" />
> </target>
> </NotificationList>
> </property>
> </action>
> Raises this exception:
> 17:06:33,898 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> 17:06:33,899 INFO [STDOUT] Body: Hello World
> 17:06:33,899 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> 17:06:33,899 INFO [STDOUT] Message structure:
> 17:06:33,899 INFO [STDOUT] [Hello World].
> 17:06:33,923 ERROR [NotificationList] Can't instantiate target <target class="NotifyFTP">
> <ftp URL="ftp://username:char##@servername.jboss.com/ftp_dir##" filename=".test.{jbossesb.message.id}.dat" passive="true"/>
> </target>
> org.jboss.soa.esb.notification.NotificationException: org.jboss.soa.esb.ConfigurationException: java.net.URISyntaxException: Illegal character in fragment at index 23: ftp://username:char##@servername.qa.atl.jboss.com/ftp_dir##
> at org.jboss.soa.esb.notification.NotifyFTP.getFtpEpr(NotifyFTP.java:139)
> at org.jboss.soa.esb.notification.NotifyFTP.sendNotification(NotifyFTP.java:159)
> at org.jboss.soa.esb.notification.NotificationList.notifyAll(NotificationList.java:164)
> at org.jboss.soa.esb.actions.Notifier.notifyOK(Notifier.java:93)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processSuccess(ActionProcessorMethodInfo.java:165)
> at org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.processSuccess(OverriddenActionLifecycleProcessor.java:108)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.notifySuccess(ActionProcessingPipeline.java:950)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:724)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:586)
> at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:420)
> at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:636)
> Caused by: org.jboss.soa.esb.ConfigurationException: java.net.URISyntaxException: Illegal character in fragment at index 23: ftp://userrname:char##@servername.jboss.com/ftp_dir##
> at org.jboss.soa.esb.listeners.ListenerUtil.fileEprFromElement(ListenerUtil.java:331)
> at org.jboss.soa.esb.notification.NotifyFTP.getFtpEpr(NotifyFTP.java:135)
> ... 17 more
> Caused by: java.net.URISyntaxException: Illegal character in fragment at index 23: ftp://username:char##@servername.jboss.com/ftp_dir##
> at java.net.URI$Parser.fail(URI.java:2825)
> at java.net.URI$Parser.checkChars(URI.java:2998)
> at java.net.URI$Parser.parse(URI.java:3044)
> at java.net.URI.<init>(URI.java:595)
> at org.jboss.soa.esb.listeners.ListenerUtil.fileEprFromElement(ListenerUtil.java:205)
> ... 18 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list