Access denied problem

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Access denied problem

Antoine.DE-TROOSTEMBERGH
Access denied problem

Hi,

I use orbeon 3.6 in a clustered Weblogic environment.
In one of our pages we have the following code
<xforms:instance id="countries-instance" src="/services/countries" xxforms:readonly="true"/>

We sometimes get the following error in our logs:
This error does not occur systematically, most of the time it works.

http://localhost:18001/myapp/services/countries>
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:240)
        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)

        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)

        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)

        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.orbeon.oxf.resources.handler.HTTPURLConnection.connect(HTTPURLConnection.java:144)
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.doRegular(XFormsSubmissionUtils.java:290)
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.doRegular(XFormsSubmissionUtils.java:155)
        at org.orbeon.oxf.processor.URIProcessorOutputImpl.readURLToStateIfNeeded(URIProcessorOutputImpl.java:392)
        at org.orbeon.oxf.xforms.processor.XFormsURIResolver.resolve(XFormsURIResolver.java:86)
        at org.orbeon.oxf.xforms.processor.XFormsURIResolver.readURLAsDocumentInfo(XFormsURIResolver.java:136)
        at org.orbeon.oxf.xforms.XFormsModel.performDefaultAction(XFormsModel.java:1023)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:980)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.initialize(XFormsContainingDocument.java:1307)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.<init>(XFormsContainingDocument.java:156)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.createCacheContainingDocument(XFormsToXHTML.java:321)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$200(XFormsToXHTML.java:51)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML$2.read(XFormsToXHTML.java:160)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:121)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$000(XFormsToXHTML.java:51)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML$1.readImpl(XFormsToXHTML.java:80)
        at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)


Can anybody tell me what's going on?


Thanks,

Antoine



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Access denied problem

Einar Moos


Antoine,

Have you tried src="oxf:/services/countries" ?
 
I'm no expert, but that always solves that error in our apps.
 
-- einar
 
 

Hi,

I use orbeon 3.6 in a clustered Weblogic environment.
In one of our pages we have the following code
<xforms:instance id="countries-instance" src="/services/countries" xxforms:readonly="true"/>

We sometimes get the following error in our logs:
This error does not occur systematically, most of the time it works.

<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://localhost:18001/myapp/services/countries" target="_blank">http://localhost:18001/myapp/services/countries>
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:240)
        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)

        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)

        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)

        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.orbeon.oxf.resources.handler.HTTPURLConnection.connect(HTTPURLConnection.java:144)
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.doRegular(XFormsSubmissionUtils.java:290)
        at org.orbeon.oxf.xforms.XFormsSubmissionUtils.doRegular(XFormsSubmissionUtils.java:155)
        at org.orbeon.oxf.processor.URIProcessorOutputImpl.readURLToStateIfNeeded(URIProcessorOutputImpl.java:392)
        at org.orbeon.oxf.xforms.processor.XFormsURIResolver.resolve(XFormsURIResolver.java:86)
        at org.orbeon.oxf.xforms.processor.XFormsURIResolver.readURLAsDocumentInfo(XFormsURIResolver.java:136)
        at org.orbeon.oxf.xforms.XFormsModel.performDefaultAction(XFormsModel.java:1023)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:980)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.initialize(XFormsContainingDocument.java:1307)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.<init>(XFormsContainingDocument.java:156)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.createCacheContainingDocument(XFormsToXHTML.java:321)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$200(XFormsToXHTML.java:51)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML$2.read(XFormsToXHTML.java:160)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:121)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$000(XFormsToXHTML.java:51)
        at org.orbeon.oxf.xforms.processor.XFormsToXHTML$1.readImpl(XFormsToXHTML.java:80)
        at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)


Can anybody tell me what's going on?


Thanks,

Antoine



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.ow2.org/wws" target="_blank">http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Access denied problem

Erik Bruchez
Administrator
In reply to this post by Antoine.DE-TROOSTEMBERGH
Could it be that the connection is refused by Tomcat (or the servlet  
container you use)? Maybe because too many connections are made?

-Erik

On Oct 23, 2008, at 2:55 AM, <Antoine.DE-
[hidden email]> <[hidden email]
 > wrote:

> Hi,
>
> I use orbeon 3.6 in a clustered Weblogic environment.
> In one of our pages we have the following code
> <xforms:instance id="countries-instance" src="/services/countries"  
> xxforms:readonly="true"/>
>
> We sometimes get the following error in our logs:
> This error does not occur systematically, most of the time it works.
>
> http://localhost:18001/myapp/services/countries>
> java.net.ConnectException: Connection refused
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:
> 333)
>         at  
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>         at java.net.Socket.connect(Socket.java:519)
>         at java.net.Socket.connect(Socket.java:469)
>         at java.net.Socket.<init>(Socket.java:366)
>         at java.net.Socket.<init>(Socket.java:240)
>         at  
> org
> .apache
> .commons
> .httpclient
> .protocol
> .DefaultProtocolSocketFactory
> .createSocket(DefaultProtocolSocketFactory.java:80)
>
>         at  
> org
> .apache
> .commons
> .httpclient
> .protocol
> .DefaultProtocolSocketFactory
> .createSocket(DefaultProtocolSocketFactory.java:122)
>
>         at  
> org
> .apache.commons.httpclient.HttpConnection.open(HttpConnection.java:
> 707)
>         at  
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager
> $HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:
> 1361)
>
>         at  
> org
> .apache
> .commons
> .httpclient
> .HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>         at  
> org
> .apache
> .commons
> .httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:
> 171)
>         at  
> org
> .apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:
> 397)
>         at  
> org
> .apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:
> 323)
>         at  
> org
> .orbeon
> .oxf
> .resources.handler.HTTPURLConnection.connect(HTTPURLConnection.java:
> 144)
>         at  
> org
> .orbeon
> .oxf
> .xforms.XFormsSubmissionUtils.doRegular(XFormsSubmissionUtils.java:
> 290)
>         at  
> org
> .orbeon
> .oxf
> .xforms.XFormsSubmissionUtils.doRegular(XFormsSubmissionUtils.java:
> 155)
>         at  
> org
> .orbeon
> .oxf
> .processor
> .URIProcessorOutputImpl
> .readURLToStateIfNeeded(URIProcessorOutputImpl.java:392)
>         at  
> org
> .orbeon
> .oxf
> .xforms.processor.XFormsURIResolver.resolve(XFormsURIResolver.java:86)
>         at  
> org
> .orbeon
> .oxf
> .xforms
> .processor
> .XFormsURIResolver.readURLAsDocumentInfo(XFormsURIResolver.java:136)
>         at  
> org
> .orbeon.oxf.xforms.XFormsModel.performDefaultAction(XFormsModel.java:
> 1023)
>         at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .dispatchEvent(XFormsContainingDocument.java:980)
>         at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument.initialize(XFormsContainingDocument.java:
> 1307)
>         at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument.<init>(XFormsContainingDocument.java:156)
>         at  
> org
> .orbeon
> .oxf
> .xforms
> .processor
> .XFormsToXHTML.createCacheContainingDocument(XFormsToXHTML.java:321)
>         at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access
> $200(XFormsToXHTML.java:51)
>         at org.orbeon.oxf.xforms.processor.XFormsToXHTML
> $2.read(XFormsToXHTML.java:160)
>         at  
> org
> .orbeon
> .oxf
> .processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:
> 488)
>         at  
> org
> .orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:
> 121)
>         at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access
> $000(XFormsToXHTML.java:51)
>         at org.orbeon.oxf.xforms.processor.XFormsToXHTML
> $1.readImpl(XFormsToXHTML.java:80)
>         at org.orbeon.oxf.processor.ProcessorImpl
> $7.read(ProcessorImpl.java:1030)
>
>
> Can anybody tell me what's going on?
>
>
> Thanks,
>
> Antoine
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Access denied problem

Alessandro Vernet
Administrator
In reply to this post by Antoine.DE-TROOSTEMBERGH
On Thu, Oct 23, 2008 at 10:55 AM,
<[hidden email]> wrote:
> This error does not occur systematically, most of the time it works.

If you have this problem on Windows, you might also be hitting this
Windows issue:

http://www.orbeon.com/blog/2006/05/05/tcpip/

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Access denied problem

Antoine.DE-TROOSTEMBERGH
Hi,

Thank you for your answer. We are not running on Windows but solaris.
The problem has been solved, it was something about not all the apache proxies not listening to the correct port.

Thanks anyway,

Antoine

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet
Sent: Sunday, November 02, 2008 10:05 AM
To: [hidden email]
Subject: [ops-users] Re: Access denied problem

On Thu, Oct 23, 2008 at 10:55 AM,
<[hidden email]> wrote:
> This error does not occur systematically, most of the time it works.

If you have this problem on Windows, you might also be hitting this
Windows issue:

http://www.orbeon.com/blog/2006/05/05/tcpip/

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: Access denied problem

Erik Bruchez
Administrator
Good to hear that.

-Erik

On Nov 3, 2008, at 1:34 AM, <Antoine.DE-
[hidden email]> <[hidden email]
 > wrote:

> Hi,
>
> Thank you for your answer. We are not running on Windows but solaris.
> The problem has been solved, it was something about not all the  
> apache proxies not listening to the correct port.
>
> Thanks anyway,
>
> Antoine
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of  
> Alessandro Vernet
> Sent: Sunday, November 02, 2008 10:05 AM
> To: [hidden email]
> Subject: [ops-users] Re: Access denied problem
>
> On Thu, Oct 23, 2008 at 10:55 AM,
> <[hidden email]> wrote:
>> This error does not occur systematically, most of the time it works.
>
> If you have this problem on Windows, you might also be hitting this
> Windows issue:
>
> http://www.orbeon.com/blog/2006/05/05/tcpip/
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> Twitter - http://twitter.com/avernet
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws