[JBoss-user] Jboss.org down ?

2004-06-15 Thread Sebastian Hauer
Hi,

Is jboss.org down?  I can get to jboss.com but no luck accessing
jboss.org from NYC.
Nslookup resolves jboss.org as 216.83.160.154 is this right?

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] OOM wrapped in UndeclaredThrowable

2004-01-28 Thread Sebastian Hauer
Hi Scott,

 Its simply a wrapping of the exception resulting from a 
 reflected call that is not a subclass of java.lang.Exception. 

That is what I thought but if that would be the case wouldn't it be wrapped inside a 
InvocationTargetException?
I than assumed it could maybe be caused by a dynamic proxy throwing this exception.  
Yet in case of a java.lang.Error it would actually not get wrapped in a 
UndeclaredThrowableException according to javadoc and my tests.

 Its possible that this is an exception marshalled back to a 
 client and that the OOM is occuring on the server.

Maybe a naïve question but, is there code in JBoss that would explicitly throw an 
UndeclaredThrowableException and stuff a marshalled exception inside it?


Regards,
Sebastian

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Sebastian Hauer
 Sent: Monday, January 26, 2004 1:53 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] OOM wrapped in UndeclaredThrowable
 
 
 Hi,
 
 Today we saw this exception log in one of our environments 
 running jboss
 3.0.8:
 
 
 12:39:55,861 WARN  [ClientConsumer] Could not send messages 
 to a receiver.
 java.lang.reflect.UndeclaredThrowableException: 
 java.lang.OutOfMemoryError
   no stack trace available
 
 
 1. We are wondering how it is possible that an OOM ends up 
 inside a UndeclaredThrowableException. 2. Is it somehow 
 possible that an OOM originating on a remote client results 
 in such a stack trace?

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] is jnet.jar already signed ?

2004-01-27 Thread Sebastian Hauer
Hi ionel,

Yes jnet.jar, jsse.jar and jcert.jar from Sun's JSSE are already signed.
You can not have more than one or signatured from different signers
within the same webstart deployment.
Just remove Sun's .sf and .rsa files from these jar files before you
sign them with your private key.

Regards,
Sebastian

 My problem is that when I launch the application, I
 get a More than one certificate used to sign
 resource: http://localhost/teconsole/app/jnet.jar;
 
 As I only run one signjar task in my Ant build file,
 question is : does jnet.jar is already signed ?

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] OOM wrapped in UndeclaredThrowable

2004-01-26 Thread Sebastian Hauer

Hi,

Today we saw this exception log in one of our environments running jboss
3.0.8:


12:39:55,861 WARN  [ClientConsumer] Could not send messages to a
receiver.
java.lang.reflect.UndeclaredThrowableException: 
java.lang.OutOfMemoryError
no stack trace available
12:39:55,861 ERROR [JMSDestinationManager] The connection to client
ID:91 failed.
12:39:55,924 ERROR [SocketManager] Failed to handle:
org.jboss.mq.il.uil2.msgs.AcknowledgementRequestMsg896683[msgType:
m_acknowledge, msgID: 4449, error: null]
javax.jms.JMSException: The provided subscription does not exist
at
org.jboss.mq.server.ClientConsumer.acknowledge(ClientConsumer.java:317)
at
org.jboss.mq.server.JMSDestinationManager.acknowledge(JMSDestinationMana
ger.java:520)
at
org.jboss.mq.server.JMSDestinationManager.acknowledge(JMSDestinationMana
ger.java:504)
at
org.jboss.mq.server.JMSServerInterceptorSupport.acknowledge(JMSServerInt
erceptorSupport.java:197)
at
org.jboss.mq.server.TracingInterceptor.acknowledge(TracingInterceptor.ja
va:404)
at
org.jboss.mq.server.JMSServerInvoker.acknowledge(JMSServerInvoker.java:1
99)
at
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketMa
nagerHandler.java:81)
at
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java
:355)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:376)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:732)
at java.lang.Thread.run(Thread.java:479)


1. We are wondering how it is possible that an OOM ends up inside a
UndeclaredThrowableException.
2. Is it somehow possible that an OOM originating on a remote client
results in such a stack trace?

Any help or insite is appreciated, thanks,


Sebastian Hauer
Software Engineering
[EMAIL PROTECTED] 

Sakonnet Technology
594 Broadway Suite 1008
New York, NY 10012
www.sknt.com 

+1 917 237 3831 direct
+1 212 343 3103 fax
 

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JMS Clustering

2003-12-10 Thread Sebastian Hauer

Hi Ivelin,

I think its great that JBoss offers now some kind of JMS clustering.  In
my opinion this was a long missing feature.
I think I understand most of the drawbacks of the singleton MBean based
failover, yet there is something in regards to JMS I am not sure about.
What if the cluster partition splits (e.g. networking problem) and we
end up with 2 autonomous partitions temporarily.  Then the singleton
MBean in both partitions would elect a new master node, so each
partition would have its own master.  In case of JMS we would end up
with 2 JMS servers.  As soon as the networking issue is resolved the 2
partitions would merge and again the singleton MBeans would elect a new
master so that the merged cluster ends up with only one JMS server.  
So my question is, is there any harm or reliability issue for JMS during
the time when 2 JMS nodes are up at the same time?

Regards,
Sebastian



 -Original Message-
 From: Ivelin Ivanov [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, December 06, 2003 12:12 PM
 To: Sacha Labourey; [EMAIL PROTECTED]; 
 '[EMAIL PROTECTED]'
 Subject: RE: [JBoss-user] JMS Clustering
 
 
 
 See this document for a detailed description: 
 http://www.cocoonhive.org/articles/jboss/20031125/JBoss32-hajms.html
 
 The code is simple and solid. 
 If you describe your use case I may be able to advise
 whether it will work for you.
 
 Regards,
 
 Ivelin

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



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


RE: [JBoss-user] JMS Clustering

2003-12-10 Thread Sebastian Hauer
Hi Adrian,

  So my question is, is there any harm or reliability issue for JMS
during
  the time when 2 JMS nodes are up at the same time?
  
 
 This would not work, you would end up with two servers 
 modifying the same persistent store each with different ideas 
 about what is the next message id and transaction id. 
 Most likely this would fail with some primary key constraint 
 violation or data not found.

Alright, I had a feeling that this would not be a good scenario :) .   
None the less the scenario with the spilt partition I described in my
former mail is real.  We experienced this sometimes in our production
environments.  If this happens with the singleton MBean in place for JMS
failover one would be in trouble.


 The only way to make this work would be to have cluster safe 
 unique keys (such as a GUID) and force jms to restart on any 
 newly elected master (even if it was previously a master) 
 to merge the db changes as the cluster partitions are merged.

Is this hard to implement?
I don't want to offend anyone here but is it really worth it?  Would it
not be better to provide a truly transparent clustered JMS
implementation?  As far as I know you guys are already working on
something for jboss4.  How far along are you and are there any plans to
back port to 3.2?

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



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


[JBoss-user] Strange clustering behavior

2003-10-30 Thread Sebastian Hauer

Hi,

Last night we had a strange problem in one of our environments running
jboss 3.0.8.  This environment consists of two nodes N10 and N11.  We
where logging org.javagroups and org.jboss.ha in DEBUG mode.

1. Sometime before 21:27:47 the JVM process on N10 was starved off CPU
time for at least 39 seconds for yet unknown reasons.  

2. At 21:27:44,483 N11 declared N10 dead.

3. At 21:27:57,202 N11 realizes that N10 is still alive and joins it
back in.

We see these cluster log events in the logs of N11.
After the 3rd event happened we would have expected to see that cluster
view update also in the logs of N10, yet instead all we found where
these strange log statements:

2003-10-29 21:27:51,430 DEBUG [org.javagroups.Juliet] [Wed Oct 29
21:27:51 EST 2003] [ERROR] MessageDispatcher.up(): corr == null 
2003-10-29 21:27:51,977 DEBUG [org.javagroups.Juliet] [Wed Oct 29
21:27:51 EST 2003] [ERROR] MessageDispatcher.up(): corr == null 

We had some problems after this happened and assume that these messages
indicate that something is wrong with the java-groups layer on N10.
Does someone (Bela) know what this means?

Regards,
Sebastian


Sebastian Hauer
Software Engineering
[EMAIL PROTECTED] 

Sakonnet Technology
594 Broadway Suite 1008
New York, NY 10012
www.sknt.com 

+1 917 237 3831 direct
+1 212 343 3103 fax
 

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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] Strange clustering behavior

2003-10-30 Thread Sebastian Hauer

Hi Adrian,


  where these strange log statements:
  
  2003-10-29 21:27:51,430 DEBUG [org.javagroups.Juliet] [Wed Oct 29 
  21:27:51 EST 2003] [ERROR] MessageDispatcher.up(): corr == null 
  2003-10-29 21:27:51,977 DEBUG [org.javagroups.Juliet] [Wed Oct 29 
  21:27:51 EST 2003] [ERROR] MessageDispatcher.up(): corr == null
  
  We had some problems after this happened and assume that these 
  messages indicate that something is wrong with the 
  java-groups layer 
  on N10. Does someone (Bela) know what this means?

 From the error message it looks like N10 has stopped but not
 completely died. 

N10 was definitely still up and and running.

 Is there a message saying it started a new 
 stack on N10?

What do you mean with new stack?
This is what I see in my cluster.log right after I got the
MessageDispatcher.up() error messages:

2003-10-29 21:27:57,772 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl.Juliet] setState called
2003-10-29 21:27:57,835 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl.Juliet] setState for
HAJNDI
2003-10-29 21:27:57,835 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl.Juliet] setState for
DistributedReplicantManager
2003-10-29 21:27:57,835 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl.Juliet] setState for
DistributedState
2003-10-29 21:27:57,835 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl.Juliet] setState for
HASessionStateTransfer
2003-10-29 21:27:57,835 DEBUG
[org.jboss.ha.hasessionstate.server.HASessionStateImpl./HASessionState/D
efault] Receiving state of HASessionState
2003-10-29 21:28:06,894 DEBUG
[org.jboss.ha.framework.server.HAPartitionImpl.Juliet] Partition Juliet
received msg

I guess this would mean it was still responsive, yet I did not get any
messages about it.  We are running an instance of the DistributedCache
Mbean for our SRP session cache which has the useful side-effect of
printing topology change messages that end up in our server.log and I
can't see them either.

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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] HTTPS / RMI

2003-10-30 Thread Sebastian Hauer

Hi Jeremy,

We are running all our EJB and JNDI RMI calls tunneled over HTTP/s.  In
the beginning we had the same problems, but it all came down to the fact
that we had it not properly setup.  Monitor your clients port usage of
the java process, if on unix use the suggested netstat command (or some
variation of it, actually you should check for outgoing connections), if
on windows try Active Ports http://www.tucows.com/preview/213738.html
.  On the server side you might have mbean services started that are
listening to all kinds of ports.

BTW: Is your application using JMS?

If you want to see the invocations crank up your logging.  I guess this
should do:

  category name=org.jboss.invocation
priority value=TRACE class=org.jboss.logging.XLevel/
  /category

Make sure you have no threshold on the appender so you see the TRACE
level output.  If you see some messages about JRMP you are probably not
using the HTTP invoker :)

Regards,
Sebastian

 -Original Message-
 From: Jeremy Rempel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 30, 2003 3:14 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] HTTPS / RMI
 
 
 I already tried that it seems to use about a dozen ports most of them 
 random.
 
 Jeremy Rempel wrote:
 
  Hi,
 
  I am using RMI over HTTPS in Jboss 3.2.1 . I have ports 1099, 8080,
  8443 open on my firewall but I still cannot get JBOSS to 
 work when the 
  firewall is up. Is there any other ports or services it needs ?
 
  Thanks, Jeremy
 
 
 
 If running on a Unixy type platform, try 'netstat -anp'.  
 This will give 
 you
 all the ports in use, and the programs using them.
 
 Regards,
 Steve

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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] Strange clustering behavior

2003-10-30 Thread Sebastian Hauer

Hi Adrian,

 The corr == null implies the MessageDispatcher was not
 in a running state (this error occurs when an event is received).
 
 These events occurred while it was doing the shun/reconnect. 
 Unfortunatley, it doesn't show what the event(s) are.
 
 From your description it sounds like it is running again,
 but it doesn't have the correct current view.

