[JBoss-user] [Clustering/JBoss] - Re: doubts regarding clustering in jboss

2005-11-18 Thread chaituu
"JerryGauth" wrote : 1.  If you're running copies of the "all" configuration on 
the same network, the copies will be clustered (along with "all" if you're 
using it).  The software and configuration files included in the "all" 
configuration are cluster enabled by default.  You don't need to do anything to 
"enable" the cluster.
  | 
  | 2.  To test session load balancing, open sessions on the Apache url.  One 
simple test is to just access the JBoss JMX Console from a new browser session. 
 If you've configured mod_jk for round robin balancing, the console should 
alternate from one node to the other.
  | 
  | 3.  In general, the service should work.  If you deploy an ear to the farm 
directory in node1, it should be copied to the farm directory in node 2.
However there are some unresolved problems with farming so it may not be 
working in your situation.
  | 
  | 4.  You shouldn't need to change the multicast address and port for your 
JBoss clusters.  If you do change them, you need to make the same changes on 
all nodes in the cluster.  Note that the JBoss "all" configuration provides two 
distinct cluster configurations - one is defined in cluster-service.xml and 
provides core clustering services.  The other is defined in 
tc5-cluster-service.xml and provides session replication.  These clusters are 
independent and require separate multicast addresses and ports.
  | 
  | Jerry 
  | 
  | 

i enabled clustering on two nodes;state replication and load balancing is 
happening correctly;farm deployemnt is also working perfectly;

i have one doubt;

in two nodes i deployed two ears;
now how workers.properties,uriworkermap.properties,mod-jk.conf should look like;


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

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


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


[JBoss-user] [Beginners Corner] - Re: XDoclet Error

2005-11-18 Thread littledochy
More Details

When I opened up the xdoclet-build.xml file, this is the line that came up with 
a problem.  The caption said, "Task could not be defined within the Ant Editor 
context." 



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

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


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


[JBoss-user] [Beginners Corner] - XDoclet Error

2005-11-18 Thread littledochy
I am setting up the JBoss IDE through the tutorial.  I'm setting up the XDoclet 
Configuration, but when I try to run it, I get an error.  It looks like this:

BUILD FAILED
java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask (Unsupported 
major.minor version 49.0)

Can anyone give me any tips?

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

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


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


[JBoss-user] [Beginners Corner] - E-commerce packages

2005-11-18 Thread rwallace
I'm going to be getting into some e-commerce related projects at work and am 
wondering what are the best open-source and commercial e-commerce packages out 
there for Java.  The most popular ones I've found so far are osCommerce and 
Drupal E-commerce which are both PHP based.  Really the only Java package I've 
found is Elastic Path and it has the drawback that it's commercial.  It also 
seems to be overkill for what I need.

We're not really going to have an online store, at least not yet.  The site is 
not product based, it's service based.  So, we need the ability for people to 
signup with a credit card or other form of payment and to do recurring billing. 
 A simple subscription service.

I'm not against rolling my own, but I'd like to find out what's out there 
before I dive into something like that.  What are everyone's experiences with 
e-commerce Java packages?  Got any good pointers?

Thanks.

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

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


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


[JBoss-user] [JBoss Portal] - Deploy jboss-forum fail

2005-11-18 Thread sciman
  I'm trying jboss portal .I deployed portal and jboss-forum to the 
$JBOSS_HOME/server/default/deploy directory and startup jboss,portal deployed 
successfully but jboss-forum failed,it said application.xml not found.I don't 
know why it is,the application.xml file is really under the META-INF directory.

Thanks.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss client API seems to leak files !

2005-11-18 Thread [EMAIL PROTECTED]
Correct it is offtopic and the wrong forum.

But it was also missing from the wiki page:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProperties

Though it can be easily found in the log4j doco.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Pattern for getting status of MDB's job

2005-11-18 Thread patrick_ibg
Apologies...

It's just that I'm using EJB3, but I really haven't seen much info on EJB3 
style usage of MDBs (i.e., avoiding xml config descriptors) on the EJB3 Forums 
and Wiki, so I thought this might be the proper forum.

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

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


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


[JBoss-user] [JNDI/Naming/Network] - Re: get exception (jndi) in accessing a MBean from a stand a

2005-11-18 Thread acatjboss
Never mind. I found the problem. I have to have jbossall-client.jar in the 
class path.
-Anirban

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: different order between sending and receiving(FIFO)

2005-11-18 Thread [EMAIL PROTECTED]
Acknowledgement mode is ignored in transactions.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB & JBoss jboss-4.0.3SP1 + ActiveMQ 3.2

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Unanswerable question.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problems starting JBossmq with DB2

2005-11-18 Thread [EMAIL PROTECTED]
"oaadland" wrote : 
  | PS: I tried to search for similar posts in the forum and the bug database 
without finding anything. If I missed it I apologise for the inconvenience.
  | 

http://jira.jboss.com/jira/browse/JBAS-1891

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

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


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


[JBoss-user] [JNDI/Naming/Network] - get exception (jndi) in accessing a MBean from a stand alone

2005-11-18 Thread acatjboss
I am trying to access a MBean in JBoss and following is the part of the stand 
alone java client:
   
 MBeanServerConnection server = 
(MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
-

I get following exception:
javax.naming.CommunicationException [Root exception is 
java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.rmi.RMIAdaptor (no 
security manager: RMI class loader disabled)]

Am I missing anything? I have the standard jboss-service.xml and all the 
configurations as specified in the following link:
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean

Any pointers on the cause of this problem would be highly appreciated. Thanks.

-Anirban.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Massive increase of TCP/IP connections when opening JMS

2005-11-18 Thread [EMAIL PROTECTED]
:-)

You mean do what is says in the spec?
And don't do what is says not to do in the spec?

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using LDAP to store JMS ConnectionFactories and Destinat

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Read the spec. All JMS Admin objects are serializable and referencable.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Pattern for getting status of MDB's job

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
FAQ

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: what to set in a QueueSender so that while receiving i r

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Read the spec. getJMSMessageID()

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuring username and password of JMS ConnectionFacto

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
That configuation isn't what comes with JBoss. It is broken.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Trying to find @Producer, @Consumer class files...

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Wrong forum -> EJB3

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

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


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


[JBoss-user] [Microcontainer] - Re: Communication between services...

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
HIJACK and unanswerable question.

And Bill is wrong anyway:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71739


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

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


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


[JBoss-user] [Microcontainer] - Re: typo in docs\gettingstarted\en\html\standaone.html

2005-11-18 Thread [EMAIL PROTECTED]
Fixed, thanks.

The latest version should appear tomorrow:
http://docs.jboss.org/nightly/microkernel/docs/gettingstarted/en/html/standalone.html

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

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


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


[JBoss-user] [JCA/JBoss] - Re: java.lang.NoClassDefFoundError: org/apache/xpath/domapi/

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
Didn't read the release notes.

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

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


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


[JBoss-user] [JCA/JBoss] - Re: Problems under WrappedCallableStatement

2005-11-18 Thread [EMAIL PROTECTED]
FAQ means it has asked many times before.

We don't put every question on the FAQ page it would be pointless.
It would be as long as the documentation (if not longer because you would
have to deal with every braindeath).

CallableStatement instanceof Statement == true

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

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


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


[JBoss-user] [JCA/JBoss] - Re: loosing my mind, need help before i loose it completely

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
FAQ

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

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


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


[JBoss-user] [JCA/JBoss] - Re: Why do I need remote access to a DS and what does actual

2005-11-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
FAQ

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

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


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


[JBoss-user] [JBossCache] - Out of memory Exception using gossip router

2005-11-18 Thread kbisla
Hi running into out of memory exception using a gossip router.
I have three clients running which connect to gossip router.
all the tree clients as well the jboss server running the gossip router as an 
mbean gets an out of memory exception.
The traffic on the cache may be a culprit, there is an update sent out on the 
cache every second, could this be a problem ???
any hints and suggestion would be appreciated.


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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Newbie with JTA and JBoss

2005-11-18 Thread rogeduardo
"oglueck" wrote : What is SchemaAdmin?
Its not the problem. My problem here is: i am trying to control operations in 
distributed environment. This method "addSchemaReference" access via JNI and 
after a RPC server wrote in C. I wanna control this transactions with JTA, but 
I dont know how this could be done. I have to implement any Interface, like 
XAResource, in the server side(C)? Or I dont have worry about this?





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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Trying to find @Producer, @Consumer class files...

2005-11-18 Thread patrick_ibg
Are these not available in the standard distributions?

My jboss-ejb3.jar has these:

org/jboss/ejb3/mdb/ActivationSpec.class
org/jboss/ejb3/mdb/ConsumerContainer$1.class
org/jboss/ejb3/mdb/ConsumerContainer$ExceptionListenerImpl.class
org/jboss/ejb3/mdb/ConsumerContainer$MessageListenerImpl.class
org/jboss/ejb3/mdb/ConsumerContainer.class
org/jboss/ejb3/mdb/ConsumerManager.class
org/jboss/ejb3/mdb/ConsumerManagerMBean.class
org/jboss/ejb3/mdb/DLQHandler$1.class
org/jboss/ejb3/mdb/DLQHandler$BufferEntry.class
org/jboss/ejb3/mdb/DLQHandler$DLQSynchronization.class
org/jboss/ejb3/mdb/DLQHandler.class
org/jboss/ejb3/mdb/LocalProducerFactory.class
org/jboss/ejb3/mdb/MDB$1.class
org/jboss/ejb3/mdb/MDB$ExceptionListenerImpl.class
org/jboss/ejb3/mdb/MDB$MessageListenerImpl.class
org/jboss/ejb3/mdb/MDB.class
org/jboss/ejb3/mdb/MDBConfig.class
org/jboss/ejb3/mdb/MDBContext.class
org/jboss/ejb3/mdb/MessageDrivenManager.class
org/jboss/ejb3/mdb/MessageDrivenManagerMBean.class
org/jboss/ejb3/mdb/ProducerFactory.class
org/jboss/ejb3/mdb/ProducerImpl.class
org/jboss/ejb3/mdb/ProducerManager.class
org/jboss/ejb3/mdb/ProducerManagerImpl$1.class
org/jboss/ejb3/mdb/ProducerManagerImpl.class
org/jboss/ejb3/mdb/ProducerObject.class
org/jboss/ejb3/mdb/ProducerProxy.class
org/jboss/ejb3/mdb/RemoteProducerFactory.class

But the actual annotation classes are not there... I can't find them in 
jboss-ejb3x.jar either, where all the standard javax.ejb3 annotation classes 
are...

Any ideas?


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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Newbie with JTA and JBoss

2005-11-18 Thread oglueck
What is SchemaAdmin? Just a stupid POJO? Then it is of course not JTA aware. 
Please read at least the basics about what JTA is. It doesn't do any magic. If 
it is an EJB then you must get it via JNDI and not create an instance yourself.

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

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


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


[JBoss-user] [JBoss Getting Started Documentation] - Re: DukesBank 4.1.7.3 HSQL Database Manager tool

2005-11-18 Thread [EMAIL PROTECTED]
You may have to set the DISPLAY variable before starting jboss.  (yeah, it's 
ugly, but the db manager is a bit of a hack)

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Newbie with JTA and JBoss

2005-11-18 Thread rogeduardo
Hello to all,

I'm newbie with JTA and JBoss. Forgive me if my question is very stupid. This 
is my code:

public class Application {
  | 
  | public static String URL = "java:comp/UserTransaction";
  | 
  | public Application() throws IllegalStateException, SecurityException, 
SystemException {
  | 
  | UserTransaction user = null;
  | SchemaAdmin schema = new SchemaAdmin();
  | 
  | try
  | {   
  | Context ic = new InitialContext();
  | user = (UserTransaction) ic.lookup(URL);
  | 
  | user.begin();
  | 
  | 
  | schema.addSchemaReference( "172.25.0.3", 
"rogerio.schema" );
  | schema.addSchemaReference( "172.25.0.20", 
"rogerio.schema
  | " );
  | schema.addSchemaReference( "172.25.0.19", 
"rogerio.schema" );
  | schema.addSchemaReference( "172.25.0.22", "
  | rogerio.schema" );
  | 
  | user.commit();
  | 
  | }catch ( NamingException nex ){
  | nex.printStackTrace();
  | }
  | catch ( Exception sex ){
  | System.out.println ( "rollback" );
  | user.rollback
  | ();
  | sex.printStackTrace();  
  | }   
  | }
  | }



This code execute as if it did not have the UserTransaction. It not work like a 
atomic transaction, when it execute rollback dont return to a stable state. 
What I have to do so this work like atomic transation?

Thank you.

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Can I run jboss-4.0.3SP1 using J2SE 1.4?

2005-11-18 Thread cexp11
I'm upgrading from jboss-3.2.3 to jboss-4.0.3SP1.  

As you know, the embedded tomcat within jboss-4.0.3SP1 is Tomcat 5.5.  The 
Release Notes for Tomcat 5.5 state "Tomcat 5.5 is designed to run on J2SE 5.0 
and later, and requires configuration changes to run on J2SE 1.4."

My question is do I need to make any configuration changes to run 
jboss-4.0.3SP1 using J2SE 1.4?  (were necessary changes to the embedded tomcat 
already made, not necessary, etc?)  Thanks for any information you can share.   
I've been looking through jboss docs and running tests, but I don't seem to be 
getting anywhere.  --  I would also upgrade to J2SE 5* to avoid potential 
problems, but we're running on AIX and J2SE 5* won't be available for a while.

Again many thanks.

Tomcat 5.5 Release Notes:   -->   
http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt



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

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


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


[JBoss-user] [JBoss Getting Started Documentation] - DukesBank 4.1.7.3 HSQL Database Manager tool

2005-11-18 Thread rsippel
Whenever I open up the JMX console web application and click on the 
service=Hypersonic link and then invoke the startDatabaseManager () I get the 
message "Operation completed Successfully without a return value."  But the 
Database Manger tool never opens.

JBOSS is running on SUSE 9 SP2 and JBOSS4.0.3SP1

Anyone have suggestions?? 

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuring username and password of JMS ConnectionFacto

2005-11-18 Thread viky4u
Check if you haed the roles setup for that queue/topic. Or if your roles are 
taken out of the defaultDS.
(A traverse through your jmx-console should give more pictures)

Thanks
Vignesh
[EMAIL PROTECTED]


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

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


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


[JBoss-user] [JBossCache] - Performance Benchmarks

2005-11-18 Thread jlukar
Still missing or I can't find anywhere.

We have a real-time application requiring  near-realtime performance and using 
JBossCache/AOP  would be contingent upon its performance.

It would be  helpfull if you guys can post some through benchmark numbers, 
specificaly for JBossCache/AOP as a standalone cache outside of Jboss container.

- idealy with POJO and complex POJO's.


regards


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

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


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


[JBoss-user] [JBoss Portal] - Re: Login Policies

2005-11-18 Thread bsmithjj


You  may want to 'stack' a LoginModule in front of JBoss Portal's login module 
(see its login-config.xml).  In your LoginModule implementation, you can 
implement the business rules, etc. for your requirements.  It sounds like from 
your reqs. that you will need your own table for storing at least the last 5 
passwords as well, possibly keyed to a JBoss Portal user.

As for LoginModules and stacking, you need to understand JAAS Security, and how 
to configure LoginModules for JBoss Application Server, and then you need to 
study the Portal's schema a bit to see how you want to 'integrate' with it.  
It's relatively easy to find articles about JAAS on the web, you can get the 
JBoss AS guide to learn about writing LoginModules for JBoss, and you can 
download the docs and source for the portal as well.

Good Luck!

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

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


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


[JBoss-user] [JBossCache] - TreeCache outside JBoss and transaction manager

2005-11-18 Thread maver505
I'm trying to run clustered TreeCaches outside JBoss. And my intention to use 
TreeCache is to replicate some data synchronously, which requires transaction 
manager(s). I'd like to use a 3rd party  transaction manager.

So my question is: do I need to use a "clustered" transaction manager for this 
goal?  or can I use an transtaction manager per a TreeCache independently? It 
seems to me that it's safe to use a stand-alone transaction manager per a 
TreeCache if TreeCache implemented 2 phase commit internally over JGroups. Am I 
wrong?

Thanks in advance,
Jay

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JspCompiler issue with JBoss-3.2.3 running on Java 1.5.0

2005-11-18 Thread [EMAIL PROTECTED]
right,

so from the matrix JBoss-3.2.3 should run under Java 5.

As far as Jsp compiling goes, I made sure its using the tools.jar shipped with 
the Java5 distribution.

Also, Tomcat-4.1.29 runs fine in standalone mode on Java5. But the embedded 
version fails when compiling Jsps

Am I missing something in the configuration?

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can any one please tell me how to deploy an MDB on JBOSS

2005-11-18 Thread genman

Sure I can tell you, but there's plenty of examples and documentation people 
wrote for free for your benefit, so go take a look.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: timeout when invoking stopDelivery

2005-11-18 Thread genman

Probably the "fix" would be to stop asynchronously (fork a thread) to make the 
JMX call. Note: I believe "stop" is waiting for your onMessage to exit before 
it returns, thus that's why it won't seemingly stop.

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

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


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


[JBoss-user] [JCA/JBoss] - Why do I need remote access to a DS and what does actually h

2005-11-18 Thread tnfink
Hi,

I discovered today that since version 4.0 JBoss allows remote clients to 
connect to a data-source by setting use-java-context to false. A colleague of 
mine tried it today and it works.

But, for what use-cases do you need this?
I always thought it is a bad idea to give a database connection to someone 
outside the container.

And, does someone know what does actually happen from the technical perspective?
Does this datasource on a remote client still support pooling, transactions etc?

I would be grateful for any clarification :-)

-- Torsten

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

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


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


[JBoss-user] [JNDI/Naming/Network] - Remote EJB Client doesn't work but Remote RMI Client does

2005-11-18 Thread mustaghattack
Hello, 

I have a working JBoss 4.0.3 server behind a firewall (in a DMZ). The following 
port are open : 1098, 1099,  and 4445. 
I use the -Djava.rmi.server.hostname and the System.getProperty( 
java.rmi.server.hostname ) return the correct hostname. 

My simple remote client can't access to the server : it wait ... 
The client is using JNDI like this : 


  | env.setProperty( Context.PROVIDER_URL, url );
  | env.setProperty(Context.SECURITY_PRINCIPAL, login );
  | env.setProperty(Context.SECURITY_CREDENTIALS, mdp );
  | env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  | 

I have done a simple RMI client/server test, and it work fine. 

I have equally put the server on a machine which is not behind a firewall and 
it work. 

My remote EJB client work in my local network. 

I don't have anymore idea ... 

Thanks for your help !!

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

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


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


[JBoss-user] [EJB/JBoss] - Remote EJB Client doesn't work but Remote RMI Client does

2005-11-18 Thread mustaghattack
Hello,

I have a working JBoss 4.0.3 server behind a firewall (in a DMZ). The following 
port are open : 1098, 1099,  and 4445.
I use the -Djava.rmi.server.hostname and the System.getProperty( 
java.rmi.server.hostname ) return the correct hostname.

My simple remote client can't access to the server : it wait ...
The client is using JNDI like this :

  | env.setProperty( Context.PROVIDER_URL, url );
  | env.setProperty(Context.SECURITY_PRINCIPAL, login );
  | env.setProperty(Context.SECURITY_CREDENTIALS, mdp );
  | env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  | 

I have done a simple RMI client/server test, and it work fine.

I have equally put the server on a machine which is not behind a firewall and 
it work.

My remote EJB client work be in my local network.

I don't have anymore idea ...

Thanks for your help !!

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - MyFaces Tomahawk and JBoss 4.0.3

2005-11-18 Thread RizviAtt
I am having problems when i using tomahawk with JBoss 4..0.3 

I tried two methods
1)
I added tomahawk.jar 1.1.0 to web-inf/lib directory. I am using JBoss 4.0.3 
which comes with myfaces 1.1.0. I just tried to display a simple imputDate 
component in a xhtml. It displays fine but jboss throws the fol
lowing exception

java.lang.ClassCastException: org.apache.myfaces.config.MyfacesConfig
at 
org.apache.myfaces.config.MyfacesConfig.getCurrentInstance(MyfacesConfig.java:45)
at 
org.apache.myfaces.renderkit.html.HtmlFormRendererBase.encodeEnd(HtmlFormRendererBase.java:106)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:521)
at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:447)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)


any idea why this is happening



2) I moved the tomahawk jar file from the lib directory to 
C:\jboss\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs. But when i 
deploy the ear file and start the JBoss
i get the following exception
10:05:07,087 ERROR [StartupServletContextListener] Error initializing 
ServletContext
java.lang.ClassCastException: 
org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer
at 
org.apache.myfaces.config.FacesConfigurator.configureRenderKits(FacesConfigurator.java:595)
at 
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
at 
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
at 
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoke

[JBoss-user] [Security & JAAS/JBoss] - Re: Single SignOn session logoff behavior?

2005-11-18 Thread mikepastor
Thanks Brian !

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: Single Sign On doubt

2005-11-18 Thread mikepastor
Gil,

I may be missing something here, but it looks like user1 only has 'role1' 
capabilities.  Have you tried adding 'role2' to user1 ?

You may also want to try putting your security declarations in the 
central/global web.xml  (e.g.  
C:\jboss-4.0.3SP1\server\default\deploy\jbossweb-tomcat55.sar\conf\web.xml).

Mike Pastor



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

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


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


[JBoss-user] [Beginners Corner] - Re: server value

2005-11-18 Thread PeterJ
The system properties should have what you want.  See 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProperties

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

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


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


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Syntax Error on Generated SQL

2005-11-18 Thread mburdman
Gracias Thanks!!

with something like this my problem with the NOT EXISTS in Sybase was solved.

XDoclet

* @ejb.finder   query=""
 *  signature="java.util.Collection 
 *  findCabecerasById_cuenta(java.lang.Integer 
ointId_cuenta)"
 * 
 * @jboss.declared-sql signature="java.util.Collection 
findCabecerasById_cuenta(java.lang.Integer ointId_cuenta)"
 *  description="Fuerzo el query de not exists para 
que no use campo0, campo1"
 *  where= "(H_COMPROBANTE.Id_cuenta = {0} AND  
 *  NOT EXISTS (SELECT 'comprobantes modificadores' 
 *  FROM H_MODIFICA comprobantesModificadores 
 *  WHERE 
H_COMPROBANTE.Id_comprobante=comprobantesModificadores.Comp_Modificador))"

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: Is it possible (in Jboss 3.2.5) to deploy servlets ...

2005-11-18 Thread sirmyth
It is possible both works:
specify web.xml normally and include servlet in  a jar inside:
1) ear/lib (with manifest setting class path to it)
2) server/lib

Thank you for help:) 

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - validate sun certificate

2005-11-18 Thread foxm2000jboss
Hi,

I'have a problem while accessing to a web site via automatic test:
The url requested need of 2 certificates, I dowloaded both of them and I 
registered them by using keytool :
keytool -import -alias c1 -file c1.cer
keytool -import -alias c2 -file c2.cer
Now I've 2 certificate in my keystore (C:\Documents and 
Settings\user\.keystore).
Then I modified my jboss service script like this:

@echo off
set SERVICE_NAME=JBoss
set CONF=jbpm
set KEYPATH="D:\Documents and Settings\user"
set JDK=%JAVA_HOME%
set JBOSS_BIN=%JBOSS_HOME%\bin
set INITIAL_MEM=512M 
set MAX_MEM=1024M
JavaService.exe -install %SERVICE_NAME% %JDK%\jre\bin\server\jvm.dll 
-Djava.class.path=%JDK%\lib\tools.jar;%JBOSS_BIN%\run.jar 
-Djavax.net.ssl.trustStore=%KEYPATH%\.keystore 
-Djavax.net.ssl.trustStorePassword=consip -Xms%INITIAL_MEM% -Xmx%MAX_MEM% 
-start org.jboss.Main -params "-c%CONF%" -stop org.jboss.Main -method 
systemExit -out %JBOSS_BIN%\stdout.log -err %JBOSS_BIN%\stderr.log -current 
%JBOSS_BIN% 

but the following exception occured:

21:59:56,859 INFO  [STDOUT] javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorEx
ception: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: una
ble to find valid certification path to requested target
21:59:56,859 INFO  [STDOUT] at 
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:
150)
21:59:56,859 INFO  [STDOUT] at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.j
ava:1476)
21:59:56,859 INFO  [STDOUT] at 
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:
174)
21:59:56,859 INFO  [STDOUT] at 
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:
168)
.

can anyone help me?

best regards

Marco




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

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


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


[JBoss-user] [Microcontainer] - typo in docs\gettingstarted\en\html\standaone.html

2005-11-18 Thread dmelzer
There is a typo in the 
jboss\microcontainer-1.0.1\docs\gettingstarted\en\html\standalone.html. Change 
'}' to ')' 

   public static void main(String[] args} 
  throws Exception {
 
  StandaloneBootstrap.main(args);
  
  // Your stuff here...
   }

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

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


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


[JBoss-user] [JBoss Portal] - Re: Login Policies

2005-11-18 Thread [EMAIL PROTECTED]
look at the UserModule code.


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

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


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


[JBoss-user] [JBossCache] - Re: Problems while upgrading to JBossCache1.2.4

2005-11-18 Thread [EMAIL PROTECTED]
First, I hope you understand that optimistic locking in 1.2.4 is an ALPHA 
release and is full of bugs!  :)

Optimistic locking in 1.3 has a lot of new fixes which will help solve these 
issues.

The specific problem you see is due to node eviction.  A node is evicted, and 
ongoing transactions try and commit and fail due to incompatible node 
versioning.  This is why you see things improve when you increase the maxNodes 
setting, because eviction doesn't occur as frequently then.

This problem will be solved in future versions of JBossCache and Hibernate when 
we expose our versioning API to Hibernate and Hibernate pulls version info from 
the database directly.  This will allow for proper validation even after a node 
has been evicted.

For now, there is little I can recommend except:

1) Don't use opt locking in 1.2.4 in production!
2) Increase the maxNodes setting.  Or even remove the eviction policy if it is 
not critical.  Or use an LRU eviction policy so nodes that are unlikely to be 
used again get evicted, minimising the possibility of this happening.

Thanks for trying this out though, it is great to see feedback on this.  
Optimistic locking is a major feature of 1.3 and we'd like to learn as much as 
we can from what we released in 1.2.4.

Cheers,
Manik

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

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


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


[JBoss-user] [Clustering/JBoss] - Re: Errors in clustering jboss 4.03 sp1

2005-11-18 Thread teknokrat
Ok, will restarting the whole cluster fix things? when can we expect a SP2 fix?

thanks

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

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


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


[JBoss-user] [JCA/JBoss] - Re: loosing my mind, need help before i loose it completely

2005-11-18 Thread boost
well, i have tried what you said, but i'm not using ejb3 so i guess it's abit 
different.

Here is what i did:

1. copied the jdbc drivers of postgresql to server/all/lib and to 
server/default/lib.
2. copied the postgres-ds.xml file from docs/examples in to 
server/default/deploy.
3. modified that file so it now reads


  | 
  |   
  | PostgresDS
  | true
  | 
jdbc:postgresql://localhost:5432/boostbox
  | org.postgresql.Driver
  | 
TRANSACTION_READ_COMMITTED
  | myUsername
  | mypassword
  | 1
  | 10
  |   
  |   
  |  PostgreSQL 8.0
  |   
  |   
  | 
  | 
  | 

4. changed server/default/conf/standardjboss-jdbc.xml so it reads:


  | 
  |   java:/PostgresDS
  |   PostgreSQL 8.0
  | 
  |   true
  |   false
  |   false
  |   30
  |   false
  |   true
  |   false
  |   foreign-key
  |   
  |  on-load
  |  1000
  |  *
  |   
  |   1000
  |   false
  | 
  |   
  |  
UUIDKeyGeneratorFactory
  |  java.lang.String
  |  VARCHAR
  |  VARCHAR(32)
  |   
  | 
  |   
  |   
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler
  |   false
  |
  | 

5. also changed the server/default/conf/standardjaws.xml


  | 
  |java:/PostgresDS
  |PostgreSQL 8.0
  |false
  | 

It still doesn't work, so i'm wondering if anyone can give me some pointers as 
to where it all goes to H***

Thanks..

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

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


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


[JBoss-user] [Microcontainer] - Re: Communication between services...

2005-11-18 Thread bart_1
Hi, 
i have serveral problems with the container... 

First of all thies is wath we want to...: writing some modules started and 
controlled by the container... communication between the different modules,... 
and now my request is, how can i solve thies problem, the we have a 
communication option, like: -> send module xyz "kill you"... or something like 
that .

or should we use another project? 

wbr

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

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


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


[JBoss-user] [Management, JMX/JBoss] - Re: Duplicate MBean names in two EARs

2005-11-18 Thread [EMAIL PROTECTED]
There isn't, they all share the same naming space.

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

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


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


