[JBoss-user] [Installation, Configuration & Deployment] - Re: Upgrade to 4.0.3sp1 introduces classloader issues

2006-01-10 Thread madeonmoon
The two "true" you see at the end of my posting where meant to display the XML 
key value pairs:

Java2ClassLoadingCompliance=true
UseJBossWebLoader=true

Also, note the the ProductManager is present in the ear deployed and the same 
ear archive used to work in 4.0.1sp1

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Upgrade to 4.0.3sp1 introduces classloader issues

2006-01-10 Thread madeonmoon
Hello,

I've upgraded to 4.0.3sp1 from 4.0.1sp1 and all works fine with the exception 
of one problem.

I have a web service configured which when invoked via browser results in:

2006-01-10 10:27:24,911 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/dataservices].[AxisServlet]]
 Servlet.service() for servlet AxisServlet threw exception
java.lang.NoClassDefFoundError: com/mybiz/ProductManager
at 
java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown
 Source)
at 
org.apache.axis.utils.ClassUtils$2.run()Ljava.lang.Object;(ClassUtils.java:176)
at 
jrockit.vm.AccessController.do_privileged(Ljava.security.PrivilegedAction;Ljava.security.AccessControlContext;I)Ljava.lang.Object;(Unknown
 Source)
at 
jrockit.vm.AccessController.doPrivileged(Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown
 Source)
at 
org.apache.axis.utils.ClassUtils.loadClass(Ljava.lang.String;)Ljava.lang.Class;(ClassUtils.java:160)
at 
org.apache.axis.utils.ClassUtils.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(ClassUtils.java:142)
at 
org.apache.axis.utils.cache.ClassCache.lookup(Ljava.lang.String;Ljava.lang.ClassLoader;)Lorg.apache.axis.utils.cache.JavaClass;(ClassCache.java:85)
...


I  have modified the 
server/integration/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml to 
include:

true
true

but the problem (java.lang.NoClassDefFoundError: com/mybiz/ProductManager) 
still occurs. Setting log level to TRACE did notproduce any more useful log 
data.
 

Can anyone give me any pointers on how to trobleshoot the problem? Thanks a lot
James

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Two jboss instances, one codebase

2005-12-14 Thread madeonmoon
Hello all,

I would like to be able to start two jboss instances but have them use the same 
codebase. I was thinking of using symbolic links from each of the deploy 
folders into some common "deploy" dir outside of jboss dir structure.

Does anyone see problems with this approach?

Best,
James

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Communicating with MQ Series

2005-12-07 Thread madeonmoon
Thanks a lot, genman

I was able to code what I needed once I understood that both receiving and 
sending pieces of the architecture should be using MQQueueConnectionFactory to 
create connections to send or receive messages

Best,
James

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Communicating with MQ Series

2005-12-06 Thread madeonmoon
Hello all,

I do have an example of a single MDB sending a message getting a message from 
mq series and sending the reply message back.

However, I am trying to understand the basics of getting a message from mq 
series, sending it internally within jboss through a couple of other MDBs and 
then back to the mq series.

Can someone summarize what needs to be done on a very high level? I am confused 
about JMS providers. Will the mq jms provider (WSMQJMSProvider) be used for 
both receiving the message from mq and sending it back to mq?

Also, what complicates my situation is the fact that I have 2 queue pairs: 
requestQueue1 + replyQueue1 and requestQueue2 + replyQueue2. I have to make 
sure that after sending the message internally within jboss for processing, I 
put it back on the reply queue that corresponds to a particular request queue.

Thank you




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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Defining multiple invoker-proxy-bindings

2005-11-16 Thread madeonmoon
Hello

I came across this in the admin guide:

"Incidentally, because one can specify multiple invoker-proxy-binding elements, 
this allows an MDB to listen to the same queue/topic on multiple servers by 
configuring multiple bindings with different JMSProviderAdapterJNDI settings."

This is exactly what I need to be done. However, each of the invoker-bindings  
has a name and the container-configuration has a single 
"invoker-proxy-binding-name" element. How can I configure my MDB to work with 2 
invoker-proxy-binding configurations?

Thanks!
James

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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Behind the scenes of check-valid-connection-sql

2005-11-14 Thread madeonmoon
Hello All,

