[Installation, Configuration & DEPLOYMENT] - Re: Deploying ZIP/JAR files issue
by neo2008
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
17 years, 11 months
[JBoss Portal] - unable to create portlet instance: says it already exists
by u268
Hi All!
Have a weird problem: unable to create portlet instance from admin UI.
Here is a case:
Our portal had leftNavPortlet defined in XML under some_name.war.
Then we removed this portlet form this war and placed to separate war with same name definition (leftNavPortlet) and from now it seems to have a different portlet name when deployed like:
local./ontometrics-jboss-portlets.leftNavPortlet
In admin UI I can't see portlet instance named leftNavPortletInstance... so I tried to create one by selecting local./ontometrics-jboss-portlets.leftNavPortlet from available portlets list but it gives me error:
An instance with the id leftNavPortletInstance already exist!
But I CAN'T see it in portlet instances defined!
How do I cleanup it?
Actually when I dropped local portal DB instance and deployed from scratch - all was working fine. But I don't want to drop DB on production!
HELP!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169091#4169091
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169091
17 years, 11 months