[JBoss-user] [Beginners Corner] - Please help with ZEN of Jboss for dedicated newbie/student

2004-12-17 Thread wiley173
Hello sir/madam,

I'm getting there with my default install of jboss 3.2.6 . So far my posts have 
gone unasnwered and this has actually helped me figure out for myself the 
problems therefore making me stronger in knowledge but I cannot seem to figure 
one thing now and have hit a brick wall.

I've secured the jmx-console, web-console and have disabled the hypersonic 
database, although it looks like it was already somewhat disabled ( I changed 
the default login, password )

I've been using tomcat for years as a "program" developer for years, never as a 
system admin or linux user. I've finally decided to flush my MS down the toilet 
anyway, I cannot seem to figure out how to on /mysite:8080 how to disable the 
tomcat status link. I feel this would be a security issue? Am I wrong? I 
noticed lots of tutorials on securing the jmx-console and web-console which I 
have done but the tomcat status is worrying me and I would really appreciate 
someone to help me secure this area.

Thank you
-B Wiley







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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Naming issue

2004-12-17 Thread daryoush
I have deployed the following session bean (Jboss 4.0):

ejb-jar.xml
...
... 

ConcurroSession 


<\home>   com.concurro.hcs.access.security.ConcurroSessionHome /home>

<\remote> com.concurro.hcs.access.security.ConcurroSession /remote>


 com.concurro.hcs.access.security.ConcurroSessionBean
Stateful
Container


Here is message from the deployer:
16:05:10,984 INFO  [EjbModule] Deploying ConcurroSession

It seems the bean was deployed without any issue.
When I try to do an object lookup for "ConcurroSessionHome" the following 
exception is thrown:  "NameNotFoundException" the detail message is: 
com.concurro.hcs.access.security.ConcurroSessionHome not bound".

Here is a snippet of code used to do the lookup:

Context ctx = new InitialContext();
Object ref = ctx.lookup("java:comp/env/" +homeClass.getName());
EJBHome anEJBHome = (EJBHome) javax.rmi.PortableRemoteObject.narrow ( ref, 
homeClass);


Any help is appreciated.





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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - JBoss 4 and JbossWS - Xdoclet tags

2004-12-17 Thread joshua_hj
Dear community,

I have a SessionBean that i have implemented as a WebService 1.1 compliant, 
using the new wsee xdoclet tags in the new JBoss 4. I also have another class ( 
Calculadora) in my project that i use in the SessionBean, so that classe needs 
to be serialized, because the sessionBean returns an object of the class's type 
(see below).

public abstract class TestSessionBean implements TestSessionEndpoint, 
SessionBean {


/**
 * @ejb.interface-method
 *  view-type="service-endpoint" 
 **/

public Calculadora Calc (int x, int y){

Calculadora tmp = new Calculadora();
tmp.setX(x);
tmp.setY(y);
tmp.multiplicacao();

return tmp ;

 // and continues
}

I need to know what tags do i need to use(using JBoss 4.0.0), so that xdoclet 
knows that class Calculadora, needs to be serialized and i could use then the 
code above, to return an object in the Calc method. As it is now, compiles OK 
but it doesnÂt deploy, JBoss 4 complains that it doesnÂt know 
Calculadora.class

Thanks Herlander

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread jcstaff
This looks to be more of what you were after. This is the result of the session 
EJB throwing EJBException after publishing the JMS message. ...

thanks for taking a look at it.


  | 2004-12-17 17:21:01,465 TRACE 
[org.jboss.resource.connectionmanager.CachedConnectionManager] popped object: 
org.jboss.resource.connectionmanager.CachedConnectionManager$KeyConnecti
  | [EMAIL PROTECTED]
  | 2004-12-17 17:21:01,465 TRACE [org.jboss.tm.TransactionImpl] 
setRollbackOnly(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=BLITZ/22, BranchQual=, localId=22] status
  | =STATUS_ACTIVE
  | 2004-12-17 17:21:01,465 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
TxInterceptorCMT: In finally
  | 2004-12-17 17:21:01,465 TRACE [org.jboss.tm.TransactionImpl] rollback(): 
Entered, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=BLITZ/22, 
BranchQual=, localId=22] status=STATUS
  | _MARKED_ROLLBACK
  | 2004-12-17 17:21:01,465 TRACE [org.jboss.tm.TxManager] suspended tx: 
TransactionImpl:XidImpl[FormatId=257, GlobalId=BLITZ/22, BranchQual=, 
localId=22]
  | 2004-12-17 17:21:01,465 TRACE [org.jboss.tm.TxManager] tx timeout is now: 
300s
  | 2004-12-17 17:21:01,465 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
EJBException in method: public abstract void 
corej2ee.examples.jta.ejb.PublisherRemote.publishThrow(java.lang.S
  | tring) throws java.rmi.RemoteException:
  | javax.ejb.EJBException: error:javax.ejb.EJBException: trying to rollback 
transaction
  | at 
corej2ee.examples.jta.ejb.PublisherEJB.publishThrow(PublisherEJB.java:70)
  | 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Failed to aspectize class

2004-12-17 Thread felipe.leite
Hi all,

I am using JBossCache as hibernate's 2nd level cache for my application. 
Actually I am trying to use TreeCacheAOP, but without success.

I am using the JBossAOP class loader 
(-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader) to make 
the AOP magic, but the application fails while trying to aspectize some classes 
that I thought would not be touched.

The error message is: 
[error] Failed to aspectize class 
oracle.sql.converter.CharacterConverterFactoryOGS.  Could not find class it 
references oracle.i18n.text.converter.CharacterConverterOGS.. Do verbose mode 
if you want full stack trace.
java.lang.Error: Error transforming the class 
oracle.sql.converter.CharacterConverterFactoryOGS: 
org.jboss.aop.instrument.TransformationException: Failed to aspectize class 
oracle.sql.converter.CharacterConverterFactoryOGS.  Could not find class it 
references oracle.i18n.text.converter.CharacterConverterOGS
at 
org.jboss.aop.standalone.SystemClassLoader.loadClass(SystemClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at 
net.sf.hibernate.connection.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:64)

Now I don't know what to do. I would like a lot to use TreeCacheAOP, because it 
seems to be significantly faster than TreeCache for my cluster enviroment.

I don't know if it is possible, but can I make jboss-aop only play with the 
classes whose instances will be cached, or it has to aspectize every class that 
the classloader loads? Sorry if this is a silly question, but I am a begginer 
with either JBossCache, JBossAOP and AOP in general and I couldn't find much 
help in the documentation.

I'm not running JBoss server, but i think that all needed jars are in the JARs 
in classpath:

hibernate2.jar
jboss-cache.jar
jboss-common.jar
jboss-jmx.jar
jboss-system.jar
concurrent.jar
jboss-remoting.jar
log4j.jar
jboss-minimal.jar
jboss-aop.jar
javassist.jar
trove.jar

All these jars came with hibernate 2.1.6 or with jboss-cache 1.2.

Thanks in advance,
Felipe Leite

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread [EMAIL PROTECTED]
TRACE is what is required. See the examples in READ THIS FIRST.
Also make sure you are not filtering the level on the appender.

I won't need your DEBUG logging.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - NoInitialContext while running Client_41a of Workbook 2

2004-12-17 Thread opapo
I am using:

JBoss AS 4.0
Eclipse 3.0
Ant 1.6.2

I went through workbook 2 at the end of the book.  I tried to use the command 
ant run.client_41a and it compiled and deployed the EJB files.  I used ant asdf 
and it did the same thing.  I used ant no difference.

I decided to use Eclipse to create the files and debug them.  My problem now is 
that I try to run the Client_1.java file and I get a 
javax.naming.NoInitialContextException when I try to run it.