If I use  config param in my-ds.xml to check for 
stale pool connections, the call to the database gets blocked for 5000 
milliseconds due to a default setting of . Given that 
the database is down and the pool connection is stale, what exactly happens 
within this 5 seconds of being blocked? Are there reconnection attempts? 

Thanks a lot
James

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Slow first time execution. Need to preload?

2005-11-11 Thread madeonmoon
Hello all,

I have a J2EE app deployed in Jboss and most of the processing is done within 
JMS components (via message-drive beans). I've heard user complains saying that 
the first time a particular jms message is processed, processing times are 
significantly slower than subsequent runs (8 seconds vs 200 milliseconds). I am 
not sure where exactly the bottleneck could be.

Can anyone please:

1) suggest how to profile the app run to see what part of the code takes long 
to execute upon first run?

2) ideas on determining the bottlenecks during first time execution

3) give pointers on pre-loading J2EE components, etc 

Thanks a lot
James

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - javax.management.InstanceAlreadyExistsException: axis:type=s

2005-11-09 Thread madeonmoon
Hello All,

Can someone tell me why I'd be getting messages like below during server 
startup? Jboss was shutdown properly before being started again.

05:23:58,451 INFO  [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: 
CVSTag=JBoss_4_0_1_SP1 date=200502160314)] Started in 24s:834ms
56.374 ms
05:23:59,037 ERROR [Registry] Error registering axis:type=server
javax.management.InstanceAlreadyExistsException: axis:type=server already 
registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:755)
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1397)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1392)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
at 
org.apache.axis.management.Registrar$ModelerBinding.register(Registrar.java:131)
at org.apache.axis.management.Registrar.register(Registrar.java:52)
at 
org.apache.axis.management.ServiceAdmin.setEngine(ServiceAdmin.java:142)
at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:204)
05:23:59,038 ERROR [Registrar$ModelerBinding] 
java.lang.reflect.InvocationTargetException
05:23:59,042 ERROR [Registry] Error registering axis:type=query
javax.management.InstanceAlreadyExistsException: axis:type=query already 
registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:755)
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1397)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1392)
at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
 Source)
at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source)
at 
org.apache.axis.management.Registrar$ModelerBinding.register(Registrar.java:131)
at org.apache.axis.management.Registrar.register(Registrar.java:52)
at 
org.apache.axis.management.Ser

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Limiting MDB pool size

2005-11-03 Thread madeonmoon
For some reason the nested element names were not displayed in the post above. 

For  :

 MaximumSize: 25
 strictMaximumSize: true
 strictTimeout: 15000

And for  :

MaximumSize: 15



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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Limiting MDB pool size

2005-11-03 Thread madeonmoon
Hello all,

I was under the impression that in order to limit my mdb pool size to the 
strict max of 25, all I had to do was to set the container-pool-conf elements:

   
 25
 true
 15000
   

However, once deployed and bombarded with jms messages, the pool never grows 
beyond 15 (accroding to jmx-console monitoring). I looked into the 
strandardjboss.xml further and realized that there is also   
 for message-driven-beans which specifies 

  
...
1
15
3
1
...

Can someone explain (or point me to comprehensive docs on the subject) what the 
difference is between setting the container-pool-conf.MaximumSize and 
proxy-factory-config.MaximumSize?

Thanks a lot
James



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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Checking whether the queue down

2005-10-31 Thread madeonmoon
Thanks kcounsell,

I'll watch your thread as well

Best,
James

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

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


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Checking whether the queue down

2005-10-27 Thread madeonmoon
Hello All,

I am looking for a way for an MDB to poll whether the queue that it's setup to 
listen to is down. 

How would you recommend implementing this? 

Any help would be greatly appreciated as I am pretty much stuck here.

Thanks a lot,
James

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

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


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Liferay 3.2.0 and jboss 4.0.2

2005-05-13 Thread madeonmoon
Hey all,

Has anyone gotten the two (Liferay 3.2.0 ent. and jboss 4.0.2) working 
together? are there any docs on getting liferay working with jboss 4.x?

Thanks a lot
james

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

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


---
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=7393&alloc_id=16281&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - PrefixDeploymentSorter and EARDeployer

2005-02-25 Thread madeonmoon
hello all,

