<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Problem running ejb3 tutorial examples
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/ehognestad">eivind hognestad</a> in <i>EJB 3.0</i> - <a href="http://community.jboss.org/message/552753#552753">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi guys.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have just downloaded jboss5 and maven 2.0.9 and I'm trying to run the stateless example. It fails with this error:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>[ERROR] BUILD ERROR<br/>[INFO] ------------------------------------------------------------------------<br/>[INFO] Could not deploy D:\development\tutorials\ejb3\source\stateless\target\jboss-ejb3-tutorial-stateless.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>no protocol: and<br/>[INFO] ------------------------------------------------------------------------<br/>[INFO] Trace<br/>org.apache.maven.lifecycle.LifecycleExecutionException: Could not deploy D:\development\tutorials\ejb3\source\stateless\target\jboss-ejb3-tutorial-stateless.jar<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)<br/>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)<br/>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)<br/>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)<br/>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>        at java.lang.reflect.Method.invoke(Method.java:585)<br/>        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br/>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br/>        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br/>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br/>Caused by: org.apache.maven.plugin.MojoExecutionException: Could not deploy D:\development\tutorials\ejb3\source\stateless\target\jboss-ejb3-tutorial-stateless.jar<br/>        at org.jboss.maven.plugins.as.control.mojo.JbossAsControlDeployMojo.execute(JbossAsControlDeployMojo.java:95)<br/>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)<br/>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)<br/>        ... 16 more<br/>Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:<br/>        java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:<br/>        java.net.MalformedURLException: no protocol: and]<br/>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:782)<br/>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)<br/>        at javax.naming.InitialContext.lookup(InitialContext.java:351)<br/>        at org.jboss.jbossas.servermanager.Server.getServerConnection(Server.java:646)<br/>        at org.jboss.jbossas.servermanager.Server.invoke(Server.java:861)<br/>        at org.jboss.jbossas.servermanager.Server.deploy(Server.java:808)<br/>        at org.jboss.maven.plugins.as.control.mojo.JbossAsControlDeployMojo.execute(JbossAsControlDeployMojo.java:90)<br/>        ... 18 more<br/>Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:<br/>        java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:<br/>        java.net.MalformedURLException: no protocol: and<br/>        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)<br/>        at sun.rmi.transport.Transport$1.run(Transport.java:153)<br/>        at java.security.AccessController.doPrivileged(Native Method)<br/>        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)<br/>        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)<br/>        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)<br/>        at java.lang.Thread.run(Thread.java:595)<br/>        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)<br/>        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)<br/>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)<br/>        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)<br/>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)<br/>        ... 24 more<br/>Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:<br/>        java.net.MalformedURLException: no protocol: and<br/>        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:282)<br/>        at sun.rmi.transport.Transport$1.run(Transport.java:153)<br/>        at java.security.AccessController.doPrivileged(Native Method)<br/>        at sun.rmi.transport.Transport.serviceCall(Transport.java:149)<br/>        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)<br/>        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)<br/>        at java.lang.Thread.run(Thread.java:595)<br/>Caused by: java.net.MalformedURLException: no protocol: and<br/>        at java.net.URL.<init>(URL.java:567)<br/>        at java.net.URL.<init>(URL.java:464)<br/>        at java.net.URL.<init>(URL.java:413)<br/>        at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)<br/>        at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)<br/>        at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)<br/>        at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:91)<br/>        at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)<br/>        at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)<br/>        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)<br/>        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)<br/>        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)<br/>        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)<br/>        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)<br/>        at javax.naming.CompoundName.readObject(CompoundName.java:554)<br/>        at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)<br/>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>        at java.lang.reflect.Method.invoke(Method.java:585)<br/>        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)<br/>        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)<br/>        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)<br/>        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)<br/>        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)<br/>        at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)<br/>        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)<br/>        ... 6 more<br/>[INFO] ------------------------------------------------------------------------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have followed the tutorial instructions, and I am not able to find where the error might be.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Anyone else experienced this problem?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Best regards,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Eivind</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/552753#552753">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in EJB 3.0 at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>