We tracked down the problem and we have seen that this problem arises when we 
start carbon with daemon.sh and it works without any problem when we start it 
with wso2server.sh 

What is the difference between them ?

Thanks.


________________________________
 From: Isuru Suriarachchi <[email protected]>
To: metin d <[email protected]>; [email protected] 
Sent: Wednesday, December 21, 2011 2:05 AM
Subject: Re: [Carbon-dev] Weird Problem With Axis2
 

According to the exception, there should be something wrong with your client 
side axis2.xml file. Axis2 tries to read it an fails.

Thanks,
~Isuru


On Wed, Dec 21, 2011 at 1:11 AM, metin d <[email protected]> wrote:

We deployed an Application  Server and a web application on the top it via a 
.war file, it works perfectly. On the other hand with same configuration we 
deployed app server and web application to another machine and while working in 
web application (actually exactly when it tries to send a request to Data 
Services Service ) we get this exception. Do you have idea about what can cause 
to this ?
>
>
>java.lang.IllegalArgumentException: Null InputStream is not a valid argument
>        at 
>com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:614)
>        at 
>com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:317)
>        at 
>org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
>        at 
>org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory.createXMLStreamReader(WrappingXMLInputFactory.java:120)
>        at 
>org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
>        at org.apache.axiom.om.util.StAXUtils$2.run(StAXUtils.java:230)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at 
>org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:226)
>        at 
>org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:218)
>        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
>        at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
>        at 
>org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
>        at 
>org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:89)
>        at 
>org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:854)
>        at 
>org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
>        at 
>org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
>        at 
>org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151)
>        at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:144)
>        at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:252)
>here our application code tries to initialize a service client   ServiceClient 
>serviceClient=new ServiceClient();
>
>_______________________________________________
>Carbon-dev mailing list
>[email protected]
>http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Isuru Suriarachchi
Technical Lead & Product Manager, WSO2 Application Server
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to