i am noticing odd behavior and was hoping you can shed some light on it: i have 
two ear files (3-Core.ear and 4-client.ear). each contains sars and jars . i 
use PrefixDeploymentSorter to ensure that 3-Core.ear is deployed first. this 
works fine when JARDeployer is doing its job but does not when EARDeployer 
kicks in (4-client.ear is processed before 3-Core.ear).

Here is a snippet from my log:

[JARDeployer] nested deployment: file:/xyz/deploy/3-Core.ear
[JARDeployer] nested deployment: file:/xyz/deploy/4-client.ear
[JARDeployer] nested deployment: file:/xyz/deploy/5-client.war/
[EARDeployer] Init J2EE application: file:/xyz/deploy/4-client.ear
[EARDeployer] Init J2EE application: file:/xyz/deploy/3-Core.ear

any help will be greatly appreciated!
james

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

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


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - enabled clustering. any tweaking needed?

2005-02-22 Thread madeonmoon
hello all,

my server instance used to use "default" instance as a template. it now uses 
"all" so that i can use DistributedState to share data by instances that belong 
to the same cluster. 

is there anything else that "all" gives me (that "default" did not) besides 
clustering? chances are i may be able to remove that extra functionality i 
don't need (if it renders performance increase.

thanks a lot
james

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

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


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - code design: feedback needed

2005-02-11 Thread madeonmoon
Hello,

I hope someone can give me an advice on how to implement this: I have 3 jboss 
instances (instA, instB, instMain) deployed on the same host. Currently there 
is no clustering implemented.

Each of the instances should expose certain metadata about itself such as 
"serverName" and "serverRmiHost"

instMain will only know serverName's for the 2 instances (instA, instB) and, in 
order to make remote calls to them, it will need to lookup the serverRmiHost 
based on the serverName.

I would like to come up with the best implementation design for the task. one 
idea I have is a JMX component to be configured and deployed locally within 
instA, instB. instA will define "serverA" as its serverName attribute and 
"jnp://xyz:1099" as its serverRmiHost. instB will define "serverB" as its 
instanceAlias and "jnp://xyz:1199" as its serverRmiHost.

Given instA and instB expose their attributes via JMX, how will instMain look 
up and communicate with instA for example? Do all three need to be started in a 
single cluster with a shared JNDI-HA enviroinment so that instA and instB can 
store their metadata in a shared JNDI environment with the serverName being the 
key?

Or, can I just use JbossCache and have the instA and instB cache their 
attributes on start up so that instMain will be able to lookup them by key 
(serverName)? Will the three instances have to be in the same cluster then?

Thanks,
James

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

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


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - remote call from jboss 4.0.1 (client) to jboss 3.2.3 (server

2005-02-08 Thread madeonmoon
hello all,

i have a session bean deployed under jboss 3.2.3 and i am trying to call it 
remotely from a session bean deployed under jboss 4.0.1. i am getting

javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.util.id.GUID; local class 
incompatible: stream classdesc serialVersionUID = 6926421946503004889, local 
class serialVersionUID = 3289509836244263718]

even though the code on the calling bean is the same as the called one. is it 
not possible to interchange the two (should both beans be deployed under the 
same version of jboss for it to work)?

thanks for any help!
james   

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

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


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread madeonmoon
sorry about that. i saw that page but the jboss version ( JBoss3.2.4) threw me 
off. 

another question qhich i could not find teh answer for: how to configure 
different virtual hosts to run on different ports.

i tried doing what worked in jboss 3.2.3 (my previous installation): creating 
my-service-bindings.xml with the port numbers i need and pointing to it from 
/server/myinstance/conf/jboss-service.xml

the application is only available on the default port 8080 while i am trying to 
use 8280

thanks for any help




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

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


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread madeonmoon
hi all

does anyone have any examples configuring virtual hosts in jboss 4.0.1? 

thanks a lot
james

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

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


---
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=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - jboss 3.2.3 <-> hibernate ???

2005-02-04 Thread madeonmoon
hi all

i use jboss 3.2.3 and so far i have to stick with it. my dao classes are 
implemented using jdbc and are wrapped within statless session beans (facades). 
if i were to switch to hibernate, would i be able to use hibernate 3.0 beta 3 
or hibernate 2.1.8? 

these other questions are related so i'll ask them in the same thread as well. 
once i switch to using hibernate and jboss 3.2.3:

1) can hibernate be integrated with JbossCache?

2) what is the name of the conn pool that hibernate will use in this case (my 
jboss installation comes integrated with Tomcat)?

Best,
James

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Passing objects implicitely between different jboss instance

2005-02-03 Thread madeonmoon
hello all

i realize that i could use ThreadLocal to pass an object to a method in my EJB 
as long as the call is executed in the same JVM. what if one ejb has to make a 
remote call to another? Can the ThreadLocal be used? If not, how would i pass 
an object implicitely (without requiring an extra method param on the remote 
ejb) across different jboss instances?

Thanks a lot for any help!
James

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: design issue. stuck. please advice!

2005-01-19 Thread madeonmoon
Dimitris,

thanks for your reply. this sounds good. now the second part of the problem is, 
i'd like to configure a set of properties (hostname, datadir) for the app2 
dynamically so that i can deploy the app2 in dev, stage, prod just by running 
the same ant target (deploy). hence, i was thinking of an MBean whose 
mymbean-service.xml will contain dev, stage and prod values depending on the 
environment it is in. 

i assume it's simple for the session bean in the app2 to have access to the 
values MBean configured.

can you see a better way of handling this? would i be better off using 
jbosscache at all?

thanks again!
james

  

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - design issue. stuck. please advice!

2005-01-19 Thread madeonmoon
hello all,

this might not belong to this forum but i can't find a more appropriate as i am 
considering using JMX to accomplish the task:

i have several instances of jboss (app1, app2) and each one has a custom 
written cache (written as a singleton wrapped within a session bean), i'd like 
one of the instances (app1) to be able to flush the cache within the other 
instance (app2). i realize that this will require a remote call from app1 to 
app2. however, i'd like to be able to read the hostname (in order to make the 
remote call) for the app2 dynamically by the app1. 

i was thinking of writing an MBean that runs within the app2 and configures 
hostname, datadir, etc for the app2. but will app1 have access to it? if so, 
how would it refer to it? 

thanks for any help!
james


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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Many small EJB's vs large EJB

2004-09-15 Thread madeonmoon
James,

I would be interested to see some of the ejb code you've written (if possible).  it's 
always helpful to see what other experienced developers do. you can point me to some 
online code or email an attachment to soundres9(at)yahoo.com

thanks!
james

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

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


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - http-invoker.sar/invoker.war: DeploymentException java.lang.

2004-09-15 Thread madeonmoon
Hello All,


I am having issues trying to deploy a .ear and sucessfully start up jboss server. 
below is (what i think to be) a relevant portion ofthe file. i have absoultely no idea 
how to troubleshoot this. any help will be greatly appreciated.

the basic problem is at:

2004-09-15 10:08:43,792 ERROR [org.jboss.deployment.MainDeployer] could not start 
deployment: file:/C:/jboss-3.2.3/server/myapp/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: 
(java.lang.NullPointerException)

and below is a detailed log:

Hello All,


I am having issues trying to deploy a .ear and sucessfully start up jboss server. 
below is (what i think to be) a relevant portion ofthe file. i have absoultely no idea 
how to troubleshoot this. any help will be greatly appreciated.

the basic problem is at:

2004-09-15 10:08:43,792 ERROR [org.jboss.deployment.MainDeployer] could not start 
deployment: file:/C:/jboss-3.2.3/server/myapp/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: 
(java.lang.NullPointerException)

and below is a detailed log:


 2004-09-15 10:08:43,782 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2004-09-15 10:08:41,674 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] 
