[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying ZIP/JAR files issue

neo2008 do-not-reply at jboss.com
Wed Aug 6 13:22:16 EDT 2008


Hi Guys,

"PeterJ" wrote : The location of the file is no exactly what I would expect:
  | 
  | C:/build-capri/eds-server/deploy/Raw+Data+Load/dataload/xml/1996_update.zip
  | 
  | Typically, the directory structure is server/xxx/deploy. Did you update the URLlist, and if so, what did youy update it to?
  | 
We have:
     <attribute name="URLs">
         deploy/,file:/C:/build-capri/eds-server/deploy
      </attribute>
setting in jboss-service.xml file

So all content of 'deploy' folder should be deployed with sub-folders.

"PeterJ" wrote : 
  | Also, this part of the path is suspect: Raw+Data+Load. Is this really "Raw Data Load", with spaces? If so, either move the ZIP file into a path without space or rename the directory so it no longer has spaces. Spaces in paths can give some Java libraries fits. (If the directory really does contain the plus signs, try removing them and see if it helps.)
  | 
Ooopsss! 
Yes, you are right, this is the issue! I replaced '+' in the folder name to '_' and it woks now!
Do you know why '+' is so bad in folder's name in case of un-ZIP-ing? It worked in previous versions of JBoss.

"PeterJ" wrote : 
  | The sources are available from the same web page where you downloaded the binary.
  | 
  | Finally, what version of JBossAS are you using.
  | 
We have recently upgraded to JBoss 4.2.2.GA

"PeterJ" wrote : 
  | By the way, Jaikiran asked you to run the jar utility to ensure that the ZIP file was readable. In the past we have encountered people who use various other utilities  (such a WinRAR) to create ZIP files and those files were incompatible with Java.
No, Zip ok. The command with jar utility displayed a full list of files contained in the .zip archive. So I run the following:
C:\>c:\jdk1.5.0_11\bin\jar.exe -tf C:\build-capri\eds-server\deploy\Raw+Data+load\dataload\xml\1996_update.zip

Note that it's old, yet with '+' signs path.

thank you,
Alexey

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169110



More information about the jboss-user mailing list