Here is my code:

  | package com.titan.clients;
  | 
  | import com.titan.interfaces.*;
  | 
  | import javax.ejb.CreateException;
  | import javax.ejb.FinderException;
  | import javax.naming.InitialContext;
  | import javax.naming.Context;
  | import javax.naming.NamingException;
  | import javax.rmi.PortableRemoteObject;
  | import java.rmi.RemoteException;
  | 
  | public class Client_1 
  | {
  |public static void main(String [] args) 
  |{
  |   try 
  |   {
  |  Context jndiContext = getInitialContext();
  |  Object ref = jndiContext.lookup("java:comp/env/ejb/Cabin");
  |  CabinHome home = (CabinHome)
  | PortableRemoteObject.narrow(ref,CabinHome.class);   
  |  Cabin cabin_1 = home.create(new Integer(1));
  |  cabin_1.setName("Master Suite");
  |  cabin_1.setDeckLevel(1);
  |  cabin_1.setShipId(1);
  |  cabin_1.setBedCount(3);
  |  
  |  Integer pk = new Integer(1);
  | 
  |  Cabin cabin_2 = home.findByPrimaryKey(pk);
  |  System.out.println(cabin_2.getName());
  |  System.out.println(cabin_2.getDeckLevel());
  |  System.out.println(cabin_2.getShipId());
  |  System.out.println(cabin_2.getBedCount());
  | 
  |   }  
  |   catch (RemoteException re){re.printStackTrace();}
  |   catch (NamingException ne){ne.printStackTrace();}
  |   catch (CreateException ce){ce.printStackTrace();}
  |   catch (FinderException fe){fe.printStackTrace();}
  |}
  | 
  |public static Context getInitialContext() 
  |   throws javax.naming.NamingException 
  |{
  |   return new InitialContext();
  |   // context initialized by jndi.properties file
  |   /*Properties p = new Properties();
  | p.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.naming.NamingContextFactory"); 
  | p.put(Context.URL_PKG_PREFIXES, 
"jboss.naming:org.jnp.interfaces");
  | p.put(Context.PROVIDER_URL, "localhost:1099");
  | return new InitialContext(p);
  |   */
  |   
  |}
  | }
  | 
  | 

I try to run this file as an application and can not get this to work.  What is 
wrong

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - (problem) WARNING: cannot instantiate string resolver method

2004-12-17 Thread repkin
I have winxp, j2sdk1.4.2_05 and I have downloaded setupwin32.exe. when I try to 
setup after little time late this warning coming

WARNING: cannot instantiate string resolver method 
com.instalshield.database.iSSqlexception: Table already exists : EVENT in 
statement bla bla bla.

I cant understand what is the problem, can anyone help me? if you want I can 
send print screen.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread jcstaff
I want to make sure I'm doing what you intend to get you the information you've 
requested.

* "show trace logging". I'm assuming that means go into conf/log4j.xml and add 
the following lines:

  | 
  |
  | 
  | 
  |
  | 
  | 
  |
  | 
  | 

I also tried TRACE (versus DEBUG above), but the server.log seemed to contain 
no mention of the above classes. Can you provide some specifics to get what you 
need and I'll gladly track them down.

thanks,
jim


  | 2004-12-17 16:03:19,993 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] >>> 
publishThrow
  | 2004-12-17 16:03:19,993 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] 
session getTransacted=false
  | 2004-12-17 16:03:19,993 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] tx 
rollbackOnly=false
  | 2004-12-17 16:03:20,003 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] 
publishing message:three
  | 2004-12-17 16:03:20,003 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] 
message published:three
  | 2004-12-17 16:03:20,003 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] tx 
rollbackOnly=false
  | 2004-12-17 16:03:20,013 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] 
throwing EJBException
  | 2004-12-17 16:03:20,013 DEBUG [corej2ee.examples.jta.ejb.PublisherEJB] tx 
rollbackOnly=false
  | 2004-12-17 16:03:20,013 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
EJBException in method: public abstract void 
corej2ee.examples.jta.ejb.PublisherRemote.publishThrow(java.lang.S
  | tring) throws java.rmi.RemoteException:
  | javax.ejb.EJBException: error:javax.ejb.EJBException: trying to rollback 
transaction
  | at 
corej2ee.examples.jta.ejb.PublisherEJB.publishThrow(PublisherEJB.java:70)
  | ...
  | org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:279)
  | at java.lang.Thread.run(Thread.java:534)
  | 2004-12-17 16:03:20,343 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
ReadTask.run
  | 2004-12-17 16:03:20,343 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run
  | 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - CMP transaction

2004-12-17 Thread ChatBuilder
Hi,

I'm using CMP entity beans.

In my ejb-jar.xml I use:


  |  
  | 
  | 
  | Initiaal
  | * 
  | 
  | Required 
  |  
  |  
  | 

in my bean I have the following code

  | 
  | 
  | public void update(.) throws RemoteException, ActionException{
  |if(lockindicator != getLockindicator()) throw new 
ActionException("data.changed.by.other.user");
  |setLockindicator(lockindicator +1);
  |setData(.);
  | 
  | }
  | 
  | public void setData(...) throws ActionException{
  | 
  |  if("".equals(name)) throw new ActionException("name.requered");
  |  this.setName(...);
  |  this.setDate(...);
  | 
  | }
  | 

when I update a record from my servlet I use the update method, with some 
parameters.  When my name is empty I receive an exception.  But the problem is 
that my lockindicator isn't rolled back.  He increased with 1.


My question is if the transaction works only for one method.  Or is the 
transaction "multi-method".

Thx in adv.
Pieter


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: LGPL and Sun's activation.jar ???

2004-12-17 Thread [EMAIL PROTECTED]
Sun's binaries are distributed under their terms. This has nothing to do with 
LGPL and its use as the license for the jboss codebase. The apache license 
applies to the bundled apache binaries. The dom4j license applies to the dom4j 
binaries. Etc, etc.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Need hostname and port number and context path at startup

2004-12-17 Thread treespace
I want to load one of my own URLs at startup time and would like to build the 
URL dynamically. For example: https://foo:8080/bar/baz.xml

I can genrate that URL easily using these request methods and a little glue:

request.getScheme() 
request.getServerName()
request.getServerPort()
request.getContextPath()

Where can I get these values if I do not have an HttpRequest object?  Not even 
the ServletConfig or ServletContext have this information. If they did then I 
could grab this stuff from the init() method of a load-on-startup servlet. I do 
not want to declare these values in web.xml init-params for each deployment. 

Ideas?




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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - LGPL and Sun's activation.jar ???

2004-12-17 Thread khookguy
I'm sure this question is answered somewhere, but after many Google searches, I 
can't find a definitive answer.

JBoss 4.0.0 includes a small number of files (e.g., activation.jar is Sun's 
implementation of the Java Activation Framework) that are not distributable 
under the LGPL.  Sun distributes activation.jar with the license that I cut and 
pasted into the bottom of this post.  In particular, in the second part of the 
Sun license (the Optional Package part), 2. License to Distribute Software - 
this seems incompatible with the LGPL.

Am I missing something here?  Can anybody clarify?

Thanks,

Mark


