• Post Reply Bookmark Topic Watch Topic
  • New Topic

The protocol problem of EJB  RSS feed

 
YanJun Tong
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Weblogic to develop a session bean,let's call it demo1. A java class MyAgent should be fired when demo1bean.create() method is trigged in client. However in MyAgent I use another network protocol whose name is atp. When I run the client program and fire demo1bean.create(),I got such errors as follows
java.lang.Error:factory already defined at java.net.URL.setURLStreamHandlerFactory
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.pool.StatelessSessionPool.createBean
at weblogic.ejb20.pool.StatelessSessionPool.getBean
at weblogic.ejb20.internal.BaseEJBObject.prevoke
at weblogic.rmi.internal.BasicServerRef.invoke
at weblogic.rmi.cluster.RepublicaAwareServerRef.invoke
at weblogic.kernel.ExecteThread.run
java.net.MalformedURLException: unknown protocol: atp
Could anyone help me to resolve this problem thanks in advance
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!