handleNotification: 
javax.management.Notification[source=jboss.system:service=JARDeployer,type=org.jboss.deployment.SubDeployer.start,sequenceNumber=65,timeStamp=1095257321674,message=null,[EMAIL
 PROTECTED] { 
url=file:/C:/jboss-3.2.3/server/myapp/deploy/jbossweb-tomcat41.sar/servlets-common.jar 
}
  deployer: [EMAIL PROTECTED]
  status: Starting
  state: START_DEPLOYER
  watch: 
file:/C:/jboss-3.2.3/server/myapp/deploy/jbossweb-tomcat41.sar/servlets-common.jar
  lastDeployed: 1095257321105
  lastModified: 1095257321085
  mbeans:
]
2004-09-15 10:08:43,782 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2004-09-15 10:08:41,674 DEBUG 
[org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find 
factory for event: 
javax.management.Notification[source=jboss.system:service=JARDeployer,type=org.jboss.deployment.SubDeployer.start,sequenceNumber=65,timeStamp=1095257321674,message=null,[EMAIL
 PROTECTED] { 
url=file:/C:/jboss-3.2.3/server/myapp/deploy/jbossweb-tomcat41.sar/servlets-common.jar 
}
  deployer: [EMAIL PROTECTED]
  status: Starting
  state: START_DEPLOYER
  watch: 
file:/C:/jboss-3.2.3/server/myapp/deploy/jbossweb-tomcat41.sar/servlets-common.jar
  lastDeployed: 1095257321105
  lastModified: 1095257321085
  mbeans:
]
2004-09-15 10:08:43,792 ERROR [org.jboss.deployment.MainDeployer] could not start 
deployment: file:/C:/jboss-3.2.3/server/myapp/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: 
(java.lang.NullPointerException)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:235)
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:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy21.addDeployer(Unknown Source)
at 
org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:108)
at 
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.startService(EmbeddedTomcatService.java:282)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy14.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  

[JBoss-user] [HTTPD, Servlets & JSP] - Re: old version of jsp used. please help! == solved

2004-09-12 Thread madeonmoon
nevermind, for some reason i had an older file in deploy/snmp-adaptor.sar folder. this 
was loaded first. removing it solved the problem

james

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - old version of jsp used. please help!

2004-09-12 Thread madeonmoon
hello all,

i wasted all day yesterday trying to figure this out to no avail. i am hoping someone 
can help.

so i create a new jsp which gets packaged as part of my war which in turn gets 
packaged as part of my ear. the application starts up fine and the jsp executes fine. 
now i modify the jsp, rebuild and redeploy to jboss. jsp that gets executed is the 
original one (old). i can see two versions of them in server//tmp/deploy. i tried to 
totally clean the tmp folder and work folders. as soon as i restart jboss, two 
tmp-myapp.ear-contents get generated and the once that jboss attempts to use is 
the old one. besides this location generated on the fly at jboss startup, i can't even 
find the old version of the file anywhere on my disk drive. 

what am i doing wrong? any help will be greatly appreciated!!!

james (close to going insane)


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - define datasources once, access by several ejbs

2004-08-23 Thread madeonmoon
hello all,

i have several stateless sessions ejbs that used to define their own datasource via 
xdoclet:

 * 
 * @ejb.bean name="MyBean"
 *  description="MyBean"
 *  display-name="MyBean"
 *  local-jndi-name="MyBeanLocal"
 *  jndi-name="MyBean"
 *  view-type="both"
 *  type="Stateless"
 * 
 * @ejb.resource-ref 
 *  res-ref-name="jdbc/ds1" 
 *  res-type="javax.sql.DataSource" 
 *  res-auth="Container" 
 * 
 * @jboss.resource-ref 
 *  res-ref-name="jdbc/ds1" 
 *  jndi-name="java:/DS1" 
 *
 * @ejb.resource-ref 
 *  res-ref-name="jdbc/ds2" 
 *  res-type="javax.sql.DataSource" 
 *  res-auth="Container" 
 * 
 * @jboss.resource-ref 
 *  res-ref-name="jdbc/ds2" 
 *  jndi-name="java:/DS2" 
 *  
 */
public class MyBean implements SessionBean {
...
}

Now, i'd like to move datasource references (ds1, ds2, etc) in a once separate config 
place (whatever that might be) since from this point on, all ejbs i have will access 
the same several datasources.

How would i do it?

Thanks a lot
james
  



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

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


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - defining jboss instance vs server

2004-07-08 Thread madeonmoon
hi all,

i am a bit confused about the terminolgy here:

1) when you say "multiple jboss instances" do you mean multiple jboss java processes 
(executing "ps -ef | grep jboss" will show two processes "/bin/sh 
/usr/local/jboss/bin/run.sh...")?

2) how do you refer to several apps deployed within separate directories under 
/usr/local/jboss/server/. for example:
 
$ ls /usr/local/jboss/server/
all  default  minimal  myapp1  myapp2

I hope my question is clear... please let me know if it's not. thanks :-)

James





  

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user