=== copy of Sun license 


 Sun Microsystems, Inc.
 Binary Code License Agreement

   READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED
   SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY
   "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
   MEDIA PACKAGE.  BY OPENING THE SOFTWARE MEDIA
   PACKAGE, YOU AGREE TO THE TERMS OF THIS
   AGREEMENT.  IF YOU ARE ACCESSING THE SOFTWARE
   ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE
   TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END
   OF THIS AGREEMENT.  IF YOU DO NOT AGREE TO ALL
   THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE
   TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF THE
   SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE
   "DECLINE" BUTTON AT THE END OF THIS AGREEMENT.

   1.  LICENSE TO USE.  Sun grants you a
   non-exclusive and non-transferable license for the
   internal use only of the accompanying software and
   documentation and any error corrections provided
   by Sun (collectively "Software"), by the number of
   users and the class of computer hardware for which
   the corresponding fee has been paid.

   2.  RESTRICTIONS.  Software is confidential and
   copyrighted. Title to Software and all associated
   intellectual property rights is retained by Sun
   and/or its licensors.  Except as specifically
   authorized in any Supplemental License Terms, you
   may not make copies of Software, other than a
   single copy of Software for archival purposes.
   Unless enforcement is prohibited by applicable
   law, you may not modify, decompile, or reverse
   engineer Software.  You acknowledge that Software
   is not designed, licensed or intended for use in
   the design, construction, operation or maintenance
   of any nuclear facility.  Sun disclaims any
   express or implied warranty of fitness for such
   uses.  No right, title or interest in or to any
   trademark, service mark, logo or trade name of Sun
   or its licensors is granted under this Agreement.

   3. LIMITED WARRANTY.  Sun warrants to you that for
   a period of ninety (90) days from the date of
   purchase, as evidenced by a copy of the receipt,
   the media on which Software is furnished (if any)
   will be free of defects in materials and
   workmanship under normal use.  Except for the
   foregoing, Software is provided "AS IS".  Your
   exclusive remedy and Sun's entire liability under
   this limited warranty will be at Sun's option to
   replace Software media or refund the fee paid for
   Software.

   4.  DISCLAIMER OF WARRANTY.  UNLESS SPECIFIED IN
   THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
   REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
   IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
   PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE
   DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE
   DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

   5.  LIMITATION OF LIABILITY.  TO THE EXTENT NOT
   PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS
   LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT
   OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL,
   INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED
   REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
   OF OR RELATED TO THE USE OF OR INABILITY TO USE
   SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGES.  In no event will
   Sun's liability to you, whether in contract, tort
   (including negligence), or otherwise, exceed the
   amount paid by you for Software under this
   Agreement.  The foregoing limitations will apply
   even if the above stated warranty fails of its
   essential purpose.

   6.  Termination.  This Agreement is effective
   until terminated.  You may terminate this
   Agreement at any time by destroying all copies of
   Software.  This Agreement will terminate
   immediately without notice from Sun if you fail to
   comply with any provision of this Agreement.  Upon
   Termination, you must destroy all copies of
   Software.

   7. Export Regulations. All Software and technical
   data delivered under this Agreement are subject to
   US export control laws and may be subject to
   export or import regulations in other countries.
   You agree to comply strictly with all such laws
   and regulations and acknowledge that you have the
   responsibility to obtain such licenses to export,
   re-export, or import as may be r

[JBoss-user] [Security & JAAS/JBoss] - Re: Mbean (Service) Calling Secure EJB and SecurityAssociati

2004-12-17 Thread twalsh2
Thank you for the very quick response.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Using hypersonic for PKGen when it should be using Postgres

2004-12-17 Thread richardbair
Hey all,

I'm having a problem, I assume with configuration, where I have set up JBoss to 
work with PostgreSQL for my app, and in every way it (apparently) works 
perfectly except when calling ejbCreate. When ejbCreate is called, I get the 
following stack trace:

11:06:28,553 INFO  [STDOUT] Error in PKGen.getNextKeyValue (): Table not found: 
ADDRESSEJB in statement [SELECT MAX(ID) FROM AddressEJB]
11:06:28,554 INFO  [STDOUT] java.sql.SQLException: Table not found: ADDRESSEJB 
in statement [SELECT MAX(ID) FROM AddressEJB]
11:06:28,556 INFO  [STDOUT] at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown 
Source)
11:06:28,557 INFO  [STDOUT] at 
org.hsqldb.jdbc.jdbcPreparedStatement.(Unknown Source)
11:06:28,557 INFO  [STDOUT] at 
org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
11:06:28,557 INFO  [STDOUT] at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:374)
11:06:28,557 INFO  [STDOUT] at 
org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:217)
11:06:28,557 INFO  [STDOUT] at 
com.sun.j2ee.blueprints.pkgen.PKGen.getNextKeyValue(PKGen.java:67)11:06:28,558 
INFO  [STDOUT] at 
com.sun.j2ee.blueprints.address.ejb.AddressEJB.ejbCreate(AddressEJB.java:111)
...

Earlier the container did create this table (I can query it and everything from 
psql), but when it comes to the key generation, it dies.

Any ideas?

Thanks
Richard

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Mbean (Service) Calling Secure EJB and SecurityAssociati

2004-12-17 Thread [EMAIL PROTECTED]
Direct use of the SecurityAssociation has no guarentee of future compatibility 
since its an implementation detail. Doing a JAAS login is the only publicly 
supported way of establishing the security context. Subject.doAs is something 
we will look at supporting in the future.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Mbean (Service) Calling Secure EJB and SecurityAssociation.p

2004-12-17 Thread twalsh2
I have an MBean (Service) which needs to interact with a secure EJB via its 
local interface.  

I've read various posts in the forums and it seems as if one approach is to 
construct a LoginContext and login() using a configured username/password.  I'm 
hesitant to do this as it requires that the username and password be stored 
somewhere (in code, a config file, the mbean config XML, etc.) which could be 
compromised.

What I really would like is something akin to the  element in the 
deployment descriptor for MDBs.  Looking through the codebase, it seems that 
run-as is implemented via a call to SecurityAssociation.pushRunAsRole.

As a test, I had the Mbean call SecurityAssociation.pushRunAsRole (and 
SecurityAssociation.popRunAsRole) around the call to the secure EJB, specifying 
a SimplePrincipal with the correct role name.  This seems to work as the 
SecurityInterceptor sees the call from the Mbean as being in the proper role 
and allows the call to proceed.

Anyone have an opinion as to whether this is a safe approach?  Any drawbacks to 
it?  Is SecurityAssociation.pushRunAsRole likely to change (or disappear) in a 
future version of JBoss.  Is there any other way to mark a MBean with a role?

Thanks for any help.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Intercepting queue length

2004-12-17 Thread [EMAIL PROTECTED]
The WIKI contains a basic overview of the architecture.

We don't do hand holding here.

When you've made an effort to figure out it for yourself, come back and
ask detailed technical questions.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread [EMAIL PROTECTED]
If you are interested in helping the community there is an outstanding
task to improve this whole area.

See the following link and the related forum post:
http://jira.jboss.com/jira/browse/JBMQ-10

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2004-12-17 Thread janoss
mrchucho,
I'd appreciate any write up that you come up with. I can guarantee you several 
others will be interested in the same solution. 

I will start reading up on SysAuth.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread [EMAIL PROTECTED]
It is you who miss the point.

