• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

JForum on JBoss AS7

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dear sirs,

i would like to use the jforum on JBoss AS7. After deployment and installation i have reloaded the JBoss and found that jforum wants a new installation. I have found that JBoss create in the standalone/deployment nothing. Now it create the application in standalone/tmp/vfs/temp... .Each time the Jboss starts, it creates a new dir for jforum in standalone/tmp/vfs.

I do understand, that there is not an issue of jforum, but i need a solution. Perhaps anybody has met this issue.
 
author & internet detective
Posts: 42109
934
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oleg,
Welcome to CodeRanch! I don't know the answer to your question, but I've added this post to the JBoss forum as well.

Can you confirm (by replying to this post) that you deployed the JForum war file? (rather than some other way of deploying)
 
Oleg Duvanayev
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Jeanne,

it is good idie about the JBoss forum.

yes, i have downloaded the jforum ( https://code.google.com/p/jforum2 ) as war file. JBoss AS7 runs on openSuse 12.3, x64.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are different ways to deploy an application in AS7. One way is the management API or the web console approach, which is what I think you used. In such cases, the deployment is deployed in an internal folder of AS7.

The other approach is to deploy it by placing the application in JBOSS_HOME/standalone/deployments folder. You can use this approach. Since you have already deployed it on your AS7 instance, first undeploy it through the web console and then manually place the war in the standalone/deployments folder. It will continue remaining in that folder even on subsequent restarts.
 
Oleg Duvanayev
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have manualy inserted the war-file into JBOSS_HOME/standalone/deployments. The AS has created jforum.war.deployed. That's all. See screenshort. I have added the standalone.xml for info.
terminal.png
[Thumbnail for terminal.png]
standalone.png
[Thumbnail for standalone.png]
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's an indication that the application has been deployed. What problem are you running into after this?
 
Oleg Duvanayev
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The matter is the next start of JBoss. By the reloading of the JBoss, it ignors the present folder and create a new one. This tends to new installation of jforum.

jforum is an application. First start of it is always installation.

i need to avoid the creation of new instance of application (jforum) and to use present one.

please see the screen short. i have reloaded the JBoss:
terminal_2.png
[Thumbnail for terminal_2.png]
reload of JBoss AS
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Those are the deployment contents that the server creates for archived deployments. You might want to try the exploded deployment option which is explained here https://docs.jboss.org/author/display/AS71/Application+deployment

In short, extract the war file to jforum.war folder in standalone/deployments and then create a jforum.war.dodeploy marker file in the standalone/deployments folder. Start the server.
 
Oleg Duvanayev
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
great !

it's work. very many thanks !
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic