RE: [JBoss-user] RE: illegalArgumentException while removing the entity bean (Saroj Kumar)

2002-08-28 Thread Saroj Kumar

Hi,

I have no idea about Jboss-2.4.x. It is fine with Jboss 3.0.x.

It may have something to do with serialization of PK??/ (Just a wild
guess!!!)

-Saroj

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ooi Leng
Chai
Sent: Tuesday, August 27, 2002 3:21 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] RE: illegalArgumentException while removing the
entity bean (Saroj Kumar)


Hi,

   I am having the same problem.

   I am deploying the CMP bean that use composite key. I have no 
problem load and update the same bean.

   I have tried on both JBoss-2.4.7_Tomcat-4.0.4 and JBoss-2.4.8_Tomcat-
4.0.4 both throw the IllegalArgumentException when I attemp to invoke 
home.remove(key) from whithin a servlet.

   I wrote a jboss-client to test out the same bean, calling home.remove
(key). This time it doesn't any exception.

   I tried those (remove from servlet & remove from jboss-client) a few 
times, and the result are consistence. The servlet always throws 
exception and the jboss-client always no problem. I also try running 
jboss on Linux and NT server (using IBM JVM, hotspot1.3 and hotspot1.4) 
all give same result.

   The next thing I did was to download the JBoss-3.0.1_Tomcat-4.0.4 
and test my bean on it. I have no problem calling the remove on ny bean 
home interface.

   Has anybody ever try cmp + composite key + servlet + JBoss 2.4.x + 
Tomcat-4.0.4 with a successful result before?

   Can this be a bug for JBoss-2.4.x_Tomcat-4.0.4?

Cheers



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] illegalArgumentException while removing the entity bean

2002-08-28 Thread Nayyer Kamran
Title: Message



Hi Saroj,
 
I am again here with the same problem. I replied 
late because of some other office tasks. I have tried the changes that u have 
mentioned but no luck, I got the same reply from jboss :(. There is another 
message in this thread from Ooi Leng Chai <[EMAIL PROTECTED]>. 
probably u have gone through his mail. So what should I try next. I gona try 
jboss 3.1. But I want 2.4.6 as our application is working smoothly over 2.4.6 
except this remove problem.
waiting for your reply.
 
Thanks again,
 
Nayyer Kamran
 

  - Original Message - 
  From: 
  Saroj 
  Kumar 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, August 19, 2002 11:04 
  AM
  Subject: RE: [JBoss-user] 
  illegalArgumentException while removing the entity bean
  
  Hi 
  Kamran,
   
  I 
  would like to point out something regarding use of remove() method on 
  EJBHome/EJBObject.
   
  EJBObject : No need to use Handle here.  
  I think that you are not using this method. It seems that you are 
  calling EJBHome.remove();
   
  EJBHomeObject: There are 2 ways to remove. 
  
   
      1) Use PK . home.remove(pk) - I 
  generally use this or EJBObject.remove()
   
      
  2) home.remove(handle) 
   
  Observation: Mostly It looks fine to me except one 
  small suggestion.
   
  Suggestion: Instead of using this for EQUALS check , 
  try the following :
      
   
      EXISTING CODE
      
  **
  
      public boolean equals(Object 
  obj) {    if 
  (this.getClass().equals(obj.getClass())) 
  {    
  ApplicationPK that = (ApplicationPK) 
  obj;    
  return this.appID.intValue() == 
  that.appID.intValue();    
  }    return 
  false;    }
   
      SUGGESTED CODE
      ***
      public boolean equals(Object 
  obj) {  boolean 
  retVal = false;
   
    if ( obj instanceof ApplicationPK 
  )   {   ApplicationPK 
  pk = (AddressPK) obj;
   
     retVal = this.appID.intValue() == pk.appID.intValue();  }  return 
  retVal; }
   
  
      
  EXISTING CODE
      
  **
  
      public 
  ApplicationPK() {    appID = new 
  Integer(0);    }
      
  SUGGESTED CODE
      **
      public ApplicationPK()
      {
      }
   
  I think this should solve the 
  problem.
   
  -Saroj
   
  PS. was out on the weekend. That 
  caused the late reply.
  


Re: [JBoss-user] JBoss-3.0.2 released

2002-08-28 Thread Scott M Stark

Yes, use a https url for the http invoker servlet.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

From: [EMAIL PROTECTED]
Date: 2002-08-27 20:53:27
[Download message RAW]

On Tue, Aug 27, 2002 at 12:44:59PM -0700, Scott M Stark wrote:
> The JBoss-3.0.2 release is available. This includes bug fixes as well
> as enhancements to security with SSL support for JMS, clustered
> EJBs, and extensions to the SRP authentication protocol. In addition
> there is now support for
>JNDI/HTTP and RMI/HTTP.
This is http-tunneling from clients to jboss? Is it possible to combine it with SSL?




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] bundled tc4/jetty not remembering previous authentication in single session

2002-08-28 Thread Scott M Stark

Yes, the default catalina caching policy allows for this behavior.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message - 
From: "jfc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 3:56 AM
Subject: Re: [JBoss-user] bundled tc4/jetty not remembering previous authentication in 
single session


> Thanks for that, Scott!
> 
> I wonder what it was about 243+40 which made the authentication info 
> available to the bundled web container on subsequent requests - was it a 
> different caching policy?
> 
> Cheers
> Joe
> 
> Scott M Stark wrote:
> 
> >This is not a bug. It is legitimate behavior per the servlet specification and
> >tomcat standalone will exhibit this if you turn off caching in the 
>FormAuthenticator:
> >
> >  > debug="3" cache="false"/>
> >
> >The bundled tomcat turns caching off because it conflicts with the stateless
> >propagation of credentials from servlets to ejbs. Until the servlet spec defines
> >how authentication information must be propagated in a session any content
> >that needs to know the authenticated user must be secured or you have to
> >maintain this yourself in the session.
> >




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Re: CMT -- No Managed Connection Jboss 3.0

2002-08-28 Thread David Jencks

I think you will have to read the castor code to find out why it is not
closing connections when it is done with them.

david jencks

On 2002.08.29 00:09:30 -0400 Arijit Ghosh wrote:
> There is no connection timeout error Connection remains there
> (status =INACTIVE). If I restart Jboss, then a new set of connections
> are being created which again become INACTIVE and never reused. When the
> no of maximum connections reached, "No Managed Connection" error is
> thrown. So if I have no of MAX connections as 3 then after RESTARTING
> Jboss and making few database transactions, I will have 6 INACTIVE
> connections. (3 from the last and 3 now).
> 
> Here is the sample code of what I am doing 
> 
> 
>  InitialContext  ctx;
>  DataObjects dobj;
>  Database db;
> 
> //Initializing the context
>  ctx = new InitialContext();
> 
> //Looking up for for the dataobject
>  dobj = (DataObjects) ctx.lookup( "java:/comp/env/jdo/mydb" );
> 
> 
> 
>  try
> {
>//performing a getDatabase()
>   db = dobj.getDatabase();
> 
>//No need for db.begin() No need for transaction.begin()
>   findOql = db.getOQLQuery(aQuery);
> 
>   // Executing the Query
>   results = findOql.execute(Database.ReadOnly);
> 
> //No need for transaction.commit() or db.commit()
> 
> }
> catch(Exception e)
> {
>   if(e instanceof java.lang.IllegalStateException)
> throw new CastorException("error.jdoIllegalState", e);
>   else
> throw new CastorException("error.generalJDOError", e);
> }finally{
>   try
>   {
> //database connection is being closed here
> if(db!=null) db.close();
>   }
>   catch(PersistenceException e)
>   {
> throw new CastorException("error.generalJDOError",e);
>   }
> }
> 
> Any suggestions ???
> 
> Regards,
>   Arijit
> 
> 
> Hi,
> 
>   I am using Jboss 3.0 with Castor. I am using CMT.
> 
> As the transaction is Container Managed, I am not opening any
> transaction explicitly nor am I closing it. Neither am I opening a
> database connection or doing a database.begin().
> 
> Also, I am not performing database.commit().
> 
> However, I am performing database.close() and this statement always gets
> 
> executed as I have put it in "finally"
> 
> I find that if I make any database call, the database gets updated
> correctly. However, the connnection remains with status = INACTIVE.
> 
> As a result, if I have set Max number of Connections to "3" in my
> Oracle-service.xml file then I am getting a "No Managed Connection"
> error after 3 successful connections are met.
> 
> Can anyone help ? Why are the connections not being reused ? or removed
> ?
> 
> 
> 
> 
> 
> ---
> This sf.net email is sponsored by: Jabber - The world's fastest growing 
> real-time communications platform! Don't just IM. Build it in! 
> http://www.jabber.com/osdn/xim
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IllegalStateException: removing bean lock and it has tx set!

2002-08-28 Thread David Jencks

I think this can also happen if you didnt' implement equals and hashcode
correctly on your primary key class. A wrapper concealed this kind of
problem in 2.4.

david jencks


On 2002.08.29 00:49:56 -0400 G.L. Grobe wrote:
> Nope.
> 
> 
> > I think this was fixed in 3.0.2.
> >
> > -dain
> >
> > Gary Grobe wrote:
> > > Can anyone make suggestions to help fix this? I made a move from
> 2.4.4
> > > to 3.0.1 and just started seeing this.
> > >
> > > --- my client reports the following ...
> > > [ERROR]: RemoteException occurred in server thread; nested exception
> is:
> > > java.rmi.ServerException: RuntimeException; nested exception is:
> > > java.lang.IllegalStateException: removing bean lock and it has tx
> set!
> > >
> > > --- the server reports as follows ...
> > > 18:13:55,536 ERROR [LogInterceptor] RuntimeException:
> > > java.lang.IllegalStateException: removing bean lock and it has tx
> set!
> > > at
> > >
> org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimis
> ticEJBLock.java:473)
> > >
> > > at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:78)
> 
> 
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] run.sh in matrix2

2002-08-28 Thread Holger Baxmann

hi,

i and my solaris9 bash have a problem with the following construct in
run.sh:

if [ -e $RUN_CONF -a -r $RUN_CONF ]; then
. $RUN_CONF
fi

he throws a

bax@brainiac jboss-4.0.0alpha : bin/run.sh
bin/run.sh: test: unknown operator bin/run.conf

at me.

if i comment it out of reach for bash:

bax@brainiac jboss-4.0.0alpha : bash --version
GNU bash, version 2.05.0(1)-release (sparc-sun-solaris2.9)
Copyright 2000 Free Software Foundation, Inc.

it runs through ..
thanks
bax




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] HTTP to JMX invoker

2002-08-28 Thread G.L. Grobe

I can't exactly explain the details of it (yet), but maybe some of this will
help as an example. This is for invoking queues as a jmx service.

If you use the HTTP adaptor as shown in the docs ...
http://www.jboss.org/online-manual/HTML/ch06s07.html ... look at figure 6.40
(this is for 2.4.x but basically same for 3.0), and only the 4th param (or
the arg param in that figure) changes ... and here it is.

http://127.0.0.1:8080/jmx-console/HtmlAdaptor?
action=invokeOpByName&
name=jboss.mq%3Aservice%3DDestinationManager&
methodName=createQueue&
argType=java.lang.String&arg=blah&
argType=java.lang.String&arg=queue/blah

None of this I beleive has anything to do w/ the JNDI services so ... good
luck.

- Original Message -
From: "Steve Knight" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 11:12 PM
Subject: [JBoss-user] HTTP to JMX invoker


> Hi,
>
> Can someone please explain to me in more detail the new HTTP to JMX
Invoker
> for RMI/HTTP for the JNDI service as well as
> EJBs.
>
>
> Thanks
>
>
> ---
> This sf.net email is sponsored by: Jabber - The world's fastest growing
> real-time communications platform! Don't just IM. Build it in!
> http://www.jabber.com/osdn/xim
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IllegalStateException: removing bean lock and it has tx set!

2002-08-28 Thread G.L. Grobe

Nope.


> I think this was fixed in 3.0.2.
>
> -dain
>
> Gary Grobe wrote:
> > Can anyone make suggestions to help fix this? I made a move from 2.4.4
> > to 3.0.1 and just started seeing this.
> >
> > --- my client reports the following ...
> > [ERROR]: RemoteException occurred in server thread; nested exception is:
> > java.rmi.ServerException: RuntimeException; nested exception is:
> > java.lang.IllegalStateException: removing bean lock and it has tx set!
> >
> > --- the server reports as follows ...
> > 18:13:55,536 ERROR [LogInterceptor] RuntimeException:
> > java.lang.IllegalStateException: removing bean lock and it has tx set!
> > at
> >
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimis
ticEJBLock.java:473)
> >
> > at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:78)




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] HTTP to JMX invoker

2002-08-28 Thread Steve Knight

Hi,

Can someone please explain to me in more detail the new HTTP to JMX Invoker
for RMI/HTTP for the JNDI service as well as
EJBs.


Thanks


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: CMT -- No Managed Connection Jboss 3.0

2002-08-28 Thread Arijit Ghosh

There is no connection timeout error Connection remains there
(status =INACTIVE). If I restart Jboss, then a new set of connections
are being created which again become INACTIVE and never reused. When the
no of maximum connections reached, "No Managed Connection" error is
thrown. So if I have no of MAX connections as 3 then after RESTARTING
Jboss and making few database transactions, I will have 6 INACTIVE
connections. (3 from the last and 3 now).

Here is the sample code of what I am doing 


 InitialContext  ctx;
 DataObjects dobj;
 Database db;

//Initializing the context
 ctx = new InitialContext();

//Looking up for for the dataobject
 dobj = (DataObjects) ctx.lookup( "java:/comp/env/jdo/mydb" );



 try
{
   //performing a getDatabase()
  db = dobj.getDatabase();

   //No need for db.begin() No need for transaction.begin()
  findOql = db.getOQLQuery(aQuery);

  // Executing the Query
  results = findOql.execute(Database.ReadOnly);

//No need for transaction.commit() or db.commit()

}
catch(Exception e)
{
  if(e instanceof java.lang.IllegalStateException)
throw new CastorException("error.jdoIllegalState", e);
  else
throw new CastorException("error.generalJDOError", e);
}finally{
  try
  {
//database connection is being closed here
if(db!=null) db.close();
  }
  catch(PersistenceException e)
  {
throw new CastorException("error.generalJDOError",e);
  }
}

Any suggestions ???

Regards,
  Arijit


Hi,

  I am using Jboss 3.0 with Castor. I am using CMT.

As the transaction is Container Managed, I am not opening any
transaction explicitly nor am I closing it. Neither am I opening a
database connection or doing a database.begin().

Also, I am not performing database.commit().

However, I am performing database.close() and this statement always gets

executed as I have put it in "finally"

I find that if I make any database call, the database gets updated
correctly. However, the connnection remains with status = INACTIVE.

As a result, if I have set Max number of Connections to "3" in my
Oracle-service.xml file then I am getting a "No Managed Connection"
error after 3 successful connections are met.

Can anyone help ? Why are the connections not being reused ? or removed
?





---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] How to connect to other JBoss

2002-08-28 Thread Guy Rouillier

One way to do this is to put the reference to the remote EJB in your
deployment descriptor, like so (this would go in jboss.jar).  This is from
2.4.x.

  
 ejb/mycompany/myclass

jnp://otherserver.mycompany.com:1099/com/mycompany/ejb/myclass
  

- Original Message -
From: "Jon Swinth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 2:48 PM
Subject: [JBoss-user] How to connect to other JBoss


> What is the correct way to access, from one Jboss server, a bean that
resides
> on a different JBoss server?  I have one session bean that needs to talk
to
> another session bean on a different server.  I tried having the session
bean
> act as just a regular client, but it just errors.  Here is the code I
tried
> to use:
>
> Properties props = new Properties();
> props.setProperty(Context.INITIAL_CONTEXT_FACTORY,
> "org.jnp.interfaces.NamingContextFactory");
> props.setProperty(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
> props.setProperty(Context.PROVIDER_URL, "192.168.40.207:1099");
> InitialContext  initialContext = new InitialContext(props) ;
>
> And here is the error I get:
>
> 2002-08-27 11:39:07,487 ERROR [org.jboss.ejb.plugins.LogInterceptor]
> TransactionRolledbackException, causedBy:
> javax.naming.CommunicationException.  Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
> exception is:
> java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:142)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:129)
> at java.net.Socket.(Socket.java:273)
> at java.net.Socket.(Socket.java:100)
> at
>
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketF
actory.java:25)
> at
>
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketF
actory.java:120)
> at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
> at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
> at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:83)
> at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:434)
> at javax.naming.InitialContext.lookup(InitialContext.java:350)
>
>
>
>
> ---
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>




---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jetty Classpath

2002-08-28 Thread bryan hansen

I think we are having a problem with the classpath
from within jetty/jboss package. We are getting an
error stating that it can not find classes from within
the servlet jar. I am not sure what I could have
changed to make jboss/jetty not see the servlet.jar
classes within the default\lib directory. A class not
found exception is thrown:

java.lang.NoClassDefFoundError:
javax/servlet/jsp/tagext/TagSupport
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:234)
at
org.jboss.mx.loading.UnifiedLoaderRepository2.loadClassFromClassLoader(UnifiedLoaderRepository2.java:207)
at
org.jboss.mx.loading.UnifiedLoaderRepository2.loadClass(UnifiedLoaderRepository2.java:137)

.
.
.
.
.
.

please help, I am losing much sleep from this,

Bryan

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Help on JBossMQ

2002-08-28 Thread Sheng Zou
Title: Help on JBossMQ





Hi, 


I am getting this error, but I don't know where it comes from. In my application, I checked for destination (again null value and empty string value) to subscribe. Part of my code also creates the topics/queues, and I have check there as well for null value and empty string value. 

javax.jms.JMSException: This destination does not exist !
    at org.jboss.mq.server.ClientConsumer.addSubscription(ClientConsumer.java:113)
    at org.jboss.mq.server.JMSServer.subscribe(JMSServer.java:449)
    at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:291)
    at java.lang.Thread.run(Thread.java:498)


The destination in this case is "empty string", and I have trace of where it comes from? Does anyone know what would cause this? Also, how to turn on trace for JBoss_2_4_6's JBossMQ?

thanks,
sheng





[JBoss-user] How to retrieve JBoss_2_4_6 with Jetty source files?

2002-08-28 Thread Sheng Zou
Title: How to retrieve JBoss_2_4_6 with Jetty source files? 





Hi,


Could someone help me to get a snap view of JBoss_2_4_6 with Jetty source? 


I did the following, but it could not finish.


