[JBoss-user] [Installation Configuration] - Re: How to start Multiple servers (instances) in JBoss

2005-05-18 Thread astrien
You know, sometimes a one-line answer is less helpfull than no answer at all.

Mohan - I'm working on the same problem you are.  First, read this:

http://jboss.com/index.html?module=bbop=viewtopict=63969

Now, in my case, each Jboss instance is serving a domain that has it's own ip 
address, and therefore I can use the configuration options to set the 
--host=$JBOSS_HOST option for each instance.  This allows for the RMI, JNDI, 
UIL2, and other ports that a JBoss server config can use to bind to that IP or 
Host name instead of all vying for the same IP address, which is what I think 
is happening to you.

As far as I'm concerned the binding-manager-service is a programmer's solution 
to multiple instances, which is to say it's over-complicated and just not very 
helpful to 90% of the people using JBoss. For just throwing up a second server, 
it should have been much simpler.

If you're going to run multiple instances of JBoss on the same IP and you don't 
want to have to take the time to learn the binding-manager-service, then you 
need to change the ports the services use for each instance.  I'm working on 
the script referenced in the post linked above to make all this multiple 
instance stuff easier.  I'm just getting around to taking care of ports for 
shared host instances, but until I do, you'll have to go into the Tomcat SAR 
server.xml, the jboss-service.xml, and any other assorted xml configuration 
files for what services you are deploying and change the ports there for each 
instance so no ports conflict with any others.

I hope this helps, and as I said, I'm still working on simplifying all of this. 
I'll check back here if you have any other questions...



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878206#3878206

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878206


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Shutdown of multiple instances of Jboss on same server

2005-05-18 Thread astrien
What you're saying is that if you want to be able to shut down any given 
running instance of JBoss, you are forced to run the JMX service, whether you 
want it or not?  Or is there some other way of targeting a server instance 
dirctory to specifically shut it down?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878232#3878232

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878232


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Shutdown of multiple instances of Jboss on same server

2005-05-17 Thread astrien
Hey Scott.  Here's a list of the issues I've run across.

1.) The latest documentation 
(http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch01.html) doesn't state 
anywhere exactly what needs to be done to relocate a configuration folder 
outside the [jboss_home]/server directory.  One glaring omission is in Figure 
1.1, where jboss.server.base.url is listed, but is completely useless without 
knowing that you would also have to set jboss.server.base.dir to get JBoss to 
recognise a configuration home outside the server directory.

