Hi Chamara,

I came across the following exception as well. Any idea what this is? Is
this a configuration/setup issue?

2012-02-02 13:47:23,620 [-] [Thread-9]  INFO ServerStartupManager
[2012-02-02 13:47:23,620]  INFO - TimeoutHandler This engine will expire
all callbacks after : 86400 seconds, irrespective of the timeout action,
after the specified or optional timeout
2012-02-02 13:47:23,674 [-] [http-Listener I/O dispatcher-1]  WARN access
Unable to open the print writer
java.io.FileNotFoundException:
/home/evanthika/WSO2/CARBON/ESB/release_packs/4.0.3/LATEST/framework/wso2esb-4.0.3/logs/http_access_2012-02-02.log
(No such file or directory)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at java.io.FileWriter.<init>(FileWriter.java:61)
    at
org.apache.synapse.transport.nhttp.AccessLogger.open(AccessLogger.java:187)
    at
org.apache.synapse.transport.nhttp.AccessLogger.initOpen(AccessLogger.java:160)
    at
org.apache.synapse.transport.nhttp.AccessLogger.<init>(AccessLogger.java:43)
    at
org.apache.synapse.transport.nhttp.AccessHandler.<clinit>(AccessHandler.java:33)
    at
org.apache.synapse.transport.nhttp.LoggingNHttpServerConnection$LoggingNHttpMessageParser.parse(LoggingNHttpServerConnection.java:190)
    at
org.apache.synapse.transport.nhttp.LoggingNHttpServerConnection$LoggingNHttpMessageParser.parse(LoggingNHttpServerConnection.java:163)
    at
org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:154)
    at
org.apache.synapse.transport.nhttp.LoggingNHttpServerConnection.consumeInput(LoggingNHttpServerConnection.java:99)
    at
org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:160)
    at
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:158)
    at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:340)
    at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:318)
    at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
    at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
    at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)
    at java.lang.Thread.run(Thread.java:662)

Regards,
Evanthika



On Thu, Feb 2, 2012 at 1:50 PM, Krishantha Samaraweera
<krishan...@wso2.com>wrote:

