i have deploy session bean on jboss application server (jboss-4.0.3SP1)
and when i'am trying to debug it remotely(from jdeveloper 10.1.2.2.0) it give 
Exception when trying to invoke create method

like this : 

Hashtable env = new Hashtable();
        env.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");      
        env.put(Context.PROVIDER_URL, "jnp://localhost:1099");      
        env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces" 
);   
        env.put("jnp.disableDiscovery", "true");
        
        Context context = new InitialContext(env);

ArithmeticHome arithmeticHome = 
(ArithmeticHome)PortableRemoteObject.narrow(context.lookup("java:/Arithmetic"), 
ArithmeticHome.class);
        Arithmetic arithmetic;

arithmetic = arithmeticHome.create();


the error message is
error unmarshalling arguments; nested exception is: 
java.net.MalformedURLException: no protocol: 
Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp12288testdeploy.ear-contents/testdeploy-exp.war/WEB-INF/classes/

please, can any one help me

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092424#4092424

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092424
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to