2.) The current virtual host configuration for JBoss 
(http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch9.chapt.html#d0e22095) is 
only good if there is only one party responsible for deploying web applications 
to specific domains. It would be impossible to use this in a true virtual 
hosting environment because it would not only require shared access to the 
deploy directory by all domain owners (to be able to deploy wars to their 
domain), but as the documentation states:
anonymous wrote : To deploy a WAR to a specific virtual host you need to 
specify an appropriate virtual-host definition in your jboss-web.xml descriptor.
... a malicious domain owner could set the war to be deployed to someone elses 
domain, causing conflicts or worse.  This is not to mention that two domains 
could not run the same application unless the application was specifically 
coded to handle input from two domains simultaneously.

That covers the gist of it for now.  Along the lines of feature requests, it 
would also be nice to allow for a shared deploy directory where a server 
administrator could put WARs that would be deployed to all configurations (id 
est - domains, virtual hosts), but would be run as if the WARs had been added 
to each of the configuration's deploy directories separately.  Forgive me if 
the all configuration does this already. I'd check the documentation to be 
sure, but the all configuration, its purpose, and how it interacts with the 
other configurations is never addressed in the docs except for passing 
references.  Googling gives me a firm the all configuration in 4.x does the 
same stuff it does in 3.2.x.  Gee, thanks.

Regarding the shutdown command, I mentioned in the first post in this thread 
that I was using copies of the minimal configuration for testing, which does 
not have any services in the deploy directory - include the jmx related 
services.  So are you telling me that if you want to stop a server via the 
command line without using kill -9, you are forced to include the jmx services 
in your configuration even if you do not want them?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877991#3877991

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877991


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Shutdown of multiple instances of Jboss on same server

2005-05-16 Thread astrien
Just to add a bit to this, I've created a script for starting multiple JBoss 
instances on a single server.  I am still working on it, as I am a beginning 
shell scriptor, and for the most part this is a heavily modified version of the 
redhat script that comes with the 4.0.2 distribution.  - redhat because I am 
currently working on a redhat ES3 server.

I would gladly take suggestions for this script and upload any changes for all 
to share.  It's being housed in a Subversion repository at the following link:

https://facets-tech.net/repos/ftools_REPOS/trunk/src/jboss/

The user is jbossusr and the password is the same.

I think the hell I've had to go through so far to get the right settings for 
relocating and starting multiple JBoss configurations, each in it's own 
separate JVM but sharing the same base libraries is a testiment to how 
virtual-hosting-hostile JBoss currently is.  That said, I wouldn't have spent 
so much of my free time trying to get this right and learning shell scripting 
if I didn't like JBoss so much.  Any help with this - and most importantly 
right now help with figuring out how to target specific running instances for 
shutdown, would be greatly appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877834#3877834

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877834


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Shutdown of multiple instances of Jboss on same server

2005-05-15 Thread astrien
This is for JBoss 4.0.2 running on Redhat ES3.

Could someone clarify something for me?  I've started multiple instances of 
JBoss from the command line, meaning two different configurations, each bound 
to it's own IP address as in the following command:

  | /usr/local/jboss/bin/run.sh -Djboss.server.base.dir=/home/httpd/vhosts/ 
-Djboss.server.base.url=file:/home/httpd/vhosts/ --host=xxx.xxx.xxx.xxx -c 
mydomain.com/webapps
  | 
Run this command twice with differing host and -c settings and you now have two 
instances of JBoss running from the same installed base.

Now the problem remains, how the hell do I shutdown one instance or the other?  
And I mean without using kill -9?

I know the shutdown options, which are found on 
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch01.html, but can't seem to 
get any of them to work.  I tried this:

  | /usr/local/jboss/bin/shutdown.sh -s xxx.xxx.xxx.xxx:1099 -S
  | 
...but all I get is an error:

  | Exception in thread main javax.naming.NameNotFoundException: jmx not bound
  | 
Now the test JBoss configurations I am using are just copies of the minimal 
configurations that come with the JBoss installation, and I think that means 
that JMX services are not part of that config which would explain the above 
error, but if that's the case, then how are you supposed to shut down a server 
from the command line without that service running?

Can anyone clue me in?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877790#3877790

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877790


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Server configurations are completely unrelocatable

2005-04-27 Thread astrien
Well, I've been working on this problem a couple of days now and had two posts 
here.  One post has been ignored for six months, the other post got half an 
answer.

All I want to do is have a server config directory somewhere other than 
jboss/server/xxx, where xxx is all, minimal, default, or my own config.  Before 
I get another rtfl lame brain!, I read the following twice:

http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch01.html

...and spent the last two days playing with the settings in every concievable 
configuration possible given the documentation.

Either JBoss is broken in this regard, or the documentation is completely 
wrong.  Which is it guys?

Let's go over one example.  Given the following virtual hosting directory 
structure:

  | /vhosts
  | | /jboss.com
  | || /jboss-start.sh
  | || /jboss-stop.sh
  | || /webapps
  | ||  | /conf
  | ||  | /deploy
  | ||  | /lib
  | || /htdocs
  | || | /index.html
  | | /hostedDomain2.com
  | || /jboss-start.sh
  | || /jboss-stop.sh
  | || /webapps
  | ||  | /conf
  | ||  | /deploy
  | ||  | /lib
  | || /htdocs
  | || | /index.html
  | 

Assume the webapps directory is just a copy of the minimal server 
configuration from the default JBoss installation.  Using what one poster gave 
me, I started the jboss.com server with the following:

Z:\tmp\jboss\bin\run.bat \ 
   -Djboss.server.base.dir=Z:/tmp/vhosts/jboss.com/ \
   -Djboss.server.name=webapps

... and I get the following error:


  | 
===
  | .
  |   JBoss Bootstrap Environment
  | .
  |   JBOSS_HOME: Z:\tmp\jboss\bin\\..
  | .
  |   JAVA: C:\Java\jdk1.5.0\bin\java
  | .
  |   JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
  | .
  |   CLASSPATH: C:\Java\jdk1.5.0\lib\tools.jar;Z:\tmp\jboss\bin\\run.jar
  | .
  | 
===
  | .
  | 18:20:07,234 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 18:20:07,234 INFO  [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: 
CVSTag=JBoss_4_0_1_SP1 date=200502160314)
  | 18:20:07,234 INFO  [Server] Home Dir: Z:\tmp\jboss
  | 18:20:07,250 INFO  [Server] Home URL: file:/Z:/tmp/jboss/
  | 18:20:07,250 INFO  [Server] Library URL: file:/Z:/tmp/jboss/lib/
  | 18:20:07,250 INFO  [Server] Patch URL: null
  | 18:20:07,250 INFO  [Server] Server Name: webapps
  | 18:20:07,250 INFO  [Server] Server Home Dir: Z:\tmp\vhosts\jboss.com\webapps
  | 18:20:07,250 INFO  [Server] Server Home URL: 
file:/Z:/tmp/jboss/server/webapps/
  | 18:20:07,250 INFO  [Server] Server Data Dir: 
Z:\tmp\vhosts\jboss.com\webapps\data
  | 18:20:07,250 INFO  [Server] Server Temp Dir: 
Z:\tmp\vhosts\jboss.com\webapps\tmp
  | 18:20:07,265 INFO  [Server] Server Config URL: 
file:/Z:/tmp/jboss/server/webapps/conf/
  | 18:20:07,265 INFO  [Server] Server Library URL: 
file:/Z:/tmp/jboss/server/webapps/lib/
  | 18:20:07,265 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 18:20:07,265 INFO  [Server] Starting General Purpose Architecture (GPA)...
  | 18:20:08,078 INFO  [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
  | 18:20:08,078 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0-b64,Sun Microsystems Inc.
  | 18:20:08,078 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 18:20:08,468 INFO  [Server] Core system initialized
  | Failed to boot JBoss:
  | org.jboss.deployment.DeploymentException: url 
file:/Z:/tmp/jboss/server/webapps/conf/jboss-service.xml could not be open
  | ed, does it exist?
  | at 
org.jboss.deployment.DeploymentInfo.init(DeploymentInfo.java:175)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at 

[JBoss-user] [Installation Configuration] - Changing Server Configuration Home

2005-04-26 Thread astrien
Is there a way to change the directory where JBoss looks for server 
configurations?  I mean - out of the box, JBoss looks in the server directory 
and finds all, default, and minimal.  What if I wanted to create a server 
configuration in a directory outside the server directory?  Is there a 
parameter you can feed to the run.* script?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875305#3875305

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875305


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Changing Server Configuration Home

2005-04-25 Thread astrien
That's exactly what I've been looking for.  Forgive me for saying this, but 
shouldn't that information be in the getting started or application server 
guide?  If it is, it's pretty damn well hidden.   Also, that devel guide you 
pointed to is for the 3.2.x series - is there an updated one for 4.0.1?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875314#3875314

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875314


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Changing Server Configuration Home

2005-04-25 Thread astrien
Well, this is fun.  Seems JBoss is hostile to relocating the base directory of 
a server.  Even with the base directory set:

-Djboss.server.base.url=file:\\\Z:\\tmp\vhosts\server01\

...jboss still puts the tmp and log directories in the 
${jboss.home_url}/server/${jboss.server.name} directory.  What's up with that?  
This persists even if you change the jboss.server.home.url environmental 
variable.

This seems very wrong to me.  I want to have a separate jboss server instance 
for each virtual host on my server, but it doesn't make sense that a server 
instance root wouldn't include the work, log, and temp directories.  What am I 
missing?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3875333#3875333

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3875333


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: Virtual Private Hosting with JVM Partitioning

2005-04-20 Thread astrien
Can anyone answer this question at all?  Here I am a few months later, and I've 
used Resin because no one here seemed to care about this question.  I like 
JBoss - I really do, but if I don't even get an it can't be done response, 
then why should I bother with these forums at all?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3874708#3874708

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3874708


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Virtual Private Hosting with JVM Partitioning

2004-10-03 Thread astrien
As a disclaimer, I've been through the required 4+ hours of Google and JBoss forum 
searching (when are the going to fix the search function here??)

What I have is an internet server with Apache on it and virtual hosting set up.  This 
is to say there's a directory structure like the following:


  | /vhosts
  | | /hostedDomain1.com
  | || /resin-start.sh
  | || /webapps
  | || /htdocs
  | || | /WEB-INF
  | | /hostedDomain2.com
  | || /resin-start.sh
  | || /webapps
  | || /htdocs
  | || | /WEB-INF
  | | /hostedDomain3.com
  | || /resin-start.sh
  | || /webapps
  | || /htdocs
  | || | /WEB-INF
  | 

What I want to do, and what I've seen done with Resin, is where there is a startup and 
stop script in the root of each hosted domain's directory structure that controls 
separate instances of Resin for each domain.  Only one instance of Resin is installed 
(under its install directory with a symlink to /resin), but each domain has it's own 
JVM instance, and webapps (WAR, EAR) put in the individual webapps directories are 
only deployed for those domains.

Now I know about the wiki page:
http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts
 
.. but that is for one JBoss instance to serve many sites, whereas I want that 
separate JVM instance for each site.  I was hoping that someone here could point me in 
the right direction as to how to set this up, and integrate it with the virtual 
hosting already set up in Apache.  I'm guessing it would require mod_jk1.2, but the 
exact configuration to send requests from a virtual domain in Apache to a virtual 
domain in JBoss escapes me.

I'd also consult the admin/devel guide, but the last one I got from my subscription 
(another thing that needs fixing - I haven't received an update in months and my sub 
is not expired) only cover up to 3.2.3, whereas I am going to use either 3.2.5 or 4.0 
for the Tomcat 5 1.4 J2EE and 5.0J2SE support.

Can any help?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850216#3850216

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850216


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: CoyoteConnector Coyote can't register jmx for protocol !

2004-04-11 Thread astrien
I am having the same problem. The particulars are as such:
As a noob to JBoss and Linux, I'm doing the only sane thing possible - I'm renting a 
full bore Red Hat Linux 9.0 server at Interland and attempting to install JBoss on it 
so I can run several web sites with it.  Sweet, right?

Well, the server, as I've said, is Red Hat 9.0.  The jdk is installed properly (using 
rpm and a symlink to /usr/java/jdk which points to the J2SDK 1.4.2_04 installation.  
The server has Apache on it up and running.

So all I can think of is that some other process has a lock on port 8080, but I 
managed to change the port setting in 
/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml file, but all that 
does is change the error message to say that it can't bind to the new port either.  
I've tried 18080 and 8040, but same error.

The error message I get is as below:

##
14:43:15,010 INFO  [STDOUT] Apache Tomcat/4.1.29
14:43:15,601 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on port 8080
14:43:15,609 INFO  [Engine] CoyoteConnector Coyote can't register jmx for protocol
14:43:15,855 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on port 8080
14:43:15,944 INFO  [Engine] CoyoteConnector Coyote can't register jmx for protocol
14:43:16,117 INFO  [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
14:43:16,400 INFO  [JkMain] Jk running ID=0 time=1/381  config=null
14:43:16,401 INFO  [EmbeddedTomcatService] OK
##

So anyone have a clue?  Just one would be nice...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3830140#3830140

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830140


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - WAR Deployment and Properties files

2004-02-18 Thread astrien
First off, I like JBoss a lot.  Second, forgive me if this is in the wrong forum and 
feel free to move it if need be.  I searched the other forums and could find no match 
to my question.

So my predicament is this - My application is going to include the use of properties 
files, both standard Java .properties and xml files, in the bootstrap routines to pass 
on configuration information.  This is config info that either does not fit or does 
not belong as Context Initialization Parameters.

Now I've read voraciously just about all the documentation I can find on JBoss, and 
subscribed to the dev docs (I'm always willing to help out with OSS), but I've had 
only a week with this project and I haven't made any headway in finding out this - How 
do you make the deployment of a WAR file permanent?

In my development environment, which includes JBoss 3.2.3, JBuilder X Enterprise 
(which has some nice hooks into JBoss for developement), I hit the Debug or Run 
buttons, which automatically copies my rebuilt WAR file to the [JBoss 
Root]\server\default\deploy directory (yes, the slashes are in the right direction - 
I'm using WinXP, pity me!), then starts JBoss.  The WAR gets exploded to the [JBoss 
Root]\server\default\tmp\deploy directory, under a folder named tmp#[War 
name].war.  My problem comes with the fact that even if files are added or modified 
in that tmp WAR directory, when the JBoss engine is shut down, the directory is 
erased and all additions and changes are lost.  I get this behaviour using both 
JBuilder's testing bootstrap or using JBoss's own run.bat.

So I feel like I'm missing something obvious here.  There aren't any standard switches 
or settings to tell a WAR file to deploy permanently (that I know of), and I want 
whatever WAR I finish with to do the same thing whether I hand it to JBoss, WebSphere, 
or WebLogic (sorry for naming the competition).  Is there a setting in JBoss somewhere 
that tells it not to clean up a WAR deployment folder?  Or is there a better way of 
handling the placement of properties files that I haven't come across yet that will 
work for all appliction servers?

Thanks in advance for any help any of you here can give me.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822022#3822022

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822022


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: WAR Deployment and Properties files

2004-02-18 Thread astrien
Thanks - it works as you say.  Just curious - you said:

anonymous wrote : For some changes you'll need to change the date of the 
WEB-INF/web.xml (or other top level descriptor for instance..)

Are you saying for changes to the Context Parameters and such, or the old 
jsp-include-jsp glitch?

Thanks again for your help.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3822049#3822049

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822049


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user