Right, this is what happened.  In fact we are running with the new
singleton Mbean code on 3.0.8 and we see that after this incident, both
nodes are masters so that and the log message imply that N10 does not
have the current view.

I assume this might be a problem with the javagroups code or our
protocol stack configuration.

Regards,
Sebastian


___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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


[JBoss-user] Off topic: java thread dumper for windows background processes

2003-10-28 Thread Sebastian Hauer
Hi JBoss users,

Sorry for being off topic here but I figured some of you might have had
the same problem when you are forced to run JBoss on a windows platform
and you ran as windows service.

I am looking for something that would enable me to take a thread dump
from a java process running in the background.  As far as I know only
CTLR BREAK will trigger a thread dump on windows java and so I guess I
need some tool that would send this as an event to the java process.

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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] Make EJBs dependent on MBean service

2003-10-24 Thread Sebastian Hauer
Thanks Scott,

I will test with that.

Regards,
Sebastian

 -Original Message-
 From: Scott M Stark [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 23, 2003 3:45 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Make EJBs dependent on MBean service
 
 
 See the jboss_3_2.dtd
 
 jboss
   enterprise-beans
   session
   ...
   depends.../depends
   /session
   /enterprise-beans
 /jboss

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Faster java groups cluster configuration

2003-10-22 Thread Sebastian Hauer

Hi Bela,

 As designed: FD_SOCK is based on socket connections; plugging a cable 
 doesn't kill the connection, until you run into the socket timeout 
 itself, e.g. 12 mins - 2hrs.

Until recently I was not aware that a socket would only detect
disconnections when data is send or read from it.

 I could write a modification of FD_SOCK which uses sockets 
 (and suspects when the connection is closed) *plus* also sends a
heartbeat 
 (a la FD), so you have best of both worlds.

That would be nice.  Looking forward to try it out.

Thanks for your help,
Sebastian


___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Faster java groups cluster configuration

2003-10-21 Thread Sebastian Hauer
Hi Bela,

Thanks for your suggestions.  I was testing with the FD_SOCK protocol as
replacement for the FD protocol.  I did not modify any of the other
protocol parameters.  My first tests where positive, killing the jboss
process on one node got detected much faster by other nodes.  Yet when I
plugged the network cable on one node the other node would not detect
that one node had left.  I waited for several minutes and than checked
the ClusterPartition Mbean and saw that the CurrentView attribute still
contained the disconnected node.

Regards,
Sebastian

 -Original Message-
 From: Bela Ban [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 20, 2003 9:25 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Faster java groups cluster configuration
 
 
 2 solutions: in your current config it takes 20 secs to 
 detect a crashed 
 member. I'd suggest you use timeout=1500 and max_tries=3. The caveat: 
 each member will send a heartbeat every 1.5 secs. Also, you 
 increase the 
 probability of a 'false' suspicion. If VERIFY_SUSPECT doesn't catch 
 that, your suspected member will be shunned and then 
 re-admitted later. 
 If you have a slow member, that's just above the 1500 in 
 response time, 
 it will constantly be shunned and re-joined.

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Faster java groups cluster configuration

2003-10-20 Thread Sebastian Hauer

Hi,

We would like to detect the failure of a node in our JBoss cluster
sooner.  With our current java groups protocol stack in
cluster-service.xml it takes too long and I am the one that should tweak
it.  I have to admit I am not really all that comfortable with it, even
though I was browsing the javagroups code some and read the user doc.
Our cluster is running pretty stable with the current settings that I
have listed below.
To improve failure detection performance I was thinking of changing the
FD protocols timeout to 2000 and maybe bring down the timeout value from
VERIFY_SUSPECT to 1500.
What do you guys think?

Regards,
Sebastian

-
attribute name=PartitionConfig
  Config
!-- UDP: Uses IP multicast for group messages and UDP packets
for
 messages to individual members --
UDP mcast_addr=228.1.2.3 mcast_port=45577 
 ip_ttl=64 ip_mcast=true
 mcast_send_buf_size=15 mcast_recv_buf_size=8 
 ucast_send_buf_size=15 ucast_recv_buf_size=8 
 loopback=false /

  !-- PING: Uses IP multicast (by default) to find initial
members.
   Once found, the current coordinator can be determined and
 a unicast JOIN request will be sent to it --
PING timeout=4000 num_initial_members=3 
  up_thread=true down_thread=true /

!-- MERGE2: Will merge subgroups back into one group --
MERGE2 min_interval=5000 max_interval=1 /

!-- FD: Failure detection based on simple heartbeat
 protocol. Regularly polls members for liveness. --
FD shun=true timeout=5000 max_tries=4 
up_thread=true down_thread=true /

!-- VERIFY_SUSPECT: Double-checks whether suspected member is  
 really dead, otherwise suspicion generated from protocol 
 below is discarded. --
VERIFY_SUSPECT timeout=3000 num_msgs=2
up_thread=true down_thread=true /
 
!-- pbcast.STABLE: Deletes messages that have been seen by 
 all members (distributed message garbage collection) --
pbcast.STABLE desired_avg_gossip=2
   up_thread=true down_thread=true /

!-- pbcast.NAKACK: Ensures (a) message reliability and 
 (b) FIFO. Message reliability guarantees that a message 
 will be received. If not, receiver will request
 retransmission.  FIFO guarantees that all messages from 
 sender P will be received in the order P sent them --
pbcast.NAKACK gc_lag=50
retransmit_timeout=800,1600,2400,3000
   up_thread=true down_thread=true /

!-- UNICAST: Same as NAKACK for unicast messages: messages
 from sender P will not be lost (retransmission if
necessary)
 and will be in FIFO order (essentially the same as TCP in
 TCP/IP, without the flow control) --
UNICAST timeout=800,1600,2400,3000 window_size=100 
 min_threshold=10 down_thread=true /

!-- FRAG: Fragments large messages into smaller ones and
 reassembles them back at the receiver side. For both 
 multicast and unicast messages. --
FRAG frag_size=8192
  down_thread=true up_thread=true /

!-- pbcast.GMS: Membership protocol. Responsible for 
 joining/leaving members and installing new views. --
pbcast.GMS join_timeout=5000 join_retry_timeout=2000
shun=true print_local_addr=true /

!-- pbcast.STATE_TRANSFER: State transfer protocol. --
pbcast.STATE_TRANSFER up_thread=true down_thread=true /
  /Config
/attribute
-


___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as 

RE: [JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

2003-10-15 Thread Sebastian Hauer

You can't use the system classloader for this.  Try the current threads context 
classloader (Thread.currentThread().getContextClassLoader()).

Regards,
Sebastian

-Original Message-
From:   Brian Wallis [mailto:[EMAIL PROTECTED]
Sent:   Wed 10/15/2003 1:25 AM
To: [EMAIL PROTECTED]
Cc: 
Subject:[JBoss-user] JBoss classpaths and ClassLoader.getSystemClassLoader()

(running jboss 3.2.1 on linux 2.4.7 kernel)

There is the following bit of code in the J2SE 1.4 class
java.util.prefs.Preferences..

 private static final PreferencesFactory factory;
 static {
 String factoryName =
 (String) AccessController.doPrivileged(new PrivilegedAction() {
   public Object run() {
   return System.getProperty(
  java.util.prefs.PreferencesFactory);
   }
 });
 
 if (factoryName == null)
 throw new InternalError(
 System property java.util.prefs.PreferencesFactory not set);
 
 try {
 factory = (PreferencesFactory)
Class.forName(factoryName, false,
  ClassLoader.getSystemClassLoader()).newInstance();
 }catch(Exception e) {
 throw new InternalError(
 Can't instantiate Preferences factory  + e);
 }
 }

The idea is that you can define your own factory and set the property 
java.util.prefs.PreferencesFactory  to point to it. Then your new factory 
will return instances of your implementation of the Preferences class.

Problem is, as far as I understand it, the call getSystemClassLoader() is not 
going to return a classloader that will load a class from a deployed jar 
file, or even from a jar file in the jboss lib directory. Only jars on the 
actual java classpath are seen (ie -classpath xxx.jar).

Certainly I have failed to get it to work thusfar. 

I've tried putting my preference factory class jar file on the JBOSS_CLASSPATH 
(which ends up as option value for -classpath to java)  and then it seems to 
be loaded, but I also use jboss's Logger, SecurityAssociation and 
ServerConfig classes and they are not found. They are in the lib or server 
lib directories and I assume are not seen by the classloader returned by 
getSystemClassLoader().

Help!

thanks, brian wallis...



___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 

winmail.dat

[JBoss-user] Bean invocation during app server shutdown throws UndeclaredThrowableException

2003-10-15 Thread Sebastian Hauer
I am writing right now a few failover tests and came across this
exception:
java.lang.reflect.UndeclaredThrowableException:
With a nested:
org.jboss.ha.framework.interfaces.GenericClusteringException: Container
is shuting down on this node

While making a bean invocation while an app server is shutting down.  I
think this should not happen and the client should get a
RemoteException.  When I wait long enough before I make the bean call
and the app server is completely shut down I am getting a
java.rmi.ServerException.  I am working on jboss 3.2.2RC3 and use
HTTP-HA as transport protocol.

Regards,

Sebastian Hauer
Software Engineering
[EMAIL PROTECTED] 

Sakonnet Technology
594 Broadway Suite 1008
New York, NY 10012
www.sknt.com 

+1 917 237 3831 direct
+1 212 343 3103 fax
 

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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] Undeclared runtime exception gets wrapped in java.rmi.ServerException

2003-10-14 Thread Sebastian Hauer
Hi,

I just realized that undeclared thrown runtime exceptions end up wrapped
in java.rmi.ServerException on the client side.  Is this what the J2EE
spec defines?  I am running on jboss 3.2.2RC3 and this happened while
invoking a SLSB.
For some reason I thought that on jboss 3.0.8 I got the naked runtime
exception.

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
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] Undeclared runtime exception gets wrapped in java.rmi.ServerException

2003-10-14 Thread Sebastian Hauer

OK, thanks for clarifying this for me.

Regards,
Sebastian

-Original Message-
From:   Scott M Stark [mailto:[EMAIL PROTECTED]
Sent:   Tue 10/14/2003 7:40 PM
To: [EMAIL PROTECTED]
Cc: 
Subject:Re: [JBoss-user] Undeclared runtime exception gets wrapped in 
java.rmi.ServerException
Yes, its part of the spec. Some exception handling was cleaned up in
3.2 over 3.0.

18.2.2 System exceptions (of ejb 2.0 spec)
...

The Container catches a non-application exception; logs it (which can result in 
alerting the System Administrator); and, unless the bean is a message-driven 
bean, throws the java.rmi.RemoteException (or subclass thereof) to the client if 
the client is a remote client, or throws the javax.ejb.EJBException (or subclass 
thereof) to the client if the client is a local client.


Scott Stark
Chief Technology Officer
JBoss Group, LLC




___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 

winmail.dat

RE: [JBoss-user] Distributed Map

2003-08-14 Thread Sebastian Hauer
Hi Bela,

  I would like to use a distributed map to share state among mbean 
  services running on different nodes in my cluster. First I thought 
  about using org.javagroups.blocks.DistributedHashtable
  but that would require me to open a new Jchannel which I 
 would rather 
  avoid. So I looked at the code of 
  org.jboss.chap8.ex3a.service.DistributedCacheService and 
  org.jboss.ha.framework.server.util.DistributedTimedCachePolicy and 
  realized that I could just use the distributed map service 
 that jboss' partition implementation provides.

 Alternatively you could use the new cache, which will replace 
 that thing at some time in the future. It uses itsown channel for now,

 but we will make it use HAPartitionImpl (it's on the tod list).

Where is this code for the new cache?  Into which jboss version will it
get integrated 3.2.x or only the new 4.x?

  Now my last concern would be concurrency. Is the distributed map 
  implementation of JBoss or javagroups synchronous over the whole 
  cluster?

 No, asynchronous. In JBoss, you can choose (in 
 HAPartitionImpl) between async or sync method calls.

If I switch in HAPartitionImpl to use sync calls will this not change
the overall cluster communication?  If so is this save to do?

BTW: maybe more javagroup and jboss related:  If I make a synchronized
jg call, does that mean it is guaranteed to be executed on all group
members before it returns?

Regards,
Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Distributed Map

2003-08-14 Thread Sebastian Hauer
Hi,

I would like to use a distributed map to share state among mbean
services running on different nodes in my cluster.
First I thought about using org.javagroups.blocks.DistributedHashtable
but that would require me to open a new Jchannel which I would rather
avoid.  So I looked at the code of
org.jboss.chap8.ex3a.service.DistributedCacheService and
org.jboss.ha.framework.server.util.DistributedTimedCachePolicy and
realized that I could just use the distributed map service that jboss'
partition implementation provides.

Now my last concern would be concurrency.  Is the distributed map
implementation of JBoss or javagroups synchronous over the whole
cluster?

Regards,
Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBoss: Deploying in a different directory

2003-08-14 Thread Sebastian Hauer
Hi Paulo,

Deploying into a sub directory of deploy is something I thought jboss
3.2.x would support out of the box.

Regards,
Sebastian

 JBOSS_HOME/server/default/deploy/back_office. Is that 
 possible with JBoss? Ive read somewhere that I need to edit 
 jboss-service.xml under the conf directory. I tried editing 
 it and added
 
 attribute name=URLs
deploy/,./deploy/back_office
 /attribute


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] dynamic jms queues or bean polling

2003-08-04 Thread Sebastian Hauer
Hi Scott,

 I guess you need to describe why the topic approach was a 
 waste of bandwidth. A collection of client subscribed to a 

Well it is a waste of bandwidth because we are not setting any message
selectors and the clients are doing their filtering upon receiving the
message.

 topic with a filter really should come 
 down to the same behavior as the dedicated dynamic queue 
 approach unless the 
 clients were filtering the messages after receipt.

For some reason I never thought that the server would apply the selector
rules, but it makes sense.  Thanks for opening my eyes, it is that
simple of course I will use message selectors.

Regards,
Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] dynamic jms queues or bean polling

2003-08-01 Thread Sebastian Hauer
Hi,

I have java GUI clients which connect to a clustered JBoss server
environment via JMS.  So far I was using JMS topics to broadcast certain
message to a topic all clients where subscribed to.  This turned out to
be a great waste of bandwidth because most message are only relevant for
a small subset of clients.

So I thought about it and came up with two possibilities to address this
issue:

#1
Because of the pub/sub nature of topics I thought that possibly
point-to-point message queues are better suited for my problem.  
I want to be able to publish messages from a MBean on the server side to
specific clients.  Because I need one queue per client and I don't know
how many clients will log into my system.  I think I will need to be
able to dynamically created queues.  
I briefly looked into temporary queues but the API said that one can
only use them within the same queue connection, which makes them
unusable for me.  I know that queues are just MBeans so I thought of
creating them through a bean call and returning the unique JNDI name to
the client which would look the Queue up and be able to subscribe.  I
might also have to think of something in case the JMS node in the
cluster dies and dynamically recreate the queues.

#2
Poll the app servers a few times a minute using ordinary bean calls and
forgetting about JMS.  Disadvantage is that I will have a possibly
bigger latency until the client will get the information than it would
if I would use JMS.  Waste some bandwidth for unnecessary bean calls.


Any feedback and alternative ideas are welcome.

Regards,
Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JMS behind a firewall.

2003-07-10 Thread Sebastian Hauer

Hi William,

 connection after sending the message.  When we use the UIL 
 invocation layer, the exception does not occur.  The client 
 is a servlet that establishes a connection each time, sends a 
 message then closes out the connection.  Are clients only 
 allowed to establish one connection with the UIL2 layer?
 
  - Destroying failedjavax.jms.JMSException: The destination 
 is being used.
   at 
 org.jboss.mq.server.JMSDestinationManager.closeDestination(JMS
 DestinationManager.java:804)
   at 
 org.jboss.mq.server.jmx.DestinationMBeanSupport.destroyService
 (DestinationMBeanSupport.java:122)

Not that I know of, you should be able to open as may connection as you
want.
Can you show some code how you open and use the connection?

Regards,
Sebastian


---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing  more.
Download  eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JMS behind a firewall.

2003-07-08 Thread Sebastian Hauer
Hi Billy,

You can tunnel all your RMI calls through HTTP/S, this would include
JNDI lookup calls. So you would only need one port for that and than use
something like UIL or better UIL2 for JMS which will also need just one
port.
We have a setup like this in production using JBoss 3.0.x.

Regards,
Sebastian


---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing  more.
Download  eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Secured bean call from MBean

2003-07-07 Thread Sebastian Hauer
Hi,

I want to make a bean call to a secured bean from an Mbean.  The Mbean
has no security information associated with its calling thread and can
therefore not do this.
I was wondering what one should do in such a scenario.  I don't want to
remove the security context from the bean and was wondering what's the
right thing to do here?

So far I could only think of writing my own user name (no password)
login module and setting up a new JAAS security domain for the Mbean
JAAS authentication.  Would this still be considered secure, as I am
only using this code inside the app server or did I forget about
something?

Regards,
Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Jetty and Log4j request logs

2003-07-02 Thread Sebastian Hauer
Hi,

We are still using JBoss 3.0.x in production with jetty as web server.
Every now and than I have to check the jetty request logs and I don't
really like it.  I neither like the log file format, the GMT timestamps,
nor do I like that some requests are out of order.  Once I tail the
request logs it seems as if jetty buffers the logs events before it
writes them down.
Is there a jetty version that is using good old log4j for request
logging so that I can configure the log behavior?

Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JAAS login - updating the SRP cache

2003-06-27 Thread Sebastian Hauer
Hi Scott,

 In terms of a logical or of login modules, this is supported 
 out of the box by JAAS and is the purpose of the Sufficient control 
 flag: Sufficient - The LoginModule is not required to 
 succeed.  If it does succeed, control immediately returns to the
application 
 (authentication does not proceed down the LoginModule list). If it
fails, 
 authentication  continues down the LoginModule list.

I don't think the sufficient flag is sufficient I my case.
I want at least one of a number of login modules to succeed and once one
of them succeeds I still want it to execute a RolesLoginModule so that
the Subjects gets its roles assigned.  If I use the sufficient flag
for the real login modules it will simply return once one succeeds and
my roles login module will never get called.

Regards,
Sebastian


---
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] JAAS grouping of login module

2003-06-27 Thread Sebastian Hauer

Hi Scott,

 Then it may not be unless you can order the RolesLoginModule ahead of 
 the authentication modules, which may not be possible.

Alright, good point, now I understand what you mean.  Yes if I could do
the roles assignment before doing the real authentication I would indeed
be all set and could go with the sufficient flag.  Well currently our
code in this respect needs a little overhaul so that roles caching is
more efficient, so I don't want to do any unnecessary stuff unless the
user is authenticated.

Regards,
Sebastian


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] unchecked/ method security fails

2003-06-26 Thread Sebastian Hauer
Hi Scott,

Took me a while until I got around to test this again.

 Are you populating the Subject with your own Roles group 
Yes.

 instance? Validation of the special ANYBODY only works with 
 org.jboss.security.NestableGroup for any release version. 
 This restriction was removed a couple of days ago so you 
 could test against any branch 3.0 and higher if this is the case.

I just tested it with Branch_3_0 code from 2 days ago and it works for
me now with no problems.
I did not try it with Jboss 3.0.8 but I assume it does not work with
this release, right?


 If you are using a JBoss login module, how does your testcase 
 differ from the EJBSpecUnitTestCase.testUncheckedWithLogin 
 case I just checked in?
My test is equivalent.

Thanks a lot for your help,

Sebastian 


---
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] unchecked/ method security fails

