aspose file tools*
The moose likes JForum and the fly likes JForum on JBoss AS7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "JForum on JBoss AS7" Watch "JForum on JBoss AS7" New topic
Forums: JForum JBoss/WildFly
Author

JForum on JBoss AS7

Oleg Duvanayev
Greenhorn

Joined: Dec 13, 2013
Posts: 5
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.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30516
    
150

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)


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Oleg Duvanayev
Greenhorn

Joined: Dec 13, 2013
Posts: 5
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.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

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.

[My Blog] [JavaRanch Journal]
Oleg Duvanayev
Greenhorn

Joined: Dec 13, 2013
Posts: 5
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.


[Thumbnail for terminal.png]

[standalone.png]

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

That's an indication that the application has been deployed. What problem are you running into after this?
Oleg Duvanayev
Greenhorn

Joined: Dec 13, 2013
Posts: 5
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:



[Thumbnail for terminal_2.png]

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

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

Joined: Dec 13, 2013
Posts: 5
great !

it's work. very many thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JForum on JBoss AS7