Hello Krishnakumar,
Thanks for replying back..
I need more help regarding the same.
I am using Cocoon with Tomcat and integrated with JBoss. I think the same concept should be applied here also as you have done it for JBoss-Jetty.
May be I need more clarification regarding ur mail.
I have one application running at server side with following contents:-
ear file:- npi.ear(containing application.xml, npi.jar(for EJB), npi.war(containing Cocoon servlet and XSP,XSL, images,js,css etc)
content of application.xml is

<?xml version="1.0" encoding="ISO-8859-1"?>

<application>

<display-name>My application</display-name>

<module>

<web>

<web-uri>npi.war</web-uri>

<context-root>/npi</context-root>

</web>

</module>

<module>

<ejb>npi.jar</ejb>

</module>

</application>

You are talking about making another war file that contain servlet to manage images. I am using only Cocoon servlet for whole application and I am generating images using this servlet only.

So How can I configure new war file? what should it contain? and It manages the new generated images.

Can you send me an example for configuring this with ear /war and application.xml?

Thanks, waiting for ur reply..

Niket 

 

----- Original Message -----
Sent: Thursday, January 02, 2003 5:08 PM
Subject: RE: [JBoss-user] Deploying images dynamically

Hi,
 
I use JBOSS-Jetty and I have done this by having an ear file for the packaged web application(s) and another web application deployed as a 'exploded' war. This second web aplication is there purely to manage additions and deletions of images, it has just one servlet to manage these operations. The pages in the primary web application reference the images thru document root relative path, rather than context relative path.
 
The way 'exploded' wars are created is by creating a directory  "<context>.war" under the ../server/<config>/deploy directory of JBOSS-Jetty. I am not sure if this works the same way in JBOSS-Tomcat.
 
Cheers,
Krishna
-----Original Message-----
From: Niket Anand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Deploying images dynamically

Hello All,
I made war and jar files in a combined ear file and deployed that ear file
in deploy folder(JBoss-2.4.7_Tomcat-4.0.4).
I have some scenario where some of the images are made dynamically. so How
can I integrate that new generated images with ear file so that server can
understand that images?
Please help me and reply asap.
Thanks,
Niket

Reply via email to