Asking people to look at dead code (3.2.3 is over a year old)
is not only a waste of their time it has an opportunity cost
(something that is not fixed in the lastest version doesn't get fixed).

On the politeness issue we will have to agree to differ.

These are the open source forums,  you get what you pay for.
Actually you get more than you pay for, since you pay nothing.
If you want a professional service, you can always buy a support contract.

If you come here with time wasting questions, you can expect to be
told where to go.

Like I've said many times before, I consider it infinitely more rude
when people don't make even the basic effort (like test the latest version)
before posting questions or claiming they've found a bug.
Instead they expect some benevolent open source "community" to do their
work for them and get a shock when it doesn't quite work out that way.

Regards,
Adrian

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Intercepting queue length

2004-12-17 Thread jplsaez22
Ok.

Should it be possible to set a destination, call it "queue depth under 
threshold" where the monitored destination could send a JMS message telling the 
queue depth limit has been reached?

Could you please tell me some hints about where I should change the code?

Thank you very much.

JP

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread Thoennes
Dear Adrian,

Adrian wrote : 
  | I am Director of Support for Customers, i.e. those people who pay me to 
work on their problems. They have paid for me to spend time on their problem no 
matter how trivial or which version of JBoss.
  | 

Agreed. I also get paid by customers to do their work. Its completely OK for 
you to say "Sorry, I have no time to look at this in more detail."

BUT: Being paid by customer does not give you the right to be rude to all the 
others who do not pay you.

Adrian wrote : 
  | If you come along expecting me to do *your work* or ask about old versions 
that are of little interest to the open source project you will be lucky if you 
are just ignored rather than being the victim of a LART (looser attitude 
readjustment tool).
  | 

Again you missed the point. I was talking about politeness, not about doing 
someone elses work. I really start wondering how this fits with JBoss' 
"Remember we love you" slogan. At least this style is not very professional.

Adrian wrote : 
  | The answer to your question is that there are as many threads as there are 
MessageConsumers(QueueReceivers/TopicSubscribers) with a MessageListener 
(assuming you have invoked connection.start() on the relevent connections).
  | 

Thanks, I will give this some more thoughts and possibly come back to the forum 
if I found any issue.

JÃrg


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Can I configure a global jndi environment entry in JBoss

2004-12-17 Thread mwomack
If I can't set up a JNDI value available to all the web apps, can I somehow 
setup context-param overrides for each individual web application?

What I am really trying to acheive is the setting of some context-param values 
in the container so that the deployer does not need to go into the web.xml and 
make changes there.

-Mark

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - NameNotFoundException in EJB

2004-12-17 Thread narayanrm
I have deploying the rar inside an ear file(Jboss4.0.0) it did deploy by 
placing the -ds.xml in the deploy directory. But while looking up the rar from 
session bean it gave NameNotFoundException

the -ds.xml is as follows:


  |   
  | 
  | 
  |   
  |   
  |   
  |   jcdFiletoFile1_File2
  | 
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF
  | 
  | 
FiletoFile_PROJECTDeployment1.ear#jcdFiletoFile1_File2.rar
  |
javax.resource.cci.ConnectionFactory
  |  

  | 
  | 
  | 
  | 
  | 



The same ear file contains the jar file, with a session bean which uses this 
rar.

after deploying the messge shown by the Application server is like:


20:43:34,969 INFO [ConnectionFactoryBindingService] Bound connection factory 
for resource adapter for ConnectionManager 
'jboss.jca:name=FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF,
service=ConnectionFactoryBinding to JNDI name 
'java:FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF'

but while looking up the session bean did not lookup the rar it has given the 
name not found exception

The jboss.xml file which is referring to this rar is :


  | 
  | 
  | 
  | jcdFiletoFile1_File2
  |
ejb/local/stc/FiletoFile_PROJECTDeployment1/deployedServices/jcdFiletoFile1_File2
  | 
  |   
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2ConnectionFactory
  |   
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF
  | 
  |   
  | 
  | 
  | 
  | 


javax.naming.NamingException: Could not dereference object [ Root exception is 
javax.naming.NameNotFoundException: 
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF not bound ]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:971)
at 



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSTL libraries in a common directory

2004-12-17 Thread [EMAIL PROTECTED]
Sure, you can put them elsewhere, but then you need to copy the tld files out 
and into your WEB-INF directory.  I think I'd rather just have the full JARs 
myself.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problems with durable topic in jboss-3.2.3

2004-12-17 Thread pizzandre
Adrian,

This was a very strange error. 

I did a lot of things and I don't know why but I've  fix the problem, so I 
won't be able to send the error message anymore.

Anyway we have a very complex build envy and maybe you've got the point. For an 
unknown reason the bean wasn't deployed ok or the service (corretc jndi and 
suport stuff) wasn't fine. 

Although Loggin said that the bean was deployed
next time I'll check te jmx-console to see if the service was ok.

Thanks a lot.

Andrà Piza

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problems with durable topic in jboss-3.2.3

2004-12-17 Thread [EMAIL PROTECTED]
You could start with showing us that you know your ejb deployed
and then show us that the message is actually getting published
and the mdb is actually making the correct durable subscription.

The jmx console or logging is useful for that information.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Best practice for sharing a data structure through JNDI

2004-12-17 Thread fredatwork
Thanks for Scott for his answer.

I'm also wondering if JBoss Cache is something that I have to look into in 
order to implement a cache of POJOs (Plain Old Java Objects), that is a cache 
of objects to share among session beans ? 

I plan to run in a cluster. Is JNDI enough to store (in memory) a cache of 
POJOs or should I try to use JBoss Cache ?

Fred

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: can't get JMS to rollback send using JmsXA

2004-12-17 Thread [EMAIL PROTECTED]
Show the trace logging so we can see what is happening.
org.jboss.ejb.plugins.TxInterceptorCMT or
org.jboss.resource
org.jboss.tm
would also be useful so we can see the transaction demarcation


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Maximum Message Size

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: Ignored - asking for advice rather than technical information.
Due diligence on your part requires you to test it yourself.
See the message cache docs on the wiki for jms memory parameters.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS usage over WAN?

2004-12-17 Thread [EMAIL PROTECTED]
The free admin docs explain JNDI over HTTP and the wiki has information
on configuration of the HTTPConnectionFactory.

You'll also find this discussed in many other previous threads.

AND CAN YOU PLEASE STOP POSTING "ME TOO"
The posts are redundant and unhelpful to the original poster.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Intercepting queue length

2004-12-17 Thread [EMAIL PROTECTED]
The only mechanism to do this involves JBoss specifc mechanisms.
Either through the JMX management interface or by modifiying the JBossMQ code.

Monitoring the queue depth is not a part of the JMS spec.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread [EMAIL PROTECTED]
For the 10,000 time.

I am Director of Support for Customers, i.e. those people who pay me to work on 
their
problems. They have paid for me to spend time on their problem no matter how 
trivial
or which version of JBoss.

If you come along expecting me to do *your work* or ask about old versions that
are of little interest to the open source project you will be lucky if you are 
just ignored
rather than being the victim of a LART (looser attitude readjustment tool).

I am actually very interested in whether the problem still exists in 3.2.6
But I couldn't care less if it is already fixed.

Now go away and see if 3.2.6 solves your problem.

The answer to your question is that there are as many threads as there are
MessageConsumers(QueueReceivers/TopicSubscribers) with a MessageListener
(assuming you have invoked connection.start() on the relevent connections).

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Using SSL during registration...

2004-12-17 Thread PavelKrupets
In FORM target url was http://is:8080/santis_sit_web_internal/login I changed 
it to https://is:8443/santis_sit_web_internal/login. 

And now I get:

anonymous wrote : The connection was refused when attempting to contact is:8443.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JMS on JBoss

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: FAQ
java: namespace not available over "remote" jndi

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0/SQL Server Lock Condition

2004-12-17 Thread [EMAIL PROTECTED]
I don't see any reason why JMS persistence should cause a deadlock.

No part of the system should be trying to update the same data at the same time.
If it were, it would be a bug.

The most likely cause is that the stupid locking mechanism within MSSQL
is taking locks that are not row locks (e.g. full table or column locks).

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JasperReports and JBoss

2004-12-17 Thread luisms
Hello, 

I'm developing a web application with reports using JBoss. My reports are made 
with JasperReports, using iReport as GUI. It works fine if I don't use charts 
from JFreeChart(auto-generated by iReport), but when I use theese charts I get 
the following error:

org.apache.jasper.JasperException: Error evaluating expression : image_1
Source text : 
(java.awt.Image)it.businesslogic.ireport.chart.DefaultChartFactory.drawChart(new
 
String[]{"chartName=Pie","titlePosition=1","width=221","serie1=SERIE_id","plotBackground=[255,255,255]","serie0=SERIE_nombre","tooltips=false","chartBackground=[255,255,255]","subtitle=","title=","legend=false","quality=2","height=172","antialias=true"},
 (it.businesslogic.ireport.IReportScriptlet)$P{REPORT_SCRIPTLET})
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
(...)

