List Info

Thread: Unable to Setup XML RPC 3.0




Unable to Setup XML RPC 3.0
user name
2006-05-18 07:00:51
I have successfully setup XML RPC server, but when i try to test that it throws following exception,

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/ws/commons/util/XsDateTimeFormat
 &nbsp;  at org.apache.xmlrpc.serializer.DateSerializer.<clinit>(DateSerializer.java:29)
&nbsp; &nbsp; at org.apache.xmlrpc.common.TypeFactoryImpl.&lt;clinit>;(TypeFactoryImpl.java:70)
   ; at org.apache.xmlrpc.common.XmlRpcController .<init>;(XmlRpcController.java:28)
 ; &nbsp; at org.apache.xmlrpc.client.XmlRpcClient.<init>(XmlRpcClient.java:50)
&nbsp; &nbsp; at com.edb.jws.test.XmlRpcTest.main(XmlRpcTest.java:28)


I have tried to fine this org.apache.ws.commons.* but no success. Kindly, tell me where I can find these classes ??

Good Day
Shahid
Unable to Setup XML RPC 3.0
user name
2006-05-18 21:04:42
Shahid Faiz wrote:

> I have tried to fine this org.apache.ws.commons.* but
no success. Kindly,
> tell me where I can find these classes ??


http://cvs.ap
ache.org/maven-snapshot-repository/org/apache/ws/commons/ws-
commons-util/1.0-SNAPSHOT/

------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-19 06:23:54
Jochen Wiedmann schrieb:
> Shahid Faiz wrote:
>
>   
>> I have tried to fine this org.apache.ws.commons.*
but no success. Kindly,
>> tell me where I can find these classes ??
>>     
>
>
> http://cvs.ap
ache.org/maven-snapshot-repository/org/apache/ws/commons/ws-
commons-util/1.0-SNAPSHOT/
The snapshot does not work for me. But this one did it:
http://mirrorspace.org/fil
es/index.php?dir=apache/java-repository/ws-commons-util/jars


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-19 07:53:38
I'm not exactly a regular contributor here, but wouldn't
it be possible
to do some class loading stuff at some early point to find
out if we can
actually load org.apache.ws.commons.*, and if not, then
print the URL
and exit?

E.g, this code I saw somewhere:

try {
	String macClassName = “com.apple.eio.FileManager”;
	Class macClass = Class.forName(macClassName);
	Method m = macClass.getMethod("openURL", 
new Class [] { Class.forName("java.lang.String")
});
  
	m.invoke(null, new String [] );
} catch (Exception e) {
	// Deal (via System.exec()?) with other platforms
}

Hope this helps.

Regards,

Oli

On Fri, 2006-05-19 at 08:23 +0200, Andreas Holtz wrote:
> Jochen Wiedmann schrieb:
> > Shahid Faiz wrote:
> >
> >   
> >> I have tried to fine this
org.apache.ws.commons.* but no success. Kindly,
> >> tell me where I can find these classes ??
> >>     
> >
> >
> > http://cvs.ap
ache.org/maven-snapshot-repository/org/apache/ws/commons/ws-
commons-util/1.0-SNAPSHOT/
> The snapshot does not work for me. But this one did it:
> http://mirrorspace.org/fil
es/index.php?dir=apache/java-repository/ws-commons-util/jars

> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
> For additional commands, e-mail: xmlrpc-user-helpws.apache.org
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-19 20:32:03
Oliver Cole wrote:

> I'm not exactly a regular contributor here, but
wouldn't it be possible
> to do some class loading stuff at some early point to
find out if we can
> actually load org.apache.ws.commons.*, and if not, then
print the URL
> and exit?

What URL should be printed?

Besides, I do believe this problem will be done as soon as
we start to
deliver dependencies as part of the next binary release.


Jochen


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-19 20:27:29
Andreas Holtz wrote:

>> http://cvs.ap
ache.org/maven-snapshot-repository/org/apache/ws/commons/ws-
commons-util/1.0-SNAPSHOT/
>>
> The snapshot does not work for me. But this one did it:
> http://mirrorspace.org/fil
es/index.php?dir=apache/java-repository/ws-commons-util/jars


What do you mean with "does not work for me"? I
have just checked the first
URL and have got a proper directory listing. I don't know
the URL you are
quoting, but the jar file it contains is outdated.


Jochen


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-19 20:35:23
That would be fabulous.  I recently tried 3a1 and gave up
when I wasn't 
able to find a consistent distribution for the common utils.
 My 
evaluation at the time was that the "a" should
be larger (i.e., the code 
really was alpha state and not ready to be used widely). 
Having 
dependent jars would make things soooo much better and would
help make 
first impressions depend on the code rather than the
packaging.


Jochen Wiedmann wrote:
> Besides, I do believe this problem will be done as soon
as we start to
> deliver dependencies as part of the next binary
release.
>
>   


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-19 21:48:10
On Fri, 2006-05-19 at 22:32 +0200, Jochen Wiedmann wrote:
> Oliver Cole wrote:
> 
> > I'm not exactly a regular contributor here, but
wouldn't it be possible
> > to do some class loading stuff at some early point
to find out if we can
> > actually load org.apache.ws.commons.*, and if not,
then print the URL
> > and exit?
> 
> What URL should be printed?

A documentation and/or forwarding URL on the ws.apache
website of
course 

> Besides, I do believe this problem will be done as soon
as we start to
> deliver dependencies as part of the next binary
release.

Fair enough... but everyone like to compile from source from
time to
time.

Oli


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-20 10:22:57
Jochen Wiedmann schrieb:
> What do you mean with "does not work for
me"? I have just checked the 
> first
> URL and have got a proper directory listing. I don't
know the URL you are
> quoting, but the jar file it contains is outdated.
>
>
> Jochen
I meant that I could not get xml-prc to work properly. It
complains 
about missing org/apache/ws/commons/util/XsDateTimeFormat,
as mentioned 
by the Threadstarter.
When I put the outdated jar into the classpath, it worked
(but complains 
about other things  ).

I now play aorund with version 2.0.1

Andreas

------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

Unable to Setup XML RPC 3.0
user name
2006-05-20 12:04:55
Oliver Cole wrote:

> A documentation and/or forwarding URL on the ws.apache
website of
> course 

Ah. That's the ultimate solution, IMO.  If anyone
provides a patch, I am
ready to pull it in, though.


> Fair enough... but everyone like to compile from source
from time to
> time.

Right, in which case Maven 2 will automatically download the
required jar's
for you, doesn't it? 


Jochen


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

[1-10]

about | contact  Other archives ( Real Estate discussion Medical topics )