Server cannot operate in current Locale. Locale is switched to en_US for the process.
actually, after clicking on the dialog box with the error, the server starts and the web service is deployed successfully, i can see the wsdl.. however, when i try to generate client stubs for a java client, stubs seems problematic.. Its the - big i - issue, if you see: (it says illegal character \65533)
private final static URL ONTOLOGYMNGWSSERV�CE_WSDL_LOCATION;
private final static WebServiceException ONTOLOGYMNGWSSERV�CE_EXCEPTION;
private final static QName ONTOLOGYMNGWSSERV�CE_QNAME = new QName("http://ws.moass.com/", "OntologyMngWSService");
therefore, i want to change my Netbeans Locale to en_US in order to generate client stubs currectly..
here is a way to do that: http://adalili.com/2007/06/29/change-local-in-netbeans-ide/
unfortunately, changing the Locale by adding
-locale en_US
to netbeans_default_options=
in NETBEANS_HOME/etc/netbeans.conf
file did not help my cause..i still get the error :(
Edit on 11/1/2011, 13:23:
i tried the same thing on my office computer which is an OpenSuse environment.. i checked the locale with
env
command, it is set to en_US
.. luckily, the above error did not show up this time.. however, it tries to generate constructors such as
public CalculatorWSService(WebServiceFeature... features) {
super(__getWsdlLocation(), CALCULATORWSSERVICE_QNAME, features);
}
and the super method results in error this time..
by the way, i made the test with Netbeans 6.9.1 and glassfish v3.1..
on the contrary, my home computer is windows vista and here is how to change windows locale: http://windows.microsoft.com/en-US/windows7/Change-the-system-locale