This is caused by a new JDK1.4 bug. See
http://developer.java.sun.com/developer/bugParade/bugs/4466485.html


xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 7:04 AM
Subject: Re: [JBoss-user] Dirs with spaces, 3.0.0 and the FAQ


> This is not the same issue as the bug. This is a JDK 1.4 issue and the
> JBoss string to URL handling is not considering encoded URLs.
>
> Running on a w2k box with Sun JDK 1.3.1_03 and the final 3.0.0 release
works
> fine for me.
>
> bin 627>java -jar run.jar
> 06:53:27,359 INFO  [Server] JBoss Release: JBoss-3.0.0 CVSTag=JBoss_3_0_0
> 06:53:27,390 INFO  [Server] Home Dir: G:\JBossReleases\Space
> Here\jboss-3.0.0
> 06:53:27,390 INFO  [Server] Home URL: file:/G:/JBossReleases/Space
> Here/jboss-3.0.0/
> 06:53:27,390 INFO  [Server] Library URL: file:/G:/JBossReleases/Space
> Here/jboss-3.0.0/lib/
> 06:53:27,390 INFO  [Server] Patch URL: null
> 06:53:27,390 INFO  [Server] Server Name: default
> 06:53:27,390 INFO  [Server] Server Home Dir: G:\JBossReleases\Space
> Here\jboss-3.0.0\server\default
> 06:53:27,406 INFO  [Server] Server Home URL: file:/G:/JBossReleases/Space
> Here/jboss-3.0.0/server/default/
> 06:53:27,406 INFO  [Server] Server Data Dir: G:\JBossReleases\Space
> Here\jboss-3.0.0\server\default\db
> 06:53:27,406 INFO  [Server] Server Temp Dir: G:\JBossReleases\Space
> Here\jboss-3.0.0\server\default\tmp
> 06:53:27,406 INFO  [Server] Server Config URL:
file:/G:/JBossReleases/Space
> Here/jboss-3.0.0/server/default/conf/
> 06:53:27,406 INFO  [Server] Server Library URL:
file:/G:/JBossReleases/Space
> Here/jboss-3.0.0/server/default/lib/
> ...
> 06:53:50,562 INFO  [MainDeployer] Successfully completed deployment of
> package:
> file:/G:/JBossReleases/Space
> Here/jboss-3.0.0/server/default/conf/jboss-service.xml
> 06:53:50,578 INFO  [Server] JBoss (MX MicroKernel) [3.0.0
Date:200205311035]
> Started in 0m:23s:172ms
>
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "Thomas Hentschel Lund" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 12, 2002 4:04 AM
> Subject: [JBoss-user] Dirs with spaces, 3.0.0 and the FAQ
>
>
> >
> > In the FAQ it states to include the following snippet in your jboss.jcml
> file to
> > allow Jboss to run in a dir with spaces:
> >
> >  <mbean code="org.jboss.util.FileURLPatch"
> > name="DefaultDomain:service=FileURLPatch">
> >   <attribute name="Enabled">true</attribute>
> >  </mbean>
> >
> >
> > Looking in the forums the new filename to insert this into is the
> > jboss-service.xml file
> >
> > But that does not work. JBoss bails out prior to even reading the
> > jboss-service.xml file (see dump below)
> >
> > Is this patch still not ported to 3.0.0? Is there a new mechanism for
> this?
> >
> > Please help - our customers are starting to get a little angry that our
> product
> > can't do as all other normal programs on Windows (install anywhere). I
> know this
> > is a Sun issue and blablabla, but that does not help much for Jboss not
> starting.
> >
> > Thanks!!
> >
> > /Thomas
> >
> > C:\tmp\Secure Aware\bin>java -jar run.jar
> > 11:50:48,135 INFO  [Server] JBoss Release: JBoss-3.0.0RC3
> CVSTag=JBoss_3_0_0_RC3
> >
> > 11:50:48,165 INFO  [Server] Home Dir: C:\tmp\Secure%20Aware
> > 11:50:48,165 INFO  [Server] Home URL: file:/C:/tmp/Secure%20Aware/
> > 11:50:48,165 INFO  [Server] Library URL:
file:/C:/tmp/Secure%20Aware/lib/
> > 11:50:48,165 INFO  [Server] Patch URL: null
> > 11:50:48,165 INFO  [Server] Server Name: default
> > 11:50:48,165 INFO  [Server] Server Home Dir:
> C:\tmp\Secure%20Aware\server\defaul
> > t
> > 11:50:48,175 INFO  [Server] Server Home URL:
> file:/C:/tmp/Secure%20Aware/server/
> > default/
> > 11:50:48,175 INFO  [Server] Server Data Dir:
> C:\tmp\Secure%20Aware\server\defaul
> > t\db
> > 11:50:48,175 INFO  [Server] Server Temp Dir:
> C:\tmp\Secure%20Aware\server\defaul
> > t\tmp
> > 11:50:48,175 INFO  [Server] Server Config URL:
> file:/C:/tmp/Secure%20Aware/serve
> > r/default/conf/
> > 11:50:48,175 INFO  [Server] Server Library URL:
> file:/C:/tmp/Secure%20Aware/serv
> > er/default/lib/
> > 11:50:48,175 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
> > 11:50:48,175 INFO  [Server] Starting General Purpose Architecture
(GPA)...
> > 11:50:48,435 INFO  [Log4jService] Creating
> > 11:50:48,435 INFO  [Log4jService] Created
> > 11:50:48,435 INFO  [Log4jService] Starting
> > 11:50:48,435 INFO  [Log4jService$URLWatchTimerTask] Configuring from
URL:
> resour
> > ce:log4j.xml
> > log4j:ERROR Could not open [resource:log4j.xml].
> > java.io.FileNotFoundException:
> C:\tmp\Secure%20Aware\server\default\conf\log4j.x
> > ml
> >         at
> org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnecti
> > on.java:65)
> >         at
> org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC
> > onnection.java:72)
> >         at
> org.jboss.net.protocol.DelegatingURLConnection.getInputStream(Delegat
> > ingURLConnection.java:131)
> >         at java.net.URL.openStream(URL.java:955)
> >         at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> > :545)
> >         at
> org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6
> > 15)
> >         at
> org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jSer
> > vice.java:488)
> >         at
> org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.jav
> > a:437)
> >         at
> org.jboss.logging.Log4jService.startService(Log4jService.java:281)
> >         at
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
> > 62)
> >         at
> org.jboss.logging.Log4jService.preRegister(Log4jService.java:362)
> >         at
> org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
> > eanRegistry.java:197)
> >         at
> org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
> > a:949)
> >         at
> org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
> > 247)
> >         at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:263)
> >         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
> >         at org.jboss.Main.boot(Main.java:142)
> >         at org.jboss.Main$1.run(Main.java:375)
> >         at java.lang.Thread.run(Thread.java:536)
> > 11:50:48,485 INFO  [Log4jService] Started
> > 11:50:48,495 INFO  [ServerInfo] Java version: 1.4.0,Sun Microsystems
Inc.
> > 11:50:48,495 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM
> 1.4.0-b92,Su
> > n Microsystems Inc.
> > 11:50:48,495 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
> > 11:50:48,535 INFO  [ServiceController] Controller MBean online
> > 11:50:48,596 INFO  [MainDeployer] Creating
> > 11:50:48,626 INFO  [MainDeployer] Created
> > 11:50:48,626 INFO  [MainDeployer] Starting
> > 11:50:48,626 INFO  [MainDeployer] Started
> > 11:50:48,636 INFO  [JARDeployer] Creating
> > 11:50:48,636 INFO  [JARDeployer] Created
> > 11:50:48,636 INFO  [JARDeployer] Starting
> > 11:50:48,636 INFO  [MainDeployer] Adding deployer:
> org.jboss.deployment.JARDeplo
> > yer@763f5d
> > 11:50:48,636 INFO  [JARDeployer] Started
> > 11:50:48,646 INFO  [SARDeployer] Creating
> > 11:50:48,646 INFO  [SARDeployer] Created
> > 11:50:48,646 INFO  [SARDeployer] Starting
> > 11:50:48,646 INFO  [MainDeployer] Adding deployer:
> org.jboss.deployment.SARDeplo
> > yer@d19bc8
> > 11:50:48,706 INFO  [SARDeployer] Started
> > 11:50:48,706 INFO  [Server] Core system initialized
> > 11:50:48,706 ERROR [MainDeployer] Couldn't deploy URL
> file:/C:/tmp/Secure%20Awar
> > e/server/default/conf/jboss-service.xml
> > org.jboss.deployment.DeploymentException: url
> file:/C:/tmp/Secure%20Aware/server
> > /default/conf/jboss-service.xml could not be opened, does it exist?
> >         at
> org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:172)
> >         at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:489)
> >         at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:472)
> >         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:324)
> >         at
> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
> > nDispatcher.java:284)
> >         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
> >         at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:318)
> >         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
> >         at org.jboss.Main.boot(Main.java:142)
> >         at org.jboss.Main$1.run(Main.java:375)
> >         at java.lang.Thread.run(Thread.java:536)
> > 11:50:48,716 INFO  [Server] JBoss (MX MicroKernel) [3.0.0RC3
> Date:200205201554]
> > Started in 0m:0s:541ms
> > 11:50:48,716 INFO  [Server] undeploying all packages
> > 11:50:48,726 INFO  [MainDeployer] Undeployed 0 deployed packages
> > 11:50:48,726 INFO  [Server] Shutting down all services
> > 11:50:48,726 INFO  [STDOUT] Shutting down
> > 11:50:48,726 INFO  [ServiceController] Stopping 3 services
> > 11:50:48,726 INFO  [SARDeployer] Stopping
> > 11:50:48,726 INFO  [MainDeployer] Removing deployer:
> org.jboss.deployment.SARDep
> > loyer@d19bc8
> > 11:50:48,726 INFO  [SARDeployer] Stopped
> > 11:50:48,726 INFO  [JARDeployer] Stopping
> > 11:50:48,726 INFO  [JARDeployer] Stopped
> > 11:50:48,726 INFO  [MainDeployer] Stopping
> > 11:50:48,726 INFO  [MainDeployer] Stopped
> > 11:50:48,726 INFO  [ServiceController] Stopped 3 services
> > 11:50:48,726 INFO  [Server] Shutdown complete
> > 11:50:48,726 INFO  [STDOUT] Shutdown complete
> >
> > C:\tmp\Secure Aware\bin>
> >
> > --
> > Thomas Hentschel Lund




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to