[JBoss-user] [Installation Configuration] - Referencing environment variables from configuration files?

2004-05-20 Thread tomerbd
Hi

Can I reference environment variables (in example dos environment variable) from 
within jboss-service.xml ?

i.e.

  
 deploy/,file:///${JAVA_HOME}
  

?

(I know I can access system properties...)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835627#3835627

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835627


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Is one to many bidirectional working?

2004-05-20 Thread john_anderson_ii
Consider this one fixed guys!  


I got a bit retarded and decided to make my CMR fields CMP fields as well.  That 
didn't work very well.  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835628#3835628

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835628


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How can i see the numbers of threads in runtime?

2004-05-20 Thread tirana
I find reason of this problem
if i start new thread (demon), which successfully finished
but ActiveThreadCount is not decrease.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835629#3835629

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835629


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al

2004-05-20 Thread cslenkey
Thanks for your answer.
Of course we use row-lockingfalse/row-locking setting.
That is the reason why I do not understand what has changed between the two versions.
Csaba

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835630#3835630

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835630


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss under JBuilder 9

2004-05-20 Thread damugar
Yes, we have our jar files under JBoss home/server/default/deploy but it does not 
works.  We only get an error with javax.naming...
How do you configure JBoss in JBuilder? We think it is easy, but our problem is with 
JBoss we hope.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835633#3835633

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835633


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with JBoss under JBuilder 9

2004-05-20 Thread darranl
If you are getting errors post the exception with its message ans stack trace.

Have you tried deploying your component without JBuilder?

Have you checked JNDIView to see that your component is bound where you think that it 
should be?

Are there any deployment errors deploying your component?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835634#3835634

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835634


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?

2004-05-20 Thread formenti
if you want an automatic application.xml's creator you can use Lomboz, a plugin for 
Eclipse. If you define your modules (web, ejb, etc.), it create the application.xml 
for you!

Gio

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835635#3835635

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835635


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - sendMultiRefs with jboss3.2.3

2004-05-20 Thread berd
Hello, all

I whant to set sendMultiRefs to false and have changed axis-config.xml file lying in 
jboss-net.sar directory. But that takes no effect.

Does anyone know how to turn off sendMultiRefs?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835636#3835636

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835636


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Issue with DTD ??

2004-05-20 Thread dannyyates
Hi Simon,

The DTD does exist at that URL. Perhaps you need to go via a proxy to access the 
Internet, which IE understands but ANT doesn't?

ANT will be trying to resolve the DTD externally because it won't have an 
EnitityResolver configured which understands the public ID. Perhaps you can tell the 
xslt task to put the XML parser in a non-validating mode? That might stop it trying to 
open the DTD.

Rgds,

Dan.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835638#3835638

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835638


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How can i see the numbers of threads in runtime?

2004-05-20 Thread tirana
it's view if use  implements Runnable 
if use extends Thread - all ok

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835639#3835639

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835639


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: java.sql.SQLException: Use explicit XA call

2004-05-20 Thread lee_yuki2000
How do to add  no-tx-separate-pools? I've follow the example on how to configure the 
oracle-xa-ds but it doesn't work.

Besides that what is the difference between oracle-xa-ds and oracle-ds? Previously i 
was using oracle-ds in jboss 3.2.1. Now i m using jboss 3.2.3 and I had put in the 
wrong xml file. I shud be using oracle-ds instead of oracle-xa-ds. That's why i have 
this error java.sql.SQLException: Use explicit XA call. After i have change the xml, 
it is working. 

Thanks



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835640#3835640

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835640


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: RunAsMDB

2004-05-20 Thread milasx
Looking at the forum I found my solution.  Need to edit login-config.xml

  | application-policy name = test
  |authentication
  |   login-module code=com.db.gm.risk.jboss.server.jaas.TsarLoginModule 
flag = sufficient
  |  module-option name = 
tsarUrljboss.jca:service=TxCM,name=JmsXA/module-option
  |   /login-module
  | login-module code = org.jboss.security.ClientLoginModule
  | flag = required
  | /login-module
  |/authentication
  | /application-policy
  | 

And add / modify the red part.

Simone

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835642#3835642

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835642


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: JAAS: How Can I encrypt a password?

2004-05-20 Thread olaso
I solved it in this way. First download a JCrypt source code from:

http://locutus.kingwoodcable.com/jfd/crypt.html

Add to that code the following function:

public static boolean isPasswordOK(String strCryptedPassword, String 
strPasswordToVerify)
  | {
  | String strVerif = JCrypt.crypt(strCryptedPassword,strPasswordToVerify);
  | return strVerif.equals(strCryptedPassword);
  | }

And afterwards create a new class that extends from DatabaseServerLoginModule. Mine is:


  | public class JCryptDatabaseServerLoginModule extends DatabaseServerLoginModule
  | {
  | 
  | /** A hook that allows subclasses to change the validation of the input
  |  password against the expected password. This version checks that
  |  neither inputPassword or expectedPassword are null that that
  |  inputPassword.equals(expectedPassword) is true;
  |  @return true if the inputPassword is valid, false otherwise.
  |  */
  | protected boolean validatePassword(String inputPassword, String 
expectedPassword)
  | {
  |if( inputPassword == null || expectedPassword == null )
  |   return false;
  |return JCrypt.isPasswordOK(inputPassword,expectedPassword);
  | }
  | }
[/url]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835641#3835641

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835641


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Remote ear Deployment

2004-05-20 Thread chris_white
Deploying my ear on a local machine is as simple as copying the ear to the 
/server/default/deploy directory, but is there a way to remote deploy web apps ??

Much in the same way that Tomcat provides a manager page through which an war can be 
uploaded and deployed on the fly. This remote deployment can also be acheived through 
ant, but is it possible to remote deploy for JBoss ?? (with ant if possible). 

Examples/links would be muchly appreciated.

Thanks

Chris

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835644#3835644

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835644


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - production release of Jboss 4

2004-05-20 Thread balteo
Hello,
Can anyone tell me when the production release of Jboss 4 will be available?
Thanks in advance,
Julien Martin.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835645#3835645

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835645


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Question to Natalie Fleury

2004-05-20 Thread Chip Tyler
Dear Natalie,

Apology in advance.

After reading this thread 
http://www.theserverside.com/news/thread.tss?thread_id=24059
and this one
http://theserverside.com/news/thread.tss?thread_id=23670

I have one question, do you sleep with Marc, Arun, and
Chip on alternating days, or all three at once?

Sincerely,
A disappointed JBoss user.

ps: I really thought you guys are honest. no matter
how great JBoss is, the personalities behind it are
questionable. Please be less arrogant in the future.






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] what kind of EJBs make sense clustering? (impact in performance)

2004-05-20 Thread Pedro Salazar
Greetings,

I would like to know from your experience what kind of EJBs make sense
clustering for high availability and performance.

I know statefull session beans must be clusterable because if a server
instance goes down the session is lost.

But what about stateless session beans? Doe it make sense in clustering
them? What impact on performance I'll get if I make them clusterable?

Yes, and there is also the entity beans. Doe it make sense since I have
the data in database to put them in cluster? Impact of performance? For
all the types, read-only and read-write?

I would like some hints about them to tune my EJBs to have the biggest
performance.

thanks,
Pedro Salazar.
-- 
/ps



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: JAAS cache updating role on the fly

2004-05-20 Thread srt
you are right, the authentication date is cached.

for more information have a look at
http://www.jboss.org/index.html?module=bbop=viewtopict=45609

and look for UserManagerJBossSpecific at
http://jroller.com/page/RickHigh/20040305

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835646#3835646

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835646


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - run-as problem with jboss 4.0.0DR4

2004-05-20 Thread srt
hi,

i have two session beans a and b.
a runs under the caller's identity and b is configured to run under an internal role 
(using security-identity/run-as).
the problem i encounter is the following:
after a has called any method on b all further calls of a to other beans run under the 
internal role of b.
it seems like the run-as role is not properly removed.

running on jboss 3.2.2 everything worked as expected.

thanx for any suggestions,

