Re: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Bob Cotton
"Francisco Figueiredo Jr." <[EMAIL PROTECTED]> writes:

> Hi all.
>
> I'd like to know some tips you have to development with JBOSS.
>
> Here at my job, we are using Eclipse as IDE and JBOSS IDE to help in
> debugging.
>
> I'd like to know what else I could use to help in the development with
> JBoss. I mean, we are having to do a full deploy of ear to update code
> as sometimes the hot code replace can't be done by jboss ide. We would
> like to have some configuratio tip or procedure which could allow us
> to be able to update the code without have to do a full
> deploy. Something like the Tomcat plugin which allows me to update the
> code and already handle the reload of classes.

The way we redeploy is by using exploded deployments. Where the ear is
really a directory structure reflecting the internal structure of of a
zipped up .ear file.

Then, make sure you are targeting your new .class files into the new
ear structure (all subcomponents can be exploded also, .war, .jar etc)

Then, just touch foo.ear/META-INF/application.xml and jboss will
redeploy that ear.

If this still takes too long, look at breaking up the components in
the .ear. Either into smaller .ears, or into individual components
(.war, ejbs jars, etc) and move those to deploy/. Then you only need
to re-deploy the components that have changed.

- 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: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Change partition name for JBoss cluster configuration

2004-01-09 Thread Bob Cotton

You can also use the ServiceBindingManger to manage these values
without editing the xml files in the deploy directory.

- Bob

"Boulatian, Misak" <[EMAIL PROTECTED]> writes:

> Hi,
>  
> I am trying to run JBoss 3.2.3 in a clustered environment for production.
> I need to change the name 'DefaultPartition'. The way I was doing was to
> search and replace every occurrence of 'DefaultPartition' within the
> following files with the name I wanted:
>  
> - JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml
> - JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml
> -
> JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml
>  
> I wonder if there is an easy way of doing this error-prone task.
>  
> Thanks a lot,
> Misak
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an
> authorized representative of the intended recipient, you are hereby
> notified that any dissemination of this communication is strictly
> prohibited. If you have received this communication in error, please
> notify us immediately by e-mail and delete the message and any attachments
> from your system.

-- 
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: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] MDB transaction help

2003-12-15 Thread Bob Cotton
"Brian Styles" <[EMAIL PROTECTED]> writes:


> Now because my mail server requires it, I have to do pop
> authentication before I can send a message.
>
> However what I'm noticing is that sometimes when I use the mdb to send
> lots of emails at one time, the onMesage gets called for each one
> simultaneously. Thus I get an error saying that the email could not be
> sent because the mail box is locked still. I tried to make the
> mailerMDB's transaction type = RequiresNew but this didn't sort
> it. Any help would be much appreciated.

MDB are inherently pooled. The container will had out multiple
messages in a parallel fashion.

What you need is to change the container configuration to only allow
one MDB in the pool, or register only JMS Listener..
 -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: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] AWT and XServer connection issues

2003-12-08 Thread Bob Cotton
"Rupp, Heiko" <[EMAIL PROTECTED]> writes:

> Link: File-List
> You might try to put -Djava.awt.headless=true in your JAVA_OPTS


If that does not work, you will need to set a DISPLAY environment
variable so that swing can connect to a DISPLAY.

We run VNC as a service in linux to provide a display to attach to.

 -bob 