The question is that if I run the same application in a Tomcat standalone 
server it works OK!!!

I think I have a mistake in my JBoss configuration, but I don't know what to 
do. 

Could anybody help me, please?

Thank you.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Best practice for sharing a data structure through JNDI

2004-12-17 Thread [EMAIL PROTECTED]
The java:comp context if by spec definition component local. You cannot bind 
into it and have that shared by other components. You need to bind into another 
context.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Using SSL during registration...

2004-12-17 Thread PavelKrupets
I found document http://jboss.org/wiki/Wiki.jsp?page=SSLSetup. There is a topic 
about certificate signing. Is it necessary to sign a certificate?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: client JAAS logout from two different j2ee applications

2004-12-17 Thread [EMAIL PROTECTED]
Every call has to establish its call context. If a single user thread is 
accessing apps with different security domains, then it has to login with the 
correct identity for each domain. 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread [EMAIL PROTECTED]
That syntax applies to both the home, local home, remote and local interfaces. 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: java.sql.SQLException: Io exception: Broken pipe

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: FAQ

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: RAR Looking up problem

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: FAQ

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Default Datasource

2004-12-17 Thread [EMAIL PROTECTED]
Moderated: Use the CMP forum

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Can I get info about containing object of some methodCall?

2004-12-17 Thread rezahay
Hello,
Suppose I have the following MethodCall expr:

..
someObj.someMethod
..

If I use:

curMethod.instrument(new ExprEditor() 
  public void edit(MethodCall m) throws CannotCompileException {
  ...

then I can get information about the methodCall "someMethod". For analysis 
purposes I will also get information about "someObj", that the method is a 
method of the object "someObj".  Is it possible to get such  information using 
ExprEditor? Or I should get in another way and how?

Thanks in advance

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: client JAAS logout from two different j2ee applications

2004-12-17 Thread catalean
Here is what i'm doing, maybe, hopefully i'm doing something wrong; in very 
short terms:
  - client login to one of the j2ee applications => ok (this is done when first 
time executing "create" on a found EJB home)
  - execute an operation on the first j2ee app => ok
  - same client login to the second j2ee application => ok (this is done when 
first time executing "create" on a found EJB home)
  - logout from the first j2ee app =>tryies to logout the user that i used to 
access the second app. (there are different user that have access on each app, 
both app are deployed on the same JBoss instance).

It's seems to me that the LoginContext instances are mixed up, because i've 
resolved the problem by logging in and logging out after each operation 
executed on the second app; this way everything works fine, but maybe this not 
a solution to execute a login/logout everytime access to server is needed, or?

Thanks, hope this clears up things more, but i can submit code if you need

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Default Datasource

2004-12-17 Thread jeeads
Hey,
 I am trying to use the same jar of session and entity beans to view 
multiple instances of the same schema.  My problem is that the jboss-jdbc.xml 
deployment descriptor has the default datasource within it.  If I want to use 
the same beans for multiple instances of the same schema I have to be able to 
programatically set the default datasource to be used.  Is this possible?

Jerry

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread kalexm
My understanding, but I might be wrong, was that I can only secure the Bean 
itself and not the home stub.

  
 Superuser
 
MySessionBeanHome
*
 
  

Will this work? Im'going to try it,

thanks for your help,

kalexm

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - READ THIS - RAR DEPLOYMENT AND JNDI CONFIGURATION

2004-12-17 Thread [EMAIL PROTECTED]
For those of you who are swamping this forum with questions about
resource-refs and NameNotFoundException

I COPIED this FAQ from the topic in this forum:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46930

to the FAQ on the WIKI
http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA

If you think the WIKI is not clear, you can modify/expand upon the FAQs
provided you have a JBoss signon.

Now can we please STOP asking the same question about EJB resource-refs
and jndi context configuration in this forum.
They are not even JCA questions.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread [EMAIL PROTECTED]
It will be a good day when the JCA forum is not full of the same
NON JCA questions about EJB resource-refs and jndi configuration

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - No Classloaders found for...

2004-12-17 Thread ter_d
Hello!
I hope you can help me, unless there're some people in this forum who think I'm 
lazy and don't work to solve my own problems.
I'm trying to configure the connection pool with Oracle.
1.I uncomment the Pad attribute in jboss-servce.xml.
2.I put the jdbc drivers, that is, classes12.jar, in my default/lib folder.
3.Then, I create the /default/deploy/oracle-xa-ds.xml, which include


  
/jdbc/myoracle
true
false

oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@...
...
...

org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter

 

  
jboss:service=TransactionManager
  


But I keep having the following error... 

17:05:48,748 ERROR [MainDeployer] could not create deployment: 
file:/opt/jboss-4.0.0/server/default/deploy/oracle-xa-ds.xml
org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter; - nested 
throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter)

I can imagine it's not able to find a jar... but I don't know wthat's more I 
have to configure.
I've followed the Startud guide and thst's all it says...

Would you mind helping me?


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread [EMAIL PROTECTED]
Well, if I said permission must be explicitly granted to those methods that 
should be accessible, why is it astonishing that home method also need 
permissions granted? 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Best practice for sharing a data structure through JNDI ?

2004-12-17 Thread fredatwork
Hello,

I would like to have to share a data structure though JNDI. This data structure 
behaves like a synchonized cache (let's say a data structure based on an 
instance of HashMap). Some session beans of mine will then use this shared 
cache to store/access some stuff.

How should I do implement this shared cache ? I would like to understand what 
is the best practice to share a data structure between all instances a a 
session bean ?

I understand  tags only allos you to share some basic types.

Therefore, I tried to bind such a cache in the init() method of a servlet 
(loaded at startup) :
InitialContext context = new InitialContext(); 
  | // Create application sub context
  | try {
  | Context appContext = context.createSubcontext("java:comp/env/myApp");
  | } catch (NameAlreadyBoundException e) {
  | // Do nothing
  | }
  | try {
  | Context cacheContext = 
context.createSubcontext("java:comp/env/myApp/cache");
  | } catch (NameAlreadyBoundException e) {
  |  // Do nothing
  | }
  | context.rebind("java:comp/env/myApp/cache/aCache", new Cache());

In my session bean code, I attempt to get access to my cache with :
try {
  | InitialContext context = new InitialContext();
  | return (Cache) context.lookup("java:comp/env/myApp/cache/aCache");
  | } catch (NamingException e) {
  | ... /...
  | }

However, when a session bean attempts to access to the shared cache, I get a 
NameNotFoundException saying 'myApp not bound' (note that the cache looked like 
well bound at startup of the initialization servlet).

Any ideas how I should proceed ?

Fred

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Using SSL during registration...

2004-12-17 Thread PavelKrupets
It seems that it expects user to be logged in. And I am trying to loggin. 
Vicious circle!

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager

2004-12-17 Thread [EMAIL PROTECTED]
The scalability of the JaasSecurityManager.isValid method is a known issue and 
has an existing sourceforge bug:

[ 974735 ] Slow performance of JaasSecurityManager
http://sourceforge.net/tracker/index.php?func=detail&aid=974735&group_id=22866&atid=376685

The getActiveSubject is useless and not part of any security interface contract.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread beyarecords
Adrian,
sounds like your having a good day bro ;-)

regards

Andrew

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Notification of master changes

2004-12-17 Thread tom-the-bomb
what do I have to do to receive notifications whenever a jboss instance looses 
its master status or when it has been elected as the new master?

is there a way to use a MDB for this?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread [EMAIL PROTECTED]
You guys amaze me. Not only is this one of the most FAQs of FAQs
there are currently three concurrent questions all asking the same
dumb question.

Here is what somebody else got for his troubles yesterday.
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57760

Have you even considered helping somebody else in this forum?
Or are you just here to TAKE!

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Using SSL during registration...

2004-12-17 Thread PavelKrupets
Hello,

Maybe someone knows docs/howtos on how to set up ssl connection? I found some 
info but I still couldn't configure SSL :(

I am implementing login form on JBoss 4.0 using Servlet + SSL. But when I set 
web resource's  attribute I am getting next error:

anonymous wrote : HTTP Status 403 - Access to the requested resource has been 
denied 
  | 
  | type Status report
  | 
  | message Access to the requested resource has been denied
  | 
  | description Access to the specified resource (Access to the requested 
resource has been denied) has been forbidden.
  | Apache Tomcat/5.0.28


  |
  | 
  |
  |   RootController
  |   RootController
  |   [CDATA[RootController]]
  |  
com.sit93.santis.sit.web.internal.RootController
  |
  | 
  |
  |   RootController
  |   /login
  |
  |
  |   RootController
  |   /*
  |
  | 
  |
  |   
  |  RootController
  |  /login
  |   
  |   
  |  CONFIDENTIAL
  |   
  |
  | 

I also added following lines into jbossweb-tomcat50.sar/server.xml. Also I 
generated and put chap8.keystore file into conf directory.



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Can anybody help me out with this ?????

2004-12-17 Thread narayanrm
I also tried with deploying the rar inside an ear file it did deploy by placing 
the -ds.xml in the deploy directory, but gave a different problem.

 the -ds.xml is as follows:

 
  | 
  |   
  | 
  | 
  |   
  |   
  |   
  |   jcdFiletoFile1_File2
  | 
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF
  | 
  | 
FiletoFile_PROJECTDeployment1.ear#jcdFiletoFile1_File2.rar
  |
javax.resource.cci.ConnectionFactory
  |  

  | 
  | 
  | 
  | 
  | 

 The same ear file contains the jar file, with a session bean which uses this 
rar.

  after deploying the messge shown by the Application server is like:  

20:43:34,969 INFO  [ConnectionFactoryBindingService] Bound connection factory 
for resource adapter for ConnectionManager 
'jboss.jca:name=FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF,service=ConnectionFactoryBind
ing to JNDI name 'java:FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF'

 but while looking up the session bean did not lookup the rar it has given the 
name not found exception

  The jboss.xml file which is referring to this rar is :

  

  | 
  | 
  | 
  | jcdFiletoFile1_File2
  |
ejb/local/stc/FiletoFile_PROJECTDeployment1/deployedServices/jcdFiletoFile1_File2
  | 
  |   
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2ConnectionFactory
  |   
FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF
  | 
  |   
  | 
  | 
  | 

javax.naming.NamingException: Could not dereference object [Root exception is 
javax.naming.NameNotFoundExcepti
on: FiletoFile_PROJECTDeployment1_jcdFiletoFile1_File2MCF not bound]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:971)
at 
 



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: XAConnectionFactory not bound

2004-12-17 Thread [EMAIL PROTECTED]
Moved to the user forum. Check out the JBossMQ wiki page.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configuration of JMS on JBoss

2004-12-17 Thread [EMAIL PROTECTED]
Moved to the user forum.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock

2004-12-17 Thread HariV
Thanks for your reply Alex. CMP2xJDBC2PM is it available is JBOSS3.2.5.
The time out was for getting a transaction lock.

>From your reply my understanding is , the container does'nt cache the entity 
>bean instance, it just caches the data the entity bean represents. So the 
>instance is locked ,for the duration of loading the data from the cache to the 
>entity bean. 

In my previous question I asked why ejbLoad is getting invoked multiple time 
for a read-only entity bean. Is it actually loading the data from the database 
or ejbLoad is loading data from the cache.

Thanks


Hari

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss 4.0/SQL Server Lock Condition

2004-12-17 Thread Kevin Daly
Hi,

We are in the process of migrating our AppServer from JBoss 3.2.3 to
JBoss 4.0. Everything deploys and runs pretty painlessly but we are
 encountering problems with our MDBs. The MDBs consume messages 
for a brief while before throwing exceptions citing a dblock condition. 

Our setup is pretty much out of the box, we are using the UI2Service
with a PersistanceManager setup of:

  
jboss.jca:service=DataSourceBinding,name=CeltrakJMSData

  BLOB_TYPE=BINARYSTREAM_BLOB
  INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
  INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, 
MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
  SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
  SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
  SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES 
WHERE DESTINATION=?
  SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE 
MESSAGEID=? AND DESTINATION=?
  MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? 
AND DESTINATION=?
  UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? 
AND DESTINATION=?
  UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE 
TXOP=?
  UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? 
WHERE TXOP=? AND TXID=?
  UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? 
AND DESTINATION=?
  UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE 
TXOP=?
  UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? 
WHERE TXOP=? AND TXID=?
  DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN 
(SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=?
  DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
  DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
  DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
  DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND 
DESTINATION=?
  CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT 
NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), 
MESSAGEBLOB IMAGE, PRIMARY KEY (MESSAGEID, DESTINATION))
  CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON 
JMS_MESSAGES (TXOP, TXID)
  CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON 
JMS_MESSAGES (DESTINATION)
  CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY 
KEY (TXID) )
  CREATE_TABLES_ON_STARTUP = TRUE

  


We are using a SQL Server database as the exceptions will indicate. I can
include more config files if it would help.

Has anyone seen anything similar ?

- Kevin.


2004-12-17 14:48:21,556 WARN  [org.jboss.tm.TransactionImpl] XAException: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=BEAKER/68, BranchQual=, 
localId=68] errorCode=XAER_RMERR
org.jboss.mq.SpyXAException: - nested throwable: 
(org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolled back.; 
- nested throwable: (org.jboss.mq.SpyJMSException: Could not remove message: 16 
msg=15 hard STORED PERSISTENT 
queue=TOPIC.GPRS.DurableSubscription[clientId=GPRSID name=GPRSDataSubscriber 
selector=MessageRef='unprocessed sms response'] priority=4 lateClone=false 
hashCode=24007705; - nested throwable: (java.sql.SQLException: 
[Microsoft][SQLServer JDBC Driver][SQLServer]Transaction (Process ID 73) was 
deadlocked on lock resources with another process and has been chosen as the 
deadlock victim. Rerun the transaction.)))
at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:135)
at 
org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:2100)
at 
org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1552)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:319)
at org.jboss.tm.TxManager.commit(TxManager.java:200)
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:341)
at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:877)
at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
at org.jboss.mq.SpySession.run(SpySession.java:351)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:536)
Caused by: org.jboss.mq.SpyTransactionRolledBackException: Transaction was 
rolled back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not 
remove message: 16 msg=15 hard STORED PERSISTENT 
queue=TOPIC.GPRS.DurableSubscription[clientId=GPRSID name=GPRSDataSubscriber 
selector=MessageRef='unprocessed sms response'] priority=4 lateClone=false 
hashCode=24007705; - nested throwable: (java.sql.SQLE

[JBoss-user] [Persistence & CMP/JBoss] - Entity Bean with Multiple Tables

2004-12-17 Thread chinesemountain
I read in previous postings that JBoss 4.0 was suppose to support Entity Bean 
with Multiple Tables. Has this come about? 

If so could you please give example?

Btw I am a newbie.


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: UIL2 message race condition before 3.2.6RC2

2004-12-17 Thread Thoennes
Dear Adrian,

Adrian wrote : Why do people insist on reporting bugs with old versions? 

I did not report a bug, but just asked whether a JBoss patch contained in 
release 3.2.6 would fix our issue:

JÃrg wrote : Is it possible in UIL2 that several threads try to deliver a 
message via onMessage() at the same time causing our race condition?

Since you are the JBoss architect, you probably know instantly whether the UIL2 
uses  one or several threads which forward messages to a message listeners 
onMessage() method.

If the answer is "yes", this means for us that we have to upgrade to 3.2.6 to 
fix it.

My knowledge of JBossMQ is still limited, even though we have purchased the 
documentation and attended the "Advanced Training" seminar. Unfortunately, JMS 
wasn't explained at the seminar. On the other hand, the wiki is now a fairly 
good source of information.

Adrian wrote : The only answer you will get from me is "Suck it and see". 

This style of answering is not very polite. Actually, I have seen it quite a 
couple of times in this forum. I can understand that you feel annoyed by silly 
questions, but IMHO you should avoid expressing these feelings in this forum. 
We also have customers and a live system where we provide 1st and 2nd level 
support, but we always stay polite. In addition, we provide commercial support 
for the QuickFIX open source software, and I always answer questions in the 
mailing list and in the FIX forums and do not insult people even if the 
questions sound stupid or are FAQ.

With all due respect, please remember the "Director of Support" in your 
signature. Do you really think it is a good advertisement for JBoss commercial 
support if the Director is as polite as you?

Adrian wrote : I have no interest in debugging 3.2.3 if I already fixed it in 
3.2.6.

Understood. And if our problem is fixed in 3.2.6 this is great news.

Adrian wrote : If you still have a problem with the latest production release 
(jboss-3.2.6),
  | you wouldn't be wasting our time with already solved problems. 

As you probably know, JBoss is not the only piece of software in this world. 
There are production dependencies to be tested. So we cannot always upgrade if 
a new JBoss version is released, unless the complete system has been tested 
thoroughly.

All we were looking for was a simple yes or no as to whether this was a bug 
with 3.2.3 that has now been fixed in 3.2.6 (i.e. giving us a reason to look at 
upgrading).

Adrian wrote : It is usually trivial to reproduce race conditions by adding 
Thread.sleep() in a suitable location (like your message listener) 

Would you mind explaining this in more detail? We have only one message 
listener receiving messages from JBoss, so how could a Thread.sleep(...) help 
here?

Actually, we tried to reproduce the issue by sending messages as fast as we 
could, but we did not succeed.

So the question remains:

anonymous wrote : How many UIL2 threads try to forward message to a onMessage 
method?

Looking forward to a more qualified answer

JÃrg


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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager

2004-12-17 Thread sberna
Hey,

Nothing to do with the issue presented but we also had several performance 
problems with the login phase and we simply used 2 different approaches for the 
login strategy.

First login using standard user/password login with costly database lookup of 
credentials, principals etc.

In this login we generate a session id that is used to automatically lookup the 
cached logged credentials in another loginmodule for the rest of the client 
logins.

In this way we somehow overule the need to create a different login module for 
each login attempt.

Hope this helps.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - RAR Looking up problem

2004-12-17 Thread mradhika
  I have deployed a rar for proprietory JMS implementation in Jboss4.0.1RC2. I 
have my -ds.xml as follows

   
  |   
  |
  |   stcms/QueueConnectionFactory
  |   
  |
  |   rastcms.rar
  |   
javax.jms.QueueConnectionFactory
  |   
JmsXARealm
  |
  | 
  |
  |   stcms/TopicConnectionFactory
  |   
  |
  |   rastcms.rar
  |   
javax.jms.TopicConnectionFactory
  |   
JmsXARealm
  |
  |  
  | 

  After deploying the rar I have got the server log 

 18:50:10,795 INFO  [ConnectionFactoryBindingService] Bound connection factory 
for resource adapter for Connect
ionManager 
'jboss.jca:name=stcms/QueueConnectionFactory,service=ConnectionFactoryBinding 
to JNDI name 'java:stcms/QueueConnectionFactory'
18:50:10,815 INFO  [ConnectionFactoryBindingService] Bound connection factory 
for resource adapter for ConnectionManager 
'jboss.jca:name=stcms/TopicConnectionFactory,service=ConnectionFactoryBinding 
to JNDI name 'java:stcms/TopicConnectionFactory'

But when I have tried to test with a sample program 
 


  | 
  | java.util.Hashtable env = new java.util.Hashtable();
  | 
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
  | env.put(javax.naming.Context.PROVIDER_URL,"jnp://localhost:1099");
  | 
env.put(javax.naming.Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
  | InitialContext iniCtx = new InitialContext(env);
  | Object tmp = iniCtx.lookup("stcms/QueueConnectionFactory");
  | QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
  | conn = qcf.createQueueConnection();
  | que = (Queue) iniCtx.lookup("testQueue");
  | session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
  | conn.start();
  | 

  its giving the following error 

 Begin sendRecvAsync
Exception in thread "main" javax.naming.NameNotFoundException: stcms not bound  
  at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:249)


  I have tried with other options looking up java:/stcms/QueueConnectionFactory 
also despite that its giving the same exception. 

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - access web application jboss

2004-12-17 Thread hatoug
hello,

I have a web application on http://localhost/GedOnLine/index.html

But I want to access to my application by entering : http://localhost

How can I do ?

Thanx.

Steph

NB : jboss3.2.1 and tomcat 4.1.24

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - namespaces in -service.xml

2004-12-17 Thread GreyDeath
Hi,

Is it possible to configure a namespace enabled xml parser for the -service.xml 
files?

If how?

Thanks
Mike

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Scheduling a task(job) in JBoss

2004-12-17 Thread jaggybala
Hello Everyone,

I have a Struts - Web Project with JBoss-3.2.5. Now, I want to make an 
automatic schedule - 'open this particular URL every 10 minutes'.

I found "Quartz" for scheduling a job in Java. But, Is there any tool availabe 
already for scheduling, particularly for JBoss server ?

Is this the Right Topic Area for my question? If not, please tell me where i 
have to post.

Regards,
Jagdeesh.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: authenticate against underlying Linux OS

2004-12-17 Thread mrchucho
Actually, i finally was successful. I've been meaning to write up an 
explanation, but here it is in  a nutshell:

1) use SysAuth: http://www.scribblin.gs/software/sysauth.html
2) implement your own subclass of UsernamePasswordLoginModule calling 
Sysauths's isAllowed method

This assumes you want to use PAM and JBoss's built-in security. I will try and 
put together some more detailed instructions, because I know that none exist. 

RMC

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Scheduling a Job in JBoss

2004-12-17 Thread jaggybala
Is this the Right Topic Area for my question? If not, please tell me where i 
have to post.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Scheduling a Job in JBoss

2004-12-17 Thread jaggybala
Hello Everyone,

I have a Struts - Web Project with JBoss-3.2.5. Now, I want to make an 
automatic schedule - like 'open this particular URL every 10 minutes', etc.

I found "Quartz" for scheduling a job in Java. But, Is there any tool availabe 
already for scheduling, particularly for JBoss server ?

Regards,
Jagdeesh.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Intercepting queue length

2004-12-17 Thread jplsaez22
Hello.

I am a newbie in JBoss and I'm quite interested in usig JBossMQ.

I would like to execute some especific code when the queue depth in a 
Destination goes under some defined threshold.

I don't really know how to get it, so any advice will be very appreciated.

Thank you very much.

JP

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Hotdeployable

2004-12-17 Thread ebu
Have you found the solution? I have the same problem. And it is really annoying.



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Multiple tomcat connectors with different servlets

2004-12-17 Thread markku.halinen
Ah, found the answer.

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

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Adding CMR fails

2004-12-17 Thread jbm166
Hi,

Thanks for your answer.

In JBoss 3.2.2, obviously the getB().add(relation) was commited immediately, 
since when the loop was iterating the second round the unique constraint was 
not triggered when creating a new B entity (Meaning that the foreign key had 
been set)

Where it is clear that in 3.2.5 getB().add() is not commited inside the loop 
but after, so that the foreign key is not immediately added.

I tried the insertAfterEjbPostCreate and it did not work better.
I don't think it would help anyway, since in this case the A entity already 
exist. We only create B entities that we map to A.

And this mapping happens in this method, not in the ejbPostCreate method of the 
B entity.


It is quite a surprising problem, because this code is generated by XDoclet  
and I found also the same code example of "howto add CMR" in different EJB 
manuals.

J&B

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Fundamental performance problem with JaasSecurityManager

2004-12-17 Thread _alex
Hi.

Sorry, may be I missed something. Was this issue resolved (I did not manage to 
find this item <376687> in the list)?


In addition,  I did not catch the idea of the following method (version 3.2.6)
org.jboss.security.plugins.JaasSecurityManager
lines 114-121:

   /** Get the currently authenticated Subject in securityDomain.
@return The Subject for securityDomain if one exists, false otherwise.
*/
   public static Subject getActiveSubject(String securityDomain)
   {
  Subject subject = null;
  return subject;
   }

Sorry, for stupid questions - where should I "dig"?

Alexander

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem with JBossMQ+MySQL standalone, no problem with D

2004-12-17 Thread ospri
I've tried the build.xml and jboss-service.xml you gave me, with still no luck, 
I think it's a DeployException, ClassNotFound, anyway. I could try to get 4.0.1 
RC3 from CVS but I am a little in a hurry, so I don't have time to play with it 
now.

I don't want to bother you more ... so I think i'll stick with full JBoss 4.0.0
and wait for 4.0.1 final to be released, i'll then try the new JBossMQ 
standalone ant ;-)

Thanks a lot for your help.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Multiple tomcat connectors with different servlets

2004-12-17 Thread markku.halinen
I'd like to configure two tomcat connectors running on different ports, for 
example connector 1 listening in port 8080 and connector 2 listenting to port 
8880, and I would like to have servlet A mapped to connector 1 and servlet B to 
connector 2 (servlet A is a client interface and servlet B is an admin 
interface). Any ideas in accomplishing this?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS usage over WAN?

2004-12-17 Thread dangquanghuy33
i hava a project using jms over firewall, so can you show me the information
for using. Current, I am using third party library : jproxy . That is a free 
product, but it can only send messagesings one way . The commercial product can 
send and receive at one. So i don't want  use jproxy. Can you show me other way 
to send messagesings  over firewall. Thanks :-)  

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - run JBOSS as a service and modify port 8080