stefan

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835647#3835647

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835647


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: General EJB relationship question

2004-05-20 Thread sesques
It looks like you should read teh EJB spec from SUN or any book about J2EE platform.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835648#3835648

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835648


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Exposing 2PC jboss-head/jca??

2004-05-20 Thread Adrian Brock
You can find information about the jboss cvs branch names
on the website.
Once you've read that, my previous answer should make sense
to you.

On Mon, 2004-05-17 at 10:33, Dasarath Weeratunge wrote:
 Adrian,
 
 Can you please illaborate a little on what you said.
 
 In which jboss version can I find the new JBoss/tm
 implementation? latest cvs or is there a *stable*
 src/build with this support available?
 
 Thanks
 
 Dasarath
 
 
 --- Adrian Brock [EMAIL PROTECTED] wrote:
  This has already been done in jboss-head
  for transaction inflow in jca.
  cvs ... co jboss-head
  
  On Sun, 2004-05-16 at 15:14, Dasarath Weeratunge
  wrote:
   Hi
   
   I'm trying to expose the 2PC implementation of
   JBoss/tm  so that I can use it in a 
   
   ws-at(WS-AtomicTransaction) implementation that
  I'm
   working on.
   
   In the present JBoss/tm impl,
  TransactionImpl.commit
   carries out 2PC. However, for 
   
   distriburted transactions support this needs to be
   split into two seperate prepare() and 
   
   commit() methods and exposed to the outside so
  that an
   external coordinator like ws-at can 
   
   control the protocol.
   
   I seperated the commit method as above and
  included
   three new methods in 
   
   org.jboss.tm.TransactionImpl : __prepare(),
   __commit(), __rollback().
   
   I have attached the modified code below.
   
   I tested the code and it seems to work but I'm not
   sure what other issues might have to be 
   
   taken into account here. The three new methods are
   found at the end of the class definition 
   
   and appart from these changes I made no changes to
  the
   existing methods.
   
   Can you guys please tell me whether the new
  __prepare,
   __commit/__rollback sequence would 
   
   cause any trouble or whether there are any
  problems in
   the way I've done the split with 
   
   regard to the rest of the class/package.
   
   I'm using jboss-3.2.4RC2 build(custom).
   
   
   Thanks.
   
   
   
 
 
   __
   Do you Yahoo!?
   SBC Yahoo! - Internet access at a great low price.
   http://promo.yahoo.com/sbc/
  -- 
   
  Adrian Brock
  Director of Support
  Back Office
  JBoss Inc.
   
  -- 
   
  Adrian Brock
  Director of Support
  Back Office
  JBoss Inc.
   
  
  
  
 
 ---
  This SF.Net email is sponsored by: SourceForge.net
  Broadband
  Sign-up now for SourceForge Broadband and get the
  fastest
  6.0/768 connection for only $19.95/mo for the first
  3 months!
 
 http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
 
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
   
   
 __
 Do you Yahoo!?
 SBC Yahoo! - Internet access at a great low price.
 http://promo.yahoo.com/sbc/
 
 
 ---
 This SF.Net email is sponsored by: SourceForge.net Broadband
 Sign-up now for SourceForge Broadband and get the fastest
 6.0/768 connection for only $19.95/mo for the first 3 months!
 http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Inc.
 



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - MDB not unbound after undeploy

2004-05-20 Thread milasx
Hi,

In Jboss 3.2.3 I have a sar file that contains an ear.  Inside the ear I have two 
jars.  One with a session bean one with an MDB that depends on the session bean.  The 
sar deploys fine but when I do the undeploy my MDB stays bound so the next deployment 
fails with an 
javax.management.InstanceAlreadyExistsException:jboss.j2ee:jndiName=local/JobsCollector,service=EJB
 already registered.
My jboss.xml for MDB follows

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.2//EN 
http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd;
  | 
  | jboss
  | 
  |enterprise-beans
  | 
  |  !--
  |To add beans that you have deployment descriptor info for, add
  |a file to your XDoclet merge directory called jboss-beans.xml that contains
  |the session/session, entity/entity and 
message-driven/message-driven
  |markup for those beans.
  |  --
  | 
  |   message-driven
  |  ejb-nameJobsCollector/ejb-name
  |  
destination-jndi-namequeue/webGuru/pricer/ResponseQueue/destination-jndi-name
  |  configuration-nameStandard Message Driven Bean/configuration-name
  |  
dependsjboss.mq.destination:name=webGuru/pricer/ResponseQueue,service=Queue 
/depends
  |  dependsjboss.j2ee:jndiName=EJB/Session/JobFacade,service=EJB/depends
  |   /message-driven
  | 
  |/enterprise-beans
  | 
  |resource-managers
  |/resource-managers
  | 
  |  container-configurations
  |container-configuration extends=Standard Message Driven Bean
  |container-nameStandard Message Driven Bean with 
Security/container-name
  |security-domainjava:/jaas/test/security-domain
  |/container-configuration
  |/container-configurations
  | 
  | /jboss
  | 
Anyone any idea?
Many thanks!!!
Simone

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835649#3835649

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835649


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - ejbPassivate on demand

2004-05-20 Thread cane74
Hi.

Can anyone tell me how to tell JBoss to passivate specified bean (in this case - BMP 
bean)? Is it possible to do it from web-console or something similar? Thanks in 
advance.

Bart


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835650#3835650

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835650


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Deploy a ModelMBean in JBoss

2004-05-20 Thread switchtoit
How to deploy a ModelMBean in JBoss? Declaring  tag in jboss-service.xml will not be 
sufficient. I need to access the database, create a managed resource which is a plain 
java object and set this object as the managed resource of the ModelMBean.

Should I set the managed resource in the Life cycle methods?

Thanks in advance..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835651#3835651

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835651


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: nukes-ds.xml deploy fail

2004-05-20 Thread alexj
The same story with the original nukes-ds.xml . I tried to make sure I can see mySQL 
data via SQuirreL...

anonymous wrote : 2004-05-20 20:53:11,875 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/Program 
Files/jboss-4.0.0DR3/server/default/deploy/jms/jms-ds.xml - file:/C:/Program 
Files/jboss-4.0.0DR3/server/default/deploy/jms/jms-ds.xml
  | 
  | 2004-05-20 20:53:11,875 INFO  [org.jboss.deployment.MainDeployer] Starting 
deployment of package: file:/C:/Program 
Files/jboss-4.0.0DR3/server/default/deploy/nukes-ds.xml
  | 
  | 2004-05-20 20:53:11,875 DEBUG [org.jboss.deployment.MainDeployer] Starting 
deployment (init step) of package at: file:/C:/Program 
Files/jboss-4.0.0DR3/server/default/deploy/nukes-ds.xml
  | 
  | 2004-05-20 20:53:11,885 DEBUG [org.jboss.deployment.MainDeployer] using deployer 
[EMAIL PROTECTED]
  | 
  | 2004-05-20 20:53:11,885 DEBUG [org.jboss.deployment.MainDeployer] Watching new 
file: file:/C:/Program Files/jboss-4.0.0DR3/server/default/deploy/nukes-ds.xml
  | 
  | 2004-05-20 20:53:11,885 ERROR [org.jboss.deployment.MainDeployer] Could not 
initialise deployment: file:/C:/Program 
Files/jboss-4.0.0DR3/server/default/deploy/nukes-ds.xml
  | 
  | org.jboss.deployment.DeploymentException: Could not read dd; - nested throwable: 
(java.io.FileNotFoundException: 
C:\Program%20Files\jboss-4.0.0DR3\server\default\deploy\nukes-ds.xml)
  | 
  | at org.jboss.deployment.XSLSubDeployer.findDd(XSLSubDeployer.java:271)
  | 
  | at org.jboss.deployment.XSLSubDeployer.init(XSLSubDeployer.java:191)
  | 
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:728)
  | 
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:663)
  | 
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
  | 
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | 
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | 
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
  | 
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
  | 
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | 
  | at $Proxy7.deploy(Unknown Source)
  | 
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:303)
  | 
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:477)
  | 
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | 
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835652#3835652

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835652


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Authorization JBoss 3.2.3