>
>   -Original Message-
>   From: [EMAIL PROTECTED]
>   [mailto:[EMAIL PROTECTED] Behalf Of Michael
>   Ukpong
>   Sent: Monday, December 08, 2003 11:58 AM
>   To: [EMAIL PROTECTED]
>   Subject: [JBoss-user] AWT and XServer connection issues
>
>   Hi people,
>
>
>
>
>
>   I have a chart drawing application running on jboss_3.2.1-tomcat_4.1.24.
>   It runs on windows, but on Linux I get this error:
>
>
>
>   "Cant connect to X11 window server using `;0.0' as the value of the
>   DISPLAY variable".
>
>
>
>   The Appserver is running as ROOT on a Redhat 9 box with jdk1.4.1_02.
>
>
>
>   Has anyone experienced this problem before?...any help will be highly
>   appreciated
>
>
>
>   Michael
>
>

-- 
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: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Bob Cotton

Make sure the tomcat config includes a 

 jvmRoute="node1" 

in your   

for each of the nods.

 -Bob

Mike Lindsey <[EMAIL PROTECTED]> writes:

> I've got apache talking to a clustered jboss setup, using mod_jk, but
> I cannot get the load balacing to work.  I can force connections to a
> specific app server, but no matter what I do, I can't get the initial
> connection to hit a 'random' server.
>
> my workers.properties:
>
> worker.list=node1,node2,loadbalancer
>
> worker.node1.port=8009
> worker.node1.host=app01
> worker.node1.type=ajp13
> worker.node1.lbfactor=1
> # worker.node1.local_worker=1
> worker.node1.cachesize=10
>
> worker.node2.port=8009
> worker.node2.host=app02
> worker.node2.type=ajp13
> worker.node2.lbfactor=1
> # worker.node2.local_worker=1
> worker.node2.cachesize=10
>
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=node1,node2
> # worker.loadbalancer.sticky_session=1
> # worker.loadbalancer.local_worker_only=1

-- 
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: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] NameAlreadyBoundException When mixing MDB and EJB

2003-10-21 Thread Bob Cotton
Adrian Brock <[EMAIL PROTECTED]> writes:

> Hi Bob,
>
> The "env" context should be bean specific.
> In practice a classloader is created for each bean that marks
> the context to use for java:comp/etc
> The error you show suggests this has failed, i.e. two beans
> are using the same context classloader.
>
> I can't think of a reason for this, except that possibly you
> have managed to get java:comp/env into the jvm namespace
> "java:" rather than the bean specific java:comp/env (this is a guess?)
>
> Does your deployment contain a jndi.properties? Normally you see
> the opposite problem where java: is unavailable because jndi goes
> over RMI.

No, no jndi.properties.

What trace/debug can I turn up to help debug this problem?

 -Bob


> Regards,
> Adrian
>
> On Wed, 2003-10-15 at 21:06, Bob Cotton wrote:
>> jboss 3.2.1
>> 
>> 
>> We have statless session beans deployed in the same ear as MDBs.
>> 
>> Both the statless and the MDB make other EJB calls. Depending on which
>> starts working first, if the call is made before the other has been
>> deployed, we get this error:
>> 
>> Ideas?
>> 
>>  -Bob
>> 
>> 2003-10-15 19:31:42,992 ERROR [org.jboss.ejb.StatelessSessionContainer] Starting 
>> failed
>> javax.naming.NameAlreadyBoundException; remaining name 'env'
>> at org.jnp.server.NamingServer.createSubcontext(NamingServer.java:451)
>> at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:811)
>> at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:797)
>> at org.jboss.ejb.Container.setupEnvironment(Container.java:735)
>> at org.jboss.ejb.Container.startService(Container.java:568)
>> at 
>> org.jboss.ejb.StatelessSessionContainer.startService(StatelessSessionContainer.java:192)
>> at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at 
>> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>> at 
>> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
>> at $Proxy9.start(Unknown Source)
>> at org.jboss.system.ServiceController.start(ServiceController.java:392)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at 
>> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>> at $Proxy35.start(Unknown Source)
>> at org.jboss.ejb.EjbModule.startService(EjbModule.java:329)
>> at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at 
>> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>> at 
>> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
>> at $Proxy9.start(Unknown Source)
>> at org.jboss.system.ServiceController.start(ServiceController.java:392)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at 
>> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>> at $Proxy17.start(Unknown Source)
>> at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:540)
>> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
>> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
>> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at 
>> org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
>> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>> at $Proxy7.deploy(Unk

[JBoss-user] NameAlreadyBoundException When mixing MDB and EJB

2003-10-17 Thread Bob Cotton

jboss 3.2.1


We have statless session beans deployed in the same ear as MDBs.

Both the statless and the MDB make other EJB calls. Depending on which
starts working first, if the call is made before the other has been
deployed, we get this error:

Ideas?

 -Bob

2003-10-15 19:31:42,992 ERROR [org.jboss.ejb.StatelessSessionContainer] Starting failed
javax.naming.NameAlreadyBoundException; remaining name 'env'
at org.jnp.server.NamingServer.createSubcontext(NamingServer.java:451)
at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:811)
at org.jnp.interfaces.NamingContext.createSubcontext(NamingContext.java:797)
at org.jboss.ejb.Container.setupEnvironment(Container.java:735)
at org.jboss.ejb.Container.startService(Container.java:568)
at 
org.jboss.ejb.StatelessSessionContainer.startService(StatelessSessionContainer.java:192)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy9.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:392)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy35.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:329)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy9.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:392)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy17.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:540)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:392)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deploymen

Re: [JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Bob Cotton
Adrian Brock <[EMAIL PROTECTED]> writes:

> On Wed, 2003-10-15 at 23:21, Bob Cotton wrote:
>> jboss 3.2.1
>> 
>> I have JBossMQ running on a multihomed machine. 
>> 
>> The lookup (from another machine) of the connection factory works over
>> HAJNDI, but upon calling
>> QueueConnectionFactory.createQueueConnection() i get this:
>> 
>
> Bill Burke just added generic support for this in 3.2.2
>
> You will need to explictly set the system property in 3.2.1
>
> The attribute is the BindAddress, e.g.


I think that support was to *limit* the bind address to just one
interface.

netstat -na |grep 809 shows:

tcp0  0 0.0.0.0:80900.0.0.0:*   LISTEN  
tcp0  0 0.0.0.0:80910.0.0.0:*   LISTEN  
tcp0  0 0.0.0.0:80920.0.0.0:*   LISTEN  
tcp0  0 0.0.0.0:80930.0.0.0:*   LISTEN  

All the ILServices are listening on ALL interfaces.

I believe our problem has something to do with where the Jndi cluster
is bound. We have two interfaces, call them 'front' and 'back'. I've
configured the bind_addr of javagroup to bind to the 'back' interface.

The client that throws the exception connects directly to one of the
HAJNDI ports (1098) on the 'front' network. This VM does not find the
Queue, so it asks the cluster. 

I think what is happening is the clustered jndi lookup is returning a
(stub,proxy,???) from the 'back' network. This client times out trying
to connect to the 'back' network.

I'm going to try to bind the Jndi cluster to the front network, or
feed the client the direct jndi url of the VM that has these queues.

- 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: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Connection to JMS on a multihomed machine

2003-10-15 Thread Bob Cotton

jboss 3.2.1

I have JBossMQ running on a multihomed machine. 

The lookup (from another machine) of the connection factory works over
HAJNDI, but upon calling
QueueConnectionFactory.createQueueConnection() i get this:



21:27:21,987 ERROR [STDERR] org.jboss.mq.SpyJMSException: Cannot authenticate user; - 
nested throwable: (java.net.ConnectException: Connectio
n timed out)
21:27:21,987 ERROR [STDERR] at 
org.jboss.mq.Connection.authenticate(Connection.java:883)
21:27:21,987 ERROR [STDERR] at org.jboss.mq.Connection.(Connection.java:238)
21:27:21,987 ERROR [STDERR] at org.jboss.mq.Connection.(Connection.java:315)
21:27:21,988 ERROR [STDERR] at 
org.jboss.mq.SpyConnection.(SpyConnection.java:59)
21:27:21,988 ERROR [STDERR] at 
org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116)


Do I need to bind another service to a particular interface?

Thanks
 -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: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Problems with HTTP invoker

2003-10-07 Thread Bob Cotton
Adrian Brock <[EMAIL PROTECTED]> writes:

>>
> org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA.invoke(JRMPInvokerProxyHA.java:291)
>
> This is HA RMI. 
> Did you lookup the correct jndi name?

DUH. Thanks
 -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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Problems with HTTP invoker

2003-10-07 Thread Bob Cotton

JBoss 3.2.1
Apache 1.3 w/ mod_jk

Apache has mod_jk a list of workers configured as an 'lb' worker,
against a list of jboss servers all running tomcat with mod_jk.

Apache is installed on machine a, and the http invoker (in jboss ) is
installed on machine b. The http invoker is accessed through mod_jk.

we have the following in our service-bindings files:


  
http://wstest01-gsjthree/invoker/EJBInvokerServlet
  
  



  
http://wstest01-gsjthree/invoker/EJBInvokerHAServlet
  
  



  
http://wstest01-gsjthree/invoker/JMXInvokerServlet
  
  



  
http://wstest01-gsjthree/invoker/JMXInvokerServlet
  
  



In our test system, everything works great. 

When we set this up in production, with the only change being the
InvokerURL starting with https, I get the following stack:

java.rmi.RemoteException: Service unavailable.
at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA.invoke(JRMPInvokerProxyHA.java:291)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:87)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy2.create(Unknown Source)
at 
com.synxis.srms.ejbs.util.ServicesLocator.getStatelessSessionRemote(ServicesLocator.java:126)
at 
com.synxis.srms.ejbs.login.SrmsAuthServiceRemoteManager.reconnect(SrmsAuthServiceRemoteManager.java:101)
at 
com.synxis.srms.ejbs.login.SrmsAuthServiceRemoteManager.login(SrmsAuthServiceRemoteManager.java:163)

This is on ejbcreate. The home lookup works.

Ideas?

Thanks 
-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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] log4j JMSAppender and dependencies on JMS

2003-09-30 Thread Bob Cotton

Jboss 3.2.1

I'm trying to setup a JMS appender to log to a queue, but there is a
dependency problem, the ConnectionFactory is not bound when the
Appender is initialized.

Is there another/better way to handle this?

Also, If I'm subclassing from JMSAppender, and I need a custom param,
do I need to do anything more then provide a setter/getter for that
param?


  
  
  
  
  


Thanks
- Bob

log4j:ERROR Could not find name [java:/ConnectionFactory].
log4j:ERROR Error while activating options for appender named [JMS].
javax.naming.NameNotFoundException: ConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.apache.log4j.net.JMSAppender.lookup(Unknown Source)
at org.apache.log4j.net.JMSAppender.activateOptions(Unknown Source)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
at 
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
at 
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
at 
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
at 
org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.java:622)


-- 
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] packaging

2003-09-23 Thread Bob Cotton
[EMAIL PROTECTED] writes:

> Hi all,
>
> I have a sar file which depends on classes in my ejb jar file. 
>
> I would like to package them both in a single ear file. But, I have read 
> somewhere that the default deployment order is:
> sar, jar, war
>
> Is this true? Or can I modify this in the deployment descriptor?

Another option is to put your common classes from the ejb jar file into a
common jar (in the ear) that both the sar and ejb jar depend on using

Class-Path: common-jar.jar

in MANIFEST.MF

 -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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] load-balance polices

2003-09-20 Thread Bob Cotton


Two things, I think you can set a LoadBalance policy on home
lookups. 

xdoclet tags:

 * @jboss.cluster-config
 *  partition-name="MyCluster"
 *  home-policy="org.jboss.ha.framework.interfaces.RoundRobin"
 *  bean-policy="org.jboss.ha.framework.interfaces.RoundRobin"

The other way is not to call home.create() for every call.

Rafal Kedziorski <[EMAIL PROTECTED]> writes:

> hi,
>
> in the latest (2003-08-03) payed clustering documentation on page 37
> listing 5-5 and 5-6 shows how poxies works.
>
> Now my question. We workinf with JBoss 3.2.2RC2 and 3.2.2RC4 and start
> to develop an application which will run on a JBoss cluster. We want
> to user Round-Robin. Our Client is the web container, which uses the
> business logic implemented in app server.
>
> Browse --call to Web-Container--> Web-Container --call to
> App-Server-->
> App-Server
>
> Our service locator will cache the remote interfaces of our session
> beans facades. That means, that on each call to a method on facade, we
> would create a new proxy (Remote myRemote = myHome.create()). That
> means, that the one call to the method goes every time to the same
> node in our partition, cause the calls are not load-balanced.

