When I add one of my services as a DynamicMapServiceLayer in my silverlight app is works fine but if I add it as a feature layer it will not display because when I run a 1=1 query on the service it fails and my server manager log gives me these errors
Processing request took longer than the timeout for service 'Service'. Server request timed out. Check that the usage timeout is appropriately configured for such requests. Server
Internal Server Error. Error handling service request: Transaction was rolled back, presumably because setRollbackOnly was called during a synchronization
Internal Server Error. Error handling service request: java.lang.OutOfMemoryError: Java heap space
Instance of service 'Service' failed to process a request.
Instance of the service 'Service' crashed.
This service is published in server 10.1 using desktop 10.1 and is an oracle 10g view in sde 9.3.1. Other views within this database are working fine as dynamic and feature layers. Does anyone have any clues on why this is happening?