2003-06-24 Thread Sebastian Hauer

Hi Scott,

Thanks for the answer I think that worked for me.
Now I have a different problem.  I wrote a little test where I have an
authenticated user with roles assigned to it which will try to call a
bean method that is unsecured unchecked/ (in this case create() is
unchecked as well) and fails with this exception on the client side:
 
javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
Insufficient method permissions, principal=admin1#XON,
method=create, interface=HOME, requiredRoles=[ANYBODY],
 principalRoles=[rejectVoidTrades$, amendTradesFO$, readDateSequences$,
readParties$, createUnverifiedTradesBO$, readBal

Sebastian

 -Original Message-
 From: Scott M Stark [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 23, 2003 7:54 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] unchecked/ method security fails
 
 
 
 Unchecked in JBoss does not mean anonymous by default. A 
 caller still must be authenticated, but there will be no 
 authorization check. If you want to allow anonymous access to 
 an unchecked ejb you need to configure the security domain 
 login modules to allow this. Most JBoss login modules support 
 this using the unauthenticatedIdentity module option so read 
 up on that.


---
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] Who is using JBoss in production?

2003-06-17 Thread Sebastian Hauer
We are using JBoss 3.0.x during development and in production on a few
sites.
We have about 5-7 application servers running in a cluster for approx.
20 Swing based WebStart clients per site.   The clients communicate with
the app-servers using HTTPS tunneled RMI and JBossMQ JMS over UIL2.
So far no major problems.  We actually switched from WebLogic and are
quite happy not only about the fact that we slashed the horrendous
licensing costs but also about the excellent support we get from the
JBoss Group guys (I am sure the other ones are good too ;).  We had a
support contract with BEA as we where still using WebLogic and to say
the least, it sucked.

Regards,
Sebastian

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, June 17, 2003 11:36 AM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Who is using JBoss in production?
 
 
 Hi all,
 
 I went to the Sun JavaOne conference in the Netherlands yesterday.
 
 I talked to a lot of people, and noticed that not many people 
 are using 
 JBoss in a production environment.
 
 I was wondering? How many of you are actually running 
 production systems 
 on JBoss?
 
 Grtz,
 
 Harm de Laat
 Informatiefabriek
 The Netherlands
 
 
 
 
 ---
 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/j boss-user
 


---
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] JAAS login - updating the SRP cache

2003-06-16 Thread Sebastian Hauer
Hi,

I have a question regarding the SRP cache.  I have a server side JAAS
login config which right now looks like this:

application-policy name=beans
   authentication
  login-module
code=org.jboss.security.srp.jaas.SRPCacheLoginModule flag=requisite
 module-option
name=cacheJndiNamexenon/AuthenticationCache/module-option
  /login-module

  login-module
code=com.sknt.picasso.security.jaas.PicassoRolesLoginModule
flag=required
 module-option
name=password-stackinguseFirstPass/module-option
  /login-module
   /authentication
/application-policy

application-policy name=web-app
   authentication
  login-module
code=com.sknt.picasso.security.jaas.PicassoAuthenticationLoginModule
flag=requisite
  /login-module

  login-module
code=com.sknt.picasso.security.jaas.PicassoRolesLoginModule
flag=required
 module-option
name=password-stackinguseFirstPass/module-option
  /login-module
   /authentication
/application-policy


Basically I have an application policy I want to use to secure my bean
access.  Because I am using SRP to authenticate the users of a
standalone java application I want to make use of the SRP cache to speed
things up while checking the credentials of a bean caller.
So far so good,  but now I also have a web application I need to secure.
Therefore the second application policy web-app.  The web application
will make bean calls as well, which will fail because my custom login
module PicassoAuthenticationLoginModule does not know how to update
the SRP cache.

I assume I have to somehow call the SRP service and tell it to update
the cache.  But before I dig into the JBoss code and try to figure out
how this is done I want to know if this is the way to do it (TM) or if
there is something I forgot.

Regards,
Sebastian


---
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] Red Hat 9.0 and NPTL - Better Linux Threading

2003-03-31 Thread Sebastian Hauer
AFAIK you will have to run at least kernel 2.5.36 (unstable development
kernel) if you want to take advantage of NPTL.
Though I think it sounds promissing and I am realy looking forward to
2.6.x.

