You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Hardman, Sean H (388J)" <se...@jpl.nasa.gov> on 2012/02/21 00:02:17 UTC

File Manager generating NoSuchElementException message

I am attempting to deploy a File Manager to a machine running RedHat Enterprise 5.7 with Java 1.6. The File Manager works fine except that once it is up and running it continues to generate the following message to the terminal:

java.util.NoSuchElementException

I have tried both 0.3 and the latest and greatest release of 0.4-SNAPSHOT with the out-of-the-box policy (see example server launch below). Has anyone else seen this behavior? By the way, I have also played with the logging properties and nothing telling is showing up in the log file.

Thanks,
Sean


[shardman@pds-opends1 bin]$ ./filemgr start
Starting cas file manager: OK
Feb 20, 2012 2:41:03 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager loadConfiguration
INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
java.util.NoSuchElementException
Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.repository.XMLRepositoryManager loadProductTypes
FINE: XMLRepositoryManager: found product type: [GenericFile]
Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferer setFileManagerUrl
INFO: Local Data Transfer to: [http://localhost:9000] enabled
Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager <init>
INFO: File Manager started by shardman
java.util.NoSuchElementException
[shardman@pds-opends1 bin]$ java.util.NoSuchElementException
java.util.NoSuchElementException
java.util.NoSuchElementException
java.util.NoSuchElementException
…

Re: File Manager generating NoSuchElementException message

Posted by "Hardman, Sean H (388J)" <se...@jpl.nasa.gov>.
Hey Chris,

That solved the problem. I replicated the error locally (with your example
below) and moved the deployed server to a different port with no annoying
messages.

Thanks,
Sean

On 2/20/12 3:14 PM, "Mattmann, Chris A (388J)"
<ch...@jpl.nasa.gov> wrote:

>Hey Sean,
>
>I've seen this when the FM is started up on a port that is being scanned
>or queried, and the scanner/querier is not
>speaking the XML-RPC protocol and generating weird data sent to it.
>
>You can replicate this behavior by:
>
>1. telnet localhost 9000
>2. asjkl;asdj;asdjakls;df ^RETURN^
>
>You should see a similar NoSuchElementException -- it's coming from the
>lower level XML-RPC library.
>To isolate if this is the cause, try switching the FM port to something
>obscure, that wouldn't be queried or scanned.
>Do you still see the error?
>
>Cheers,
>Chris
>
>On Feb 20, 2012, at 3:02 PM, Hardman, Sean H (388J) wrote:
>
>> I am attempting to deploy a File Manager to a machine running RedHat
>>Enterprise 5.7 with Java 1.6. The File Manager works fine except that
>>once it is up and running it continues to generate the following message
>>to the terminal:
>> 
>> java.util.NoSuchElementException
>> 
>> I have tried both 0.3 and the latest and greatest release of
>>0.4-SNAPSHOT with the out-of-the-box policy (see example server launch
>>below). Has anyone else seen this behavior? By the way, I have also
>>played with the logging properties and nothing telling is showing up in
>>the log file.
>> 
>> Thanks,
>> Sean
>> 
>> 
>> [shardman@pds-opends1 bin]$ ./filemgr start
>> Starting cas file manager: OK
>> Feb 20, 2012 2:41:03 PM
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManager loadConfiguration
>> INFO: Loading File Manager Configuration Properties from:
>>[../etc/filemgr.properties]
>> java.util.NoSuchElementException
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.repository.XMLRepositoryManager
>>loadProductTypes
>> FINE: XMLRepositoryManager: found product type: [GenericFile]
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
>> INFO: Loading File Manager Configuration Properties from:
>>[../etc/filemgr.properties]
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferer
>>setFileManagerUrl
>> INFO: Local Data Transfer to: [http://localhost:9000] enabled
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManager <init>
>> INFO: File Manager started by shardman
>> java.util.NoSuchElementException
>> [shardman@pds-opends1 bin]$ java.util.NoSuchElementException
>> java.util.NoSuchElementException
>> java.util.NoSuchElementException
>> java.util.NoSuchElementException
>> Š
>
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Chris Mattmann, Ph.D.
>Senior Computer Scientist
>NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>Office: 171-266B, Mailstop: 171-246
>Email: chris.a.mattmann@nasa.gov
>WWW:   http://sunset.usc.edu/~mattmann/
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Adjunct Assistant Professor, Computer Science Department
>University of Southern California, Los Angeles, CA 90089 USA
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>


Re: File Manager generating NoSuchElementException message

Posted by "Hardman, Sean H (388J)" <se...@jpl.nasa.gov>.
Hey Chris,

That solved the problem. I replicated the error locally (with your example
below) and moved the deployed server to a different port with no annoying
messages.

Thanks,
Sean

On 2/20/12 3:14 PM, "Mattmann, Chris A (388J)"
<ch...@jpl.nasa.gov> wrote:

>Hey Sean,
>
>I've seen this when the FM is started up on a port that is being scanned
>or queried, and the scanner/querier is not
>speaking the XML-RPC protocol and generating weird data sent to it.
>
>You can replicate this behavior by:
>
>1. telnet localhost 9000
>2. asjkl;asdj;asdjakls;df ^RETURN^
>
>You should see a similar NoSuchElementException -- it's coming from the
>lower level XML-RPC library.
>To isolate if this is the cause, try switching the FM port to something
>obscure, that wouldn't be queried or scanned.
>Do you still see the error?
>
>Cheers,
>Chris
>
>On Feb 20, 2012, at 3:02 PM, Hardman, Sean H (388J) wrote:
>
>> I am attempting to deploy a File Manager to a machine running RedHat
>>Enterprise 5.7 with Java 1.6. The File Manager works fine except that
>>once it is up and running it continues to generate the following message
>>to the terminal:
>> 
>> java.util.NoSuchElementException
>> 
>> I have tried both 0.3 and the latest and greatest release of
>>0.4-SNAPSHOT with the out-of-the-box policy (see example server launch
>>below). Has anyone else seen this behavior? By the way, I have also
>>played with the logging properties and nothing telling is showing up in
>>the log file.
>> 
>> Thanks,
>> Sean
>> 
>> 
>> [shardman@pds-opends1 bin]$ ./filemgr start
>> Starting cas file manager: OK
>> Feb 20, 2012 2:41:03 PM
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManager loadConfiguration
>> INFO: Loading File Manager Configuration Properties from:
>>[../etc/filemgr.properties]
>> java.util.NoSuchElementException
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.repository.XMLRepositoryManager
>>loadProductTypes
>> FINE: XMLRepositoryManager: found product type: [GenericFile]
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
>> INFO: Loading File Manager Configuration Properties from:
>>[../etc/filemgr.properties]
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferer
>>setFileManagerUrl
>> INFO: Local Data Transfer to: [http://localhost:9000] enabled
>> Feb 20, 2012 2:41:04 PM
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManager <init>
>> INFO: File Manager started by shardman
>> java.util.NoSuchElementException
>> [shardman@pds-opends1 bin]$ java.util.NoSuchElementException
>> java.util.NoSuchElementException
>> java.util.NoSuchElementException
>> java.util.NoSuchElementException
>> Š
>
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Chris Mattmann, Ph.D.
>Senior Computer Scientist
>NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
>Office: 171-266B, Mailstop: 171-246
>Email: chris.a.mattmann@nasa.gov
>WWW:   http://sunset.usc.edu/~mattmann/
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>Adjunct Assistant Professor, Computer Science Department
>University of Southern California, Los Angeles, CA 90089 USA
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>


Re: File Manager generating NoSuchElementException message

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Sean,

I've seen this when the FM is started up on a port that is being scanned or queried, and the scanner/querier is not
speaking the XML-RPC protocol and generating weird data sent to it.

You can replicate this behavior by:

1. telnet localhost 9000
2. asjkl;asdj;asdjakls;df ^RETURN^

You should see a similar NoSuchElementException -- it's coming from the lower level XML-RPC library.
To isolate if this is the cause, try switching the FM port to something obscure, that wouldn't be queried or scanned.
Do you still see the error?

Cheers,
Chris

On Feb 20, 2012, at 3:02 PM, Hardman, Sean H (388J) wrote:

> I am attempting to deploy a File Manager to a machine running RedHat Enterprise 5.7 with Java 1.6. The File Manager works fine except that once it is up and running it continues to generate the following message to the terminal:
> 
> java.util.NoSuchElementException
> 
> I have tried both 0.3 and the latest and greatest release of 0.4-SNAPSHOT with the out-of-the-box policy (see example server launch below). Has anyone else seen this behavior? By the way, I have also played with the logging properties and nothing telling is showing up in the log file.
> 
> Thanks,
> Sean
> 
> 
> [shardman@pds-opends1 bin]$ ./filemgr start
> Starting cas file manager: OK
> Feb 20, 2012 2:41:03 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager loadConfiguration
> INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
> java.util.NoSuchElementException
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.repository.XMLRepositoryManager loadProductTypes
> FINE: XMLRepositoryManager: found product type: [GenericFile]
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferer setFileManagerUrl
> INFO: Local Data Transfer to: [http://localhost:9000] enabled
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager <init>
> INFO: File Manager started by shardman
> java.util.NoSuchElementException
> [shardman@pds-opends1 bin]$ java.util.NoSuchElementException
> java.util.NoSuchElementException
> java.util.NoSuchElementException
> java.util.NoSuchElementException
> …


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: File Manager generating NoSuchElementException message

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Sean,

I've seen this when the FM is started up on a port that is being scanned or queried, and the scanner/querier is not
speaking the XML-RPC protocol and generating weird data sent to it.

You can replicate this behavior by:

1. telnet localhost 9000
2. asjkl;asdj;asdjakls;df ^RETURN^

You should see a similar NoSuchElementException -- it's coming from the lower level XML-RPC library.
To isolate if this is the cause, try switching the FM port to something obscure, that wouldn't be queried or scanned.
Do you still see the error?

Cheers,
Chris

On Feb 20, 2012, at 3:02 PM, Hardman, Sean H (388J) wrote:

> I am attempting to deploy a File Manager to a machine running RedHat Enterprise 5.7 with Java 1.6. The File Manager works fine except that once it is up and running it continues to generate the following message to the terminal:
> 
> java.util.NoSuchElementException
> 
> I have tried both 0.3 and the latest and greatest release of 0.4-SNAPSHOT with the out-of-the-box policy (see example server launch below). Has anyone else seen this behavior? By the way, I have also played with the logging properties and nothing telling is showing up in the log file.
> 
> Thanks,
> Sean
> 
> 
> [shardman@pds-opends1 bin]$ ./filemgr start
> Starting cas file manager: OK
> Feb 20, 2012 2:41:03 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager loadConfiguration
> INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
> java.util.NoSuchElementException
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.repository.XMLRepositoryManager loadProductTypes
> FINE: XMLRepositoryManager: found product type: [GenericFile]
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
> INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferer setFileManagerUrl
> INFO: Local Data Transfer to: [http://localhost:9000] enabled
> Feb 20, 2012 2:41:04 PM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager <init>
> INFO: File Manager started by shardman
> java.util.NoSuchElementException
> [shardman@pds-opends1 bin]$ java.util.NoSuchElementException
> java.util.NoSuchElementException
> java.util.NoSuchElementException
> java.util.NoSuchElementException
> …


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++