-- 
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
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 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


[JBoss-user] Defining my own EJB Load-balance Policy

2003-06-21 Thread Bob Cotton

JBoss 3.2.1

I'm planning on using JBoss clustering technology for a cache tier
that will cache widgets.  Widget updates will be sent to the cache
using JMS from the data source.

Each node in the cache cluster can only hold N widgets and will
coordinate among all other nodes in the cache cluster to determine who
has which widgets and who will cache the most important (highly used)
widgets.

The clients to this cache cluster will be making EJB calls into the
cluster. The clients will need to know the node -> widget mapping so
they may select the correct node to make the EJB call to.

I'm planning on using state replication to replicate the
node-to-widget map to all nodes in the cluster.

How can I communicate this to the clients so EJB calls to the correct
node in the cluster can be transparent ala standard EJB clustering?

Looking for general strategies using JBoss clustering and pointers 
to JBoss code.

Thanks 
-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: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss Stateless Session Beans not (completely) thread-safe

2003-06-17 Thread Bob Cotton

JBoss 3.2.1
Solaris 8
JDK 1.3.1

During our load testing of the port of our application to JBoss, we
discovered that EJB call return values were being crossed (i.e. one
call's return data was the same for two calls)

After 4 days of debugging I discovered that the return value from this
stateless session bean was an ivar from that bean. That value was
being stepped on by the next call.

Granted not the smartest thing to do. But conceptually when thinking
about the thread-safety of an EJB container, I would expect it from
the moment the bytes come off the wire until the return value is put
back on the wire.

Looking at the interceptor stack:


   org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
   org.jboss.ejb.plugins.CleanShutdownInterceptor
   org.jboss.ejb.plugins.LogInterceptor
   org.jboss.ejb.plugins.SecurityInterceptor
   
   org.jboss.ejb.plugins.TxInterceptorCMT
   org.jboss.ejb.plugins.MetricsInterceptor
   org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
   
   org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
   org.jboss.ejb.plugins.TxInterceptorBMT
   org.jboss.ejb.plugins.MetricsInterceptor
   
org.jboss.resource.connectionmanager.CachedConnectionInterceptor


StatelessSessionInstanceInterceptor is the guy who manages the
statless session bean pool. All activity after this call are thrad-safe
w/rspt to the EJB, but after that EJB is put back in the pool, all
bets are off.

So really, JBoss's EJB are thread safe, but only after the call passes
through the StatelessSessionInstanceInterceptor.

Just a heads up.

- 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: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] MBeans and EJB's

2003-06-11 Thread Bob Cotton
> "Phil" == Phil Shrimpton <[EMAIL PROTECTED]> writes:

Phil> Hi, I have a problem, and the solution seems to be an MBean,
Phil> but I need to call/use both remote and local EJB's (SLS).

Phil> Now I have a couple of JMX books, a number of JMX articles,
Phil> but none of them contain an example of using/calling EJB's
Phil> within an MBean.

Phil> It works, as I have tried it, but should I be doing it?

Sure, why not? An MBean is just another java client with some fancy
deploy and management stuff. We do it all the time.

 -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: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Had the Pay-For Documentation Been updated for 3.2?

2003-06-05 Thread Bob Cotton

I'm wondering if the pay-for docs have been updated for 3.2?

FWIW, I entered "jboss" into the search field on
www.componentsource.com and in the 5 pages of results, no JBoss docs.

- 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:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss 3.2.0RC4/Tomcat duplicate class found (ClusterManager.java)

2003-03-28 Thread Bob Cotton
> "Scott" == Scott M Stark  writes:

Scott> Move the tomcat41-service.jar from the deploy directory to
Scott> the lib directory as its being treated as a library jar to
Scott> deploy as well as the jar container the tomcat service due
Scott> to the tomcat41-service.xml referencing the
Scott> tomcat41-service.jar via its classpath.