[978] cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss checkout -r JBoss_2_4_6 jboss-all
cvs server: Updating jboss-all
cvs server: Updating tools
cvs server: Updating tools/apache
cvs server: Updating tools/apache/ant
cvs server: Updating tools/apache/ant/bin
cvs server: Updating tools/apache/ant/lib
cvs server: Updating tools/apache/ant/lib/ext
cvs server: Updating tools/apache/fop
cvs server: Updating tools/apache/fop/lib
cvs server: Updating tools/bin
cvs server: Updating tools/dreambean
cvs server: Updating tools/dreambean/ejbdoclet
cvs server: Updating tools/dreambean/ejbdoclet/lib
cvs server: Updating tools/etc
cvs server: Updating tools/etc/buildmagic
cvs server: Updating tools/etc/xdoclet
cvs server: Updating tools/etc/xdoclet/templates
cvs server: Updating tools/jedit
cvs server: Updating tools/jedit/javastyle
cvs server: Updating tools/jedit/javastyle/lib
cvs server: Updating tools/lib
cvs server: Updating tools/planet57
cvs server: Updating tools/planet57/buildmagic
cvs server: Updating tools/planet57/buildmagic/bin
cvs server: Updating tools/planet57/buildmagic/lib
cvs server: Updating tools/sun
cvs server: Updating tools/sun/javac
cvs server: Updating tools/sun/javac/lib
cvs server: Updating thirdparty/apache
cvs server: Updating thirdparty/apache/axis
cvs server: Updating thirdparty/apache/axis/lib
cvs server: Updating thirdparty/apache/axis/samples
cvs server: Updating thirdparty/apache/axis/samples/addr
cvs server: Updating thirdparty/apache/bcel
cvs server: Updating thirdparty/apache/bcel/lib
cvs server: Updating thirdparty/apache/crimson
cvs server: Updating thirdparty/apache/crimson/lib
cvs server: Updating thirdparty/apache/excalibur
cvs server: Updating thirdparty/apache/excalibur/lib
cvs server: Updating thirdparty/apache/log4j
cvs server: Updating thirdparty/apache/log4j/lib
cvs server: Updating thirdparty/apache/xalan
cvs server: Updating thirdparty/apache/xalan/lib
cvs server: Updating thirdparty/apache/xerces
cvs server: Updating thirdparty/apache/xerces/lib
cvs server: Updating thirdparty/exolab
cvs server: Updating thirdparty/exolab/castor
cvs server: Updating thirdparty/exolab/castor/lib
cvs server: Updating thirdparty/exolab/tyrex
cvs server: Updating thirdparty/exolab/tyrex/lib
cvs server: Updating thirdparty/gnu
cvs server: Updating thirdparty/gnu/getopt
cvs server: Updating thirdparty/gnu/getopt/lib
cvs server: Updating thirdparty/gnu/regexp
cvs server: Updating thirdparty/gnu/regexp/lib
cvs server: Updating thirdparty/hsqldb
cvs server: Updating thirdparty/hsqldb/hsqldb
cvs server: Updating thirdparty/hsqldb/hsqldb/lib
cvs server: Updating thirdparty/javagroups
cvs server: Updating thirdparty/javagroups/javagroups
cvs server: Updating thirdparty/javagroups/javagroups/lib
cvs server: Updating thirdparty/junit
cvs server: Updating thirdparty/junit/junit
cvs server: Updating thirdparty/junit/junit/lib
cvs server: Updating thirdparty/sun
cvs server: Updating thirdparty/sun/jaas
cvs server: Updating thirdparty/sun/jaas/lib
cvs server: Updating thirdparty/sun/jaf
cvs server: Updating thirdparty/sun/jaf/lib
cvs server: Updating thirdparty/sun/javacc
cvs server: Updating thirdparty/sun/javacc/lib
cvs server: Updating thirdparty/sun/javamail
cvs server: Updating thirdparty/sun/javamail/lib
cvs server: Updating thirdparty/sun/jaxp
cvs server: Updating thirdparty/sun/jaxp/lib
cvs server: Updating thirdparty/sun/jce
cvs server: Updating thirdparty/sun/jce/lib
cvs server: Updating thirdparty/sun/jmx
cvs server: Updating thirdparty/sun/jmx/lib
cvs server: Updating thirdparty/sun/jndi
cvs server: Updating thirdparty/sun/jndi/lib
cvs server: Updating thirdparty/sun/jsr77
cvs server: Updating thirdparty/sun/jsr77/lib
cvs server: Updating thirdparty/sun/jsse
cvs server: Updating thirdparty/sun/jsse/lib
cvs server: Updating thirdparty/sun/jts
cvs server: Updating thirdparty/sun/jts/idl
cvs server: Updating thirdparty/sun/jts/lib
cvs server: Updating thirdparty/sun/servlet
cvs server: Updating thirdparty/sun/servlet/lib
cvs server: Updating thirdparty/gjt
cvs server: Updating thirdparty/gjt/jpl-util
cvs server: Updating thirdparty/gjt/jpl-util/lib
cvs server: Updating thirdparty/jacorb
cvs server: Updating thirdparty/jacorb/jacorb
cvs server: Updating thirdparty/jacorb/jacorb/conf
cvs server: Updating thirdparty/jacorb/jacorb/conf/default
cvs server: Updating thirdparty/jacorb/jacorb/lib
cvs server: Updating thirdparty/ibm
cvs server: Updating thirdparty/ibm/bsf
cvs server: Updating thirdparty/ibm/bsf/lib
cvs server: Updating thirdparty/ibm/uddi4j
cvs server: Updating thirdparty/ibm/uddi4j/lib
cvs server: Updating thirdparty/ibm/wsdl4j
cvs server: Updating thirdparty/ibm/wsdl4j/lib
cvs server: Updating thirdparty/techtrader
cvs server: Updating thirdparty/techtrader/tt-bytecode
cvs server: Updatin

[JBoss-user] Socket Error

2002-08-28 Thread Jon Swinth

I'm trying to connect using the java.net.Socket class from within a Session 
bean.  It works outside of JBoss, but I get "Connection Refused" in Jboss.

Socket socket = new Socket("localhost",9000);

I'd check the forums but www.jboss.org is down for me.

Is there some security that I am not aware of?


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] unsubscribe

2002-08-28 Thread Joe Harrison



-Original Message-
From: bryan hansen [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 28, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] NoClassDefFoundError TagSupport


I just upgraded from JBoss 3.0.1RC1 to JBoss-3.0.1 and
am not getting: 

500 javax/servlet/jsp/tagext/TagSupport

when we try to run our struts application. After
checking the log file it appears that it is not
finding some of the javax.servlet classes? Any ideas
why this is happening:

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagSupport
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)

Thanks,

Bryan

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] unsubscribe

2002-08-28 Thread Joe Harrison



-Original Message-
From: bryan hansen [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 28, 2002 2:46 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] NoClassDefFoundError TagSupport


I just upgraded from JBoss 3.0.1RC1 to JBoss-3.0.1 and
am not getting: 

500 javax/servlet/jsp/tagext/TagSupport

when we try to run our struts application. After
checking the log file it appears that it is not
finding some of the javax.servlet classes? Any ideas
why this is happening:

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagSupport
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)

Thanks,

Bryan

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] NoClassDefFoundError TagSupport

2002-08-28 Thread bryan hansen

I just upgraded from JBoss 3.0.1RC1 to JBoss-3.0.1 and
am not getting: 

500 javax/servlet/jsp/tagext/TagSupport

when we try to run our struts application. After
checking the log file it appears that it is not
finding some of the javax.servlet classes? Any ideas
why this is happening:

java.lang.NoClassDefFoundError:
javax/servlet/jsp/tagext/TagSupport
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)

Thanks,

Bryan

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] EJB-QL problem

2002-08-28 Thread Dain Sundstrom

I don't believe that JBoss parses the EJB-QL if JBossQL is present, but 
I would not recommend putting invalid EJB-QL in the compliant 
ejb-jar.xml file.  You should just leave the ejb-ql element empty, which 
will signify to the application deployer that this query requires 
non-complient ejb-ql (and will need to port it).

In my experience, developers just want to know what they are up against 
when porting an application.

BTW how would your application be portable if you are using 
non-complient EJB-QL?