2004-12-17 Thread hatoug
Hello,

how to do to run jboss as a service because I start jboss like this "run -c all 
> ../log/stdout.log"

and how to do to modify listen port to 80 because jboss listen to 80


Thanx a lot

Steph

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JDBC Insert Data Not Commited

2004-12-17 Thread mremond
"[EMAIL PROTECTED]" wrote : You should not touch auto-commit in a managed 
environment. Application server will commit local transaction when the global 
one is committed.

Ok. That what I thought. JBoss is acting as a wrapper regarding JDBC activity 
and transactions.

Now, what I would like to know what could be the reason for a write not to be 
committed to the database ? How to debug this stuff in Jboss ? What are the 
Jboss parameters to make less intrusive ?

Thank you for your help

-- 
MickaÃl RÃmond

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: JDBC Insert Data Not Commited

2004-12-17 Thread [EMAIL PROTECTED]
You should not touch auto-commit in a managed environment. Application server 
will commit local transaction when the global one is committed.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Generated sql for Finder is wrong when xdoclet used

2004-12-17 Thread russelldb
Alexey,
You are right. It was the Primary Key.  It was a simple mistake on my part. I 
had forgotten to specifythe Primary Key field on the @ejb.bean tag.
Thanks

Russell



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Adding CMR fails

2004-12-17 Thread [EMAIL PROTECTED]
How did it work in 3.2.2?
Try http://www.jboss.org/wiki/Wiki.jsp?page=InsertAfterEjbPostCreate

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - How to build EJB for JBoss 4.0

2004-12-17 Thread lennysim
I understand that different application servers have different ejb compilers. I 
have compiled EJBs for weblogic and websphere. Is there a way that I could 
modify these EJBs to run on the JBoss application server? If there is no way to 
use these EJBs, I would like a list of EJB compilation guidance steps so that I 
could build the EJBs specific to the JBoss application server.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Datasource under Jboss4

2004-12-17 Thread silbunn
Is the deployment of DS going to be included?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: I want to secure my EJB components used by remote machin

2004-12-17 Thread _alex
Hello.

my personal opinion:

>From the position of the bean provider ("application component provider"), and 
>forgetting about instance-based access control, you should (in general case):
1) extract the list of all use cases, where you beans are going to be used;
2) generalize the list of correspondent actors to the set of roles;
3) use these roles for setting permissions of beans/methods in ejb-jar.xml 
deployment descriptor;
4) optionally, you can use this roles inside bean methods code for security or 
other goals.

>From the position of ASP ("application assembler" and "application deployer") 
>you should (in general case):
1) configure application server security infrastructure according your 
requirements;
2) map roles from the ejb-jar.xml to real roles in the security domain of the 
application server, and put this mapping information into the jboss.xml 
deployment descriptor;
3) compose components to application;
4) deploy and test the application;
5) ... etc.

Alexander

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Datasource under Jboss4

2004-12-17 Thread [EMAIL PROTECTED]
No, not in a JAR at the moment.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB Select not working

2004-12-17 Thread [EMAIL PROTECTED]
Try 3.2.6.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Generated sql for Finder is wrong when xdoclet used

2004-12-17 Thread [EMAIL PROTECTED]
Something is wrong with the generated DDs and/or primary key class?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP 1.1 EJB from JBoss 3.0 to JBoss 3.2: DefaultDS ???

2004-12-17 Thread [EMAIL PROTECTED]
Yes, because in 3.2.6 JBossCMP is the default CMP engine for all CMP specs. 

  |   
  |  Standard CMP EntityBean
  | ... 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager
  |  
  | ...
  | 
If you want to use JAWS, switch back to JAWS persistence manager.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Read only lock

2004-12-17 Thread [EMAIL PROTECTED]
Lock is required for the method invocation because we operate on the 
persistence context (initialize it, load data, update data, etc).

What causes the timeout? Is it timeout to get an exclusive lock?
If so, you will have to use Instance Per Transaction with commit option C.
Or you could try http://www.jboss.org/wiki/Wiki.jsp?page=CMP2xJDBC2PM.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - I want to secure my EJB components used by remote machines.

2004-12-17 Thread Min-chang Cha
Hi all

I am using JBoss 3.2.5 and jdk 1.4.
I am planning to service ejb components from ways as ASP(Application Service 
Provider) or Bean Provider(mentioned from EJB specification doc)

If I implement such a service, My components may be called by many 
clients(remote marchines) that want to use services. 

But, I encountered a problem. It is how to secure my components.
If I don`t secure my components, any clients can invoke my all components. 

I read many document supported by JBOSS and SUN but I can`t find a way to solve 
my problem. 

Please help me.

p.s I am a korean, so my english may be fool. 



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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: No method permissions assigned to method=create, interfa

2004-12-17 Thread kalexm
Thank you very much for your help.

That every method must have method permissions is understood, and its the way 
we do it. But astonishingly if I do not grant *, so grant rights to all methds, 
but on method level I cannot invoke the create method of the home interface 
anymore. The SecurityInterceptor do not accept any calls to the home interface. 
From my experience, I never had to grant rights to the home interfaces of beans 
why do I get this SecurityException when working with the home-stub. Am I wrong 
do? Do I have to grant rights to the homeInterfaces create Method, and where do 
I have to do this, in the ejb-jar, jboss deployment descriptor or in the 
container configuration?

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: Getting tired of ClientAbortException: java.net.SocketE

2004-12-17 Thread lyapis
I had the same.
Changing 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858989#3858989

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user