[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-10-18 Thread mlapolla
Ah, never mind. That was confusing, I restarted and all problems went away. Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851797#3851797

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851797


---
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: multiple instances of jboss in the same machine

2004-10-18 Thread mlapolla
Yes, thanks, that did the trick. 

Now, when I started up, it complained about not having a deploy directory. So, I 
copied over the directory, with everything in it, and got this error.


  | 14:13:31,297 INFO  [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=5
  | 0, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo
  | [EMAIL PROTECTED]
  | 14:13:31,656 ERROR [AbstractDeploymentScanner$ScannerThread] Scanning failed; co
  | ntinuing
  | java.io.FileNotFoundException: C:\Java_Env\jboss-4.0.0\server\JBoss0\deploy
  | at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.j
  | ava:38)
  | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:379)
  | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:204)
  | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:277)
  | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:271)
  | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:221)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | 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:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
  | ler.java:891)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:416)
  | at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | 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:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:119)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:131)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy5.deploy(Unknown Source)
  | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
  | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
  | at org.jboss.Main.boot(Main.java:151)
  | at org.jboss.Main$1.run(Main.java:405)
  | at java.lang.Thread.run(Thread.java:534)
  | 14:13:31,812 ERROR [AbstractDeploymentScanner$ScannerThread] Scanning failed; co
  | ntinuing
  | java.io.FileNotFoundException: C:\Java_Env\jboss-4.0

[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-10-18 Thread pcolagrosso
Hi,

I was having similar problems with using ServiceBinding Manager while migrating to 
JBoss 4.0.

In order to resolve the problem I had to copy the file bindingservice-plugin.jar
from the directory JBOSS_HOME/server/standard/lib
to the directory JBOSS_HOME/server//lib.

This plugin is included by default in the 'standard' configuration but not in the 
'default' configuration.  I assume that you are using the default configuration.

Cheers,

Piero

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851771#3851771

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851771


---
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: multiple instances of jboss in the same machine

2004-10-17 Thread mlapolla
I don't think I am doing this correctly. I am running Jboss-4.0.0. I cannot get this 
to work for one server. I do the following steps:

1. I create JBoss0 and JBoss1 under server
2. I then move, from the default server, lib, conf, and data.
3. I then go into the jboss-service.xml file in JBoss0 and I uncomment the 
ServiceBindingManager def:
   
  |
  |  ports-01
  |  file:/c:/java_env/jboss-4.0.0/docs/examples/binding-manager/sample-bindings.xml
  |  
  |org.jboss.services.binding.XMLServicesStoreFactory
  |  
  |
  | 
and use the ServerName of ports-01 from the sample-bindings.xml. Just in case I used 
absolute pathnames.
4. I then go into the JBoss0 and run the following:

  | c:/java_env/jboss-4.0.0/bin/run -c JBoss0
  | 
and I get

  | 14:40:48,522 INFO  [Server] Core system initialized
  | 14:40:50,913 ERROR [MainDeployer] could not create deployment: file:/C:/Java_Env
  | /jboss-4.0.0/server/JBoss0/conf/jboss-service.xml
  | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.s
  | ervices.binding.ServiceBindingManager; - nested throwable: (java.lang.ClassNotFo
  | undException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindi
  | ngManager)
  | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :139)
  | at org.jboss.system.ServiceController.install(ServiceController.java:200
  | )
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | 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:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:119)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:131)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:242)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy5.deploy(Unknown Source)
  | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
  | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
  | at org.jboss.Main.boot(Main.java:151)
  | at org.jboss.Main$1.run(Main.java:405)
  | at java.lang.Thread.run(Thread.java:534)
  | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jbos
  | s.services.binding.ServiceBindingManager
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
  | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
  | assLoader.java:463)
  | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
  | oader.java:374)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
  | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
  | 1183)
  | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
  | 269)
  | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:

[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-10-08 Thread genman

We've had 3 or 4 instances of JBoss running on a single machine, no problem.  It 
depends more on your application behavior (ours were mostly idle) and memory (each 
used about 300MB, but we had about 1-2GB).

The trick is to create a script (using ant or whatever) which copies over different 
versions of the configuration that use different ports.

You can also pass in system settings on the command line (like with -Dhttp.port=8080) 
and put in the macro ${http.port} into your web.xml or jboss-service.xml.  It'll be 
expanded when the server runs.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850832#3850832

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850832


---
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: multiple instances of jboss in the same machine

2004-10-08 Thread pointerweb
I have a client who has recently (successfully) marketed a "county-based" application 
to many counties in a state, and now must solve the problem of scaling the the system 
to meet the new demands.  There isn't enough time to rearchitect the application (to 
include a "county layer") prior to initial go-live, and buying new hardware for each 
instance of jboss / application is also not an option.  The existing instances of the 
application run on jboss 3.0.7 in production.

I have four questions (plus one request).  

1. Is it possible, reasonable and safe to run separate instances of the same 
application in different "instances" of jboss as described in this thread (jboss0, 
jboss1)?  I "made it work" but can and should are so very different.

2. How many instances of an application might reasonably be deployed in this manner?  
(The ear for this dude is circa 35 megs.)

3. What variables / measures should be used to determine the threshold for a 
particular server? (How do I know when enough is too much?)

4. Do you have or know of any documentation about this topic outside of this wiki 
(which is Wunderbar! keine Frage!)?  Simple is good.

Plus, if anyone has experience in this area, please let me know how many application 
instances and what version of jboss you used.

Thanks,
-pointerweb

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850817#3850817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850817


---
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: multiple instances of jboss in the same machine

2004-04-04 Thread BDV
I also configured multiple servers like this(jboss0, jboss1,...). The only problem I 
still encounter is that I can't seem to get the configuration right for the SSL 
connector. When I start up a server (e.G. jboss0) without the binding manager, it 
works fine, but once I start it up using the binding manager(service-binding.xml) it, 
won't work anymore.

Anyone has a solution I already posted this problem a time ago but did't get a 
solution.

Thx in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829149#3829149

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829149


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-03-25 Thread xfabhe
Hi.

I have set upp JBoss with 5 diffrent instances. Maybe my way will help you out.

To make JBoss work with 2 instances you have to create two directories, JBoss0 and 
JBoss1, like {jboss-home}/server/jboss0/ and {jboss-home}/server/jboss1/.
In {jboss-home}/server/default/conf/jboss-service.xml you have to enable the 
ServiceBindingManager. Now you have to copy the directories conf/ lib/ and db/ from 
the default directory in to both jboss0 and jboss1. Next step is to define the ports. 
This is done in {jboss-home}/docs/examples/binding-service/sample-bindings.xml. Two 
server configurations named jboss0 and jboss1 are given. The jboss0 configuration uses 
the default settings for the ports, while the jboss1 configuration adds 1 to each 
port number. This will make it easy to add even more instances. 

Now, to run you jbosses you have to start two terminal-consoles. Make sure you are 
standing in the correct directory, for instance 1 - {jboss-home}/server/jboss0 and 
write {jboss-home}/bin/run.sh -c jboss0. The same for instance no 2 in terminal 2. 
Make sure that the instances not are answering to the same ports.

Hope this will help.
Kindly
/Helena
 

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827388#3827388";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827388>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: multiple instances of jboss in the same machine

2004-03-23 Thread Hakucho
Doesn't the "-h" switch invoke the help option? I think you need to specify the host 
address using either "-b" or "--host" (using the -h option will confirm this for you!).

Hope this helps,

&roo

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827161#3827161";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827161>Reply 
to the post


---
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=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user