RE: [JBoss-user] Running a web-app under jboss where docroot & web-inf outside the deploy directory.

2003-07-18 Thread Elankath, Tarun (Cognizant)
>You can also use symbolic links (under unix, and junctions under win
>2000+ (search for JUNCTION.EXE)) to point to the real directories.

Wow. I never knew that one could have symbolic links under Win2K.
Will try this too and see how it goes.

Thanks for the help!
Tarun



This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



RE: [JBoss-user] Running a web-app under jboss where docroot & web-inf outside the deploy directory.

2003-07-18 Thread Elankath, Tarun (Cognizant)

Thanks Brian!

I am going to try this right-away. 

Regards,
Tarun


-Original Message-
From: Brian Wallis [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 5:48 PM
To: [EMAIL PROTECTED]; Elankath, Tarun (Cognizant)
Subject: Re: [JBoss-user] Running a web-app under jboss where docroot &
web-inf outside the deploy directory.


On Fri, 18 Jul 2003 09:50 pm, Elankath, Tarun (Cognizant) wrote:
> Hi all,
>
> I have a web-application in expanded form (which is under frequent
> development). I do not wish to take the trouble of creating a WAR file
> everytime and neither do I wish to transfer the application files into a
> app.war/ folder under the jboss server's deploy/ directory.
>
> Is there a way of asking jboss to pick up the expanded web-application from
> another path on the disk ? (This is the place where the developer is
> editing the files)
>
> My application uses EBJ's too, but since the ejb layer is quite stable
> right now, I don't want to create an EAR file every time.
>
> I am quite new to JBoss, so please excuse if this seems straightforward to
> you.

You can add extra deploy directories in jboss-service.xml so you deploy from 
wherever you want. So, as long as you build into a directory called 
something.war that is in it's own directory (yourdeploydir) and the structure 
is the same as you would package into the war. Hot deploy should work fine, 
just 'touch' the directory to re-deploy (as long as it doesn't try to 
re-deploy half way through rebuilding).

Just add yourdeploydir to the "URLs" attribute in the deployment scanner 
MBean.You'll find it in server/default/conf/jboss-server.xml

(I hope this is clear, it is simple to do)

brian...


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



Re: [JBoss-user] Running a web-app under jboss where docroot &web-inf outside the deploy directory.

2003-07-18 Thread Bob Cotton
> "Tarun" == Tarun Elankath  writes:

Tarun> Hi all, I have a web-application in expanded form (which is
Tarun> under frequent development). I do not wish to take the
Tarun> trouble of creating a WAR file everytime and neither do I
Tarun> wish to transfer the application files into a app.war/
Tarun> folder under the jboss server's deploy/ directory.

Tarun> Is there a way of asking jboss to pick up the expanded
Tarun> web-application from another path on the disk ? (This is
Tarun> the place where the developer is editing the files)

Tarun> My application uses EBJ's too, but since the ejb layer is
Tarun> quite stable right now, I don't want to create an EAR file
Tarun> every time.

You can also use symbolic links (under unix, and junctions under win
2000+ (search for JUNCTION.EXE)) to point to the real directories.

For symbolic links, you will need JBoss 3.2.2, as earlier versions
would not configure Tomcat to follow symbolic links.
Java, for loading classes, will follow them.

- Bob

-- 
SynXis Corporation  | [EMAIL PROTECTED]| no .sig today.
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | 
Denver, CO  80202   | Fax:(303)534-4257 | 



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Running a web-app under jboss where docroot & web-inf outside the deploy directory.

2003-07-18 Thread Brian Wallis
On Fri, 18 Jul 2003 09:50 pm, Elankath, Tarun (Cognizant) wrote:
> Hi all,
>
> I have a web-application in expanded form (which is under frequent
> development). I do not wish to take the trouble of creating a WAR file
> everytime and neither do I wish to transfer the application files into a
> app.war/ folder under the jboss server's deploy/ directory.
>
> Is there a way of asking jboss to pick up the expanded web-application from
> another path on the disk ? (This is the place where the developer is
> editing the files)
>
> My application uses EBJ's too, but since the ejb layer is quite stable
> right now, I don't want to create an EAR file every time.
>
> I am quite new to JBoss, so please excuse if this seems straightforward to
> you.

You can add extra deploy directories in jboss-service.xml so you deploy from 
wherever you want. So, as long as you build into a directory called 
something.war that is in it's own directory (yourdeploydir) and the structure 
is the same as you would package into the war. Hot deploy should work fine, 
just 'touch' the directory to re-deploy (as long as it doesn't try to 
re-deploy half way through rebuilding).

Just add yourdeploydir to the "URLs" attribute in the deployment scanner 
MBean.You'll find it in server/default/conf/jboss-server.xml

(I hope this is clear, it is simple to do)

brian...



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Running a web-app under jboss where docroot & web-inf outside the deploy directory.

2003-07-18 Thread Elankath, Tarun (Cognizant)
Hi all,

I have a web-application in expanded form (which is under frequent development). I do 
not wish to take the trouble of creating a WAR file everytime and neither do I wish to 
transfer the application files into a app.war/ folder under the jboss server's deploy/ 
directory.

Is there a way of asking jboss to pick up the expanded web-application from another 
path on the disk ? (This is the place where the developer is editing the files)

My application uses EBJ's too, but since the ejb layer is quite stable right now, I 
don't want to create an EAR file every time.

I am quite new to JBoss, so please excuse if this seems straightforward to you.

All help/pointers appreciated,
Tarun




This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com