Thanks Scott. That did the trick.

Does this mean that JBoss should be shipping with this config?

- 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:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss 3.2.0RC4/Tomcat duplicate class found (ClusterManager.java)

2003-03-28 Thread Bob Cotton

In the process up upgrading from RC2 -> RC4, I'm encountering the
following error:



11:33:53,650 INFO  [EmbeddedCatalinaService41] deploy, ctxPath=/gemstone, 
warUrl=file:/home/bcotton/agent/jboss-install/jboss-3.2.0RC4_tomcat-4.1.18/server/developer/deploy/agent.ear/agent.war/
11:33:53,685 WARN  [ClassLoadingTask] Duplicate class found: 
org.jboss.web.catalina.session.ClusterManager
Current CS: 
(file:/home/bcotton/agent/jboss-install/jboss-3.2.0RC4_tomcat-4.1.18/server/developer/tmp/deploy/server/developer/deploy/tomcat41-service.jar/11.tomcat41-service.jar
 )
Duplicate CS: 
(file:/home/bcotton/agent/jboss-install/jboss-3.2.0RC4_tomcat-4.1.18/server/developer/deploy/tomcat41-service.jar
 )
11:33:53,728 ERROR [MainDeployer] could not start deployment: 
file:/home/bcotton/agent/jboss-install/jboss-3.2.0RC4_tomcat-4.1.18/server/developer/deploy/agent.ear/agent.war/
java.lang.LinkageError: duplicate class definition: 
org/jboss/web/catalina/session/ClusterManager
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:362)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:266)

Any ideas as to why the Cluster manager is being found in both deploy
(where it lives) and the tmp/deploy/...

 Thanks 
-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:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Best way to collect JSR-77 Information from JBoss

2003-02-13 Thread Bob Cotton

With all the work Scott has been doing to 3.2 with stats (JSR-77), I
was wonder what will be the best tool to dig this information out of
jboss and plot/graph it in a tool like RRDTool, or MRTG?

How will JSR 77 stats work in a clustered environment?

Is there an SNMP adapter for Jboss?

Thanks
- 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: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] 3.2beta release notes?

2002-09-17 Thread Bob Cotton


Are there any release notes for 3.2? None seem to show on sf.net.

 -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: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 3.0.2 with Tomcat Needed on Sourceforge.

2002-08-28 Thread Bob Cotton


There is no JBoss 3.0.2 with Tomcat release on Sourceforge. Will there
be one?

- 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: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] OracleDS binding on 3.0.1RC1?

2002-07-08 Thread Bob Cotton

> "Brian" == Brian Topping <[EMAIL PROTECTED]> writes:

Brian> G'day!  Wondering if anyone has a solution to this.  I'm
Brian> trying to regress a classloader problem that I am having
Brian> with 3.0 release, figured i would try 3.0.1RC1.  I added
Brian> classes12.jar to server/default/lib put my
Brian> oracle-service.xml into server/default/deploy and the
Brian> OracleDS reports it was bound to java:/OracleDS, but when
Brian> my CMP2.0 tries to find it, i get a report stating "Error:
Brian> can't find data source: java:/OracleDS".  See below for the
Brian> full output (20 lines or so) from the console.

Brian> Does anyone have any ideas what I am doing wrong?  The
Brian> names sure look the same to me...

The format of the *-service.xml changed for 3.0.1RC1.

For example, diffing the example jca adapter files from
jboss/docs/examples/jca shows the following:



diff -u jdatastore-service.xml 
~/jboss/jboss-3.0.1RC1_tomcat-4.0.4/docs/examples/jca/jdatastore-service.xml
--- jdatastore-service.xml  Fri May 31 11:06:17 2002
+++ 
+/home/bcotton/jboss/jboss-3.0.1RC1_tomcat-4.0.4/docs/examples/jca/jdatastore-service.xml
+Sat Jun 29 18:32:10 2002
@@ -83,7 +83,7 @@
 
 jboss.jca:service=CachedConnectionManager
 