Sebastian

 -Original Message-
 From: Hunter Hillegas [mailto:[EMAIL PROTECTED] 
 Sent: Friday, March 28, 2003 2:07 PM
 To: JBoss User
 Subject: [JBoss-user] Red Hat 9.0 and NPTL - Better Linux Threading
 
 
 I've read that the upcoming Red Hat 9 includes the NPTL 
 (Native POSIX threading library), which finally fixes the 
 super-kludge which is Linux threading...
 
 Obviously this has large implications for Java and JBoss, 
 since they are thread heavy.
 
 Anyone have any info on this?
 
 Thanks,
 Hunter


---
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Latest CVS version

2003-03-26 Thread Sebastian Hauer

Hi Simone,

Not sure if it will work with your proxy but did you follow the
instructions on:
https://sourceforge.net/docman/display_doc.php?docid=14033group_id=1

And did you try this?

cvs -z3
-d:pserver:[EMAIL PROTECTED]:80/cvsroot/jboss login
cvs -z3
-d:pserver:[EMAIL PROTECTED]:80/cvsroot/jboss co -r
Branch_3_2 jboss-head

If you are not a jboss developer with cvs write access I am not sure
whether you can get access over CVS_RSH=ssh
You might be stuck with pserver.

You might also have to try multiple times before you get a connection to
the sourceforge cvs server.  I have to try usually 10 to 15 times before
I get a response back.

Regards,
Sebastian


 -Original Message-
 From: Simone Milani [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 26, 2003 8:13 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Latest CVS version
 
 
 Thanks,
 
 Tried that as well, but still have the problem that my 
 proxy servers here do not allow HTTP Tunnelling.  Is there a 
 nightly tarball for the 3.2.0 branch?
 
 Simone
 - Original Message -
 From: Guy Rouillier [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 26, 2003 5:21 AM
 Subject: Re: [JBoss-user] Latest CVS version
 
 
 
 
  Simone Milani wrote:
   Hi Heiko,
  
   Thanks, I am trying to setup an SSH tunnell on my NT 
 machine to 
   use
 with
   CVS but no luck.  Did you ever managed to do it?
 
  Simone, have you tried PUTTY?  I'm using that under Win2K 
 with WinCvs 
  at home to ssh into a remote CVS, and it's been working 
 fine for over 
  a year.  Just go to google and search for putty.  Post here if you 
  have any configuration questions.
 
 
 
 
  ---
  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
 
 
 
 ---
 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/j boss-user
 


---
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] Sourceforge CVS performance is bad

2003-03-25 Thread Sebastian Hauer

Hi,

What is up with sourceforge and their CVS access for anonymous users?
If I have to issue any cvs command, either on a already checked out
working copy of JBoss or once I try to checkout a fresh copy, I usually
have to issue the same command ~15 times before I get a server response.
Most of the time I will just get a:
cvs [update aborted]: Error reading from server cvs.sourceforge.net: 0

Sebastian


---
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


RE: [JBoss-user] Using RMI / JNDI over HTTPS

2003-03-10 Thread Sebastian Hauer

Hi Jeremy,


 -Original Message-
 From: Jeremy Rempel [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 10, 2003 12:27 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Using RMI / JNDI over HTTPS
 
 
 I have recently modified my existing application to use JNDI 
 / RMI over 
 HTTPS as explained in the (non-free) JBoss Admin manual. I have port 
 8443 open on the server and thats what it references in my 
 jndi.properties.
 
 It works on the same machine but when I try and run it through the 
 internet it gives me this error :
 
 javax.naming.NamingException: Failed to retrieve Naming 
 interface.  Root 
 exception is java.net.SocketException: Connection reset by 
 peer: connect
 
 Is there any additional steps I need to do to make JNDI / RMI 
 work over 
 HTTPS ?

Yes,

Check your:
deploy/http-invoker/META-INF/jboss-service.xml file:
And check whether your have an entry like this:

   !-- Expose the Naming service interface via HTTP --
   mbean code=org.jboss.invocation.http.server.HttpProxyFactory
  name=jboss:service=invoker,type=http,target=Naming
  !-- The Naming service we are proxying --
  attribute name=InvokerNamejboss:service=Naming/attribute
  !-- Compose the invoker URL from the cluster node address --
  attribute name=InvokerURLPrefixhttps:///attribute
  attribute
name=InvokerURLSuffix:8443/invoker/JMXInvokerServlet/attribute
  attribute name=UseHostNamefalse/attribute
  attribute
name=ExportedInterfaceorg.jnp.interfaces.Naming/attribute
  attribute name=JndiName/attribute
   /mbean

Now this is just for the naming interface you will also need to do this
for the other stuff, like EJB invoker service.
If you are using want to use HTTPS with JDK 1.3.x you might also have to
register the JSSE protocol handler with the VM before you can open the
connection.

Sebastian 


---
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] Using RMI / JNDI over HTTPS

2003-03-10 Thread Sebastian Hauer

I almost forgot. Also change in your standardjboss.xml for the whole
container or for each bean in jboss.xml the communication layer to use:

  home-invokerjboss:service=invoker,type=http/home-invoker 
  bean-invokerjboss:service=invoker,type=http/bean-invoker

If you have the for-pay-docs check out Chapter 5, in my edition it is on
page 175.

Sebastian

 -Original Message-
 From: Sebastian Hauer 
 Sent: Monday, March 10, 2003 1:01 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Using RMI / JNDI over HTTPS
 
 
 
 Hi Jeremy,
 
 
  -Original Message-
  From: Jeremy Rempel [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 10, 2003 12:27 PM
  To: [EMAIL PROTECTED]
  Subject: [JBoss-user] Using RMI / JNDI over HTTPS
  
  
  I have recently modified my existing application to use JNDI
  / RMI over 
  HTTPS as explained in the (non-free) JBoss Admin manual. I 
 have port 
  8443 open on the server and thats what it references in my 
  jndi.properties.
  
  It works on the same machine but when I try and run it through the
  internet it gives me this error :
  
  javax.naming.NamingException: Failed to retrieve Naming
  interface.  Root 
  exception is java.net.SocketException: Connection reset by 
  peer: connect
  
  Is there any additional steps I need to do to make JNDI / RMI
  work over 
  HTTPS ?
 
 Yes,
 
 Check your:
 deploy/http-invoker/META-INF/jboss-service.xml file:
 And check whether your have an entry like this:
 
!-- Expose the Naming service interface via HTTP --
mbean code=org.jboss.invocation.http.server.HttpProxyFactory
   name=jboss:service=invoker,type=http,target=Naming
   !-- The Naming service we are proxying --
   attribute name=InvokerNamejboss:service=Naming/attribute
   !-- Compose the invoker URL from the cluster node address --
   attribute name=InvokerURLPrefixhttps:///attribute
   attribute 
 name=InvokerURLSuffix:8443/invoker/JMXInvokerServlet/attribute
   attribute name=UseHostNamefalse/attribute
   attribute 
 name=ExportedInterfaceorg.jnp.interfaces.Naming/attribute
   attribute name=JndiName/attribute
/mbean
 
 Now this is just for the naming interface you will also need 
 to do this for the other stuff, like EJB invoker service. If 
 you are using want to use HTTPS with JDK 1.3.x you might also 
 have to register the JSSE protocol handler with the VM before 
 you can open the connection.
 
 Sebastian 
 
 
 ---
 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/j boss-user
 


---
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] Jetty temp dir

2003-03-07 Thread Sebastian Hauer

Hi,

Is the a a jetty config option to change jetty's default temp directory,
where is unpacks war's?
I saw the forum thread regarding this:
http://jboss.org/forums/thread.jsp?forum=50thread=20399message=3738995
q=temp+dir#3738995

The thread is now a few month old so I wanted to know if there is now
maybe some config file setting for this.

Regards,
Sebastian


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Sebastian Hauer

Hi Kevin,

  would just be to unsafe.  I want to account for the login 
  failure where
  they get checked on the server side.
 
 Secure your beans by assigning a JAAS security domain in 
 jboss.xml. This will cause the server to invoke the 
 associated JAAS modules and allow you to achieve the intended result.

So you suggest that I do something like this:
1. Authenticate the user with a client side JAAS login module
2. In any case invoke a arbitrary bean method on a bean under a security
domain to get the server side JAAS login module invoked.
3. Account for the login failure using the server side JAAS module.

Is this right?
Is the bean invocation the only way I can get a server side JAAS module
involved for authentication?

Regards,
Sebastian


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Sebastian Hauer

Hi Vladimír,

 In my first answer I mean server-side JAAS login module.
 You can write one big module which makes all work ( 
 autentification/ authorization and failure counter ),  or 

I understand that I can use a server-side JAAS login module.
As Kevin suggested I could secure a bean with the security domain to get the 
server-side login module invoked. Though I find it kind of odd to use a bean 
invocation to get the server-side JAAS login modules involved in the initial 
authentication procedure.  But if this is the way to do it I will do it.

Regards,
Sebastian


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Sebastian Hauer

Hi Vladimír  Kevin,

Thanks for your help I think I understand it now.

Regards,
Sebastian


---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-25 Thread Sebastian Hauer
Hi Vladimir,


 Try implement own login-module which checks if was XXX login 
 failures. 
 ( see code in 
 $JBOSS-SRC/security/src/main/org/jboss/security/auth/spi ). 
 Then set-up this module into application-policy in 
 login-config.xml with flag=required.

Yes this was my first idea as well.  I know I can implement a JAAS login
module for the client side which will get invoked under and
circumstances.  But I need to account for the login failures on the
server side.  I don't want to implement a client side JAAS login module
which will account for failed logins and than invoke a unsecured bean
method so that these information get stored on the server side.  This
would just be to unsafe.  I want to account for the login failure where
they get checked on the server side.

- Sebastian


---
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] How to configure durable topic in 3.0.x

2003-02-25 Thread Sebastian Hauer

Attached you will find a sample configuration that should work.
How do you connect to the durable subscribers?

TopicConnectionFactory tcf = (TopicConnectionFactory)
ctx.lookup(jmsTopicConnectionFactoryJndiName);
conn = tcf.createTopicConnection(tester, password);
topic = (Topic) ctx.lookup(topic/TEST);
session = conn.createTopicSession(false,
TopicSession.AUTO_ACKNOWLEDGE);
publisher = session.createPublisher(topic);
conn.start();
subscriber = session.createDurableSubscriber(topic,
testSubscription);

Hope this helps,
Sebastian

 -Original Message-
 From: Demyanovich, Craig - Apogent [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, February 25, 2003 4:52 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: [JBoss-user] How to configure durable topic in 3.0.x
 
 
 I spoke too soon; I have not found enough information to 
 create a working durable subscription configuration.  I would 
 appreciate very much if someone would post working examples 
 of the relevant files or would provide some instructions.  I 
 just can't tell at this point if I have one thing wrong in 
 one place or many things wrong in many places.  Here is a 
 snippet of the error that I receive at deployment for my topics:
 
 2003-02-25 15:44:29,571 WARN 
 [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure
 detected: 
 org.jboss.mq.SpyJMSException: Cannot subscribe to this 
 Destination: null; - nested throwable: 
 (java.lang.NullPointerException)
   at org.jboss.mq.Connection.addConsumer(Connection.java:974)
   at
 org.jboss.mq.SpyConnectionConsumer.init(SpyConnectionConsume
 r.java:73)
   at 
 org.jboss.mq.SpyConnection.createDurableConnectionConsumer(Spy
...
?xml version=1.0 encoding=UTF-8?
StateManager
	Users
		User
			Nametester/Name
			Passwordpassword/Password
			IdtesterID/Id
		/User
	/Users
	Roles
	!--
		Role name=testRole
			UserNametester/UserName
		/Role
		--
		Role name=guest
			UserNametester/UserName
		/Role
	/Roles
	DurableSubscriptions
		DurableSubscription
			ClientIDtesterID/ClientID
			NametestSubscription/Name
			TopicNameTEST/TopicName
		/DurableSubscription
	/DurableSubscriptions
/StateManager
?xml version=1.0 encoding=UTF-8?

!-- $Id: jbossmq-service-uil.xml,v 1.1 2003/02/22 02:28:16 sebastian Exp $ --

server
  !--  --
  !-- JBossMQ  --
  !--  --


  !--  --
  !-- Invocation Layers--
  !--  --
  !--
 | InvocationLayers are the different transport methods that can
 | be used to access the server.
   --

  mbean code=org.jboss.mq.il.jvm.JVMServerILService
	 name=jboss.mq:service=InvocationLayer,type=JVM
depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends
attribute name=ConnectionFactoryJNDIRefjava:/ConnectionFactory/attribute
attribute name=XAConnectionFactoryJNDIRefjava:/XAConnectionFactory/attribute
attribute name=PingPeriod0/attribute
  /mbean

  mbean code=org.jboss.mq.il.uil.UILServerILService
	 name=jboss.mq:service=InvocationLayer,type=UIL
depends optional-attribute-name=Invokerjboss.mq:service=Invoker/depends
attribute name=ConnectionFactoryJNDIRefUILConnectionFactory/attribute
attribute name=XAConnectionFactoryJNDIRefUILXAConnectionFactory/attribute
attribute name=ServerBindPort8091/attribute
attribute name=PingPeriod0/attribute
attribute name=EnableTcpNoDelaytrue/attribute

!-- 
attribute name=ClientSocketFactoryorg.jboss.security.ssl.ClientSocketFactory/attribute 
attribute name=ServerSocketFactoryorg.jboss.security.ssl.DomainServerSocketFactory/attribute 
attribute name=SecurityDomainjava:/jaas/RMI+SSL/attribute
 --
  /mbean

  
  
  !--  --
  !-- JBossMQ Interceptor chain configuration  --
  !--  --
  !-- To tune performance, you can have the Invoker skip over the TracingInterceptor --
  !-- and/or the SecurityManager, but then you loose the ability to trace and/or enforce security. --
  
  mbean code=org.jboss.mq.server.jmx.Invoker name=jboss.mq:service=Invoker
depends optional-attribute-name=NextInterceptorjboss.mq:service=TracingInterceptor/depends
  /mbean

  mbean code=org.jboss.mq.server.jmx.InterceptorLoader name=jboss.mq:service=TracingInterceptor
attribute name=InterceptorClassorg.jboss.mq.server.TracingInterceptor/attribute
depends optional-attribute-name=NextInterceptorjboss.mq:service=SecurityManager/depends
  /mbean

  mbean code=org.jboss.mq.security.SecurityManager 

[JBoss-user] Open WAR directory undeploy fails

2003-02-12 Thread Sebastian Hauer

Hi,

I have an web application in a open WAR directory structure.  When ever
I try to undeploy this WAR directory while trying to remove it the
system seams to hold on to:

Some.war/WEB-INF/lib/jaxp.jar

I would probably get away without jaxp.jar in this war but I wonder why
I can't remove this files. This happens with JBoss 3.0.5 and Jetty under
Windows.
I was under the impression that JBoss would copy all jar files into it's
tmp directory to avoid situations like this.

Sebastian




---
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] Open WAR directory undeploy fails

2003-02-12 Thread Sebastian Hauer

Hi Fred,

I tried now 1.3.1_05, 1.3.1_06 and 1.3.1_07 no success always the same
problem.
In fact this time I just started JBoss the stuff got deployed but the
servlet in the WAR directory was never accessed.
So right after startup I tried removing the content of the WEB-INF/lib
directory.  Non of the .jar files could be removed while the application
server was running.
Though thanks for your suggestion.

Sebastian


 -Original Message-
 From: Fred Hartman [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, February 12, 2003 5:09 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Open WAR directory undeploy fails
 
 
 It may be due to this JVM bug fixed in 1.3.1_07
 
 4523757
 The javac compiler explicitly closes ZipFile objects allowing 
 those resource to be reclaimed. from 
 http://java.sun.com/j2se/1.3/ReleaseNotes.html
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Scott M Stark
 Sent: Wednesday, February 12, 2003 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Open WAR directory undeploy fails
 
 
 Also, no unpacked deployments are copied into the tmp 
 directory. So the question is who is keeping the 
 Some.war/WEB-INF/lib/jaxp.jar open. Is it the web container 
 or is it the VM. There have been issues with the VM holding 
 onto jars on win32 but I don't know what the latest VMs 
 behavior is so include the info in any bug report.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 
 - Original Message -
 From: Scott M Stark [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, February 12, 2003 12:40 PM
 Subject: Re: [JBoss-user] Open WAR directory undeploy fails
 
 
  Its upto the web container how it deals with the contents of the
 deployment.
  JBoss does not look into wars so the issue is how Jetty or 
 Tomcat are 
  using the jars. Apparently they are used as is and are 
 incurring the 
  win32 locking on the deployed jar. File a bug report on sourceforge.
 
  
  Scott Stark
  Chief Technology Officer
  JBoss Group, LLC
  
 
  - Original Message -
  From: Sebastian Hauer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, February 12, 2003 11:33 AM
  Subject: [JBoss-user] Open WAR directory undeploy fails
 
 
 
  Hi,
 
  I have an web application in a open WAR directory structure.  When 
  ever I try to undeploy this WAR directory while trying to remove it 
  the system seams to hold on to:
 
  Some.war/WEB-INF/lib/jaxp.jar
 
  I would probably get away without jaxp.jar in this war but I wonder 
  why I can't remove this files. This happens with JBoss 
 3.0.5 and Jetty 
  under Windows. I was under the impression that JBoss would copy all 
  jar files into it's tmp directory to avoid situations like this.
 
  Sebastian
 
 
 
 
  ---
  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
 
 
 
  ---
  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
 
 
 
 ---
 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/j boss-user
 
 
 
 
 ---
 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/j boss-user
 


---
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] Logging threshold...

2003-02-06 Thread Sebastian Hauer

Hi Eric,

Change your servers log4j.xml file, go to the jmx-console, click on the
jboss.system:service=Logging,type=Log4jService Mbean link and invoke the
reconfigure() method.

Sebastian

 -Original Message-
 From: Eric Klimas [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, February 06, 2003 11:52 AM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Logging threshold...
 
 
 Hi all,
 
 I'm running Jboss3.0.4 Tomcat 4.1.12, and was wondering if 
 there was some way to change the logging threshold of the 
 server without having to restart jboss or redeploy my app 
 (i.e. via the jmx-console).  Probably a simple answer for 
 somebody, but I can't seem to find it


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss on JavaOne 2003?

2003-01-24 Thread Sebastian Hauer
Hi,

Just a quick question. Will the JbossGroup present Jboss on the upcoming
JavaOne? If so what will be presented?

Regards,
Sebastian


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Log4j thread dump capture

2003-01-24 Thread Sebastian Hauer

Hi,

As far as I can see JBoss wrapes STDOUT and STDERR into log4j categories
which is nice. Though when I take a thread dump I see it only appear on
the console screen but it will not get captured by log4j and written
into a log4j.
Is there a way to set this up?
We would like to run our Jboss servers as background processes but don't
want to loose the possibility to take thread dumps.

Regards,
Sebastian


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] URGENT help needed: File http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd not found.

2003-01-12 Thread Sebastian Hauer

Hi,

Your problem is that the DTD could not be found on the Jboss server.
Either use a non validating parser so that the parser will not try to
load the DTD from the possibly broken jboss site or implement an
org.xml.sax.EntityResolver where you map the public identifier
-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN to resource you load with your
classloader. The jboss guys do that. Take a look at their implementation
of org.jboss.metadata.XmlFileLoader for an example.

Sebastian


 -Original Message-
 From: Junjie Ding [mailto:[EMAIL PROTECTED]] 
 Sent: Sunday, January 12, 2003 10:54 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] URGENT help needed: File 
 http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; not found.
.
.
 and here is my pieve of code to get datasource:
 
 DOMParser parser = new DOMParser();
 parser.parse(../server/catalina/conf/standardjaws.xml);
 Document document = parser.getDocument();
 Node node = (Node)document.getDocumentElement();
 Element element = (Element)UtilParser.getNodeWithNodeName(node,
 dataSource);


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JMS durable subscribers JAAS

2002-12-09 Thread Sebastian Hauer
Hi JBoss users,

I have setup durable subscribers for JBoss JMS.
This required me to add a user/password/ID entry to jbossmq-state.xml
for special JMS users.
I have an application using it's own SRP verifier store and JBoss SRP
based JAAS authentication.
I will probably need to enable durable subscribers to all of my uses in
the SRP verifier store.
Now I could go ahead and create a separate user/password/ID entry for
every user in jbossmq-state.xml but this is not what I want to do. What
bothers me most about this approach is that I will have a password clear
text in jbossmq-state.xml and I would like to avoid this.
I guess what I want is to be able to map the JMS ID in jbossmq-state.xml
to an existing JAAS user so that I don't have to call:
 conn = tcf.createTopicConnection(username, password);

And authenticated again against the JMS implementation.

Is there a way to set this up in JBoss?

Regards,

Sebastian



---
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] How to apply a patch

2002-12-02 Thread Sebastian Hauer
Try cygwin http://www.cygwin.com/
Install the patch package from section Utils.
You can put the cygwin/bin directory in your Windows PATH and use their
patch.exe from the DOS prompt if you don't like the bash. 

Sebastian

 -Original Message-
 From: Meyer-Willner, Bernhard [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, November 29, 2002 10:28 AM
 To: '[EMAIL PROTECTED]'
 Subject: Re: [JBoss-user] How to apply a patch
 
 
 Is there a Windows patch utility one can use? If so, what is 
 it and how can I use it?
 
 Thanks,
 
 Bernie


---
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] Turn of jboss boot log4j messages

2002-12-02 Thread Sebastian Hauer

Hi Jboss Users,

Is there a way to turn of the jboss default boot startup messages like
these:

14:48:54,088 INFO  [Server] JBoss Release: JBoss-3.0.4
CVSTag=JBoss_3_0_4
14:48:54,104 INFO  [Server] Home Dir: C:\alpha\jboss
14:48:54,104 INFO  [Server] Home URL: file:/C:/alpha/jboss/
14:48:54,104 INFO  [Server] Library URL: file:/C:/alpha/jboss/lib/
14:48:54,104 INFO  [Server] Patch URL: null

These are messages that will get logged before the log4j service Mbean
is in place so I think I can not turn them off in my
server/*/conf/log4j.xml file.
I was digging though the code of 3.0.4 but did not find where a
bootstrap Jboss configuration will get loaded. Any hints?

Sebastian



---
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Turn of jboss boot log4j messages

2002-12-02 Thread Sebastian Hauer
Thanks for the hint. It worked.
I did not want to change log4j.properties in run.jar so I created my own
and set a system property in the startup script
-Dlog4j.configuration=log4j-test.properties that did the trick.

Sebastian

 -Original Message-
 From: Larry Sanderson [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 02, 2002 3:29 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Turn of jboss boot log4j messages
 
 
 in run.jar, modify the bootstrapped log4j.properties.  (I 
 think you can just comment out all the appender stuff, but 
 not sure if that will cause a No appender found error - 
 never tried it.)
 
 -Larry
 
 - Original Message -
 From: Sebastian Hauer [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, December 02, 2002 12:13 PM
 Subject: [JBoss-user] Turn of jboss boot log4j messages
 
 
 
 Hi Jboss Users,
 
 Is there a way to turn of the jboss default boot startup messages like
 these:
 
 14:48:54,088 INFO  [Server] JBoss Release: JBoss-3.0.4 
 CVSTag=JBoss_3_0_4 14:48:54,104 INFO  [Server] Home Dir: 
 C:\alpha\jboss 14:48:54,104 INFO  [Server] Home URL: 
file:/C:/alpha/jboss/ 14:48:54,104 INFO  [Server] Library URL:
file:/C:/alpha/jboss/lib/ 14:48:54,104 INFO  [Server] Patch URL: null

These are messages that will get logged before the log4j service Mbean
is in place so I think I can not turn them off in my
server/*/conf/log4j.xml file. I was digging though the code of 3.0.4 but
did not find where a bootstrap Jboss configuration will get loaded. Any
hints?

Sebastian



---
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld.
Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jbossmq durable subscriber authentication

2002-11-27 Thread Sebastian Hauer

Hi JBoss users,

Following the JBoss adm.  dev. Documentation I setup durable
subscribers while adding JMS accounts to:
jbossmq-state.xml and it works.

But it seems to be so cumbersomely and also not very secure because I
had to specify clear text passwords for every JMS user.

Now I wanted to know if there is a better way on how to integrate
durable subscribers into JBoss. I also saw that there is a jbossmq
application-policy in login-config.xml which made me think if it is
maybe possible to authenticate only once against a custom login module
and only map user names to JMS IDs in jbossmq-state.xml for every
durable subscriber. I don't know if this already works or if this is a
feature that needs to be implemented.

Regards,

Sebastian


PS: I am using JBoss 3.0.4


---
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Sebastian Hauer
Check your appender.
It probably has its threshold set to INFO.
Either remove the threshold or create a new appender with no threshold
level set and reference it from your category definition:
E.g.:

  appender name=SKNT_CONSOLE
class=org.apache.log4j.ConsoleAppender
param name=Target value=System.out/
layout class=org.apache.log4j.PatternLayout
  param name=ConversionPattern value=%d{ABSOLUTE} %-5p [%c{1}]
%m%n/
/layout
  /appender

  category name=org.jboss.security.srp
priority value=TRACE class=org.jboss.logging.XLevel/
appender-ref ref=SKNT_CONSOLE/
  /category

Sebastian


 -Original Message-
 From: Aaron Metzger [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, November 26, 2002 11:54 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] log4j and jboss: where is log4j.properties?
 
 
 
 Sorry to glom onto someone else's thread, but I have a 
 related question.
 
 After setting up your own category, as below, everything works nicely 
 for my ejbs but Servlets under Jetty don't seem to see the elevated 
 priority level when I jack my com.xxx. priority up to DEBUG.  All 
 output from my servlets still only show at INFO and higher as if they 
 are being filtered only by JBoss category and priority levels.
 
 Any way to get servlet output at DEBUG level?


---
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] secure web context with jetty.

2002-11-22 Thread Sebastian Hauer

Hi Stefan,

JBoss uses JAAS.
For a simple file based login module and how it is used have a look at
the jmx-console web application that comes with Jboss.
Have a look at these config files:

Jboss/server/all/conf/login-config.xml  (application-policy
jmx-console)
Jboss/server/all/deploy/jmx-console.war/WEB-INF/web.xml
Jboss/server/all/deploy/jmx-console.war/WEB-INF/jboss-web.xml
Jboss/server/all/deploy/jmx-console.war/WEB-INF/classes/roles.properties
Jboss/server/all/deploy/jmx-console.war/WEB-INF/classes/users.properties

Sebastian

 -Original Message-
 From: Stefan Groschupf [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, November 22, 2002 4:30 AM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] secure web context with jetty.
 
 
 Hi,
 I'm really sorry for the stupid question, but can someone 
 point me to a resource where I can read how to secure a web 
 context? The entries in my web.xml are well and working fine, 
 but where to define the user name, password and roles ? In 
 Tomcat I use the tomcat-users.xml, where is such a file for 
 jetty in jboss?
 
 Thanks
 Stefan


---
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] jdbc2.PersistenceManager fails with large messages

