[Building Sakai] open syllabus source code

“Naira farooq nairafarooq at gmail.com
Tue Oct 12 08:02:09 PDT 2010


Hi,
Can someone help me please, i am working with sakai services i have enabled
all required properties in sakai.properties file following are the
properties that i have enabled


webservices.allowlogin=true

webservices.allow=.+

webservices.log-allowed=true

webservices.log-denied=true

when i call a service through the following link, it actually starts

http://localhost:8080/sakai-axis/SakaiScript.jws

but the problem is when i call this in a java code using eclipse following
exception occurs i have been trying to solve this problem but it is not
being solved

my code has no logical problem as when i call service from some other
computer it works properly. but it give errors on my pc can someone resolve
my problem

i am giving the stacktrace below:

AxisFault

faultCode: {*http://schemas.xmlsoap.org/soap/envelope/}Server.userException
*

faultSubcode:

faultString: *java.net.ConnectException*: Connection refused: connect

faultActor:

faultNode:

faultDetail:

{*http://xml.apache.org/axis/}stackTrace:java.net.ConnectException*:
Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(*Native Method*)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.axis.components.net.DefaultSocketFactory.create(*
DefaultSocketFactory.java:153*)

at org.apache.axis.components.net.DefaultSocketFactory.create(*
DefaultSocketFactory.java:120*)

at org.apache.axis.transport.http.HTTPSender.getSocket(*HTTPSender.java:191*
)

at org.apache.axis.transport.http.HTTPSender.writeToSocket(*
HTTPSender.java:404*)

at org.apache.axis.transport.http.HTTPSender.invoke(*HTTPSender.java:138*)

at org.apache.axis.strategies.InvocationStrategy.visit(*
InvocationStrategy.java:32*)

at org.apache.axis.SimpleChain.doVisiting(*SimpleChain.java:118*)

at org.apache.axis.SimpleChain.invoke(*SimpleChain.java:83*)

at org.apache.axis.client.AxisClient.invoke(*AxisClient.java:165*)

at org.apache.axis.client.Call.invokeEngine(*Call.java:2784*)

at org.apache.axis.client.Call.invoke(*Call.java:2767*)

at org.apache.axis.client.Call.invoke(*Call.java:2443*)

at org.apache.axis.client.Call.invoke(*Call.java:2366*)

at org.apache.axis.client.Call.invoke(*Call.java:1812*)

at pk.edu.nu.sakaiisb.services.parsing_code.callingservice(*
parsing_code.java:37*)

at pk.edu.nu.sakaiisb.services.initialize.main(*initialize.java:7*)

{http://xml.apache.org/axis/}hostname:Dell-1520--45

*

java.net.ConnectException*: Connection refused: connect

at org.apache.axis.AxisFault.makeFault(*AxisFault.java:101*)

at org.apache.axis.transport.http.HTTPSender.invoke(*HTTPSender.java:154*)

at org.apache.axis.strategies.InvocationStrategy.visit(*
InvocationStrategy.java:32*)

at org.apache.axis.SimpleChain.doVisiting(*SimpleChain.java:118*)

at org.apache.axis.SimpleChain.invoke(*SimpleChain.java:83*)

at org.apache.axis.client.AxisClient.invoke(*AxisClient.java:165*)

at org.apache.axis.client.Call.invokeEngine(*Call.java:2784*)

at org.apache.axis.client.Call.invoke(*Call.java:2767*)

at org.apache.axis.client.Call.invoke(*Call.java:2443*)

at org.apache.axis.client.Call.invoke(*Call.java:2366*)

at org.apache.axis.client.Call.invoke(*Call.java:1812*)

at pk.edu.nu.sakaiisb.services.parsing_code.callingservice(*
parsing_code.java:37*)

at pk.edu.nu.sakaiisb.services.initialize.main(*initialize.java:7*)

Caused by: *java.net.ConnectException*: Connection refused: connect

at java.net.PlainSocketImpl.socketConnect(*Native Method*)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.axis.components.net.DefaultSocketFactory.create(*
DefaultSocketFactory.java:153*)Exception while reading csv file: *
java.net.ConnectException*: Connection refused: connect

at org.apache.axis.components.net.DefaultSocketFactory.create(*
DefaultSocketFactory.java:120*)

at org.apache.axis.transport.http.HTTPSender.getSocket(*HTTPSender.java:191*
)

at org.apache.axis.transport.http.HTTPSender.writeToSocket(*
HTTPSender.java:404*)

at org.apache.axis.transport.http.HTTPSender.invoke(*HTTPSender.java:138*)

... 11 more

 help me please :( :(


-- 
Naira Farooq Ch
Software Engineer
FAST-NU
Islamabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101012/75f21fb6/attachment.html 


More information about the sakai-dev mailing list