-jboss.security:name=JaasSecurityManager
+jboss.security:service=JaasSecurityManager
 
 java:/TransactionManager
 


Change 'name' to 'service'

Hope that helps.
 -Bob

Brian> 13:01:51,657 INFO [MainDeployer] Starting deployment of
Brian> package:
Brian> 
file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracle-service
Brian> .xml 13:01:51,737 WARN [ServiceController]
Brian> jboss.jca:service=LocalTxDS,name=OracleDS does not
Brian> implement any Service methods 13:01:51,737 INFO
Brian> [JBossManagedConnectionPool] Creating 13:01:51,737 INFO
Brian> [JBossManagedConnectionPool] Created 13:01:51,737 INFO
Brian> [LocalTxConnectionManager] Creating 13:01:51,747 INFO
Brian> [LocalTxConnectionManager] Created 13:01:51,747 INFO
Brian> [JBossManagedConnectionPool] Starting 13:01:51,747 INFO
Brian> [JBossManagedConnectionPool] Started 13:01:51,747 INFO
Brian> [LocalTxConnectionManager] Starting 13:01:51,767 INFO
Brian> [OracleDS] Bound connection factory for resource adapter
Brian> 'JBoss LocalTransaction JDBC Wrapper' to JNDI name
Brian> 'java:/OracleDS' 13:01:51,767 INFO
Brian> [LocalTxConnectionManager] Started 13:01:51,767 INFO
Brian> [MainDeployer] Deployed package:
Brian> file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl
Brian> e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner]
Brian> Incomplete Deployment listing: Packages waiting for a
Brian> deployer:
Brian>   
Brian> Incompletely deployed packages:
Brian>   
Brian> MBeans waiting for classes:
Brian>   
Brian> MBeans waiting for other MBeans: [ObjectName:
Brian> jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer
Brian>  state: FAILED I Depend On: Depends On Me:
Brian>  org.jboss.deployment.DeploymentException: Error: can't
Brian>  find
Brian> data source: java:/OracleDS; - nested throwable:
Brian> (javax.naming.NameNotFoundException: OracleDS not bound)]

Brian> _
Brian> If you have some ice cream, I will give it to you. If you
Brian> have no ice cream, I will take it away from you.
Brian> - Ice Cream Koan



Brian> ---
Brian> This sf.net email is sponsored by:ThinkGeek Oh, it's good
Brian> to be a geek.  http://thinkgeek.com/sf
Brian> ___ JBoss-user
Brian> mailing list [EMAIL PROTECTED]
Brian> https://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
SynXis Corporation  | [EMAIL PROTECTED]| Obstacles are those frightful 
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take your
Denver, CO  80202   | Fax:(303)534-4257 | eyes off your goal.  -Henry Ford



---
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Catalina, ClassPath and XML parsers

2002-06-05 Thread Bob Cotton

> "Chris" == Chris Chen <[EMAIL PROTECTED]> writes:

Chris> Hi, I think worst comes to worst, put your xerces in your
Chris> jboss main lib directory (not the per-configuration lib
Chris> directory).  You might want to check and set some system
Chris> properties for JAXP to pick up and use Xerces as the
Chris> default parser instead of crimson.


Chris> Three JAXP system properties you should be setting is this:

Chris> javax.xml.parsers.DocumentBuilderFactory
Chris>   (Xerces value:
Chris>   org.apache.xerces.jaxp.DocumentBuilderFactoryImpl)

Chris> javax.xml.parsers.SAXParserFactory
Chris>   (Xerces Value:
Chris>   org.apache.xerces.jaxp.SAXParserFactoryImpl)


Chris> javax.xml.transform.TransformerFactory
Chris>   (Xerces Value:
Chris>   org.apache.xalan.processor.TransformerFactoryImpl)

Chris> The Xerces values are for older Xerces versions, but may
Chris> work with Xerces 2.  Check to make sure.

Thanks for the tip.