[JBoss-user] [JBossCache] - Re: JBossCache intermittent errors

2005-11-18 Thread [EMAIL PROTECTED]
I suggest you try out JGroups 2.2.8 or 2.2.9, and replace FD with FD_SOCK

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

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


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


[JBoss-user] [JBossCache] - JBossCache intermittent errors

2005-11-18 Thread djmalan
We are using JBossCache 1.2.4 in a highly concurrent IM application.  We have 
four applications each on a different machine, and not using JBoss AS. The load 
on these machines in terms of cache activity is quite high.

The cache size is usually around 40,000 entries.

The problem is that from time to time it seems that the cluster loses 
synchronicity, and we have lots of errors like the following:

2005-11-18 11:21:12  WARN GMS: checkSelfInclusion() failed, 
192.168.100.84:49338 is not a member of view [192.168.100.86:53254|80] 
[192.168.100.86:53254, 192.168.100.82:50501, 192.168.100.79:56495]; discarding 
view
2005-11-18 11:21:12  WARN GMS: I (192.168.100.84:49338) am being shunned, will 
leave and rejoin group (prev_members are [192.168.100.86:53254 
192.168.100.82:50501 192.168.100.84:49338 192.168.100.79:56495 ])
2005-11-18 11:21:12  WARN NAKACK: 192.168.100.84:49338] discarded message from 
non-member 192.168.100.84:49338

---
GMS: address is 192.168.100.84:53549
---
2005-11-18 11:21:22  WARN STABLE: ResumeTask resumed message garbage collection 
- this should be done by a RESUME_STABLE event; check why this event was not 
received (or increase max_suspend_time for large state transfers)
2005-11-18 11:22:37 ERROR NAKACK: (requester=192.168.100.84:53549, 
local_addr=192.168.100.84:53549) message with seqno=0 not found in sent_msgs ! 
sent_msgs=[11 - 151]

On another machine:

WARN UNICAST: [192.168.100.82:55352] seqno 63829 from 192.168.100.84:50296 is 
not tagged as the first message sent by 192.168.100.84:50296; however, the 
table for received messages from 192.168.100.84:50296 is still null ! We 
probably haven't received the first message from 192.168.100.84:50296 ! 
Discarding last pid: 14515;

org.jboss.cache.ReplicationException: rsp=sender=192.168.100.84:53561, 
retval=null, received=false, suspected=true

2005-11-18 11:46:27 org.jboss.cache.ReplicationException: 
rsp=sender=192.168.100.86:50307, retval=null, received=false, suspected=false
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:3505)
at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:3526)
at 
org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:122)
at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:87)
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4339)
...


The TreeCache configuration is as follows:



  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | READ_UNCOMMITTED
  | 
  | REPL_ASYNC
  | 
  | false
  | standalone-cache
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | 
  | 6
  | 2000
  | 1
  | true
  | false
  | 
  | org.jboss.cache.eviction.LRUPolicy
  | 
  | 
  | 
  | 
  | 10
  | 
  | 50
  | 20
  | 
  | 
  | 4
  | 43200
  | 
  | 
  | 500
  | 90
  | 
  | 
  | 
  | 
  | 
  | 

Usually the nodes recover automatically after some time, but during this time 
the entire system is unstable, and since it is a highly concurrent system this 
is obviously undesirable.

Any help would be appreciated!

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

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


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

[JBoss-user] [Management, JMX/JBoss] - Error when I want to deploy a JMX Service Object, anyone can (Repost)

2005-11-18 Thread frostwood
Hi, 
 Today, following the JBoss TrailBlazer example, I write a MBean Service, 
use it to calculate y=modulus * x + offset:
 Interface:
package com.alfred.webpa.mbean.test;

import org.jboss.annotation.ejb.Management;

@Management (CalculatorMBean.class)
public interface Calculator {

// Attribute
public void setModulus(double modulus);
public double getModulus();

public void setOffset(double offset);
public double getOffset();

// The management method
public double calculate(double x);

// Life cycle method
public void create() throws Exception;
}
 Implementation:
package com.alfred.webpa.mbean.test;

import org.jboss.annotation.ejb.Service;

@Service (objectName="webpa:service=calculator")
public class CalculatorMBean implements Calculator {
double modulus;
public void setModulus(double modulus) {
this.modulus = modulus;
}
public double getModulus() {
return modulus;
}

double offset;
public void setOffset(double offset) {
this.offset = offset;
}
public double getOffset() {
return offset;
}

public double calculate(double x) {
double result = modulus * x + offset;
return result;
}

public void create() throws Exception {
modulus = 1;
offset = 0;
System.out.println("MBean:Calculator - create()");
}
}
 Compile these two class is OK, and I build them into a jar file: 
MyFirstEJB3.ejb3, and deploy it into the server/all/deploy directory with on 
Exception, and I call the MBean as follow in a web app in same JVM:
try {
MBeanServer server = MBeanServerLocator.locate();
Calculator cal = (Calculator) 
MBeanProxyExt.create(Calculator.class, "webpa:service=calculator", server);
modulus = cal.getModulus();
offset = cal.getOffset();
y = cal.calculate(x);
} catch (Exception e) {
e.printStackTrace ();
}
 But when I perform this invoking, it says the MBean is not registered, 
why? Anyone can help me? Thanks.
 The exception is:
18:17:41,562 INFO  [STDOUT] java.lang.RuntimeException: Error creating 
MBeanProxy: webpa:service=calculator
18:17:41,562 INFO  [STDOUT] at 
org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:365)
18:17:41,562 INFO  [STDOUT] at 
org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:65)
18:17:41,562 INFO  [STDOUT] at 
org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:344)
18:17:41,562 INFO  [STDOUT] at 
org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:308)
18:17:41,562 INFO  [STDOUT] at 
org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
18:17:41,562 INFO  [STDOUT] at 
com.alfred.webpa.test.TestAction.doCalculate(TestAction.java:148)
18:17:41,562 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:17:41,562 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
18:17:41,562 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18:17:41,562 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
18:17:41,562 INFO  [STDOUT] at 
com.alfred.common.struts.action.BaseAction.execute(BaseAction.java:99)
18:17:41,562 INFO  [STDOUT] at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
18:17:41,562 INFO  [STDOUT] at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
18:17:41,562 INFO  [STDOUT] at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
18:17:41,562 INFO  [STDOUT] at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
18:17:41,562 INFO  [STDOUT] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
18:17:41,562 INFO  [STDOUT] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
18:17:41,562 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
18:17:41,593 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
18:17:41,593 INFO  [STDOUT] at 
com.alfred.webpa.common.filter.AuthenticateFilter.doFilter(AuthenticateFilter.java:206)
18:17:41,593 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
18:17:41,593 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
18:17:41,593 INFO  [STDOUT] at 
com.alfred.webpa.common.filter.EncodeFilter.doFilter(EncodeFilter.java:42)
18:17:41,593 INFO  [STDO

[JBoss-user] login problem

2005-11-18 Thread Andrei
   I have a problem with form based authentication method. I'm using a 
custom login module and i have 2 users defined in the jboss login 
users.properties  each one having it's role defined. The custom login module 
should accept other users (defined separate from jboss) and loging them as 
one of the 2 users from jboss. The problem is that although the login seems 
to work the ejb's are complaining about lack of permission. If i use the 
jaas/other everithing works fine. Do you have any ideea why this happens?



Here is my configuration for JBoss server:

the  security constraints from web.xml file


. . . . . . .
   
   
   Secure Content
   /*
   

   
   LocalUser
   LocalAdmin
   

   
   NONE
   
   

   
   FORM
   Restricted content
   
   /app?service=page/Login
   /app?service=page/Login_error
   
   

   
   Normal User
   LocalUser
   
   
   Administrator
   LocalAdmin
   



i'm using a security-domain with a custom login module from login-config.xml 
file :


   
   
   code="be.unid.site.tapestry.util.CustomLoginModule"

 flag="required">
   name="unauthenticatedIdentity">anonymous

   
   
   

and here is the jboss-web.xml file.


   java:/jaas/myapp








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


[JBoss-user] [Messaging, JMS & JBossMQ] - what to set in a QueueSender so that while receiving i retre

2005-11-18 Thread rohit_mca2000
Hello friends,
 My application Requirement.
 I have to send messages using QueueSender and all of those messages must be 
uniqely indentifiable on the queue since while responding to those messages i 
have to see to what message am i replying .
so i am haiving two problems

1) what to use and how to set a messages with some unique identifier before 
sending it using QueueSender on the queue.

2) while retreiving , i have to check the message for identifying it and then 
appropriately replying. so that means i will have to specify some message 
selector while creating my QueueReceiver using QueueSession. and then retreive 
only that message from queue which is equal to the value that i had set while 
sending the message

However i am not able to write the code for it though i went through the API's.

please do help if any one of you have done it earlier.

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

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


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


[JBoss-user] [JCA/JBoss] - Re: loosing my mind, need help before i loose it completely

2005-11-18 Thread boost
ok, thanks, you will have to forgive me but i have to ask, what about 
login.config.xml file? Do i need to change that as well? And how?

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Configuring username and password of JMS ConnectionFactory

2005-11-18 Thread veronym.kroun
I'm trying to change the default username and password ('guest', 'guest') of  
JMS ConnectionFactory.

I edited the security domain for JBossMQ in conf/login-config.xml:


   
  
 new
 new
 new
 jboss.jca:service=TxCM,name=JmsXA
  
   


I do connect to the ConnectionFactory etc., but I cannot send the message. I 
get the following exception:

javax.jms.JMSSecurityException: Connection not authorized to addMessages to 
destination: A

What else should I configure?

Thank in advance


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

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


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


[JBoss-user] [Management, JMX/JBoss] - Re: Error when I want to deploy a JMX Service Object, anyone

2005-11-18 Thread [EMAIL PROTECTED]
Try the EJB3 forum

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

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


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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JspCompiler issue with JBoss-3.2.3 running on Java 1.5.0

2005-11-18 Thread frankgrimes
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix

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

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


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


[JBoss-user] [JBossWS] - java client OK, but Delphi client failed.

2005-11-18 Thread ylinidt
I implemented a webservice. I tested with a java client there is no problem. 
but my coworker implemented a client using Delphi. the server generator error 
like this:
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: operation description is missing parameter description!
 faultActor:
 faultNode:
 faultDetail:
{http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: 
operation description is missing parameter description!
at org.jboss.axis.message.RPCHandler.onStartChild(RPCHandler.java:259)
at 
org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168)
at 
org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)
at 
org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1389)
at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262)
at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396)
at 
org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:235)
at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
 at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

{http://xml.apache.org/axis/}isRuntimeException: true

Does anyone have any idea what is wrong?

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

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


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


[JBoss-user] login problem

2005-11-18 Thread Andrei

   I have a problem with form based authentication method. I'm using a
custom login module and i have 2 users defined in the jboss login
users.properties  each one having it's role defined. The custom login module
should accept other users (defined separate from jboss) and loging them as
one of the 2 users from jboss. The problem is that although the login seems
to work the ejb's are complaining about lack of permission. If i use the
jaas/other everithing works fine. Do you have any ideea why this happens?


Here is my configuration for JBoss server:

the  security constraints from web.xml file


. . . . . . .
   
   
   Secure Content
   /*
   

   
   LocalUser
   LocalAdmin
   

   
   NONE
   
   

   
   FORM
   Restricted content
   
   /app?service=page/Login
   /app?service=page/Login_error
   
   

   
   Normal User
   LocalUser
   
   
   Administrator
   LocalAdmin
   



i'm using a security-domain with a custom login module from login-config.xml
file :

   
   
   
   anonymous
   
   
   

and here is the jboss-web.xml file.


   java:/jaas/myapp








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


[JBoss-user] [JBoss Portal] - Login Policies

2005-11-18 Thread Pyros69
Hi,

for a jboss portal I would like to have login policies like:

- password must match a certain pattern (e.g. not only letters)
- password must be changed every 8 weeks
- on changing the password the last 5 passwords may not be used again

Could you please give me some pointer to where to look. What portlet/servlets 
do i have to change? I also would be glad to get a pointer to detailed 
documentation, how the login process works.

Thanks a lot for any help,
Peter

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

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


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


[JBoss-user] [Clustering/JBoss] - Configuration

2005-11-18 Thread HariV
We are using JGROUPS in our application to primary propogate cached data across 
different nodes in a subnet. It is a very high volume site and has about 8 
nodes in the cluster. The following is the Configuration I am using. 

UDP(ucast_send_buf_size=80;ucast_recv_buf_size=15):
PING(timeout=2000;num_initial_members=3;up_thread=true;down_thread=true;):
MERGE2(min_interval=100;max_interval=200):
FD(shun=true;up_thread=true;down_thread=true;timeout=5400;max_tries=5):
pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192;up_thread=true;down_thread=true):
pbcast.STABLE(desired_avg_gossip=200;up_thread=true;down_thread=true):
UNICAST:FRAG(frag_size=8192;down_thread=true;up_thread=true):
pbcast.GMS:VIEW_ENFORCER:QUEUE

Everything is working fine in our dev environment. I will appreciate if 
somebody can validate the connection string I am using before we move this to 
production. 


Thanks

Hari


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

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


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


[JBoss-user] [Beginners Corner] - server value

2005-11-18 Thread oschei
Hi Community,

How can I find out the server variable
e.g. www.localhost:8080/rubbos
from java?

Many thanks

Oliver 

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

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


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


[JBoss-user] [JBossCache] - Re: Problems while upgrading to JBossCache1.2.4

2005-11-18 Thread [EMAIL PROTECTED]
Hi.

Re: the "Method _evict" messages you see, ignore these.  The NodeInterceptor 
should not deal with _evict calls, this should be TRACE level logging, not INFO.

You're correct, this is very similar to the discussion thread started by DashV. 
 If you read through my comments on that thread, you'll see that the problem 
relly has to do with concurrent updates on a cached node.  With optimistic 
locking, when this happens, the cache throws a rollback exception when you try 
and commit the tx.  This is normal behaviour. 

I presume that these exceptions are fairly infrequent?

Cheers,
Manik


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

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


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


[JBoss-user] [Beginners Corner] - Which Java Kit works with JBoss 3.2.5 or 3.2.7

2005-11-18 Thread idubrawsky
I'm running a new install of Solaris 10 on an Ultra 5 (270MHz) with 384MB RAM 
and 9GB disk.  It's the complete install of Solaris 10 and I want to setup a 
WebHuddle server.  Everytime I start up JBoss (either 3.2.5 or 3.2.7) I get 
tons of errors starting with:

08:38:51,255 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=file:/export/home/idubraws/jboss-3.2.7/server/default/deploy/http-invoker.sar/invoker.war/
08:39:01,251 ERROR [Engine] StandardContext[/invoker]Exception starting filter 
ReadOnlyAccessFilter
java.lang.ClassNotFoundException: 
org.jboss.invocation.http.servlet.ReadOnlyAccessFilter

I've used the following settings for JAVA_HOME and neither has worked:

JAVA_HOME=/usr/jdk/jdk1.5.0_01 

and

JAVA_HOME=/usr/jdk/j2sdk1.4.2_06/

and neither of them seems to like JBoss too much.  JBoss does, eventually, run 
but I cannot start the JMX-console.  Also WebHuddle loads into JBoss but I 
cannot upload any PowerPoint files because it won't recognize them.  Any 
thoughts?

Ido

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

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


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


[JBoss-user] [Security & JAAS/JBoss] - Re: validate sun certificate

2005-11-18 Thread elkner
Try to add to the keystore the certificate[s] of the CA,who signed the two 
certs as well.

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

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


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


[JBoss-user] [Clustering/JBoss] - Re: Configuration

2005-11-18 Thread [EMAIL PROTECTED]
The timeout value in FD means that crashed members will only be detected after 
a very long time. Also, VIEW_ENFORCER and QUEUE and non-standard for this stack.
I suggest you use default.xml and modify it to your purpose

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: Is it possible (in Jboss 3.2.5) to deploy servlets ...

2005-11-18 Thread sirmyth
Thank you very much for your comment
it is more so they can use it in their project ( like a pre-made 
login/authentication serlet). WAR is an idea, but it would mean different 
server context 
IS there a way to use something likemanifest Class-Path or something like 
that to use jared servletor will servlet engine ONLY find servlets in 
WEB-INF/classes.. 

Sincerely,



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

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


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


[JBoss-user] [JBossCache] - Re: Problems while upgrading to JBossCache1.2.4

2005-11-18 Thread jaikiran
Thanks Manik, for those replies. Will try out your suggestions.

-Jaikiran

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

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


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


[JBoss-user] [JBoss Portal] - Re: Login Policies

2005-11-18 Thread Pyros69
"[EMAIL PROTECTED]" wrote : look at the UserModule code.
  | 

In UserModuleImpl.java I find methods for creating users, listing users and so 
on. I dont quite understand how this is related to my problems. Could you 
please give a more specific hint? All I could possibly do in this Module, as I 
see it, is a validation of the password at the time of user creation.

Thanks a lot,
Peter

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

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


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


[JBoss-user] [JBossCache] - Re: Problems while upgrading to JBossCache1.2.4

2005-11-18 Thread jaikiran
Hi Manik,
 First of all, thanks for the reply.

anonymous wrote : 
  | I presume that these exceptions are fairly infrequent? 
  | 

The CacheException that i am seeing is VERY FREQUENT.

We even tried out a few things, to try and find out the issue. In our 
configurations we changed the "maxNodes" attribute value to 1 from the 
initial 5000, in the EvictionPolicyConfig. We also changed the implementation 
of the toString( ) method of the composite id classes of our hibernate objects. 
After these changes the application started working.
We tried out executing 3-4 times and it worked.
But, let me not jump to any conclusions.

I am NOT sure whether these are related. You may be a better person to tell, 
whether these config settings and the implementation of the toString( )
method, has anything to do with the CacheException.

We are still trying out a few things, to see whether these changes affect the 
application.








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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Unsynchronized start of JBoss and Databse server

2005-11-18 Thread lduperval
Hi,

We have a requirement for our application to work regardles of wheteher the 
Database is up or not. Specifically, if JBoss starts and the database is not 
running already, then when the database is ready, the service should connect to 
it.

What we have found now is that if:

- Database is up and JBoss is started -> works
- Database is up, Jboss is started, Database is stopped, database is restarted 
-> works
- Database is down, JBoss is started, database is started -> doesn't work

Any way to correct the last part? What we want is not to have to stop the JBoss 
process if the database is unavailable.

Thanks,

L

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

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


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


[JBoss-user] [JBossWS] - how to configure the jboss's engineConfiguration to axis

2005-11-18 Thread ArmanM
I have a problem with using XSD_DATE in project baed on WebServices. The Server 
is JBOSS. I must send and receive a date without matching zone. But when I put 
the xsd:date type for the needed field, in the jaxrpc-mapping.xml I get the 
date with known Z (zone) . But I don't need taking into account Zone. The 
server uses the 
org.jboss.axis.encoding.ser.DateSerializer /
org.jboss.axis.encoding.ser.DateDeserializer  from the axis-ws4ee.jar located 
in path server\default\deploy\jboss-ws4ee.sar . How can I change the 
configuration to use the 
org.apache.axis.encoding.ser.DateSerializer /
org.apache.axis.encoding.ser.DateDeserializer  from the axis.jar located in 
path axis_home\lib  ?

I've tried to insert



and 



into  in corresponding axis-client-config.xml and axis-server-config.xml files, 
but I still now get the date with Z, like 2005-11-18Z. But I need 2005-11-18.

thanks

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

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


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


[JBoss-user] [Clustering/JBoss] - Re: doubts regarding clustering in jboss

2005-11-18 Thread JerryGauth
1.  If you're running copies of the "all" configuration on the same network, 
the copies will be clustered (along with "all" if you're using it).  The 
software and configuration files included in the "all" configuration are 
cluster enabled by default.  You don't need to do anything to "enable" the 
cluster.

2.  To test session load balancing, open sessions on the Apache url.  One 
simple test is to just access the JBoss JMX Console from a new browser session. 
 If you've configured mod_jk for round robin balancing, the console should 
alternate from one node to the other.

3.  In general, the service should work.  If you deploy an ear to the farm 
directory in node1, it should be copied to the farm directory in node 2.
However there are some unresolved problems with farming so it may not be 
working in your situation.

4.  You shouldn't need to change the multicast address and port for your JBoss 
clusters.  If you do change them, you need to make the same changes on all 
nodes in the cluster.  Note that the JBoss "all" configuration provides two 
distinct cluster configurations - one is defined in cluster-service.xml and 
provides core clustering services.  The other is defined in 
tc5-cluster-service.xml and provides session replication.  These clusters are 
independent and require separate multicast addresses and ports.

Jerry 



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

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


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


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Container managed transactions not working for MDB

2005-11-18 Thread tpaterson
If I understand your post and your code correctly -- the problem seems to be to 
do with the ConnectionFactory you are using..

if you want your JMS message to be commited(send)/rolled-back as part of the 
CMP transaction -- you need to use the XA connection factory : java:/JmsXA ..

otherwise the JMS message will be sent regardless of the outcome of the CMP 
transaction.

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

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


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


[JBoss-user] [JBossWS] - Re: OperationDesc for myMethod was not synchronized to a met

2005-11-18 Thread [EMAIL PROTECTED]
By specification document/literal (bare) uses a single request/response wrapper 
bean that maps to the entire payload of the message - the single body element.

With document/literal (wrapped), which is the default. The wrapper bean must 
still be packaged and is used internally, but the client/endpoint apis use the 
wrapped parameters directly.

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

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


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


[JBoss-user] [EJB/JBoss] - Re: EJB3 and Entity Caching

2005-11-18 Thread alesj
Regarding caching ... you should probably implement hashCode and equals on 
entities.

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

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


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


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Ehcache configuration

2005-11-18 Thread sylobsa
Hi all,

I use JBoss 3.2.7 with Hibernate 2.1.8. I copied ehcache-0.9.jar into the 
$JBOSS_HOME/server/default/lib directory.
Now I want to configure EHCache to use it for my application classes.
I created a ehcache.xml configuration file which contains informations for 
caching classes of my application. But for ehcache to use this configuration 
file, the only place I found which works is adding it to the ehcache-0.9.jar 
file.
This solution is not good for me. It is a configuration of the cache for my 
application. I'd like to place it into my application archive. But ehcache 
seems to not use it.
What am I missing ?
Where must I put this file to configure the cache for my application ?

Thanks for your help.

Regards


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

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


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


[JBoss-user] [Management, JMX/JBoss] - Re: Error when I want to deploy a JMX Service Object, anyone

2005-11-18 Thread frostwood
anyone can help me? thanks...555...

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: timeout when invoking stopDelivery

2005-11-18 Thread oglueck
sorry for hijacking. See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=69690

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

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


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


[JBoss-user] [EJB/JBoss] - Re: Problem with EJB 2.1 timeouts

2005-11-18 Thread alexserbul
please help.

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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: timeout when invoking stopDelivery

2005-11-18 Thread schachi
section: jboss.j2ee, search for the receiving mdb

btw: don't hijack my topic ;)

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

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


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


[JBoss-user] [JNDI/Naming/Network] - Re: Problem in accessing JNDI over HTTP

2005-11-18 Thread jjboss_user
Is it possible to specify TIMEOUT value for the HTTTPURL connection used in 
HttpNamingContextFactory ???



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

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


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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: timeout when invoking stopDelivery

2005-11-18 Thread oglueck
Hey where did you find this "stopDelivery" method in the JMX console? I am 
desperately looking for it!

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

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


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


[JBoss-user] Custom login module [URGENT]

2005-11-18 Thread Andrei
I made a custom login module for JBoss.  I used it in security-domain 
others. This is ok. For login i use also an EJB to search in the database 
for server username and password. Then i wanted to change security-domain to 
mydomain. and use my custom login module with this new security domain. The 
problems are when try-ing to access the database using ejb to obtain the 
server username and password. it seems that the ejb is not logged in. Does 
any body have any ideea how to set ejb to use mydomain as security-domain 
instead of  other secrity-domain? 





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


[JBoss-user] [JNDI/Naming/Network] - Re: Problem in accessing JNDI over HTTP

2005-11-18 Thread jjboss_user
I had seen below links

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72469

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72243

But they dont help either.

Any info is appreciated..

Thanks

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

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


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


[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem with multiple deployments of same app on JBoss

2005-11-18 Thread jwiesmann
Hello lafr!

could you please give more details?
I think i got the same problem.
My try was to deploy two EAR - Files which use the same classes, ejbs etc.
Now i got the problem, that any of its app always uses the same datasource.

I tried to configure all JNDI Names @ any bean and changed the xml files, so 
that it now should work.

If i only deploy one package, this package uses the correct database and it 
works fine.
If i know deploy the second package, this package also uses the datasource of 
the first package. But if i deploy the second first, it uses the correct 
database and so on ...

if i try using something like [jboss-service.xml]

  | 
  | 
  | app:loader=App2.ear
  | 
  | 
  | 
i get the following error-message:
anonymous wrote : 
  | Only the root deployment can set the loader repository
  | 

thx a lot
greetz Joerg

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

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


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


[JBoss-user] [JNDI/Naming/Network] - Problem in accessing JNDI over HTTP

2005-11-18 Thread jjboss_user
Iam facing a timeout problem when trying to access JBoss JNDI over HTTP.
Have any come come across this issue???. If so please help...

 The details are given below

Requirement:

Need to access RMIAdaptor by doing JNDI naming service lookup over HTTP. 
Followed the steps specified below.
http://docs.jboss.com/jbossas/admindevel326/html/ch3.chapter.html#ch3.accessingjndi

JBoss System information:
JBoss version: 4.0.2
JBoss have multiple ip. One internal ip and another external ip. Only the 
internal ip is visible to the JNDI Client program.

Modification done in http-invoker.sar:

I modified jboss-service.xml and replaced InvokerURLPrefix,InvokerURLSuffix and 
UseHostName with single attribute InvokerURL pointing to 
http://internalidp:8080/invoker/...InvokerClass..

The JBoss client program is given below


  |  public static void main(String args[]) throws Exception
  |   {
  | String host = args[0];
  |   String port = args[1];
  | Properties env = new Properties();
  | env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
  | "org.jboss.naming.HttpNamingContextFactory");
  | env.setProperty(Context.PROVIDER_URL,
  | "http://"+host+":"+port+"/invoker/JNDIFactory";);
  | 
  | Context ctx = new InitialContext(env);
  | System.out.println("Created InitialContext, env=" + env);
  | 
  | Object data = ctx.lookup("jmx/invoker/RMIAdaptor");
  | System.out.println("lookup(jmx/invoker/RMIAdaptor): " + data);
  |// System.out.println("Obtained : " + data.getClass().getName());
  | System.out.println("Total number of MBeans in JBoss server : 
"+((org.jboss.jmx.adaptor.rmi.RMIAdaptor)data).getMBeanCount());
  | }
  | 

The above code looksup MBeanServer. The below exception appears while doing the 
lookup opertaion

  | Operation failed [Root exception is java.rmi.ServerException: IOE;
  | nested exception is:
  | java.net.ConnectException: Connection timed out]
  | at
  | org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInter
  | ceptor.java:50)
  | at
  | org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | at
  | org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.j
  | ava:59)
  | at
  | org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | at $Proxy0.lookup(Unknown Source)

Please note that Iam able to access internalip: from the machine in 
which my client program is running.

Additional Information:

Iam able to access http://:8080/invoker/JNDIFactory from the 
client machine.

The complete trace is given below

java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory}
  | Exception in thread "main" javax.naming.CommunicationException:
  | Operation failed [Root exception is java.rmi.ServerException: IOE;
  | nested exception is:
  | java.net.ConnectException: Connection timed out]
  | at
  | org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInter
  | ceptor.java:50)
  | at
  | org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | at
  | org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.j
  | ava:59)
  | at
  | org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | at $Proxy0.lookup(Unknown Source)
  | at
  | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
  | at
  | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at org.jboss.chap3.ex1.ExClient.main(ExClient.java:23)
  | Caused by: java.rmi.ServerException: IOE; nested exception is:
  | java.net.ConnectException: Connection timed out
  | at
  | org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvoker
  | Proxy.java:118)
  | at
  | org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor
  | .java:227)
  | at
  | org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:1
  | 67)
  | at
  | org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInter
  | ceptor.java:42)
  | ... 8 more
  | Caused by: java.net.ConnectException: Connection timed out
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(Unknown Source)
  | at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
  | at java.net.PlainSocketImpl.connect(Unknown Source)
  | at java.net.Socket.connect(Unknown Source)
  | at java.net.Socket.connect(Unknown Source)
  | at sun.net.NetworkClient.doConnect(Unknown Source)
  | at sun.net.www.http.HttpClient.openServer(Unknown Source)
  | at sun.net.www.http.HttpClient.openServer(Unknown Source)
  | at sun.net.www.http.HttpClient.(Unknown Source)
  | at sun.net.www.http.HttpClient.