2002-11-21 Thread Sebastian Hauer

 -Original Message-
 From: Peter Fagerlund [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, November 21, 2002 6:56 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] jdbc2.PersistenceManager fails with 
 large messages

 Yes it is included in 1.7.x
 1.7.1 is in CVS HEAD (4.0 alpha) scheduled for inclusion in 3.2RC

Thanks, nice to hear that.

Sebastian


---
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] how to produce pdf files like jboss getting started guide?

2002-11-21 Thread Sebastian Hauer
That's the way to go IMHO. 
I liked the old free documentation in HTML and I like docbook and the
whole idea of a XML transformation process into PDF or HTML. I sometime
wish the new purchasable documentation JBoss Administration and
Development or the getting started guide would not only come in PDF
but HTML as well and that would be easily accomplished if it was written
in docbook XML.

Sebastian


 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, November 20, 2002 10:05 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] how to produce pdf files like jboss 
 getting started guide?
 
 
 if you do some archaeology on the old, obsolete, free manual 
 you will find it uses a build system like
 
 docbook xml source
 
 docbook xsl stylesheet transforms
 
 apache fop to output pdf.
 
 When I worked on it there were a few problems, but I liked 
 the process. 
 Apparently no one else did, however.  I suspect FOP has 
 progressed since I last looked, and I think there are other 
 flow object processors now available to convert appropriate 
 xml to pdf.
 
 I think the firebird project (on sourceforge) still has a 
 working setup like this in the manual module.
 
 david jencks


---
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] JMS connection list MBean

2002-11-21 Thread Sebastian Hauer

Hi,

Is there a way in Jboss to get a list of all JMS connections?
I tried finding something in the JMX console but nothing could give me a
list of current JMS connections.

Sebastian


---
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] jdbc2.PersistenceManager fails with large messages

2002-11-20 Thread Sebastian Hauer

I found the patch too, here is the link:
http://sourceforge.net/tracker/index.php?func=detailaid=448121group_id
=23316atid=378133

The patch is rather old from August 5th 2001 and the status is closed.
Maybe it is already fixed in the latest HSQL 1.7.1?
Which HSQL version does Jboss ship with?

Sebastian

 -Original Message-
 From: Peter Fagerlund [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, November 20, 2002 8:15 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] jdbc2.PersistenceManager fails with 
 large messages
 
 
 onsdagen den 20 november 2002 kl 07.02 skrev Scott M Stark:
 
  If I send an object message with a payload of approximately 32224 
  bytes and receive the following exception:
 
 There is a large object patch in the hsqldb patch area that 
 will allow 
 Binary data then 32k.
 
 *** hsqldb_v.1.61/doc/internet/hSqlSpec.html
 
 * The size of Binary data is limited to about 32 KB 
 (because UTF is 
 used)
 
 
 
 ---
 This sf.net email is sponsored by: To learn the basics of securing 
 your web site with SSL, click here to get a FREE TRIAL of a Thawte 
 Server Certificate: http://www.gothawte.com/rd524.html
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 


---
This sf.net email is sponsored by:
Battle your brains against the best in the Thawte Crypto
Challenge. Be the first to crack the code - register now:
http://www.gothawte.com/rd521.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jdbc2.PersistenceManager fails with large messages

2002-11-18 Thread Sebastian Hauer

Hi again,

Forgot a subject line in my first post...
Today I did some testing of the JBoss JMS implementation (JBoss 3.0.4)
and it seems it breaks using larger ObjectMessages. I setup a durable
subscriber account and had been listening to my test topic for new
messages.  I've used the org.jboss.mq.pm.jdbc2.PersistenceManager. If I
send an object message with a payload of approximately 32224 bytes and
receive the following exception:


---
12:20:56,948 INFO  [UILServerILService] Client request resulted in a
server exce
ption:
org.jboss.mq.SpyJMSException: Could not store message: 238; - nested
throwable:
(java.sql.SQLException: Connection is broken)
at
org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:
680)
at
org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:4
1)
at org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:265)
at
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
nager.java:398)
at
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
nager.java:376)
at
org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerI
nterceptorSupport.java:135)
at
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
rityInterceptor.java:155)
at
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
java:209)
at
org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
:137)
at
org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:26
4)
at java.lang.Thread.run(Thread.java:484)
 + nested throwable:
java.sql.SQLException: Connection is broken
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at
org.hsqldb.jdbcConnection.executeHSQL(jdbcConnection.java:904)
at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:718)
at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686)
at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85)
at
org.hsqldb.jdbcPreparedStatement.executeUpdate(jdbcPreparedStatement.
java:152)
at
org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement.executeU
pdate(LocalPreparedStatement.java:308)
at
org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:
758)
at
org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:
667)
at
org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:4
1)
at org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:265)
at
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
nager.java:398)
at
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
nager.java:376)
at
org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerI
nterceptorSupport.java:135)
at
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
rityInterceptor.java:155)
at
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
java:209)
at
org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
:137)
at
org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:26
4)
at java.lang.Thread.run(Thread.java:484)
12:20:57,182 WARN  [jbossweb] WARNING: Exception for
/jmx-console/HtmlAdaptor
MBeanException: Exception in MBean operation
'sendToTopicXMessagesYSize(,int,int
)'
Cause: org.jboss.mq.SpyJMSException: Could not store message: 238; -
nested thro
wable: (java.sql.SQLException: Connection is broken)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:303)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at
org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
at
org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
vlet.java:183)
at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
torServlet.java:78)
at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
et.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:293)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
81)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:544)
at 

RE: [JBoss-user] jdbc2.PersistenceManager fails with large messages

2002-11-18 Thread Sebastian Hauer
BTW: I can send large messages with the
org.jboss.mq.pm.file.PersistenceManager setup.

 -Original Message-
 From: Sebastian Hauer 
 Sent: Monday, November 18, 2002 1:13 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] jdbc2.PersistenceManager fails with 
 large messages
 
 
 
 Hi again,
 
 Forgot a subject line in my first post...
 Today I did some testing of the JBoss JMS implementation 
 (JBoss 3.0.4) and it seems it breaks using larger 
 ObjectMessages. I setup a durable subscriber account and had 
 been listening to my test topic for new messages.  I've used 
 the org.jboss.mq.pm.jdbc2.PersistenceManager. If I send an 
 object message with a payload of approximately 32224 bytes 
 and receive the following exception:
 
 --
 --
 ---
 12:20:56,948 INFO  [UILServerILService] Client request 
 resulted in a server exce
 ption:
 org.jboss.mq.SpyJMSException: Could not store message: 238; - nested
 throwable:
 (java.sql.SQLException: Connection is broken)
 at
 org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:
 680)
 at 
 org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:4
 1)
 at org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:265)
 at 
 org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
 nager.java:398)
 at 
 org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
 nager.java:376)
 at 
 org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerI
 nterceptorSupport.java:135)
 at 
 org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
 rityInterceptor.java:155)
 at 
 org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
 java:209)
 at 
 org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
 :137)
 at 
 org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:26
 4)
 at java.lang.Thread.run(Thread.java:484)
  + nested throwable:
 java.sql.SQLException: Connection is broken
 at org.hsqldb.Trace.getError(Trace.java:180)
 at org.hsqldb.Trace.getError(Trace.java:144)
 at org.hsqldb.Trace.error(Trace.java:205)
 at
 org.hsqldb.jdbcConnection.executeHSQL(jdbcConnection.java:904)
 at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:718)
 at 
 org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686)
 at 
 org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85)
 at 
 org.hsqldb.jdbcPreparedStatement.executeUpdate(jdbcPreparedStatement.
 java:152)
 at 
 org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement.executeU
 pdate(LocalPreparedStatement.java:308)
 at
 org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:
 758)
 at
 org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:
 667)
 at 
 org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:4
 1)
 at org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:265)
 at 
 org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
 nager.java:398)
 at 
 org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationMa
 nager.java:376)
 at 
 org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerI
 nterceptorSupport.java:135)
 at 
 org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecu
 rityInterceptor.java:155)
 at 
 org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.
 java:209)
 at 
 org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java
 :137)
 at 
 org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:26
 4)
 at java.lang.Thread.run(Thread.java:484)
 12:20:57,182 WARN  [jbossweb] WARNING: Exception for 
 /jmx-console/HtmlAdaptor
 MBeanException: Exception in MBean operation 
 'sendToTopicXMessagesYSize(,int,int
 )'
 Cause: org.jboss.mq.SpyJMSException: Could not store message: 
 238; - nested thro
 wable: (java.sql.SQLException: Connection is broken)
 at 
 org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
 nDispatcher.java:303)
 at
 org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
 at
 org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
 at
 org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
 at 
 org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
 vlet.java:183)
 at 
 org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
 torServlet.java:78)
 at 
 org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
 et.java:60)
 at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853

[JBoss-user] Empty String message selector is invalid

2002-11-18 Thread Sebastian Hauer

Hi,

I am doing some JMS testing on JBoss and I just discovered that the
empty String specified as a message selector is invalid in the JBoss JMS
implementation.

Example:

  TopicSubscriber subscriber =
session.createDurableSubscriber(topic, mySubscription, , false);

From the Sun JavaDocs of Interface TopicSession:

public TopicSubscriber createDurableSubscriber(Topic topic,
   java.lang.String name,
   java.lang.String
messageSelector,
   boolean noLocal)
throws JMSException
Parameters:
messageSelector - only messages with properties matching the message
selector expression are delivered. A value of null or an empty string
indicates that there is no message selector for the message consumer.


So I think it is valid to provide null or the empty String as a message
selector. Therefore I guess this must be a bug in the JMS
implementation. I am running JBoss 3.0.4.

This is the exception I am getting:


-
javax.jms.InvalidSelectorException: The selector is invalid.
at org.jboss.mq.selectors.Selector.init(Selector.java:76)
at org.jboss.mq.Subscription.getSelector(Subscription.java:58)
at
org.jboss.mq.SpyTopicSubscriber.init(SpyTopicSubscriber.java:50)
at
org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.
java:128)
at
com.sknt.picasso.monitor.JMSTopicMonitor.startDurableSubscriber(JMSTo
picMonitor.java:231)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at
org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
at
org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
vlet.java:183)
at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
torServlet.java:78)
at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
et.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:293)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
81)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:544)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
at org.mortbay.http.HttpServer.service(HttpServer.java:875)
at org.jboss.jetty.Jetty.service(Jetty.java:543)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
203)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
at
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
at java.lang.Thread.run(Thread.java:484)
getTargetException():
javax.jms.InvalidSelectorException: The selector is invalid.
at org.jboss.mq.selectors.Selector.init(Selector.java:76)
at org.jboss.mq.Subscription.getSelector(Subscription.java:58)
at
org.jboss.mq.SpyTopicSubscriber.init(SpyTopicSubscriber.java:50)
at
org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.
java:128)



Regards,

Sebastian


---
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Empty String message selector is invalid

2002-11-18 Thread Sebastian Hauer
Sorry that I always reply to myself :)
I found the link in the bug tracker:
http://sourceforge.net/tracker/index.php?func=detailaid=537564group_id
=22866atid=376685

It was already fixed in 2.4.4 but the fix was not carried over to 3.0.x
I guess.

Sebastian

 -Original Message-
 From: Sebastian Hauer 
 Sent: Monday, November 18, 2002 6:15 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Empty String message selector is invalid
 
 
 
 Hi,
 
 I am doing some JMS testing on JBoss and I just discovered 
 that the empty String specified as a message selector is 
 invalid in the JBoss JMS implementation.
 
 Example:
 
   TopicSubscriber subscriber = 
 session.createDurableSubscriber(topic, mySubscription, , false);
 
 From the Sun JavaDocs of Interface TopicSession:
 
 public TopicSubscriber createDurableSubscriber(Topic topic,
java.lang.String name,

 java.lang.String messageSelector,
boolean noLocal)
 throws JMSException
 Parameters:
 messageSelector - only messages with properties matching the 
 message selector expression are delivered. A value of null or 
 an empty string indicates that there is no message selector 
 for the message consumer.
 
 
 So I think it is valid to provide null or the empty String as 
 a message selector. Therefore I guess this must be a bug in 
 the JMS implementation. I am running JBoss 3.0.4.
 
 This is the exception I am getting:
 
 --
 --
 -
 javax.jms.InvalidSelectorException: The selector is invalid.
 at org.jboss.mq.selectors.Selector.init(Selector.java:76)
 at org.jboss.mq.Subscription.getSelector(Subscription.java:58)
 at
 org.jboss.mq.SpyTopicSubscriber.init(SpyTopicSubscriber.java:50)
 at 
 org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.
 java:128)
 at 
 com.sknt.picasso.monitor.JMSTopicMonitor.startDurableSubscriber(JMSTo
 picMonitor.java:231)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
 org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
 nDispatcher.java:284)
 at
 org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
 at
 org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
 at
 org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
 at 
 org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
 vlet.java:183)
 at 
 org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
 torServlet.java:78)
 at 
 org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
 et.java:60)
 at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at 
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366
 )
 at 
 org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
 onHandler.java:293)
 at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
 81)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1687)
 at 
 org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
 Context.java:544)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1637)
 at org.mortbay.http.HttpServer.service(HttpServer.java:875)
 at org.jboss.jetty.Jetty.service(Jetty.java:543)
 at
 org.mortbay.http.HttpConnection.service(HttpConnection.java:806)
 at
 org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956)
 at
 org.mortbay.http.HttpConnection.handle(HttpConnection.java:823)
 at
 org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
 203)
 at
 org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290)
 at
 org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
 at java.lang.Thread.run(Thread.java:484)
 getTargetException():
 javax.jms.InvalidSelectorException: The selector is invalid.
 at org.jboss.mq.selectors.Selector.init(Selector.java:76)
 at org.jboss.mq.Subscription.getSelector(Subscription.java:58)
 at
 org.jboss.mq.SpyTopicSubscriber.init(SpyTopicSubscriber.java:50)
 at 
 org.jboss.mq.SpyTopicSession.createDurableSubscriber(SpyTopicSession.
 java:128)
 --
 --
 
 
 Regards,
 
 Sebastian
 
 
 ---
 This sf.net email is sponsored by: To learn the basics of securing 
 your web site with SSL, click here to get a FREE TRIAL of a Thawte 
 Server Certificate: http://www.gothawte.com/rd524.html

RE: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader

2002-11-15 Thread Sebastian Hauer
Do you need the Class-Path: ./lib/jdom.jar ./lib/junit.jar entries in
your myear.ear/blah.jar/META-INF/Manifest.mf for some reason?
If not remove them and try to change your EAR file structure to this:

-myear.ear
+jdom.jar
+junit.jar
+blah.war
+blah.jar
+META-INF/

I am not 100% sure but I don't think that the EAR classloader looks into
sub directories inside the EAR file for .jar files unless referenced by
Class-Path: entries in Manifest.mf of a JAR file.  If you keep your
thirdparty libraries also at the top level of your EAR file structure
your web applications should be able to see them.  No idea why it worked
with 3.0.2 but maybe something changed about which classloader is
responsible for referenced dependent .jar file loading between 3.0.2 and
3.0.4.

Sebastian

 -Original Message-
 From: Phil Cornelius [mailto:philc;computer.org] 
 Sent: Friday, November 15, 2002 4:44 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader
 
 
 Actually now you mention it.. I noticed something too..
 
 My app is structured thus:
 
 -myear.ear
   -lib/
   jdom.jar
   junit.jar
   +blah.war
   -blah.jar
   -META-INF/
   Manifest.mf
   +otherstuff
   +META-INF/
   
 
 In the manifest of my ejb jar I have
 
 Manifest-Version:1.0
 Class-Path: ./lib/jdom.jar ./lib/junit.jar
 
 Now in Jboss-3.0.2 everything works fine and my servlets can 
 access the jdom classes..
 
 However in Jboss-3.0.4 I get ClassNotFound org.jdom.Element 
 thrown from my servlets.
 
 I had a sniff around.. currently I am happy that it works with 3.0.2..
 
 Can anyone shed light on this?
 Is there anything that I need to set in my WAR file like a 
 Manifest.mf?
 
 I want to keep my third party libs in one place and I don't 
 want to clutter the Jboss dist. so I want to avoid putting a 
 copy in WEB-INF/lib
 
 Yours
 Phil
 
 
 
 
 On Fri, 2002-11-15 at 00:35, Sebastian Hauer wrote:
  It works for me using 3.0.4/Jetty.
  I have some thrirdparty jars in my .ear/.war/WEB-INF/lib. 
 Where inside 
  your EAR is the code located that can't access the stuff in 
  WEB-INF/lib? I would guess that it might be some kind of a 
 classloader 
  scope problem but that seems strange with JBoss' new 
  UnifiedClassloader concept.
  
  Sebastian
  
   -Original Message-
   From: Sonnek, Ryan [mailto:Ryan.Sonnek;bpc.com]
   Sent: Thursday, November 14, 2002 3:31 PM
   To: '[EMAIL PROTECTED]'
   Subject: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader
   
   
   I can't tell where this problem is, but the classloader of my
   ear file seems to be failing.  i've got an ear file packaged 
   with a war file.  within the war's WEB-INF/lib i have a jar 
   file with reporting classes.  i'm continually getting a class 
   not found exception.  if i pull the jar file out of the 
   WEB-INF/lib and put it in JBOSS_HOME/server/custom/lib, the 
   classes are found.  it isn't a big deal to have them in 
   custom/lib, but why wouldn't it work in WEB-INF/lib?  i used 
   to store them in WEB-INF/lib with 2.4.4 w/ tomcat.  has 
   something changed, or is this a jetty thing?
   
   Ryan
   Ryan J. Sonnek
   Brown Printing Company
   J2EE Application Developer
   507.835.0803
   mailto:ryan.sonnek;bpc.com
   
   
   ---
   This sf.net email is sponsored by: To learn the basics of securing
   your web site with SSL, click here to get a FREE TRIAL of 
 a Thawte 
   Server Certificate: http://www.gothawte.com/rd524.html
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED] 
   https://lists.sourceforge.net/lists/listinfo/j boss-user
   
   
   
   
   ---
   This sf.net email is sponsored by: To learn the basics of securing
   your web site with SSL, click here to get a FREE TRIAL of 
 a Thawte 
   Server Certificate: http://www.gothawte.com/rd524.html
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED] 
   https://lists.sourceforge.net/lists/listinfo/j boss-user
   
  
  
  ---
  This sf.net email is sponsored by: To learn the basics of securing
  your web site with SSL, click here to get a FREE TRIAL of a Thawte 
  Server Certificate: http://www.gothawte.com/rd524.html
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
 
 
 
 ---
 This sf.net email is sponsored by: To learn the basics of securing 
 your web site with SSL, click here to get a FREE TRIAL of a Thawte 
 Server Certificate: http://www.gothawte.com/rd524.html
 ___
 JBoss-user mailing list
 [EMAIL

RE: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader

2002-11-14 Thread Sebastian Hauer
It works for me using 3.0.4/Jetty.
I have some thrirdparty jars in my .ear/.war/WEB-INF/lib.
Where inside your EAR is the code located that can't access the stuff in
WEB-INF/lib?
I would guess that it might be some kind of a classloader scope problem
but that seems strange with JBoss' new UnifiedClassloader concept.

Sebastian

 -Original Message-
 From: Sonnek, Ryan [mailto:Ryan.Sonnek;bpc.com] 
 Sent: Thursday, November 14, 2002 3:31 PM
 To: '[EMAIL PROTECTED]'
 Subject: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader
 
 
 I can't tell where this problem is, but the classloader of my 
 ear file seems to be failing.  i've got an ear file packaged 
 with a war file.  within the war's WEB-INF/lib i have a jar 
 file with reporting classes.  i'm continually getting a class 
 not found exception.  if i pull the jar file out of the 
 WEB-INF/lib and put it in JBOSS_HOME/server/custom/lib, the 
 classes are found.  it isn't a big deal to have them in 
 custom/lib, but why wouldn't it work in WEB-INF/lib?  i used 
 to store them in WEB-INF/lib with 2.4.4 w/ tomcat.  has 
 something changed, or is this a jetty thing?
 
 Ryan
 Ryan J. Sonnek
 Brown Printing Company
 J2EE Application Developer
 507.835.0803
 mailto:ryan.sonnek;bpc.com
 
 
 ---
 This sf.net email is sponsored by: To learn the basics of securing 
 your web site with SSL, click here to get a FREE TRIAL of a Thawte 
 Server Certificate: http://www.gothawte.com/rd524.html
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 
 
 
 
 ---
 This sf.net email is sponsored by: To learn the basics of securing 
 your web site with SSL, click here to get a FREE TRIAL of a Thawte 
 Server Certificate: http://www.gothawte.com/rd524.html
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 


---
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss-Cluster

2002-11-13 Thread Sebastian Hauer
Just a guess. Maybe networking issues. How are the 5 nodes connected?
JBoss clustering uses multicast to send and receive their cluster
information.

Sebastian

 -Original Message-
 From: Mokas Vassilis ([EMAIL PROTECTED]) 
 [mailto:vassilis.mokas;intracom.gr] 
 Sent: Wednesday, November 13, 2002 6:47 AM
 To: '[EMAIL PROTECTED]'
 Subject: [JBoss-user] JBoss-Cluster
 
 
 I am sure that I have configured and started properly 5 
 application servers in a cluster.
 
 However, the Replicant manager does not show all the 
 servers.Only two of them!
 
 (All the servers are in the same (Default) Partition.
 
 Any ideas?
 
 Vassilis
 
 
 ---
 This sf.net email is sponsored by: Are you worried about 
 your web server security? Click here for a FREE Thawte 
 Apache SSL Guide and answer your Apache SSL security 
 needs: http://www.gothawte.com/rd523.html
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Sebastian Hauer

Hi,

Today I tried to bind a web application to the root context of Jetty
running in Jboss 3.0.4.
I followed the instructions to create a tomcat style ROOT.war.
Unfortunately it did not work instead of getting bound to / the web app
was bound to /ROOT.
What am I doing wrong?

Here is the structure of the ROOT.war file:

ROOT.war:
 /
 /index.html
 /WEB-INF
 /WEB-INF/web.xml


And this my simple web.xml file:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'
web-app
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list
/web-app


Any ideas?

Regards,

Sebastian



---
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Sebastian Hauer
Actually to answer my question.
I was able to bind ROOT.war to the / context using a jboss-web.xml file
where I defined / as context.
According to the current documentation I should have been able to do
this without the jboss-web.xml setting though.

Sebastian

 -Original Message-
 From: Sebastian Hauer 
 Sent: Wednesday, November 06, 2002 1:22 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war
 
 
 
 Hi,
 
 Today I tried to bind a web application to the root context 
 of Jetty running in Jboss 3.0.4. I followed the instructions 
 to create a tomcat style ROOT.war. Unfortunately it did not 
 work instead of getting bound to / the web app was bound to 
 /ROOT. What am I doing wrong?
 
 Here is the structure of the ROOT.war file:
 
 ROOT.war:
  /
  /index.html
  /WEB-INF
  /WEB-INF/web.xml
 
 
 And this my simple web.xml file:
 
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web 
 Application 2.3//EN' 
'http://java.sun.com/dtd/web-app_2_3.dtd'
web-app
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list
/web-app


Any ideas?

Regards,

Sebastian



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

2002-11-06 Thread Sebastian Hauer

Hi Jules,

 -Original Message-
 From: Jules Gosnell [mailto:jules;mortbay.com] 
 Sent: Wednesday, November 06, 2002 3:57 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

 1. where did you find this instruction ?
I found it in my copy of the JBoss Administration Documentation for
JBoss 3.0.
Chapter 9, section Other Jetty Configuration Tips, page 337, as well
as on http://jetty.mortbay.org/jetty/tut/Server.html there root.war is
mentioned.

 2. have you tried root.war ?
I am running JBoss on Windows, but I've tried root.war.
Here is the log output:

-- console log output 
16:36:40,978 INFO  [MainDeployer] Starting deployment of package:
file:/C:/alpha/jboss/server/xenon-jms/deploy/root.war
16:36:41,040 INFO  [jbossweb] Registered
jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/root
16:36:41,071 INFO  [jbossweb] Extract
jar:file:/C:/alpha/jboss/server/xenon-jms/tmp/deploy/server/xenon-jms/de
ploy/root.war/51.root.war!/ to
C:\DOCUME~1\shauer\LOCALS~1\Temp\Jetty_0_0_0_0_80__root\webapp
16:36:41,274 INFO  [jbossweb] Started
WebApplicationContext[/root,jar:file:/C:/alpha/jboss/server/xenon-jms/tm
p/deploy/server/xenon-jms/deploy/root.war/51.root.war!/]
16:36:41,290 INFO  [jbossweb] successfully deployed
file:/C:/alpha/jboss/server/xenon-jms/tmp/deploy/server/xenon-jms/deploy
/root.war/51.root.war to /root
16:36:41,306 INFO  [MainDeployer] Deployed package:
file:/C:/alpha/jboss/server/xenon-jms/deploy/root.war
---

I have tried this with a root.war file which had only a web.xml file but
no jboss-web.xml file.

Sebastian


 
 Jules
 
 Sebastian Hauer wrote:
  Actually to answer my question.
  I was able to bind ROOT.war to the / context using a jboss-web.xml 
  file where I defined / as context. According to the current 
  documentation I should have been able to do this without the 
  jboss-web.xml setting though.
  
  Sebastian
  
  
 -Original Message-
 From: Sebastian Hauer
 Sent: Wednesday, November 06, 2002 1:22 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war
 
 
 
 Hi,
 
 Today I tried to bind a web application to the root context
 of Jetty running in Jboss 3.0.4. I followed the instructions 
 to create a tomcat style ROOT.war. Unfortunately it did not 
 work instead of getting bound to / the web app was bound to 
 /ROOT. What am I doing wrong?
 
 Here is the structure of the ROOT.war file:
 
 ROOT.war:
  /
  /index.html
  /WEB-INF
  /WEB-INF/web.xml
 
 
 And this my simple web.xml file:
 
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web
 Application 2.3//EN' 
  
  'http://java.sun.com/dtd/web-app_2_3.dtd'
  web-app
  welcome-file-list
  welcome-fileindex.html/welcome-file
  /welcome-file-list
  /web-app
  
  
  Any ideas?
  
  Regards,
  
  Sebastian
  
  
  
  ---
  This sf.net email is sponsored by: See the NEW Palm
  Tungsten T handheld. Power  Color in a compact size!
  http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
  ---
  This sf.net email is sponsored by: See the NEW Palm
  Tungsten T handheld. Power  Color in a compact size!
  http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 
 ---
 This sf.net email is sponsored by: See the NEW Palm 
 Tungsten T handheld. Power  Color in a compact size!
 http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 3.x shared JBoss install

2002-09-30 Thread Sebastian Hauer


Hi JBoss Users,

I want to be able to propagate our JBoss config and deployment changes in a clustered 
environment quickly. Failover is currently not that important.
As far as I can see only the log directory and the tmp directory should probably 
not be shared.
I can change the location of the log directory in the log4j.xml file but where can I 
change the location of the tmp directory?

Regards,

Sebastian


---
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] production config on Mandrake Linux

2001-12-17 Thread Sebastian Hauer

Hi Edward,


Edward Q. Bridges wrote:
 
 you might also investigate *BSD.  it has very robust threading.
Just curious. Which JDK do you use under *BSD I thought there it no 1.3
compliant version.

Regards,

Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] production config on Mandrake Linux

