ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fátima Castro Jul <fat...@det.uvigo.es>
Subject Re: Examples are not working
Date Thu, 25 Jan 2018 13:27:10 GMT
Thank you very much for your help!

Do you have any other suggestion about the logging issue? It looks like 
it can not find the log4j2.xml file.


On 25/01/18 13:43, Sathwik B P wrote:
> Yes, you got the hello world soap response successfully working.
>
> You can check for the process instance on the web console.
>
> On Jan 25, 2018 17:51, "Fátima Castro Jul" <fatima@det.uvigo.es> wrote:
>
>> Now the output is:
>>
>> ERROR StatusLogger No log4j2 configuration file found. Using default
>> configuration: logging only errors to the console.
>> 13:19:08.217 [main] WARN org.apache.commons.httpclient.HttpMethodBase -
>> Going to buffer response body of large or unknown size. Using
>> getResponseBodyAsStream instead is recommended.
>> WARN - 2018-01-25T13:19:08,217 - <org.apache.commons.httpclient.HttpMethodBase>
>> Going to buffer response body of large or unknown size. Using
>> getResponseBodyAsStream instead is recommended.
>> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="
>> http://schemas.xmlsoap.org/soap/envelope/"><s
>> oapenv:Body><odens:helloResponse xmlns:odens="http://ode/bpel/u
>> nit-test.wsdl"><TestPart xmlns:ns1="http://ode/bpel/unit-test.wsdl"
>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">Hello
>> World</TestPart></odens:helloResponse></soapenv:Body></soapenv:Envelope>
>>
>>
>> On 25/01/18 13:15, Sathwik B P wrote:
>>
>>> Sample soap requests are provided within each example processes.
>>> bin/sendsoap http://localhost:8080/ode/processes/helloWorld
>>> examples/HelloWorld2/testRequest.soap
>>>
>>> On Thu, Jan 25, 2018 at 5:40 PM, Fátima Castro Jul <fatima@det.uvigo.es>
>>> wrote:
>>>
>>> If I make the call from where I have extracted the distribution I get a
>>>> different error:
>>>>
>>>>    bin/sendsoap http://localhost:8080/ode/processes/HelloWorld2
>>>> testRequest.soap
>>>>
>>>> java org.apache.ode.utils.cli.BaseCommandlineTool: Unable to read from
>>>> file "testRequest.soap"; it may be missing, a directory, or otherwise
>>>> unreadable.
>>>>
>>>>
>>>>
>>>> On 25/01/18 13:00, Sathwik B P wrote:
>>>>
>>>> You dont have to copy anything else to tomcat.
>>>>> Go to the directory where you have extracted the distribution and fire
>>>>> the
>>>>> command. The jars under the lib directory of the distribution will be
>>>>> used
>>>>> by the sendsoap command. Just make sure those jars have read
>>>>> permissions.
>>>>>
>>>>> On Jan 25, 2018 17:14, "Fátima Castro Jul" <fatima@det.uvigo.es>
wrote:
>>>>>
>>>>> Thanks for your help!
>>>>>
>>>>>> Now, the processes are displayed in the web interface. However, the
>>>>>> ode.log file is still not created and I get the same error when I
try
>>>>>> to
>>>>>> call the deployed processes:
>>>>>>
>>>>>> |bin/sendsoap http://localhost:8080/ode/processes/helloWorld
>>>>>> testRequest.soap|
>>>>>>
>>>>>> |Error: Could not find or load main class
>>>>>> org.apache.ode.tools.sendsoap.
>>>>>> cline.Http|
>>>>>>
>>>>>> Where should I place the bin folder that contains the calls for
>>>>>> processes?
>>>>>>
>>>>>>
>>>>>> On 25/01/18 10:00, Sathwik B P wrote:
>>>>>>
>>>>>> There is no problem in the setup. May be just before process deployment
>>>>>>
>>>>>>> was
>>>>>>> to begin you might have stopped the server.
>>>>>>>
>>>>>>> I could get the processes deployed and its displaying in the
web
>>>>>>> interface.
>>>>>>>
>>>>>>> 1) Shutdown tomcat
>>>>>>> 2) delete *.deployed files under /ode/WEB-INF/processes
>>>>>>> 3) Edit tomcat/webapps/ode/WEB-INF/classes/log4j.xml
>>>>>>> append="false" => when the tomcat is stopped the log file
will be
>>>>>>> cleared.
>>>>>>> Make it true. You should be able to see the ode.log file under
>>>>>>> tomcat/bin.
>>>>>>> If you want to a different location for the log file then provide
the
>>>>>>> full
>>>>>>> path for the fileName attibute shown down.
>>>>>>>
>>>>>>> REPLACE this line
>>>>>>> <File name="FILE" fileName="ode.log" append="false">
>>>>>>> WITH
>>>>>>> <File name="FILE" fileName="ode.log" append="true">
>>>>>>>
>>>>>>> 4) Start tomcat and check in the web interface
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>


Mime
View raw message