> I see this issue while gracefully shutting down the server. It might be
> due to another test trying to start its execution while shutting down the
> server. Hence you see 'Access Denied' message.
>
> Thanks,
> Krishantha.
>
>
> On Thu, Feb 2, 2012 at 1:42 PM, Chamara Silva <cham...@wso2.com> wrote:
>
>> Look in to the issue.
>>
>> Thanks,
>> Chamara Silva
>>
>>
>>
>>
>> On Thu, Feb 2, 2012 at 1:19 PM, Sandapa Handakumbura <sand...@wso2.com>wrote:
>>
>>> Hi Chamara,
>>>
>>> I also got the same exception while executing the tests and there was no
>>> other ESB running on my machine.
>>>
>>> Regards,
>>> Sandapa
>>>
>>>
>>> On Thu, Feb 2, 2012 at 12:30 PM, Evanthika Amarasiri <evanth...@wso2.com
>>> > wrote:
>>>
>>>> Maybe we should give more information in the README.txt explaining
>>>> about these stuff.
>>>>
>>>> Regards,
>>>> Evanthika
>>>>
>>>>
>>>> On Thu, Feb 2, 2012 at 12:12 PM, Chamara Silva <cham...@wso2.com>wrote:
>>>>
>>>>> It seems another esb instance already running before you start the
>>>>> framework. Pls note that no need to start esb or axis2 servers manually to
>>>>> run this framework.
>>>>>
>>>>> Thanks,
>>>>> Chamara silva
>>>>>
>>>>>
>>>>> On Thursday, February 2, 2012, Evanthika Amarasiri <evanth...@wso2.com>
>>>>> wrote:
>>>>> > Hi Chamara,
>>>>> >
>>>>> > When executing the tests, I'm continuously getting the following
>>>>> exception. Any idea why?
>>>>> >
>>>>> > 2012-02-02 10:03:11,856 [-] [SynapseServerForSample7 thread]  INFO
>>>>> SynapseProcessController SynapseProcessController.ServerThread:Shutting
>>>>> down Synapse Server...
>>>>> > 2012-02-02 10:03:12,176 [-] [Thread-96]  INFO ServerStartupManager
>>>>> [2012-02-02 10:03:12,176]  INFO - CarbonAuthenticationUtil 'admin' logged
>>>>> in at [2012-02-02 10:03:12,0176] from IP address localhost
>>>>> > 2012-02-02 10:03:12,183 [-] [SynapseServerForSample7 thread]  INFO
>>>>> ServerShutDownManager Successfully logged :
>>>>> JSESSIONID=C6FBEC88F4D992BD2EA27EC1E7B59AAA; Path=/esb/; Secure=null;
>>>>> HttpOnly=null
>>>>> > 2012-02-02 10:03:12,232 [-] [Thread-96]  INFO ServerStartupManager
>>>>> [2012-02-02 10:03:12,232]  WARN - AuthenticationHandler Illegal access
>>>>> attempt at [2012-02-02 10:03:12,0232] from IP address 127.0.0.1 : Service
>>>>> is ServerAdmin
>>>>> > 2012-02-02 10:03:12,251 [-] [Thread-96]  INFO ServerStartupManager
>>>>> [2012-02-02 10:03:12,239] ERROR - AxisEngine Access Denied. Please login
>>>>> first.
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> org.apache.axis2.AxisFault: Access Denied. Please login first.
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:61)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at 
>>>>> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:164)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.wso2.carbon.server.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:154)
>>>>> > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:254)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:396)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:356)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1534)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>> > 2012-02-02 10:03:12,254 [-] [Thread-96]  INFO ServerStartupManager
>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>> > org.apache.axis2.AxisFault: Access Denied. Please login first.
>>>>> >     at
>>>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>>>> >     at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>>>>> >     at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>>>>> >     at
>>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>>>> >     at
>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>>>> >     at
>>>>> org.wso2.carbon.server.admin.stub.ServerAdminStub.isAlive(ServerAdminStub.java:1332)
>>>>> >     at
>>>>> org.apache.synapse.samples.framework.ServerShutDownManager.shutdownServer(ServerShutDownManager.java:142)
>>>>> >     at
>>>>> org.apache.synapse.samples.framework.SynapseProcessController$ServerThread.run(SynapseProcessController.java:124)
>>>>> > 2012-02-02 10:03:12,261 [-] [main]  INFO SynapseTestCase Stopping
>>>>> Server: SampleAxis2Server0
>>>>> > Stopping Server: SampleAxis2Server0
>>>>> > 2012-02-02 10:03:12,343 [-] [SampleAxis2Server0 thread]  INFO
>>>>> Axis2BackEndServerController ServerThread: Shutting down Axis2 Server...
>>>>> > 2012-02-02 10:03:12,345 [-] [HttpCoreNIOListener]  INFO
>>>>> HttpCoreNIOListener HTTPS Listener Shutdown
>>>>> > 2012-02-02 10:03:12,347 [-] [HttpCoreNIOListener]  INFO
>>>>> HttpCoreNIOListener HTTP Listener Shutdown
>>>>> > 2012-02-02 10:03:12,349 [-] [HttpCoreNIOSender]  INFO
>>>>> HttpCoreNIOSender HTTPS Sender Shutdown
>>>>> > 2012-02-02 10:03:12,351 [-] [HttpCoreNIOSender]  INFO
>>>>> HttpCoreNIOSender HTTP Sender Shutdown
>>>>> >
>>>>> >
>>>>> > Regards,
>>>>> > Evanthika
>>>>> >
>>>>> >
>>>>> > On Wed, Feb 1, 2012 at 12:03 PM, Chamara Silva <cham...@wso2.com>
>>>>> wrote:
>>>>> >>
>>>>> >> Please find the ESB sample automated test framework from [1]. I
>>>>> made this framework after did some modifications to synapse test framework
>>>>> to working with WSO2 ESB. Currently it's working as a separate test
>>>>> framework and in future we are hoping to integrate in to the
>>>>> system-test-framework.Please follow README.txt to execute test framework. 
>>>>> I
>>>>> would like to thank Amila Manoj, Hiranya and Udayanga help me to success
>>>>> this..
>>>>> >> 1.
>>>>> https://svn.wso2.org/repos/wso2/trunk/commons/qa/automation/esb-sample-test-framework
>>>>> >> Thanks,
>>>>> >> Chamara Silva
>>>>> >> --
>>>>> >> Suminda Chamara Silva
>>>>> >> WSO2 Inc.
>>>>> >> Mobile: +94718302858
>>>>> >> blog: http://chamaras.blogspot.com
>>>>> >>
>>>>> >> _______________________________________________
>>>>> >> Carbon-dev mailing list
>>>>> >> Carbon-dev@wso2.org
>>>>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>> --
>>>>> Suminda Chamara Silva
>>>>> WSO2 Inc.
>>>>> Mobile: +94718302858
>>>>> blog: http://chamaras.blogspot.com
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Suminda Chamara Silva
>> WSO2 Inc.
>> Mobile: +94718302858
>> blog: http://chamaras.blogspot.com
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to