2001-12-17 Thread Sebastian Hauer


Hi,

there is a RedHat startup sample script in the CVS tree (I think it
comes with JBoss 3.0 alpha too)... Should work with Mandrake and others
cause it doesn't use any RH specific commands.

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -d
init_script jboss/src/bin/jboss_init_redhat.sh

Downloads the script into init_script.

Regards,

Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Struts Exception with beanutils HELP and JBoss 2.2.2Tomcat3.2.2

2001-12-07 Thread Sebastian Hauer


Hi Dirk,

I use struts 1.0 with jboss so I have no experience with any of the new
features.

Your struts-config.xml looks fine to me.
Had you been able to run any of the struts example WARs ?
Their struts-config.xml might be more basic.
A different approach might also be to remove everything but a basic
struts action and figure out what goes wrong.

Ciao,
Sebastian

storck wrote:
 If I than start JBoss I get the following Exception:
 
 [EmbeddedTomcatSX] Starting
 [EmbeddedTomcatSX] Starting EmbeddedTomcatSX
 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /examples )
 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /admin )
 [EmbeddedTomcatSX] Starting tomcat. Check logs/tomcat.log for error messages
 2001-12-07 02:08:57 - ContextManager: Adding context Ctx( /iwf-test )
 2001-12-07 02:08:57 - ContextManager: Adding context Ctx(  )
 [EmbeddedTomcatSX] End event threw exception
 java.lang.reflect.InvocationTargetException: [EmbeddedTomcatSX]
 java.lang.IllegalArgumentException: Must specify one of forward, include
 or type
  for path null
 [EmbeddedTomcatSX]  at
 org.apache.struts.action.ActionServlet.addMapping(ActionServlet.java:572)

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] XSLT Xalan ClassNotFoundException

2001-12-06 Thread Sebastian Hauer


Hi,

I use the JBoss-2.4.3_Tomcat-3.2.3 package with struts.
Now I want to transform an XML file with XSLT to html and while calling

TransformerFactory factory = TransformerFactory.newInstance();

I get a 

javax.xml.transform.TransformerFactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl

I have xalan.jar in my WEB-INF/lib directory and also tried placing it
into $JBOSS_HOME/lib and $TOMCAT_HOME/lib
without success.

I've digged the Web and couldn't find anything.
From the commandline everything runs fine.
Can anyone help me or point me to some useful documentation.

Thanks in advance,

Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] XSLT Xalan ClassNotFoundException

2001-12-06 Thread Sebastian Hauer

Hi,

well I fixed the problem myself.
Thank you Eric for your answer it motivated me writing a test servlet
and finally I've found the problem.

Here is what I did:

I replaced the jaxp.jar in $JBOSS_HOME/lib with a newer version I guess.
At least it had some more classes included especially these ones listed
that where not in my packaged jaxp.jar from jboss and I assume they do
the class finding job :)

javax/xml/transform/FactoryFinder$ClassLoaderFinder.class
javax/xml/transform/FactoryFinder$ClassLoaderFinderConcrete.class
javax/xml/transform/FactoryFinder$1.class

And that fixed it.
I had my xalan.jar in $JBOSS_HOME/lib/ext and it worked.
I removed it and placed it in my WAR and it worked.

And now even my real app is working yipppe.

Ciao,
Sebastian


PS: just finished downloading the JBoss-2.4.3_Tomcat-3.2.3.zip again to
make sure it was not my mistake. This package has the small jaxp.jar
even though they have the new jaxp.jar on CVS.
I will not start downloading JBoss 2.4.4 right now but I hope they have
it fixed.


Sebastian Hauer wrote:
 Now I want to transform an XML file with XSLT to html and while calling
 
 TransformerFactory factory = TransformerFactory.newInstance();
 
 I get a
 
 javax.xml.transform.TransformerFactoryConfigurationError:
 java.lang.ClassNotFoundException:
 org.apache.xalan.processor.TransformerFactoryImpl
 
 I have xalan.jar in my WEB-INF/lib directory and also tried placing it
 into $JBOSS_HOME/lib and $TOMCAT_HOME/lib
 without success.

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss-2.4.1a_Tomcat-3.2.3 patch available

2001-09-18 Thread Sebastian Hauer


Hi Scott,

Scott M Stark wrote:
 
 I released a patch to the JBoss-2.4.1/Tomcat-3.2.3 bundle that corrects a
 security problem that manifests as not being able to access secure content
 that
 should have been accessible since the user credentials were valid. Only the
 tomcat-service contained the problem so the JBoss-2.4.1 core is unchanged.
 
 Its available from here:
 http://prdownloads.sourceforge.net/jboss/JBoss-2.4.1a_Tomcat-3.2.3.zip

I've tried checking it out from cvs but it seams that your update is not
tagged.

Bye,
Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Any Great JSP Tag Library

2001-09-18 Thread Sebastian Hauer


Hi John,

John LYC wrote:
 
 Hi All,
 
 has anyone come across a great JSP Tag library that can be use with the
 current Jboss/tomcat 3.2.x ?
 
 Thanks
 john
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

Try Struts. Its taglibs can also be used without following the struts
MVC pattern.
http://jakarta.apache.org/struts/

The jakarta taglibs:
http://jakarta.apache.org/taglibs/

Bye,
Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Download and Build JBoss

2001-09-13 Thread Sebastian Hauer


Hi Shamis,

I'm in the same situation as you are.
The only document I found so far is an e-mail describing the new build
process and the source structure.

http://www.mail-archive.com/jboss-development@lists.sourceforge.net/msg05677.html

Hope that helps you some.

Well here is my problem with the source dist.
I've checked out the source with:

cvs co -r JBoss_2_4_1 jboss-all

to get the latest stable release I wanted to build from.
After the downloads are finaly done I realized that a few directories
are missing.

There is no build, tools, thirdparty directory so I don't know how to
build this stuff.

After I tried to checkout the latest sources all directories are
included but I want the latest stable source tree.


Shamis, Leonid wrote:
 
 Hello,
 
 I have been working with JBoss for half a year now and like it very much.
 I wished a couple of times to be able to try the upcoming JBoss versions
 (the once mentioned in posts as HEAD, MAIN, Rabbit Hole, etc.). I understand
 that I need to download (check out) version from CVS and build it. The
 problem is that I don't know how to start with this task.
 It would be very much appreciated if someone could provide instructions how
 to do that.
 For me this also means to gain confidence in being able to contribute to
 JBoss project.


Bye,
Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Class Not Found Exception: org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl

2001-09-13 Thread Sebastian Hauer


Hi Mariano,

Mariano Kamp wrote:
  I tried to setup a postgres datasource. Unfortunately the log says that it
 doesn't find the am class.
 
   I am using jboss 2.4.1. Do I have to add a particular jar to the
 installation?
did you copy the PostgreSQL jdbc driver to the $JBOSS_HOME/lib/ext
directory?

Bye,

Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user