-dain

Patrick Golec wrote:
> JBoss complains about the following finder EJB-QL query:
>  
> SELECT DISTINCT OBJECT(o) FROM Customer o WHERE o.searchName LIKE ?1
>  
> I understand that JBoss doesn't accept the parameters in the LIKE 
> operator, so I have overridden it with the JBossQL (same query), which 
> is cool.
>  
> However, I want to maintain the portability of the application, so I 
> would like to have both: EJB-QL in the ejb-jar.xml and JBossQL in the 
> jbosscmp-jdbc.xml.
>  
> My question is: is there any way to turn off EJB-QL query parsing when 
> JBossQL query is present? So that the app deploys with the EJB-QL 
> unmodified?
>  
> Thanks!
> 
> ---
>  
> Patrick Golec
> Software Architect
> Arachne Prime Inc.
>  



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] org.jboss.util.NestedSQLException Popping Up

2002-08-28 Thread Dain Sundstrom

I think this was fixed in 3.0.2.

-dain

Hunter Hillegas wrote:
> I have a EAR that has been getting the following in the logs:
> 
> 10:35:56,885 INFO  [STDOUT] Error Getting UserValueObject:
> javax.ejb.FinderException: Find failed: org.jboss.util.NestedSQLException:
> Interrupted while requesting permit!; - nested throwable:
> (javax.resource.ResourceException: Interrupted while requesting permit!)
> 
> Now, this call originates from a servlet... If I reload the request, it
> works just fine.
> 
> Any idea what is causing this and how I can fix it?
> 
> 



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IllegalStateException: removing bean lock and ithas tx set!

2002-08-28 Thread Dain Sundstrom

I think this was fixed in 3.0.2.

-dain

Gary Grobe wrote:
> Can anyone make suggestions to help fix this? I made a move from 2.4.4 
> to 3.0.1 and just started seeing this.
> 
> --- my client reports the following ...
> [ERROR]: RemoteException occurred in server thread; nested exception is:
> java.rmi.ServerException: RuntimeException; nested exception is:
> java.lang.IllegalStateException: removing bean lock and it has tx set!
> 
> --- the server reports as follows ...
> 18:13:55,536 ERROR [LogInterceptor] RuntimeException:
> java.lang.IllegalStateException: removing bean lock and it has tx set!
> at 
> 
>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:473)
> 
> 
> at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:78)
> at 
> org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:124) 
> 
> at 
> 
>org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
> 
> 
> at 
> 
>org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
> 
> 
> at 
> 
>org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178) 
> 
> at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
> at 
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130) 
> 
> at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
> at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
> at org.jboss.ejb.Container.invoke(Container.java:711)
> at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
> at 
> org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:370)
> at java.lang.reflect.Method.invoke(Native Method)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236)
> at sun.rmi.transport.Transport$1.run(Transport.java:147)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:143)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
> at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) 
> 
> at java.lang.Thread.run(Thread.java:479)
> ---
> 
> Any idea what's causing this?
> Any help much appreciated.



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] org.jboss.util.NestedSQLException Popping Up

2002-08-28 Thread Hunter Hillegas

I have a EAR that has been getting the following in the logs:

10:35:56,885 INFO  [STDOUT] Error Getting UserValueObject:
javax.ejb.FinderException: Find failed: org.jboss.util.NestedSQLException:
Interrupted while requesting permit!; - nested throwable:
(javax.resource.ResourceException: Interrupted while requesting permit!)

Now, this call originates from a servlet... If I reload the request, it
works just fine.

Any idea what is causing this and how I can fix it?



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Enterprise Beans and MBeans

2002-08-28 Thread Maris Orbidans



http://www.theserverside.com/resources/article.jsp?l=AdventnetJMX
 
 

  -Original Message-From: ed banfa 
  [mailto:[EMAIL PROTECTED]]Sent: Sunday, August 25, 2002 9:30 
  PMTo: [EMAIL PROTECTED]Subject: 
  [JBoss-user] Enterprise Beans and MBeans
  Hi all,
  This is my first(but definately not the last) posting to this list, and yes 
  its a dumb newbie question. Can any one tell me the difference between an 
  Enterprise(Session and Entity Beans) and an MBean. Yeah I know its got 
  something to do with JMX, BUT WHERE does it all fit in (the MBeans). 
  I just learnt about coding session and entity beans, and then WHAM 
  from nowhere comes MBEANS and some thing called an MBean server . Please can 
  anyone  help a lil brother out.
  Hey I appreciate the help.
  Thanks 
  Edward
  
  
  Do You Yahoo!?Yahoo! 
  Finance - Get real-time stock quotes


[JBoss-user] Oh yeah... My system info...

2002-08-28 Thread Hunter Hillegas

I realize I left this out of my last mail...

Running:

JBoss 3.01
PostgreSQL 7.2.1
Apple Java 1.3.1 (Jaguar build)



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] IllegalStateException: removing bean lock and it has tx set!

2002-08-28 Thread Gary Grobe
Can anyone make suggestions to help fix this? I made a move from 2.4.4 to 3.0.1 and just started seeing this.

--- my client reports the following ...
[ERROR]: RemoteException occurred in server thread; nested exception is:
java.rmi.ServerException: RuntimeException; nested exception is:
java.lang.IllegalStateException: removing bean lock and it has tx set!

--- the server reports as follows ...
18:13:55,536 ERROR [LogInterceptor] RuntimeException:
java.lang.IllegalStateException: removing bean lock and it has tx set!
at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(QueuedPessimisticEJBLock.java:473)
at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:78)
at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:124)
at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
at org.jboss.ejb.Container.invoke(Container.java:711)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:370)
at java.lang.reflect.Method.invoke(Native Method)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:236)
at sun.rmi.transport.Transport$1.run(Transport.java:147)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:143)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:479)
---

Any idea what's causing this?
Any help much appreciated. 

[JBoss-user] Re: How to connect to other JBoss

2002-08-28 Thread Jon Swinth

I am using Redhat, not Suse, so I don't have the issue of 127.0.0.2.  But I 
did try changing the hosts file so that the server name resolved to the 
external IP address instead of the loopback address.  This allowed me to 
connect.

Doesn't this mean that JBoss would not be able to work on a mutli-homed 
machine where it was being accessed from both interfaces?


> Date: Tue, 27 Aug 2002 20:42:23 -0300
> From: =?ISO-8859-1?Q?Emerson_Cargnin_-_SICREDI_Servi=E7os?=
> <[EMAIL PROTECTED]> Organization: SICREDI
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Re: How to connect to other JBoss
> Reply-To: [EMAIL PROTECTED]
>
> i know it, but the target hosts file is used, take a look at this :
>
>
> I solve the problem : )
>
> suse 8.0 configured hosts file as :
>
> 127.0.0.2       tec-ecargnin.sicredi.com.br     tec-ecargnin
>
> i think suse 7.3 doesn't have this problem.


---
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



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

2002-08-28 Thread Bob Cotton


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

- Bob

-- 
SynXis Corporation  | [EMAIL PROTECTED]| no .sig today.
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | 
Denver, CO  80202   | Fax:(303)534-4257 | 



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] EJB-QL problem

2002-08-28 Thread Patrick Golec



JBoss complains about the following finder 
EJB-QL query:
 
SELECT DISTINCT OBJECT(o) FROM Customer o 
WHERE o.searchName LIKE ?1
 
I understand that JBoss doesn't accept the 
parameters in the LIKE operator, so I have overridden it with the JBossQL (same 
query), which is cool. 
 
However, I want to maintain the portability 
of the application, so I would like to have both: EJB-QL in the ejb-jar.xml and 
JBossQL in the jbosscmp-jdbc.xml.
 
My question is: is there any way to turn 
off EJB-QL query parsing when JBossQL query is present? So that the app deploys 
with the EJB-QL unmodified?
 
Thanks!
---
 
Patrick GolecSoftware ArchitectArachne Prime Inc.
 
 


[JBoss-user] New SAO PAULO TRAINING PRICE

2002-08-28 Thread marc fleury

we have bumped the training price down to USD2500, flat price, to take
into account the differences in curencies.  I hope you will show up to
this training.  We got excellent material, all the latest 3.0 stuff
covered from detail to philosophy and if you guys don't show up now you
will not get another opportunity in South America soon,

marc f

xx
Marc Fleury, Ph.D.
President, Founder
JBoss Group, LLC
xx



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] behaviour of a cached initialContext

2002-08-28 Thread Kevin Conner

> And about reusing homes (will JAAS principal be maintained?)

The JAAS principal is not associated with the homes, you can safely
cache them.  The principal is associated with the current thread
when the request is received.  This thread local principal is then
used by the proxy classes when the home (or bean) is accessed.

Kev

Kevin Conner
Orchard Information Systems Limited
Newcastle Technopole, Kings Manor
Newcastle Upon Tyne, NE1 6PA. United Kingdom
Registered in England, Number 1900078
Tel: +44 (0) 191-2032536  Fax: +44 (0) 191 2302515



---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Integrating Jboss 3.0.2 with Tomcat 4.0.4

2002-08-28 Thread Raúl Mateos



Hello!

I downloaded Jboss3.0.2 and I´m trying to use it wit tomcat 4.0.4. What
can I change in .xml or sar to delete to integrate it and avoid using
jetty?

Thanks in advance

-BEGIN PGP PUBLIC KEY BLOCK-
Version: PGPfreeware 5.5.3i for non-commercial use 