2004-05-20 Thread lalala
I'm currently installed the Jboss version 3.2.3, and my question is this:

I want to allow to access to JBoss (my applications: ejb's and jsp's) only a few 
computers (this pc's will be my server's and the clients connect to them), so I don't 
know how can I do this.

Can you help me???

thanks a lot






View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835653#3835653

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835653


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-20 Thread catalean
This is how things are looking from my point of view: i have a client application who 
want's to use JMS over HTTP; on the client side these jndi properties are used:
java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
  | java.naming.provider.url=http://public_IP_address:8080/invoker/JNDIFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

public_IP_address is the IP which is translated by the firewall into a internal IP 
address, so each call can reach my internal server. 
And a lookup after the HTTPXAConnectioFactory is made successfuly. When the actual 
topic connection is to be made the following error occurs:
javax.naming.CommunicationException: Operation failed [Root exception is 
java.net.UnknownHostException: LIMS]
  | at 
org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:50)
  | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
  | at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:55)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
  | at $Proxy0.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
  | at javax.naming.InitialContext.lookup(InitialContext.java:347)
  | at 
ro.citrusmedia.lims.base.ui.commutil.JNDIManager.initJMS(JNDIManager.java:102)
  | at ro.citrusmedia.lims.base.ui.commutil.JNDIManager.init(JNDIManager.java:61)
  | at 
ro.citrusmedia.lims.base.ui.BaseModuleEntry.contactServer(BaseModuleEntry.java:243)
  | at ro.citrusmedia.lims.base.ui.BaseModuleEntry.create(BaseModuleEntry.java:110)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:412)
  | at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:818)
  | at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
  | at 
ro.citrusmedia.lims.system.ModuleController.registerAndStartModules(ModuleController.java:295)
  | at 
ro.citrusmedia.lims.system.ModuleController.loadModules(ModuleController.java:191)
  | at ro.citrusmedia.lims.system.Application$1.run(Application.java:146)
  | at java.lang.Thread.run(Thread.java:534)
  | Caused by: java.net.UnknownHostException: LIMS
  | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
  | at java.net.Socket.connect(Socket.java:452)
  | at java.net.Socket.connect(Socket.java:402)
  | at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
  | at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
  | at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
  | at sun.net.www.http.HttpClient.init(HttpClient.java:306)
  | at sun.net.www.http.HttpClient.init(HttpClient.java:267)
  | at sun.net.www.http.HttpClient.New(HttpClient.java:339)
  | at sun.net.www.http.HttpClient.New(HttpClient.java:320)
  | at sun.net.www.http.HttpClient.New(HttpClient.java:315)
  | at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)
  | at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489)
  | at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:560)
  | at org.jboss.invocation.http.interfaces.Util.invoke(Util.java:101)
  | at 
org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:102)
  | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
  | at 
org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:42)
  | ... 23 more
Can you tell me, how does my client application end up trying to connect to LIMS 
(the internal host name of the server machine)? as i understand, the client 
application should try to connect to public_IP_address.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835654#3835654

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835654


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-20 Thread catalean
The error does't occur when the actual topic connection is to be made, but when the 
client application try to lookup after the topic's JNDI name.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835657#3835657

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835657


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Soon 100Kth post - Who is going to post it :-) ?

2004-05-20 Thread [EMAIL PROTECTED]
Well, the forums report 102k now, so who won?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835658#3835658

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835658


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: inserting duplicated members

2004-05-20 Thread fluca1978
Well, src and dest are different CtClass, I mean they are produced from different 
classes. When I try to define the class, in my classloader, as:


   /* create the pools */
ClassPool aPool=ClassPool.getDefault();
this.addClasspathToPoll(aPool);
.
byte[] code= aPool.write(className);
return this.defineClass(className,code,0,code.length);

I got the exception, if the code produced by the pool is related to a class manipulate 
with two method with the same signature. Is the above the code you were looking for?

Thanks,
Luca

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835659#3835659

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835659


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: nukes-ds.xml deploy fail

2004-05-20 Thread sgwood

Hi, alexj,

I'm pretty sure that Nukes does not work with JBoss 4.0.0 yet.

Is your driver jar on the JBoss classpath somewhere, like in server/default/lib?


Sherman

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835660#3835660

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835660


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Referencing environment variables from configuration fil

2004-05-20 Thread [EMAIL PROTECTED]
You'll have to pass the env variable to the jvm with the -D switch first. If you do, 
then you can access it (as a system property).



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835661#3835661

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835661


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-20 Thread catalean
Sorry, i was wrong on the previous two posts, because it seems that the error is 
occuring when trying to lookup after the HTTPXAConnectionFactory; so it does't even 
get the connection factory. Is possible that the connection to be made is a HTTPS 
connection? the following debug appear in my log:
DEBUG [Util] httpsConnClass: class javax.net.ssl.HttpsURLConnection

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835662#3835662

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835662


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Value object use

2004-05-20 Thread dhartford
heya,
Try changing:

 * @ejb.value-objectmatch = *

to:

 * @ejb.value-object
  |  * name=Language
  |  * match = *



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835663#3835663

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835663


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Checking a field against a list of values

2004-05-20 Thread Guido Scalise
Hi there guys!,
I need to create a EJBQL or JBossQL query that receives a list of values as an 
argument, and checks a field against that list of values...
Do I have any way of doing that in any of the QL implementations?

It's equivalent in SQL would be like:

  | SELECT * FROM Something where field IN(1,21,32,34,45,63);
  | 

I'm afraid that I'll have to do N queries for N values...

Kind Regards,
Guido Scalise
Buenos Aires - Argentina

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835664#3835664

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835664


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Checking a field against a list of values

2004-05-20 Thread sesques
HI,

JBossQL supports parameters in the IN operator. But is the number of your parameters 
always the same ?

If not, you should use DynamicQL instead.

Pascal


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835665#3835665

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835665


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Checking a field against a list of values

2004-05-20 Thread Guido Scalise
sesques wrote : HI,
  | 
  | JBossQL supports parameters in the IN operator. But is the number of your 
parameters always the same ?
  | 
  | If not, you should use DynamicQL instead.
  | 
  | Pascal
  | 

Thanks for your prompt reply!
No, the list of parameters varies... :(
I've been searching all the web looking for DynamycQL/JBossQL 
examples/tutorials/documentation, but I haven't found anything... Where can I access 
some (JBoss/Dynamic)QL documentation?

Kind Regards,
Guido Scalise
Buenos Aires - Argentina

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835666#3835666

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835666


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Checking a field against a list of values

2004-05-20 Thread sesques
Hi,

Perhaps a bad news to you. JBossQL and DynamicQL is documented in the JBoss DOCO, and 
you have to buy it.
The DOCO is JBoss AdminDevel Documentation.

Pascal


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835667#3835667

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835667


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Deploying an exploded

2004-05-20 Thread tomerbd
Hi

I cant deploy any exploded folders .war or .ear when specifying them like this: (with 
no ending /)

  
 deploy/,file:///d:/temp/deploy/app.ear
  

However this does work fine (its scanning the directory and deploying its 
subdirectories fine...)

  
 deploy/,file:///d:/temp/deploy
  

Anyone knows why?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835668#3835668

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835668


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Deploying an exploded

2004-05-20 Thread darranl
Because the deployment scanner searched the configured directory for deployable items, 
by specifying your exploded dir it will scan the contents of it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835669#3835669

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835669


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Restarting JMS

2004-05-20 Thread richieb
Is it possible to restart JMS without restarting the JBoss server?

I'm using JBoss 3.2.3 and in some cases we run into a problem with JMS deadlocking. 
Restarting JBoss server fixes the problem, but I'd like to be able to  just stop and 
restart JMS.

TIA

...richie

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835671#3835671

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835671


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Checking a field against a list of values

2004-05-20 Thread hernant
Que haces Guido,
te paso un ejemplo de un entity bean usando xdoclet:

a nivel de clase (despues de los imports) pone estos tags:

 *  @ejb.select
 *signature=java.util.Collection ejbSelectGeneric( java.lang.String jbossql, 
java.lang.Object[] args )
 *result-type-mapping=Local
 *method-intf=LocalHome
 *query=
 *  @jboss.query
 *signature=java.util.Collection ejbSelectGeneric( java.lang.String jbossql, 
java.lang.Object[] args )
 *dynamic=true
 *  

despues agregs estos metodos al entity mismo:

/**
 * @jboss.dynamic-ql
 */
public abstract java.util.Collection ejbSelectGeneric ( String jbossQl, 
Object[]arguments ) throws FinderException;

/**
 * @ejb.home-method 
 *  tview-type=local 
 */
public java.util.Collection ejbHomeBusquedasGenericas(
String node_name,   String type,String 
alias_name,  String description, String login,   
String passwd,  String transfer_dir,String host_alias, 
 String operational_status,  String ip_address,  String cv_id, 
  String node_type) throws javax.ejb.FinderException{ 

java.util.Collection params = new java.util.ArrayList();
int paramNumber = 1;
boolean yaHayUno = false;

// generate JBossQL query
StringBuffer jbossQl = new StringBuffer();
jbossQl.append(SELECT OBJECT(u) );
jbossQl.append(FROM Dyt_com_nodeSchema AS u );

if (
(node_name!=null  
 !node_name.equalsIgnoreCase(todos)
 !node_name.equalsIgnoreCase()
) 
||  (type!=null  
 !type.equalsIgnoreCase(todos)
 !type.equalsIgnoreCase()
) 
||  (alias_name!=null  
 !alias_name.equalsIgnoreCase(todos)
 !alias_name.equalsIgnoreCase()
) 
||  (description!=null  
 !description.equalsIgnoreCase(todos)
 !description.equalsIgnoreCase()
) 
||  (login!=null  
 !login.equalsIgnoreCase(todos)
 !login.equalsIgnoreCase()
) 
||  (passwd!=null  
 !passwd.equalsIgnoreCase(todos)
 !passwd.equalsIgnoreCase()
) 
||  (transfer_dir!=null  
 !transfer_dir.equalsIgnoreCase(todos)
 !transfer_dir.equalsIgnoreCase()
) 
||  (host_alias!=null  
 !host_alias.equalsIgnoreCase(todos)
 !host_alias.equalsIgnoreCase()
) 
||  (operational_status!=null  
 !operational_status.equalsIgnoreCase(todos)
 !operational_status.equalsIgnoreCase()
) 
||  (ip_address!=null  
 !ip_address.equalsIgnoreCase(todos)
 !ip_address.equalsIgnoreCase()
) 
||  (cv_id!=null  
 !cv_id.equalsIgnoreCase(todos)
 !cv_id.equalsIgnoreCase()
) 
||  (node_type!=null  
 !node_type.equalsIgnoreCase(todos)
 !node_type.equalsIgnoreCase()
) 
)
{
jbossQl.append(WHERE);
}

if (node_name != null 
 !node_name.equalsIgnoreCase(todos)
 !node_name.equalsIgnoreCase()
){
if (yaHayUno) jbossQl.append( AND);
jbossQl.append( u.node_name=? + paramNumber++);
params.add(node_name);
yaHayUno=true;
}
if (type != null 
 !type.equalsIgnoreCase(todos)
 !type.equalsIgnoreCase()
){
if (yaHayUno) jbossQl.append( AND);
jbossQl.append( u.type=? + paramNumber++);
params.add(type);
yaHayUno=true;
}
if (alias_name != null 
 !alias_name.equalsIgnoreCase(todos)
 !alias_name.equalsIgnoreCase()
){
if (yaHayUno) jbossQl.append( AND);
jbossQl.append( u.alias_name=? + paramNumber++);
params.add(alias_name);
  

[JBoss-user] [Security JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)

2004-05-20 Thread sbocquet
Hi,

In debug mode, I see that the callbackHandler argument is null, when the 
initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map 
options)  method is call in AbstractServerLoginModule !

Any idea why ?
Can someone help me ?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835672#3835672

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835672


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] [Beginners Corner] - Calling JBoss 3.2.3 from st andalone Tomcat

2004-05-20 Thread Finn, Michael
Title: RE: [JBoss-user] [Beginners Corner] - Calling JBoss 3.2.3 from standalone Tomcat





Try including jbossall-client.jar in your classpath.


 -Original Message-
 From: damonrand [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 18, 2004 12:29 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] [Beginners Corner] - Calling JBoss 3.2.3 from
 standalone Tomcat
 
 
 Hi guys,
 
 I have made some progress on connecting to an EJB from Tomcat 
 4.1.29 running on a standalone server. Unfortunately the 
 system seems to be demanding JBoss server-side libraries for 
 some reason.. Here is what I have done so far.
 
 1. I have this in web.xml
 
 ejb-ref
 Test EJB connection.
 ejb-ref-nameejb/HelloWorld/ejb-ref-name
 ejb-ref-typeSession/ejb-ref-type 
 org.service.helloworld.server.facade.interfaces.HelloWorldRemoteHome
 org.service.helloworld.server.facade.interfaces.HelloWorldRemote
 
 ejb-linkjnp://server:1099/remote/org.service.helloworld.serv
 er.facade.ejb.HelloWorld/ejb-link
 /ejb-ref
 
 2. And in /WEB-INF/classes/jndi.properties
 
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
 
 3. And copy all the jars from JBoss 3.2.3 client folder into 
 %JRE_HOME%/lib/ext
 
 4. Copied my helloworld-service.jar (containing the EJB 
 interfaces) into web-inf/lib
 
 Now I am now running into this error..
 class java.lang.NoClassDefFoundError: javax.ejb.EJBObject
 
 And if I solve that one but making j2ee.jar available to 
 Tomcat I get too..
 class java.lang.NoClassDefFoundError: 
 org/jboss/tm/TransactionPropagationContextFactory
 
 So looks like I am going to run into a sequence of 
 NoClassDefFoundError that lead me to put the whole of JBoss 
 into my Tomcat webapp -- not a preferable option. ;-)
 
 Am I doing anything obviously wrong or will this config just not work?
 
 Regards,
 Damon.
 
 View the original post : 
 http://www.jboss.org/index.html?module=bb=viewtopic=38353
96#3835396


Reply to the post : http://www.jboss.org/index.html?module=bb=posting=reply=3835396



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562_id=6184=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





[JBoss-user] [Installation Configuration] - Re: Deploying an exploded

2004-05-20 Thread tomerbd
first i must correct myself I meant:

deploy/,file:///d:/temp/deploy/

with the ending slash... yesh its working fine this way, its scanning my deploy 
directory and deploying all the ear's war's in that directory...

but when I use file:///d:/temp/deploy/app.ear this for an exploded ear it didnt work

so I dont have any problems with scanning, and if it scanned then it shouldnt scanned 
it ! since the example in jboss-service.xml says :


file:/var/opt/myapp.ear
 deploy myapp.ear from a local location


so why didnt it deploy my exploded app.ear , and if it scanned it it shouldnt have...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835674#3835674

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835674


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Restarting JMS

2004-05-20 Thread StephaneNicoll
Why not searching the origin of the deadlock in a first place?

Regards,

Stephane



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835673#3835673

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835673


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - loader-repository for war within an ear

2004-05-20 Thread tomerbd
Hi

I have

ear
  -- war 1
  -- war 2
  -- war 3

all the wars have the same classes in their webinf (common infrastructure) However I 
need those classes to be loaded by differerent classloaders, In case the wars are not 
contained in an ear, Its fine i managed to do it with the jboss-web.xml using 
loader-repository however when the wars are contained in an ear I receive this 
warning (And its not working...) 

16:06:54,990 WARN  [DeploymentInfo] Only the root deployment can set the loader
repository, ingoring config=LoaderRepositoryConfig(repositoryName: some.dot.com:
loader=newsite.war, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoade ...

How can I make the libraries of all my wars be loaded in different classloaders while 
still having them contained in a war?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835677#3835677

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835677


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: loader-repository for war within an ear

2004-05-20 Thread tomerbd
I just read the other thread next to me... and it says that truely only the root 
deployment can set the loader repository, but does that means all my wars are stuck 
with the same loader repository?! isnt it against the j2ee spec for seperation of 
loaders for each WEB-INF of each war?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835678#3835678

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835678


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Restarting JMS

2004-05-20 Thread richieb
StephaneNicoll wrote : Why not searching the origin of the deadlock in a first place?
  | 

I am looking into it. 

But this is a production system that needs to be up all the time. Restarting JBoss  is 
bit drastic, as it kicks all users off and makes our app UI unavailable for a while. 

Restarting JMS only would be cleaner way to work around this problem until I get a 
handle on why it occurs.

...richie 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835679#3835679

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835679


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Porlet Container

2004-05-20 Thread jspence96
What porlet container or portlet containers does JBoss support?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835680#3835680

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835680


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Porlet Container

2004-05-20 Thread [EMAIL PROTECTED]
Nukes 2.0


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835681#3835681

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835681


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB not unbound after undeploy

2004-05-20 Thread [EMAIL PROTECTED]
You've probably hit the lifecycle bug in EJBModule, that was fixed in 3.2.4RC1

I've posted links to the fixes before in the EJB development forum.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835682#3835682

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835682


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EAR Wont deploy on some machines [EJBDeployer] NoClassDefFou

2004-05-20 Thread crowse
Hi,
I am having problems deploying an EAR firl on my production machine.

The EAR works fine on my development machine but will not deply the EJB on the live 
machine. 

I have checked the configs and installed versions of JBoss, JDK and servers but can 
not find differences (Same versions, etc) 

The 'offending' file (customer.xsd2ejb.customerModelEntryForm) is in both the WAR and 
-EJB.JAR of the EAR

Any ideas on what JBoss is looking for?

Chris

Here is the stacktrace from the JBoss console log

16:05:17,453 INFO  [EJBDeployer] nested deployment: 
file:/D:/usr/local/share/jboss-3.2.3/server/default/tmp/deploy/tmp2834parner.ear-contents/parner-ejb
.jar-contents/jwsdp-shared/lib/xsdlib.jar
16:05:25,125 WARN  [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: customer/xsd2ejb/customerModelEntryForm
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
at java.lang.Class.privateGetPublicMethods(Class.java:1770)
at java.lang.Class.privateGetPublicMethods(Class.java:1786)
at java.lang.Class.getMethods(Class.java:824)
at 
org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:688)
at 
org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVerifier20.java:1903)
at 
org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:167)
at 
org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:137)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:154)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:475)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at 

[JBoss-user] [Persistence CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al

2004-05-20 Thread cslenkey
DISTINCT and FOR UPDATE are incompatible. This the reason of the Oracle-01786 error 
message. 
But why does generate different SQL code JBoss3.2.2RC and 3.2.4?

Can anyone help?
Csaba

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835684#3835684

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835684


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS over HTTP with server behind a firewall problem

2004-05-20 Thread [EMAIL PROTECTED]
You have changed the httpilservice, but not the httpinvoker used by jndi over http.
See deploy/http-invoker.sar/META-INF/jboss-service.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835685#3835685

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835685


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Restarting JMS

2004-05-20 Thread [EMAIL PROTECTED]
If you have 3.2.3, you can touch your jms persistence manager -service.xml
which will redeploy the whole of jms (everything depends upon the persistence manager
either directly or indirectly).

But, if clients are connected you will get an error message saying the destinations
are in use and it won't work. This has been fixed for jboss-3.2.4, the clients
are thrown off.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835686#3835686

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835686


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat

2004-05-20 Thread ricardoarguello
You are probably using Tomcat's embedded JNDI server without knowing it!

Read this:
http://www.amitysolutions.com.au/documents/JBossTomcatJNDI-technote.pdf

You might start Tomcat with the -nonaming option to disable their JNDI server.

Or you could programatically create an InitialContext with properties pointing to your 
EJB server... this is hardcoded and sucks.

Ricardo Arguello


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835687#3835687

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835687


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: inserting duplicated members

2004-05-20 Thread chiba
Here is my thought.

The JVM throws an exception if a class has two
methods with the same name and signature
becuase such a class cannot pass the bytecode
verification.  This is the spec.

I guess the reason that the JVM accepts a class
that has two fields with the same name is because
the JVM wrongly ignore such duplicated fields,
i.e. this is a bug of the JVM.

I don't know.   Anyway, if you use Javassist 3.0,
Javassist does not allow you to create such
borken classes!

Please try it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835688#3835688

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835688


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Redeploy of ear w/struts based app fails consistantly

2004-05-20 Thread wpfeiffe
Whenever I redeploy my application to JBoss 3.2.3/Tomcat the struts config file fails 
to parse and the struts web portion of the app stops responding.  This effectively 
forces me to restart jboss everytime I deploy. 

Anybody else seeing this/solved this?

Here's a snip of my exception:

2004-05-20 10:56:03,690 DEBUG [org.apache.struts.action.ActionServlet] Initializing 
module path '' configuration from '/WEB-INF/struts-config.xml'
2004-05-20 10:56:03,910 ERROR [org.apache.commons.digester.Digester] Begin event threw 
exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
at 
org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:1684)
at 
org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:1713)
.
.
.
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
Caused by: java.lang.LinkageError: loader constraints violated when linking 
org/apache/struts/action/ActionMapping class
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.apache.struts.config.FormBeanConfig.class$(FormBeanConfig.java:190)
at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:190)
... 55 more
2004-05-20 10:56:03,920 DEBUG [org.apache.struts.util.PropertyMessageResources] 
getMessage(en_US,configParse)
2004-05-20 10:56:03,920 DEBUG [org.apache.struts.util.PropertyMessageResources] 
loadLocale(en_US)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835689#3835689

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835689


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Swing application do login succesful, but server throws Auth

2004-05-20 Thread dani_rio
Hi all,
I have 3 days trying to make this works, but without exit. I use jboss 3.2.3:

In the server side the login_config.xml is configured with a DatabaseServerLoginModule 
and works well with form basic authentication in my Jsp of test. No problem, the 
server authenticates the users throught the MySql database.
The login-config.xml have

  | application-policy name=admin
  | authentication
  | login-module code=org.jboss.security.ClientLoginModule 
flag=required
  | /login-module
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required
  | module-option name = dsJndiNamejava:/MySqlDS/module-option
  | module-option name = principalsQueryselect password from user 
where login=?/module-option
  | module-option name = rolesQueryselect role, 'Roles' from 
userrole where login=?/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 


Now, I have a client application with the code:


  | lc = new LoginContext(login-app, handler); 
  | lc.login(); 
  | 

my handler is :


  | CallbackHandler handler = new CallbackHandler() {
  | public void handle(Callback[] callbacks) throws IOException,  
UnsupportedCallbackException {
  | for (int i = 0; i  callbacks.length; i++) {
  | if (callbacks instanceof NameCallback) {
  | NameCallback nc = (NameCallback)callbacks;
  | nc.setName(my_login);
  | } else if (callbacks instanceof PasswordCallback) { 
  | PasswordCallback pc = (PasswordCallback)callbacks; 
  | pc.setPassword(my_password.toCharArray());
  | } else {
  | throw new UnsupportedCallbackException(callbacks, Callback no 
reconocido);
  | }
  | }
  | }  
  | };
  | 

I use the auth.conf file:

  | login-app {
  | 
  | org.jboss.security.ClientLoginModule  required;
  | 
  | };
  | 

The login success and establish the SecurityAssociation principal as expected. 

The problem raise when I try to access to a SessionBean, then the server throws:


  | java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
  | Authentication exception, principal=null
  | 

Someone can help me ? I'm desperate.
Thanks in advance.












View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835690#3835690

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835690


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: paths of file appenders in log4j.xml configuration

2004-05-20 Thread dno
How do you change/set a system property in JBoss??

i.e. Frank, where did you set the jboss.server.home.dir property?? and can you add new 
properties based on environment variables?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835691#3835691

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835691


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - To many thread

2004-05-20 Thread pascallambert
Hi,

We have the following problem with one of our client: After a few day the JVM for 
JBoss fork too many java process and finish by hanging JBoss.
Yesturday we reach 1037 java subprocess.

Here is the client environement:
JBoss 3.2.1(200305041533)
Java HotSpot(TM) Server VM (build 1.4.1_01-b01, mixed mode)
Linux version 2.4.18-3 (Red Hat Linux 7.3 2.96-110)

By the way i noticed that one another Linux server we have, the JVM doens't create 
subprocess for thread (Linux version 2.4.20-8 (Red Hat Linux 3.2.2-5)). Does anybody 
know what make the JVM use thread in the same process vs use process fork?




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835692#3835692

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835692


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Hibernate stops working when app is redeployed

2004-05-20 Thread daborg
Hi,

We have a problem with Hibernate on JBoss 3.2.3.

When we redeploy our application, Hibernate stops working.

More specifically, we get this error when trying to access Hibernate objects:

net.sf.hibernate.MappingException: No persister for: persistent object class

To get it working, we have to restart JBoss. This is obviously a pain in the neck.

Does anyone have any ideas what could be causing this problem?

Any help would be gratefully received!


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835693#3835693

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835693


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss 4.0.0DR4: Jasper does not find javac Compiler

2004-05-20 Thread Juergen.Zimmermann
Invoking a JSP like http://localhost:8080/jboss-net/happyaxis.jsp or 
http://localhost:8080/jboss-net/happyjuddi.jsp I get the error message
that JASPER does not find the javac compiler.
I'm using Sun's JDK 1.5.0beta1

Using JBoss 4.0.0DR3 and JDK 1.4.2 everything works fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835695#3835695

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835695


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB not unbound after undeploy

2004-05-20 Thread milasx
Many thanks Adrian.  I tried with 3.2.4 RC2 and the bean gets undeployed fine.

Simone

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835696#3835696

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835696


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - session bean-servlet problem

2004-05-20 Thread raffaelecorvino
Hello all,
I'm a problem when I call a session bean method. I have configurated all 
(ejb-jar.xml,jboss.xml,web.xml and jboss-web.xml).
The server gives me this error:

17:51:15,012 ERROR [SecurityInterceptor] Insufficient method permissions, 
principal=null, method=create, interface=HOME, requiredRoles=[MANAGER, REVIEWER, 
MEMBER, ADMIN], principalRoles=[]
17:51:15,013 ERROR [LogInterceptor] EJBException, causedBy:
java.lang.SecurityException: Insufficient method permissions, principal=null, 
method=create, interface=HOME, requiredRoles=[MANAGER, REVIEWER, MEMBER, ADMIN], 
principalRoles=[]
at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:229)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvokeHome(StatelessSessionContainer.java:319)
at org.jboss.ejb.Container.invoke(Container.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy46.create(Unknown Source)
at ap.com.tesi.servlet.Visualizza.processRequest(Visualizza.java:102)
at ap.com.tesi.servlet.Visualizza.doGet(Visualizza.java:83)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 

[JBoss-user] [The Lizzard's corner] - Re: Porlet Container

2004-05-20 Thread Dave Patterson
Looks like people are also using Jetspeed.

http://www.shiftat.com/blog/comments/werner?anchor=running_jetspeed_on_jboss



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835698#3835698

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835698


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4.0.0DR4: Jasper does not find javac Compiler

2004-05-20 Thread Juergen.Zimmermann
Using JDK 1.4.2 for JBoss 4.0.0DR4 solves the problem.
Seems like JDK 1.5 can't be used (as with 4.0.0DR3).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835699#3835699

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835699


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss 4.0.0DR4: jaxrpc.jar and saaj.jar missing

2004-05-20 Thread Juergen.Zimmermann
jaxrpc.jar and saaj.jar are required in JBoss.NET for WSDL2Java.
Both jar files are missing. Why?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835700#3835700

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835700


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - not a single clustered-invoker...

2004-05-20 Thread [EMAIL PROTECTED]
I am having some trouble getting some BMP Entity beans to cluster properly, with JBoss 
3.2.3

I have set up two nodes with the 'all' configuration.  One node is running on Windows, 
so I have set the loopback attribute to 'True' in cluster-service.xml.  All the other 
configuration is pretty much standard though.

My stateless session beans are clustering ok, as evidenced by the following lines in 
server.log;

2004-05-20 17:11:31,113 DEBUG [DefaultPartition:ReplicantManager] 
_add(jboss.j2ee:jndiName=ejb/Customer,service=EJB, 10.40.5.243:1099
  | 2004-05-20 17:11:31,113 DEBUG [DefaultPartition:ReplicantManager] 
notifyKeyListeners
  | 2004-05-20 17:11:31,114 DEBUG [DefaultPartition:ReplicantManager] notifying 2 
listeners for key change: jboss.j2ee:jndiName=ejb/Customer,service=EJB
  | 2

server.log has this to say about the entity beans though;

2004-05-20 18:21:01,441 INFO  [org.jboss.ejb.EjbModule] Deploying Company
  | 2004-05-20 18:21:01,521 WARN  [org.jboss.ejb.EntityContainer] *** EJB 'Company' 
deployed as CLUSTERED but not a single clustered-invoker is bound to container ***

The jboss.xml descriptors for the entity beans are as follows;

  entity
  |  ejb-nameCompany/ejb-name
  |  jndi-nameCompany/jndi-name
  |  cache-invalidationTrue/cache-invalidation
  |  cache-invalidation-config
  |  invalidation-group-nameCOMPANY/invalidation-group-name
  |  /cache-invalidation-config
  |  configuration-nameClustered BMP EntityBean/configuration-name
  |  clusteredTrue/clustered
  |   /entity
  | 

It's probably also worth noting that the entity beans only have local interfaces and 
not remote ones.

Any ideas what I am doing wrong?

P.S.  I have purchased the clustering documentation which has been broadly helpful, 
but there is a huge gap in documentation of the JGroups / PartitionConfig section in 
cluster-service.xml.  JGroups own documentation is generally to broad and aimed at the 
developer... It's hard to sift anything specifically useful too the JBoss 
configuration out of it.  Are there any plans to update the clustering documentation 
soon?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835703#3835703

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835703


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: To many thread

2004-05-20 Thread gorano
I'm not confident enough to answer your question straight away, but I did
some reading on linux threading and JVMs before we built one production server.

Linux added NPTL (Native POSIX Thread Library)  from version 2.6.x. This thread 
library is a much better implementation than the previous thread lib. You get NPTL in 
Redhat 9.x- (2.4.x + patches).

To be able to take advantage of the new thread library you also have to use J2SE 
1.4.2-.

This combination above should give a lot better thread scalability,
especially fo a J2EE server (lot of threads). 

You will find more info on linux + JVM threads at

http://java.sun.com/developer/technicalArticles/JavaTechandLinux/RedHat

/Goran

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835705#3835705

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835705


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - How many connections will be created if I do the following ?

2004-05-20 Thread divine_comedy
I am reading a very large result set and will be updating them as part of a separate 
action ( in a different transaction ). Everything will be driven through an MBean so 
basically here's the pseudocode:

1. do a select through a DAO which will return an iterator that will keep 
track of the connection and result set ( they will be closed 
automatically when Iterator.hasNext() returns false )

2. I want to process each row of the Iterator as part of an action 
( a method in a session bean ) that should be in its own transaction (  
setting the appropriate transaction setting for the session bean ).

As such I would need connection obtained through 1 and 2 to be different. I'll be 
getting a connection through dataSource.getConnection(). I know that containers will 
sometimes use ThreadLocal to keep track of connection, so in this case would my logic 
work ? Thanks.




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835708#3835708

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835708


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: How many connections will be created if I do the followi

2004-05-20 Thread [EMAIL PROTECTED]
Moved to the patterns forum. Please feel free to use the JBoss/JCA forum if you have
real questions/problems with datasource configuration

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835710#3835710

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835710


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Multiple web sites

2004-05-20 Thread kiran222
Is there any way I can run two Web Server listening on two different ports with only 
one instance of JBoss running?

For our project needs, I would like to deploy a set of servlets on port 9192 and 
another set of servlets on port 9295, as follows:

http://localhost:9192/context1/servlet1
http://localhost:9295/context2/servlet2

Thanks in advance
Kiran G.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835711#3835711

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835711


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x

2004-05-20 Thread jane
The Getting Started documentation asks to download tutorial for version 1.3 and not 
1.4 because the directory structure is different.  So I downloaded the tutorial for 
1.3.  There was no build.properties in the /examples/bank directory.  But there is a 
jar directory.  I also downloaded the 1.4 tutorial.  It did not have a jar sub 
directory but had build.properties.  Also it is asked to compile jboss-build.xml with 
ant.  There is a build.xml.  Should you rename build.xml to jboss-build.xml.  I had 
not downloaded ant separately.  So, should I use ant from the 
jboss-3.2.3\server\default\deploy directory.Since Tomcat and others come along 
with JBoss, you dont know clearly what settings to do and what needs to be downloaded 
extra apart from downloading jboss.  Also I did not find a jbossj2ee-src.zip or 
jbossj2ee-src.tzg.  When I went to http://www.jboss.org/docs/index.html.  It showed a 
blank page.  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835712#3835712

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835712


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: How many connections will be created if I do the followi

2004-05-20 Thread divine_comedy
Hi Adrian, sorry if I posted this on the wrong forum, I was thinking that this is the 
appropriate forum since this has something to do with JBoss internals.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835713#3835713

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835713


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EAR Wont deploy on some machines [EJBDeployer] NoClassDe

2004-05-20 Thread crowse
Aha,

Seems that the class not being found is not the one reported on in the stacktrace. 

One of the libraries imported was not visible on the production box.

I think there should be a design pattern for classloaders and utilities that prohibits 
them from catching and rethrowing exceptions. That way the true class not being found 
will show inthe exception, and not some other use class. 

Granted the user class needs to be fixed (or the library made visible).

Struts seems to be a master at rethrowing exceptions after destroying the pointer to 
the place in the application that is in error. I guess I will now be more wary of the 
exceptions that are thrown by Jakarta libs. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835714#3835714

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835714


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x

2004-05-20 Thread kabkhan
The site has been redesigned recently, might have something to do with it. The 
jbossj2ee-src.zip download is on http://www.jboss.org/docs/index, and contains 
build.properties. The 1.3 tutorial is the correct one, and once you have obtained 
jbossj2ee-src.zip, it should help make things a bit clearer :-)


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835715#3835715

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835715


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x

2004-05-20 Thread jane
Thanks for the prompt reply.  Could find the files mentioned in the Getting started 
doc.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835716#3835716

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835716


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - JBoss 3.2.4RC2 - DRM

2004-05-20 Thread slbain
Hi,
I have just started using jboss 3.2.4RC2.

I have set-up a 2 node cluster which is 'out-of-the-box' using UDP. The two nodes are 
on separate host machines. I am making use of the 'farm service' to deploy a simple 
service to the cluster. The service is implemented as an mbean and is specified as 
follows in the jboss-service.xml file:


  | ?xml version='1.0' encoding='UTF-8'?
  | !DOCTYPE server PUBLIC
  | -//JBoss//DTD MBean Service 3.2//EN
  | http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd;
  | 
  | !--
  | The SAR META-INF/jboss-service.xml descriptor
  | 
  | Based upon the following:
  | 
http://cvs.sourceforge.net/viewcvs.py/jboss/jbosstest/src/resources/jmx/ha/META-INF/jboss-service.xml?rev=1.2view=auto
  | --
  | 
  | server
  | 
  | !-- Create JRMPHA proxy factory instance for our service
  | --
  | mbean code=org.jboss.proxy.generic.ProxyFactoryHA
  | 
name=com.panacya.prototype:service=ProxyFactory,name=HACounterService,protocol=jrmpha
  | 
  | !-- Use the default partition
  | --
  | depends optional-attribute-name=PartitionObjectName
  | jboss:service=DefaultPartition
  | /depends
  | 
  | !-- Use the standard JRMPInvoker from conf/jboss-service.xml
  | --
  | depends optional-attribute-name=InvokerName
  | jboss:service=invoker,type=jrmpha
  | /depends
  | 
  | !-- The load balancing policy
  | --
  | attribute name=LoadBalancePolicy
  | org.jboss.ha.framework.interfaces.RoundRobin
  | /attribute
  | 
  | !-- The target: This is a wrapper
  | --
  | depends optional-attribute-name=TargetName
  | com.panacya.prototype:service=CounterService
  | /depends
  | 
  | !-- Where to bind the proxy
  | --
  | attribute name=JndiName
  | panacya/CounterService
  | /attribute
  | 
  | !-- The interface exposed to the client
  | --
  | attribute name=ExportedInterface
  | com.panacya.prototype.ha.service.CounterServiceOperations
  | /attribute
  | 
  | !-- Client side behaviour
  | --
  | attribute name=ClientInterceptors
  | interceptors
  | interceptor
  | org.jboss.proxy.ClientMethodInterceptor
  | /interceptor
  | interceptor
  | org.jboss.invocation.InvokerInterceptor
  | /interceptor
  | /interceptors
  | /attribute
  | 
  | /mbean
  | 
  | !-- HA counter service
  | --
  | mbean code=com.panacya.prototype.ha.service.CounterService
  | name=com.panacya.prototype:service=CounterService
  | depends
  | jboss:service=ScheduleManager
  | /depends
  | !-- The interface exposed to the client
  | --
  | attribute name=ExportedInterface
  | com.panacya.prototype.ha.service.CounterServiceOperations
  | /attribute
  | 
  | attribute name=PartitionName
  | DefaultPartition
  | /attribute
  | /mbean
  | 
  | /server
  | 

When the sar file is deployed to node 'A' into the /farm directory the sar is detected 
and loaded locally and as documented it is farmed out to the other node in the cluster 
- node 'B'.

The deployment completes I inspect the DRM mbeans on nodes 'A' and 'B' via the 
jmx-console using #listContents. 

On node 'A' only the locally available instance of (my) service is listed. On node 'B' 
the local instance and the remote (i.e. node 'A') are listed. 

I would have expected the lists to have looked the same. Additionally the other 
entries in the list look good to me in that they are listed as present on both nodes 
i.e. the HASingletonDeployer, HAJNDI and the 'DCacheBridge'.

Is this the expected behavior ?

Hope someone can put me on the right track.
Thanks!



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835717#3835717

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835717


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - diffrence between local-tx-datasource xa-datasource

2004-05-20 Thread zhangj
I'm reading the Jboss document,I'm no quite understand the diffrence of 
local-tx-datasource and xa-datasource,I'm not sure when should use which

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835718#3835718

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835718


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: servlet 2.3 web container first class loading in JBoss 3

2004-05-20 Thread pjaromin
The JNDI issue is *not* reproducable under JBoss 3.2.4RC2. I will wait the couple 
weeks for 3.2.4 Final to continue my migration. Thanks!

I've just updated the bug request (#952672) 
http://sourceforge.net/tracker/index.php?func=detailaid=952672group_id=22866atid=376685.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835722#3835722

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835722


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JBoss JMS under disk mirroring

2004-05-20 Thread javastu
We have a situation where JBoss is stored under a read-only disk except for 
jboss-3.2.3/server/default/.  That directory is symbolically linked to a default/ 
directory on a read-write disk.  This read-write disk has a failover setup.

We experienced a situation where the read-write disk space for 
jboss-3.2.3/server/default/ failed over to a redundant disk space.  It took around 2 
minutes for the failover to complete.

When the failover was completed, the following two exceptions were seen in the 
server.log over and over again:

2004-05-19 22:15:36,018 ERROR [org.jboss.mq.il.uil2.SocketManager] Failed to handle: 
org.jboss.mq.il.uil2.msgs.AddMsg17556937[msgType: m_addMessage, msgID: 116257, error: 
null]
java.io.IOException: Client is not connected
at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:225)
at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:208)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:87)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:355)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
at java.lang.Thread.run(Thread.java:536)
2004-05-19 22:15:37,020 WARN  [org.jboss.mq.il.uil2.SocketManager] Failed to send 
error reply
java.io.IOException: Client is not connected
at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:225)
at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:33)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:363)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
at java.lang.Thread.run(Thread.java:536)

We suspect that JBoss cannot recover from the disk failover.  Once the access to the 
entire default/ directory was lost, the entire JBoss process seems to have become 
unstable.

Can someone confirm whether our analysis is correct?

Do you have any recommendations for JBoss recovery in case of disk failover?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835723#3835723

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835723


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Possibility of running JBoss on a single port?

2004-05-20 Thread belberg
I am exploring options for running one of our J2EE applications behind a firewall with 
a minimal number of ports open outside the firewall. Before spending anymore time on 
any approach, I just want to make sure that it is even possible. My configuration is: 
Jboss 3.2.3 running on Linux.

1) Is it possible to configure JBoss to run an application (simple HTTP using 
Tomcat/Coyote) with only a single port open?

2) Is it possible to add remote EJB access on the same port? I have run the JNDI over 
HTTP successfully, and know that RMI needs to be addressed, but the (pay for) 
documentation is not clear. Best I can figure is to use RMIAdaptor or JMX MBean 
Server??

Thank you in advance for any help,

Bart

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835725#3835725

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835725


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: curious SQL-Statements when loading related data

2004-05-20 Thread lafr
I think I don't play with  eager and lazy loading.
I also have seen it working some time ago. Current I use JBoss 3.2.4RC2.
Deployment descriptors are generated by XDoclet 1.2.1 and are accessible at 
http://www.lafr.de/ejb-jar.xml
and
 http://www.lafr.de/jbosscmp-jdbc.xml.
The EB Afsta ist called from SLSB CustomerOrder.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835724#3835724

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835724


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss JMS under disk mirroring

2004-05-20 Thread [EMAIL PROTECTED]
This messages says JBoss failed to handle a request, but in the mean time
the client disconnected so it couldn't send the failure to the client.

FYI: in 3.2.4 these messages are DEBUG not ERROR

I don't know how your failover works, but UIL2 is configured to disconnect
clients that don't communicate for 70 seconds. I changed this to 120 seconds
in 3.2.4 to avoid false disconnections due to pings getting delayed because of paging
or other intensive work starving the jms threads of cpu.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835727#3835727

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835727


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: diffrence between local-tx-datasource xa-datasource

2004-05-20 Thread [EMAIL PROTECTED]
XA if your db supports it and you are doing work with more than one transactional
resource.

If you are only doing jdbc (i.e. no jms or other transactional resource) you only need 
local.

Search the internet for XA, two phase commit, etc.
or read the J2ee Connector spec.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835728#3835728

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835728


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - How to clear HAJNDI's HARMI stub being cached in NamingConte

2004-05-20 Thread budworth
Hi all,

We currently have a somewhat major issue with JBoss clusters and NamingContexts.

Currently, if a client connects to HAJNDI and the server(s) are restarted in between 
client requests, the client handle gets invalidated.

as in:
1) Client A creates an initialcontext for DefaultPartition
2) Server B answers back, handing him the HARMI stub
3) Client A waits for user input
4) Server B gets stopped and restarted (the JVM)
5) Client A attempts to do JNDI lookup

At this point, the HARMI stub is invalid as it only knows of a connection to the 
previous RMI server.

Looking at NamingContext, it retains a weak reference cache that holds all server 
stubs.  Which basically means that if I create another InitialContext, it still does 
not function since it uses the Naming object (rmi stub) from cache.  and that one is 
invalid.

There is IOException handling that seems to purge the cache of that server entry.  But 
that seems to not be functioning properly.

If you wait long enough, the weak ref will get purged and you can then create a new 
InitialContext and all works normally.

That delay is about a minute or so, so doesn't exactly work for us (our servers handle 
several hundred requests per second)

Anyone have an idea on how to get around this?

My solution is to make a dynamic proxy for NamingContext in org.jnp.interfaces, that 
blows away the entire cache every time a CommunicationsException is received.  (my 
proxy is in that package so i can access the package protected static cache)

This works, but I was hoping Was hoping there was a more normal way.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835733#3835733

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835733


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.4 - Problems through new jdom library / jaxen

2004-05-20 Thread [EMAIL PROTECTED]
Post an example application that reproduces the problem as a bug at
www.sf.net/projects/jboss

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835739#3835739

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835739


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - XMBean Notifications Not Visible in JMX Management App. Why?

2004-05-20 Thread jmboone
Hi,

I wrote a XMBean and defined notifications consistent with the jboss_xmbean_1_0.dtd 
exactly as shown in Chapter 2 of the JBoss Development and Administration book.  
Everything deploys fine, but for the life of me, I cannot see the bean's notification 
events in MC4J!! 

I compiled and deployed the chap2-ex1mbean1.sar file that is generated from the sample 
code from the book and deployed it with no problems as well.  When I went to my 
managment console to see what notifications were present for the 
chap2.xmbean:service=JNDIMap, none were shown!  This tells me that the example code 
must be missing something.  How can I coax JBoss into exposing my notifications??  
Thanks in advance for your help.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835736#3835736

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835736


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss 3.2.4 - Problems through new jdom library / jaxen

2004-05-20 Thread skulawik
Hello JBoss Development Team,

Im using JBoss 3.2.3 in production and just tried to use JBoss 3.2.4 in testing 
szenario. In my application Jaxen is been heavily used, and all this is no more 
working because JBoss 3.2.4 contains JDom already  with an uncomplete Jaxen 
distribution.
Is there any chance that the JBoss Team will remove the JDom library or a complete 
Jaxen library instead of the small distribution set from JDom?
Is there any other way to override classloader in standard-way for getting this things 
working?

Thank you and kind regards,

Sascha-Matthias Kulawik

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835738#3835738

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835738


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Possibility of running JBoss on a single port?

2004-05-20 Thread [EMAIL PROTECTED]
You can access most things over http (jndi/ejb/jms/jmx). See the admin docs for 
details.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835740#3835740

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835740


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4.0.0DR4: jaxrpc.jar and saaj.jar missing

2004-05-20 Thread [EMAIL PROTECTED]
The classes are in jboss-j2ee.jar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835741#3835741

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835741


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss 4.0.0DR4: Jasper does not find javac Compiler

2004-05-20 Thread [EMAIL PROTECTED]
Report it as a bug at www.sf.net/projects/jboss

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835742#3835742

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835742


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Loose Deployment Descriptor Checking

2004-05-20 Thread [EMAIL PROTECTED]
Enable DTD validation on the EJB deployer in conf/jboss-service.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835735#3835735

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835735


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: 3.2.3 IllegalAccessError on private inner class

2004-05-20 Thread [EMAIL PROTECTED]
You are trying to load it from a different classloader.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835737#3835737

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835737


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Run app-client.jar from command line without ANT

2004-05-20 Thread tpearsall
It looks like the interfaces are not included in your app-client.jar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835734#3835734

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835734


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Hibernate stops working when app is redeployed

2004-05-20 Thread [EMAIL PROTECTED]
I saw a similar problem with cglib hanging onto old classes.
Is cglib in your application or server/default/lib?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835743#3835743

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835743


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Remote ear Deployment

2004-05-20 Thread [EMAIL PROTECTED]
http://localhost:8080/jmx-console
MainDeployer
deploy(URL)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835744#3835744

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835744


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Session Problems with jboss-3.2.3

2004-05-20 Thread jdenny
We are using jboss-3.2.3 to deploy our software. We are using stateful and stateless 
session bean, CMP and BMP beans in our software. The ear file could be deployed 
successfully and run. Our problem is that when the use access stateful session bean, 
the server swap some data between different sessions. This occurs after the system 
have running for a while. We moved our software to jboss-3.0.8_tomcat-4.1.24 and 
running without any problem. We want to know if we should configure the session in the 
jboss-3.2.3 to manage the session better. Please help and thanks in advance. 
 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835745#3835745

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835745


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >