• 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
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Auto load war in oOC4J

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible to drop a war file in OC4J and have OC4J recongnise it, so that files can be served.

I know how to drop a ear by setting the file descriptor application.xml

I would like to load a war file exactly like that. Is there any provision to do that?

Thanks,
Vijay Venkat
 
Vijay Venkat
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Clarifying the previous post of mine. I don't want to do any manual editing of files. Like if i a drop a ear it is automatic.

I am aware how to do it manually.

OC4J should behave here say like a Tomcat server. Drop the war and it is done.

Thanks,
Vijay V
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know in Tomcat that you can drop a .war in and it's "done".

I've never tried that with Oracle AS.

However, I have noticed that when I deploy a .war to Oracle AS from the Enterprise Manager, it automatically creates an .ear first...
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you want to deploy a war in OC4J rather than an ear, you must manually configure the files.
 
Vijay Venkat
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Robert Chisholm, Marilyn de Queiroz - Thanks for your response.

I am aware that i can manually configure it. I decline to use this option.
Robert Chisholm - You had mentioned that EM - converts the war to ear, and deploys. This is a better option - does this invoke any admin tool that comes with OC4J that you are aware of.
I know this kind of thing happens with deployment through JDEV.

I am looking into it. If in case i get to know the answer i will post it.

Thanks a lot for your response, and my apologies for the late reply.

Have a good time.

Vijay Venkat
 
Robert Chisholm
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do know that Oracle uses a command line tool called DCMCTL for java related deployments. From JDeveloper (during remote deployment) this tool is executed on the server (known as "Remote DCM").

I've had occassions where I've had access to Oracle AS and have deployed an .ear from there with dcmctl (ex: soap.ear). But not a .war.

If you investigate dcmctl you'll probably get some answers.
 
reply
    Bookmark Topic Watch Topic
  • New Topic