• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Jrun 4 & installing app

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Is it possible to deploy an application that is not packed with a jar archive in Jrun 4 ? i want to depeploy the entire app tree without using a war, jar, ear.... -files ..
maybe create a context in some way ?
 
Author
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
have to had any time to learn the admin app? If you start the default server and then select it (J2EE components should open by default, if not choose that option). You can then deploy Enterprise apps, web applications and EJBs
if yo select Add here you can deploy an expanded web app = i.e. not packaged as a war file
 
Michael Palka
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know that but, Enterprise apps are ear files, web apps are war files, and javabeans are jar files. I want to deploy the application without using any of theese. I have to deploy it as it is, the entire tree without packing it first with a jar archive
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do that from the admin server - Define your application - under the default application server is simplest.
Then under the servlets item on the application list you can edit the associated web.xml with the appropriate information. Then you copy the class files etc into place and restart.
Bill
 
Michael Palka
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you relly talking about Jrun 4 ?
sounds to me more like WebSphere?
when you say "admin server" do you mean "Jrun Management Console" ?
Im sorry but this doesnt make any sence cause the objects you describe are not in Jruns management console.
 
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Start the admin server and go to the JMC.
2. Start the JRun server that you want your webapp to be deployed to.
3. Click on that JRun server.
4. In "Web Applications" click Add.
5. In deployment files browse to your webapp root directory and click deploy.
6. Select the general settings for your web application, and click apply.
Sometimes an error will appear: [1]javax.management.MalformedObjectNameException: ObjectName: Invalid value -> demo-app?server etc etc. This is a benign bug. Ignore this.
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also use the autodeploy feature of JRun 4. Simply, start your JRun Server and place your expanded directory on the autodeploy directory. JRun automatically deploys a module when it detects a module archive file or an expanded module directory in a deploy directory.
By default, this functionality is combined with hot deploy, which automatically deploys a module copied to a deploy directory of a running JRun server.
The default deploy directory is jrun_root/servers/jrun_server, but you can create additional deploy directories, and modify or remove existing ones through the JMC or by manually adding or removing deployDirectory attributes to the DeployerService section of the JRun server's jrun_root/servers/server_name/SERVER-INF/jrun.xml file. For example, to configure the directory c:/my_deployments as a deploy directory, you would add the following entry to the jrun.xml file:
<attribute name="deployDirectory">c:/my_deployments</attribute>.
You may want to refer to Dynamic module deployment of the JRun 4.0 Documentation for details.
[ July 09, 2002: Message edited by: Owee Nicolas ]
 
Michael Palka
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx alot guys, the thing is when u try to add an web application it asks you for a war file, thats why I got confused, It was true though, you can point it to the root of that directory. Thanx alot works perfectly
 
reply
    Bookmark Topic Watch Topic
  • New Topic