UNICORE exception

View: New views
2 Messages — Rating Filter:   Alert me  

UNICORE exception

by kleegrewe_c () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I am running unicore servers with registry and xuudb on a computer in a private network with no internet access. When I start gde client and try connect to the registry and get the target systems I get the following exception

Cannot get target systems from 10.10.1.123
  com.intel.gpe.clients.api.exceptions.GPEMiddlewareRemoteException: Client exception
  com.intel.gpe.clients.impl.WSRPClientImpl.getResourcePropertyObjects(WSRPClientImpl.java:109)
  com.intel.gpe.clients.impl.registry.RegistryClientImpl.getResources(RegistryClientImpl.java:258)
  com.intel.gpe.client2.common.requests.GetTargetSystemFactoryRequest.perform(GetTargetSystemFactoryRequest.java:69)
  com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:47)
  com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:24)
  com.intel.gpe.client2.providers.AsyncProvider$RequestThread.run(AsyncProvider.java:65)
java.lang.Thread.run(Unknown Source)
  com.intel.gpe.wsclient.GPEWSClientException: WSDL exception
  com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:404)
  com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:431)
  com.intel.gpe.wsclient.WSClient.getPortType(WSClient.java:468)
  com.intel.gpe.wsclient.WSClient.invokeService(WSClient.java:315)
  com.intel.gpe.wsclient.WSClient.invoke(WSClient.java:360)
  com.intel.gpe.clients.impl.WSRFClientImpl.invoke(WSRFClientImpl.java:209)
  com.intel.gpe.clients.impl.WSRFClientImpl.invoke(WSRFClientImpl.java:145)
  com.intel.gpe.clients.impl.WSRPClientImpl.getResourcePropertyObjects(WSRPClientImpl.java:100)
  com.intel.gpe.clients.impl.registry.RegistryClientImpl.getResources(RegistryClientImpl.java:258)
  com.intel.gpe.client2.common.requests.GetTargetSystemFactoryRequest.perform(GetTargetSystemFactoryRequest.java:69)
  com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:47)
  com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:24)
  com.intel.gpe.client2.providers.AsyncProvider$RequestThread.run(AsyncProvider.java:65)
  java.lang.Thread.run(Unknown Source)
javax.wsdl.WSDLException: WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.
  com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source)
  com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
  com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
  com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:378)
  com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:431)
  com.intel.gpe.wsclient.WSClient.getPortType(WSClient.java:468)
  com.intel.gpe.wsclient.WSClient.invokeService(WSClient.java:315)
  com.intel.gpe.wsclient.WSClient.invoke(WSClient.java:360)
  com.intel.gpe.clients.impl.WSRFClientImpl.invoke(WSRFClientImpl.java:209)
  com.intel.gpe.clients.impl.WSRFClientImpl.invoke(WSRFClientImpl.java:145)
  com.intel.gpe.clients.impl.WSRPClientImpl.getResourcePropertyObjects(WSRPClientImpl.java:100)
  com.intel.gpe.clients.impl.registry.RegistryClientImpl.getResources(RegistryClientImpl.java:258)
  com.intel.gpe.client2.common.requests.GetTargetSystemFactoryRequest.perform(GetTargetSystemFactoryRequest.java:69)
  com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:47)
  com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:24)
  com.intel.gpe.client2.providers.AsyncProvider$RequestThread.run(AsyncProvider.java:65)
  java.lang.Thread.run(Unknown Source)


It seems as if the registry service tries to connect to the URL http://schemas.xmlsoap.org/wsdl/, but this is impossible since there is no internet connectivity. So if this is the point my question is, whether it is possible to disable the wsdl checking.

Any help will be appreciated.

all the best Christian

Re: UNICORE exception

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

the errors from the GPE client can sometimes be misleading.
I think in this case the error is due to a wrong registry URL,
or a misconfigured server installation.
The client requests a WSDL file, but gets a HTML file instead.

What is the registry URL? It should be something like
https://your_gateway_host:port/YourRegistrySite/services/Registry?res=default_registry

Also it could be helpful to check the gateway log file for error
messages.

Best regards,
Bernd.

On Di, 2009-07-07 at 16:43 +0200, kleegrewe_c wrote:

> Hi all,
>
> I am running unicore servers with registry and xuudb on a computer in a
> private network with no internet access. When I start gde client and try
> connect to the registry and get the target systems I get the following
> exception
>
> com.intel.gpe.clients.api.exceptions.GPEMiddlewareRemoteException: Client
> exception
>       at
> com.intel.gpe.clients.impl.WSRPClientImpl.getResourcePropertyObjects(WSRPClientImpl.java:109)
>       at
> com.intel.gpe.clients.impl.registry.RegistryClientImpl.getResources(RegistryClientImpl.java:258)
>       at
> com.intel.gpe.client2.common.requests.GetTargetSystemFactoryRequest.perform(GetTargetSystemFactoryRequest.java:69)
>       at
> com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:47)
>       at
> com.intel.gpe.client2.common.requests.GetTargetSystemsAndFactoriesRequest.perform(GetTargetSystemsAndFactoriesRequest.java:24)
>       at
> com.intel.gpe.client2.providers.AsyncProvider$RequestThread.run(AsyncProvider.java:65)
>       at java.lang.Thread.run(Unknown Source)
> Caused by: com.intel.gpe.wsclient.GPEWSClientException: WSDL exception
>       at com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:404)
>       at com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:431)
>       at com.intel.gpe.wsclient.WSClient.getPortType(WSClient.java:468)
>       at com.intel.gpe.wsclient.WSClient.invokeService(WSClient.java:315)
>       at com.intel.gpe.wsclient.WSClient.invoke(WSClient.java:360)
>       at
> com.intel.gpe.clients.impl.WSRFClientImpl.invoke(WSRFClientImpl.java:209)
>       at
> com.intel.gpe.clients.impl.WSRFClientImpl.invoke(WSRFClientImpl.java:145)
>       at
> com.intel.gpe.clients.impl.WSRPClientImpl.getResourcePropertyObjects(WSRPClientImpl.java:100)
>       ... 6 more
> Caused by: javax.wsdl.WSDLException: WSDLException (at /html):
> faultCode=INVALID_WSDL: Expected element
> '{http://schemas.xmlsoap.org/wsdl/}definitions'.
>       at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.intel.gpe.wsclient.WSClient.getDefinition(WSClient.java:378)
>       ... 13 more
>
>
> It seems as if the registry service tries to connect to the URL
> http://schemas.xmlsoap.org/wsdl/, but this is impossible since there is no
> internet connectivity. So if this is the point my question is, whether it is
> possible to disable the wsdl checking.
>
> Any help will be appreciated.
>
> all the best Christian
>
--
Dr. Bernd Schuller
Distributed Systems and Grid Computing
Juelich Supercomputing Centre, http://www.fz-juelich.de/jsc
Phone: +49 246161-8736 (fax -8556)
Personal blog: www.jroller.com/page/gridhaus


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support