mQGiBD0/zAIRBADMHF1qK6ssLjCMEDK3WUF/OUfM0eBnRTdx76NufNwGC1ghrQvW
6eQgsbc6bS0SVv7fvwu59ufhpJCKoAB15+EAlqgev8s20zRmMZIqsYAcPqL1k/u/
dEuuiPsWKjCyS6R1A/MAlHhxwcNhbKdmiiKMH4uPEQ5Cd0WQERLCdzw38QCg//zl
3HbywqOGx0eyJTTFBBKXs20EAIbsXXO8tXuH4R/gWZDbzC/vVIWI3xYhdmFOmuov
wF9fJBEXwMPVKSbaCzzfY8Cq5ipCrmoyZc9QpeDlGOqp96ZH0rF2b43qyK+4aXFE
bwFdOF0YcwpiJBDjWQ7SfYm+bNPlLe1Xm7yGLuHqtMJkP4hhKw3v02NBUb1lleCi
76PgA/4rWfNBEqyGQvDrnRgze6hIWXkfgsf8fIsGm/uDNXsZrPCWUMtlKdB4ubh7
9bwTHOAhjeUd1+eFRYXNk40bVrouwbEYyhtsbnaNpY/N++Y0V2KcPNWucZpONYPF
7x5Axm2VZYHjVZQH8uO09ihH3fcmNm7DYHQXJHBkVbQpFiNKnrQcUmH6bCBNYXRl
b3MgPHJtYXRlb3NAYW9sLmVzPokASwQQEQIACwUCPT/MAgQLAwIBAAoJEJT+xZZs
3K5L5Q4An3JBGtbkntDzdZnxwi4mPnmo7ULjAKDt0K3aaawnFvcnRSykOE5CvI4h
ULkCDQQ9P8wCEAgA9kJXtwh/CBdyorrWqULzBej5UxE5T7bxbrlLOCDaAadWoxTp
j0BV89AHxstDqZSt90xkhkn4DIO9ZekX1KHTUPj1WV/cdlJPPT2N286Z4VeSWc39
uK50T8X8dryDxUcwYc58yWb/Ffm7/ZFexwGq01uejaClcjrUGvC/RgBYK+X0iP1Y
TknbzSC0neSRBzZrM2w4DUUdD3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9
fBdXQ6MdGGzeMyEstSr/POGxKUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCb
AkbTCD1mpF1Bn5x8vYlLIhkmuquiXsNV6TILOwACAggA2xWg1FTA5oXssTPdX7YU
t6u3LRL+Y7HCDOPTwU6kSQbjb+xj6GPlh/T3E30Yb/4jVj8srQB0IADLAuMlCZYk
Z7uJyUZ9y31p4i8Yv76cwQ43U6DtCVV4h3RlyYcRaIDK7SN4E6UG/p5RLKhSHGFy
oUbIB9v3jE134QJ+u1xDw8M6XzUvfD5nTX7WwXIdE7CdpgTWpCSvyE6/whMOx84s
uk7deBmZnNIS8Po9UJLACDStJczgkiz9cItPJAsK9L7zdfFFTFNLI0li25gxeRbA
a+kCzeqo0ymLdUE/KS/Mv911geb1afzmcN0BE1SmJ3dfSgAi42QnU5VvYbHW09Ap
AIkARgQYEQIABgUCPT/MAgAKCRCU/sWWbNyuS2wsAKCNip/rPy7YeWSHaTqbZn3k
cNYZxwCcCimZonqcFkAAmVHBYxILqBZkTmM=
=AUNJ
-END PGP PUBLIC KEY BLOCK-




---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] bundled tc4/jetty not remembering previous authentication in single session

2002-08-28 Thread jfc

Thanks for that, Scott!

I wonder what it was about 243+40 which made the authentication info 
available to the bundled web container on subsequent requests - was it a 
different caching policy?

Cheers
Joe

Scott M Stark wrote:

>This is not a bug. It is legitimate behavior per the servlet specification and
>tomcat standalone will exhibit this if you turn off caching in the FormAuthenticator:
>
>  debug="3" cache="false"/>
>
>The bundled tomcat turns caching off because it conflicts with the stateless
>propagation of credentials from servlets to ejbs. Until the servlet spec defines
>how authentication information must be propagated in a session any content
>that needs to know the authenticated user must be secured or you have to
>maintain this yourself in the session.
>
>
>Scott Stark
>Chief Technology Officer
>JBoss Group, LLC
>
>- Original Message - 
>From: "jfc" <[EMAIL PROTECTED]>
>To: "jboss user" <[EMAIL PROTECTED]>
>Sent: Tuesday, August 27, 2002 7:48 AM
>Subject: [JBoss-user] bundled tc4/jetty not remembering previous authentication in 
>single session
>
>
>>  Hi,
>>
>>JBoss3.0.0+Jetty??? (don't see any reference to Jetty version in
>>latest bundle)
>>
>>I have created a war file to demonstrate a problem(relating to
>>authentication - FORM-BASED or BASIC on jboss+jetty bundle) with which
>>I have spent a lot of time trying to resolve.
>>
>>The problem is this:
>>
>>1. unauthenticated user's request is to a secured resource;
>>2. login form / basic form is presented to user;
>>3. user logs in successfully i.e. successfully authenticated
>>(req.getRemoteUser(userid) reflects this);
>>4. same user then requests a non-secured resource and is not
>>recognized as being authenticated(request.getRemoteUser(userid)
>>returns null).
>>5. same user requests the previous (point 3) resource and is taken
>>directly to the secured resource (i.e. container recognizes or
>>'remembers' the request as having been authenticated.)
>>
>>I am interested only in persisting this authentication info on the web
>>engine at this point - I'll get to the ejb container later.
>>
>>I have to go back to jboss2.4.3+tc4.0 to get the web container to
>>remember a previous authentication (within the same session of course)
>>- however, anything above those two combinations and it just doesn't
>>remember. I have tried more than one login module implementation
>>without it affecting the result (DatabaseServerLoginModule). Also, I
>>have tried deploying the war into a standalone tomcat container(4.0.4)
>>and the container does remember the previous authentication.
>>
>>I have attached the 'demo-auth-prob.war' file. just drop it into the
>>jboss 3.0.0 deploy directory to deploy it. (If neccessary I can supply
>>the source).
>>
>>Feel free to try the form-based variation by modifying the archived
>>web.xml (currently commented out). The war is currently configured to
>>utilize the UserRolesLoginModule which I believe will be invoked
>>should the jboss-web.xml security realm not be found in your jboss's
>>login-config.xml.
>>
>>Cheers
>>Joe
>>
>
>
>
>---
>This sf.net email is sponsored by: Jabber - The world's fastest growing 
>real-time communications platform! Don't just IM. Build it in! 
>http://www.jabber.com/osdn/xim
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user
>




---
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user