leon z [
http://community.jboss.org/people/leonz] created the discussion
"ejb web service client example failed - IOEXCEPTION vfs protocal"
To view the discussion, visit:
http://community.jboss.org/message/608423#608423
--------------------------------------------------------------
This is the web service client example on ejb 3.0 book. The web service has been
installed. this is the error message
run.client:
[java] javax.naming.NamingException: Cannot unmarshall service ref meta data [Root
exception is java.io.IOException: unknown protocol: vfs]
[java] at
org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:120)
[java] at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
[java] at
org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483)
[java] at
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500)
[java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:824)
[java] at
org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:153)
[java] at $Proxy0.lookup(Unknown Source)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at com.titan.clients.Client.main(Client.java:14)
[java] Caused by: java.io.IOException: unknown protocol: vfs
[java] at java.net.URL.readObject(URL.java:1220)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
[java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
[java] at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[java] at java.io.ObjectInputStream.access$300(ObjectInputStream.java:187)
[java] at
java.io.ObjectInputStream$GetFieldImpl.readFields(ObjectInputStream.java:2108)
[java] at java.io.ObjectInputStream.readFields(ObjectInputStream.java:518)
[java] at
org.jboss.metadata.serviceref.VirtualFileAdaptor.readObject(VirtualFileAdaptor.java:217)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
[java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
[java] at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
[java] at
org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData.readObject(UnifiedServiceRefMetaData.java:477)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
[java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
[java] at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
[java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
[java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
[java] at
org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:115)
[java] ... 8 more
trying to install JBOSSWS in addition to JBOSS - still cannot fix the issue.
can you please help on this.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/608423#608423]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]