[jboss-user] how to handle this: "java.net.MalformedURLException: unknown protocol: e " ?

Oliver Lee oliver.jboss at gmail.com
Thu Jul 17 07:29:13 EDT 2008


hi,all
when i deploy my project to jboss4.2.2GA,i encounter follow exception:

19:02:07,859 INFO  [Server] Starting JBoss (MX MicroKernel)...
19:02:07,859 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=
JBoss_4_2_2_GA date=200710221139)
19:02:07,859 INFO  [Server] Home Dir: E:\eclipse\moonframework\ref\view\tapestry
5\jboss-4.2.2.GA
19:02:07,859 INFO  [Server] Home URL: file:/E:/eclipse/moonframework/ref/view/ta
pestry5/jboss-4.2.2.GA/
19:02:07,859 INFO  [Server] Patch URL: null
19:02:07,859 INFO  [Server] Server Name: default
19:02:07,859 INFO  [Server] Server Home Dir: E:\eclipse\moonframework\ref\view\t
apestry5\jboss-4.2.2.GA\server\default
19:02:07,859 INFO  [Server] Server Home URL: file:/E:/eclipse/moonframework/ref/
view/tapestry5/jboss-4.2.2.GA/server/default/
19:02:07,875 INFO  [Server] Server Log Dir: E:\eclipse\moonframework\ref\view\ta
pestry5\jboss-4.2.2.GA\server\default\log
19:02:07,875 INFO  [Server] Server Temp Dir: E:\eclipse\moonframework\ref\view\t
apestry5\jboss-4.2.2.GA\server\default\tmp
19:02:07,875 INFO  [Server] Root Deployment Filename: jboss-service.xml
19:02:08,796 INFO  [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
19:02:08,796 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_05-b05
,Sun Microsystems Inc.
19:02:08,796 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
19:02:10,406 INFO  [Server] Core system initialized
19:02:17,125 INFO  [ServiceConfigurator] Problem configuring service jboss.deplo
yment:type=DeploymentScanner,flavor=URL
org.jboss.deployment.DeploymentException: Exception setting attribute javax.mana
gement.Attribute at d24e3f on mbean jboss.deployment:type=DeploymentScanner,flavor=
URL; - nested throwable: (java.net.MalformedURLException: unknown protocol: e)
        at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
.java:707)
        at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.ja
va:332)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
tor.java:462)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:171)
        at org.jboss.system.ServiceController.install(ServiceController.java:226
)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.MalformedURLException: unknown protocol: e
        at java.net.URL.<init>(URL.java:574)
        at java.net.URL.<init>(URL.java:464)
        at org.jboss.deployment.scanner.URLDeploymentScanner.makeURL(URLDeployme
ntScanner.java:380)
        at org.jboss.deployment.scanner.URLDeploymentScanner.setURLs(URLDeployme
ntScanner.java:363)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatch
er.java:136)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelM
BeanAttributeInterceptor.java:103)
        at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInt
erceptor.java:76)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanIn
voker.java:461)
        at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java
:608)
        at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator
.java:703)
        ... 39 more
19:02:17,468 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
19:02:17,468 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
19:02:21,359 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
19:02:21,359 INFO  [TransactionManagerService] Setting up property manager MBean
 and JMX layer
19:02:22,156 INFO  [TransactionManagerService] Starting recovery manager
19:02:22,453 INFO  [TransactionManagerService] Recovery manager started
19:02:22,453 INFO  [TransactionManagerService] Binding TransactionManager JNDI R
eference
19:02:25,125 ERROR [Server] Root deployment has missing dependencies; continuing

Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.deployment:type=DeploymentScanner,flavor=URL
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute at d24e3f on mbean jboss.deployment:type=DeploymentScann
er,flavor=URL; - nested throwable: (java.net.MalformedURLException: unknown prot
ocol: e)
  I Depend On:
    jboss.system:service=MainDeployer

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.deployment:type=DeploymentScanner,flavor=URL
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: Exception setting attribute
javax.management.Attribute at d24e3f on mbean jboss.deployment:type=DeploymentScann
er,flavor=URL; - nested throwable: (java.net.MalformedURLException: unknown prot
ocol: e)
  I Depend On:
    jboss.system:service=MainDeployer


        at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDepl
oyer.java:1385)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        at org.jboss.Main.boot(Main.java:200)
        at org.jboss.Main$1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:595)
19:02:25,156 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 17s:281ms

how to solve this problem,thank you very much!!




Oliver Lee
2008-07-17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20080717/634741e5/attachment.html 


More information about the jboss-user mailing list