Chris> On that note, I'm curious is JBoss allows individual EAR
Chris> applications to have their own System Properties.  And if
Chris> so, is there a jboss.xml element where you can set the
Chris> System Properties?  If so, then there wouldn't be a need to
Chris> do a server-wide change of XML Parsers.  One would simply
Chris> define a set of JAXP properties to work with that specific
Chris> application.

Actually this is way you would have to do it. Setting these properties
in run.sh breaks lots of stuff.


Does anyone know of a way to get the JAXP properties set per-ear?

- Bob


Chris> At 10:38 AM 06/05/2002, you wrote:

>> Jboss3.0final, Catalina 4.0.3
>>
>> I'm attempting to deploy Axis webservices as an .ear. I know
>> JBoss.net exists, but I need the most recent version of Axis
>> for my work.
>>
>> Axis, as far as I can tell, requires the xerces 2.0 XML parser.
>>
>> The problem is Catalina keeps picking up crimson as the parser.
>> How can I limit the classloading scope of my .ear?
>>
>> I'm including xerces in the ear:
>>
>> axis.ear/ my.jar/ com/**/*.class lib/ (these are axis + xerces
>> jars) axis.jar commons-logging.jar log4j-core.jar
>> tt-bytecode.jar wsdl4j.jar xercesImpl.jar xmlParserAPIs.jar
>> axis.war/ WEB-INF/web.xml META-INF/MANIFEST.MF ...
>>
>> And the MANIFEST.MF of axis.war requires all .jar files in the
>> lib dir, and my.jar.
>>
>> This .ear is deployed the in "default" configuration, so it
>> shouldn't conflict with JBoss.net.
>>
>> Here's the stack:
>>
>>
>> 10:18:08,106 ERROR [AxisServlet] Exception:
>> java.lang.NullPointerException java.lang.NullPointerException
>> at
>> org.apache.axis.message.RPCElement.(RPCElement.java:106)
>> at
>> org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:137)

>> at
>> 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:840)

>> at
>> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1475)
>> at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
>> at
>> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
>> at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
>> at
>> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
>> at
>> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
>> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at
>> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

>> at javax.xml.parsers.SAXParser.parse(SAXParser.java:357) at
>> 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:202)

>> at
>> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:428)
>> at org.apache.axis.Message.getSOAPEnvelope(Message.java:306) at
>> 
org.apache.axis.handlers.soap.SOAPService$SOAPRequestHandler.invoke(SOAPService.java:138)

>> at
>> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

>> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
>> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121) at
>> org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
>> at
>> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:589)

>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> at
>> 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

>> at
>> 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

>> at
>> 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

>> at
>> org.

[JBoss-user] Catalina, ClassPath and XML parsers

2002-06-05 Thread Bob Cotton


Jboss3.0final, Catalina 4.0.3

I'm attempting to deploy Axis webservices as an .ear. I know JBoss.net
exists, but I need the most recent version of Axis for my work.

Axis, as far as I can tell, requires the xerces 2.0 XML parser.

The problem is Catalina keeps picking up crimson as the parser.
How can I limit the classloading scope of my .ear?

I'm including xerces in the ear:

axis.ear/
my.jar/
com/**/*.class
lib/ (these are axis + xerces jars)
axis.jar
commons-logging.jar
log4j-core.jar
tt-bytecode.jar
wsdl4j.jar
xercesImpl.jar
xmlParserAPIs.jar
axis.war/
WEB-INF/web.xml
META-INF/MANIFEST.MF
...

And the MANIFEST.MF of axis.war requires all .jar files in the lib
dir, and my.jar.

This .ear is deployed the in "default" configuration, so it shouldn't
conflict with JBoss.net.

Here's the stack:


10:18:08,106 ERROR [AxisServlet] Exception:
java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.axis.message.RPCElement.(RPCElement.java:106)
at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:137)
at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:840)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1475)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:357)
at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:202)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:428)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:306)
at 
org.apache.axis.handlers.soap.SOAPService$SOAPRequestHandler.invoke(SOAPService.java:138)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa