Re: [JBoss-user] problems using local interfaces

2002-07-16 Thread Binil Thomas

On Wed, 17 Jul 2002, Marko Asplund wrote:

> On Wed, 17 Jul 2002, Alex Loubyansky wrote:
>
> > local interfaces are not allowed to be accessed remotely. Therefore
> > they are called local :)
>
> ok, but with respect to what is locality defined?

yes, locality is defined in terms of the same JVM.

> is the use of local
> interfaces only allowed for EJBs and other components (Servlets, JSPs)
> running inside the same JBoss/JVM instance?
>
> best regards,
>

-- 
And did they get you to trade your heroes for ghosts?  Hot ashes for
trees? Hot air for a cool breeze?  Cold comfort for change? And did you
exchange a walk on part in the war for a lead role in a cage? - PF



---
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[2]: [JBoss-user] problems using local interfaces

2002-07-16 Thread Alex Loubyansky

MA> ok, but with respect to what is locality defined? is the use of local
MA> interfaces only allowed for EJBs and other components (Servlets, JSPs)
MA> running inside the same JBoss/JVM instance?

exactly!

-- 
Best regards,
 Alex Loubyansky




---
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] problems using local interfaces

2002-07-16 Thread Marko Asplund

On Wed, 17 Jul 2002, Alex Loubyansky wrote:

> local interfaces are not allowed to be accessed remotely. Therefore
> they are called local :)

ok, but with respect to what is locality defined? is the use of local
interfaces only allowed for EJBs and other components (Servlets, JSPs)
running inside the same JBoss/JVM instance?

best regards,
-- 
aspa



---
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[2]: [JBoss-user] Help with security-constraints please

2002-07-16 Thread Alex Loubyansky

Hello Jim,

Tuesday, July 16, 2002, 11:28:06 PM, you wrote:

JC> RESOLVED:

JC> I switched the order of the constraints, making both Tomcat and Jetty happy.
JC> The spec says to use the most specific matching constraint.  Jetty is doing
JC> that.  Tomcat, on the other hand, seems to be using the first match it
JC> finds.

And it follows the servlet2.3 spec (12.8):
"...For an application specifying multiple security constraints, on processing a 
request to
determine what authentication method to use, or what authorization to allow, the 
container
matches to security constraints on a ‘first match wins’ basis..."

alex

JC> Jim

JC> - Original Message -
JC> From: "Jim Crossley" <[EMAIL PROTECTED]>
JC> To: <[EMAIL PROTECTED]>
JC> Sent: Tuesday, July 16, 2002 2:41 PM
JC> Subject: [JBoss-user] Help with security-constraints please


>> I have a web-app that I would like to be able to deploy on both jboss
>> bundles:  jboss3/jetty and jboss3/tomcat4.  I'm trying to restrict all
>> content EXCEPT my images.  The following works great on jetty, but not on
>> tomcat.  The first request for an image file results in my login form
JC> being
>> displayed with a bunch of broken images.  Does anyone know what I can
JC> change
>> to make both containers work the same?
>>
>>   
>> 
>>   The whole site
>>   /
>>   POST
>>   PUT
>>   GET
>> 
>> 
>>   *
>> 
>>   
>>
>>   
>> 
>>   Images
>>   /images/*
>>   POST
>>   PUT
>>   GET
>> 
>>   
>>
>> Thanks,
>> Jim
>>
>>
>>
>> ---
>> 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



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

-- 
Best regards,
 Alex Loubyansky




---
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] problems using local interfaces

2002-07-16 Thread Alex Loubyansky

Hello Marko,

local interfaces are not allowed to be accessed remotely. Therefore
they are called local :)

alex

Tuesday, July 16, 2002, 5:23:54 PM, you wrote:

MA> hi

MA> i'm trying to use the local interface for a EJB session bean which i'm
MA> developing (with JBoss 3.0). the EJB client can successfully use the
MA> remote bean and home interfaces but when i change the client to use local
MA> interfaces i get the following error message from the client:

MA> javax.naming.CommunicationException.  Root exception is 
java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no 
security manager: RMI class loader disabled)
MA> at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
MA> at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
MA> at 
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:143)
MA> at 
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
MA> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
MA> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
MA> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
MA> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
MA> at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
MA> at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
MA> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
MA> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
MA> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
MA> at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
MA> at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
MA> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:449)
MA> at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
MA> at javax.naming.InitialContext.lookup(InitialContext.java:350)
MA> at test.client.TestDocList.main(TestDocList.java)

MA> is there something i should configure on the server to make using local
MA> interface possible? i'm basically using an unmodified 'default'
MA> configuration.

-- 
Best regards,
 Alex Loubyansky




---
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] Local interface problem

2002-07-16 Thread [EMAIL PROTECTED]

Thanx
- Original Message -
From: "Maris Orbidans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 11:29 PM
Subject: RE: [JBoss-user] Local interface problem


hi

You should have   instead of  in depl. descriptor.

for example:



BackEndSession
Session

localinterfaces.BackEndSessionLocalHome
localinterfaces.BackEndSessionLocal
BackEndSession


You can get full example of local interfaces from:

http://www.datapro.lv/~mariso/ejb/LocalInterfaces.zip


regards,
Maris Orbidans

> -Original Message-
> From: Vijay@winfoware [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Local interface problem
>
>
> Hi friends,
>
> How to access Entity Bean from Session Bean Using Local interface.
>
> ejb-jar.xml is attached and in session bean when i lookup it give
> following error
> "[INFO,Default] javax.naming.NameNotFoundException:
> CDBean not bound
> [ERROR,CDCollectionBean] TRANSACTION ROLLBACK EXCEPTION"
>
> Thanks.
> Vijay
>


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



[JBoss-user] JBoss 3 Quick Start Guide Draft 3

2002-07-16 Thread Andreas Schaefer

Hi Geeks

I just released the Draft 3 for the JBoss 3 Quick Start Guide
after writing Chapter 6 and Dain's CMP 2.0 contribution.
Dain also included an example for CMP 2.0 which is currently
not based on the Template project.

Have fun

x
Andreas Schaefer
Senior Consultant
JBoss Group, LLC
x




---
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] stateless session beans cannot call statefulsession beans!!?

2002-07-16 Thread Craig O'Shannessy

On Wed, 2002-07-17 at 00:43, Maris Orbidans wrote:
> 
> 
> Start a new transaction with someMethod(accountNumber1,amount) method. I think then 
>the SFSB will be removable because it will not be participating in any transaction.

This is true, but doesn't actually help what I am trying to do.  I need
to update a non-transactional datasource, and the best way to do this
seems to be to use SessionSynchronization, (which can ONLY be used on
SFSB's). The update needs to be part of the outer transaction. This
seems to preclude the use of ANY SLSB's anywhere between the original
client call and the SFSB doing the SessionSynchronization.  This seems
like a nasty, dangerous and undocumented restriction.

> 
> >This means, for example, that the Container may delegate the
> > requests from the same client within the same transaction to 
> > different 
> > instances, and that the Container may interleave requests 
> > from multiple 
> > transactions to the same instance
> 
> I am not sure that it means that instances of SLSB are reentrant.  (spec. 7-11-8)
> 
> 
> Maris
> 
> 
> > -Original Message-
> > From: Craig O'Shannessy [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 16, 2002 12:15 PM
> > To: jboss-user
> > Subject: [JBoss-user] stateless session beans cannot call 
> > stateful session beans!!?
> > 
> > 
> > Hi,
> > 
> > I wonder if someone could clear up a problem for me.  It seems that a 
> > Stateless session bean cannot really use a Stateful session bean for
> > two reasons.
> > 
> > 1. The stateless bean cannot call remove on the stateful, 
> > therefore can't
> >clean it up (see code below)
> > 
> > 2. If the stateless bean holds onto a reference to a stateful 
> > bean to get
> >around creating one on each call and avoid problem 1., 
> > another problem
> >occurs.  The Stateless bean can be shared between 
> > concurrent transactions
> >(see quote from spec below), therefore the stateful beans 
> > transactional
> >scope is indeterminate (cause nasty blocking or even overlapping 
> >transactions?)
> > 
> > One reason you might want to use a Stateful bean from a 
> > Stateless is to
> > do SessionSyncronization on a non transactional datasouce for example.
> > 
> > - Code example for problem 1. 
> > --
> > /**
> >  * For readability, this example uses xdoclet code, if you 
> > don't use it,
> >  * you might want to check it out!
> >  */
> > class StatelessBean extends SessionBean
> > {
> > /**
> >  * @ejb:interface-method
> >  */
> > public void transferMoney(long account1,long 
> > account2,double amount)
> > {
> > StatefulEJBLocal stateful = 
> > StatefulEJBUtil.getLocalhome().create();
> > stateful.someMethod(accountNumber1,amount);
> > // stateful.remove();  <-- Can't do this, RemoveException 
> >//  (7.5.7 p79 ejb2 spec)
> > }
> > }
> > --
> > 
> > Quote from Section 7.8, p87 of ejb2 spec
> > 
> > Because all instances of a stateless session bean are equivalent, the 
> > container can choose to delegate a client-invoked method to 
> > any available 
> > instance. This means, for example, that the Container may delegate the
> > requests from the same client within the same transaction to 
> > different 
> > instances, and that the Container may interleave requests 
> > from multiple 
> > transactions to the same instance.
> > 
> > 
> > 
> > ---
> > 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





---
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] Unexpected JBoss Shutdown

2002-07-16 Thread JD Brennan
Title: Unexpected JBoss Shutdown





Lately when I run our unit test suites, JBoss suddenly
starts shutting down in the middle of running the
tests (causing many tests to fail, of course).


In the server.log I see:


16:07:37,085 INFO  [Server] undeploying all packages
...
16:07:42,352 INFO  [Server] Shutting down all services
Shutting down


--


Slightly different than what I see in the log when
I run the JBoss shutdown.bat script.


Any idea what would make JBoss suddenly start
shutting down or how I can track down this down?


Tx!
JD





Re: [JBoss-user] CMP with inheritance doubt

2002-07-16 Thread Emerson Cargnin - SICREDI Serviços

ok, type error : )

it worked : )  I used xdoclet to generate all the stuff, and it got the 
methods and tags from parent. It will help a lot...

Dain Sundstrom wrote:

> Emerson Cargnin - SICREDI Serviços wrote:
> 
>> Could some one clarify :
>>
>> I have a abstract class with two methods :
>>
>> - getOid
>> - SetOid
> 
> 
> Use a lowercase 's'.
> 


-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860



---
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] CMP with inheritance doubt

2002-07-16 Thread Dain Sundstrom

Emerson Cargnin - SICREDI Serviços wrote:
> Could some one clarify :
> 
> I have a abstract class with two methods :
> 
> - getOid
> - SetOid

Use a lowercase 's'.

-- 

Dain Sundstrom
Chief Architect JBossCMP
JBoss Group, LLC




---
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] CMP with inheritance doubt

2002-07-16 Thread Emerson Cargnin - SICREDI Serviços

Could some one clarify :

I have a abstract class with two methods :

- getOid
- SetOid

I have a ejb that extends this class, the interface has both methods, 
children ejb and abstract father, jboss give 2 warnings telling me that 
my ejb don't have accessors for a field (it's in the abstract parent).



19:28:22,355 INFO  [EJBDeployer]
Bean   : Praca
Section: 10.6.2
Warning: The entity bean class must define a set accessor for each CMP 
field.
Info   : Field: p


it will work
-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860



---
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] Help with security-constraints please

2002-07-16 Thread Jim Crossley

RESOLVED:

I switched the order of the constraints, making both Tomcat and Jetty happy.
The spec says to use the most specific matching constraint.  Jetty is doing
that.  Tomcat, on the other hand, seems to be using the first match it
finds.

Jim

- Original Message -
From: "Jim Crossley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 2:41 PM
Subject: [JBoss-user] Help with security-constraints please


> I have a web-app that I would like to be able to deploy on both jboss
> bundles:  jboss3/jetty and jboss3/tomcat4.  I'm trying to restrict all
> content EXCEPT my images.  The following works great on jetty, but not on
> tomcat.  The first request for an image file results in my login form
being
> displayed with a bunch of broken images.  Does anyone know what I can
change
> to make both containers work the same?
>
>   
> 
>   The whole site
>   /
>   POST
>   PUT
>   GET
> 
> 
>   *
> 
>   
>
>   
> 
>   Images
>   /images/*
>   POST
>   PUT
>   GET
> 
>   
>
> Thanks,
> Jim
>
>
>
> ---
> 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



RE: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Bill Burke

Download the source code.  The Mail MBean or Scheduler MBean is a good
example.

Not sure if the QuickStart guide has any information on this, but the JBoss
for-pay docs have info.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Saroj Kumar
> Sent: Tuesday, July 16, 2002 11:56 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] How to register a class as a startup class in
> JBOSS3
>
>
> How do we use a mbean? Any starting points? I am new to JBOSS. Any help
> would be more than welcome.
>
> Thanks,
> Saroj
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Jung , Dr.
> Christoph
> Sent: Tuesday, July 16, 2002 7:49 PM
> To: '[EMAIL PROTECTED]'
> Subject: AW: [JBoss-user] How to register a class as a startup class in
> JBOSS3
>
>
> You could use an mbean for that purpose which would have the additional
> advantage of being reinitializable when you cycle your application and
> configurable from any (RMI/HTML/whatever) JXM-Adapter.
>
> Statics are poo-poo, IMHO.
>
> CGJ
>
>
>
> -Ursprüngliche Nachricht-
> Von: David Ward [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. Juli 2002 14:40
> An: [EMAIL PROTECTED]
> Betreff: Re: [JBoss-user] How to register a class as a startup class in
> JBOSS3
>
>
> There is a generic way to do this with web applications in the 2.2
> servlet spec and even a better way in 2.3.
>
> In 2.2, you can just have a servlet that calls your initializer in it's
> init() method.  Then, in web.xml, define the load-on-startup element.
> That way, when your web app comes up, you get called.  You can also call
>
> a clean-up class in the servlet's destroy() method.
>
> Now, in servlet 2.3, you can define a ServletContextListener (a servlet
> context is basically your web app) in the web.xml.  You will get
> notified via the contextInitialized and contextDestroyed methods.
>
> Granted, each of these methods mean assumes you've got a web tier.  Even
>
> if you don't, it's not a horrible thing to just through your ejb jars in
>
> an ear along with a tiny war who's only job is to initialize some stuff.
>
> Now, if you just wanted to now about startup/shutdown classes outside of
>
> your app and specific to jboss, I don't know.
>
> Hope this helps,
> David
>
> --
>
> Saroj Kumar wrote:
> > Hi All,
> >
> > I want to register a class as startup class in JBOSS3. This class
> > should be loaded in memory when server is started.
> >
> > This class reads some properties and loads them in the memory. Other
> > classes need to access these variables using ClassName.Method Names().
> >
> > Please suggest me a way.
> > Saroj
> >
> >
> >
> > ---
> > 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
>
>
>
> --
>
> -
> David Ward
> [EMAIL PROTECTED]
> http://www.dotech.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 message has been scanned by F-Secure Anti-Virus for Microsoft
> Exchange.
> For more information, connect to http://www.F-Secure.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



---
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 with security-constraints please

2002-07-16 Thread Jim Crossley

I have a web-app that I would like to be able to deploy on both jboss
bundles:  jboss3/jetty and jboss3/tomcat4.  I'm trying to restrict all
content EXCEPT my images.  The following works great on jetty, but not on
tomcat.  The first request for an image file results in my login form being
displayed with a bunch of broken images.  Does anyone know what I can change
to make both containers work the same?

  

  The whole site
  /
  POST
  PUT
  GET


  *

  

  

  Images
  /images/*
  POST
  PUT
  GET

  

Thanks,
Jim



---
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] Local interface problem

2002-07-16 Thread Maris Orbidans

hi

You should have   instead of  in depl. descriptor.

for example:



BackEndSession
Session
localinterfaces.BackEndSessionLocalHome
localinterfaces.BackEndSessionLocal
BackEndSession


You can get full example of local interfaces from:

http://www.datapro.lv/~mariso/ejb/LocalInterfaces.zip


regards,
Maris Orbidans

> -Original Message-
> From: Vijay@winfoware [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 5:05 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Local interface problem
> 
> 
> Hi friends,
> 
> How to access Entity Bean from Session Bean Using Local interface.
> 
> ejb-jar.xml is attached and in session bean when i lookup it give
> following error
> "[INFO,Default] javax.naming.NameNotFoundException: 
> CDBean not bound
> [ERROR,CDCollectionBean] TRANSACTION ROLLBACK EXCEPTION"
> 
> Thanks.
> Vijay
> 


---
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] JBoss.net deployment stopped by java.lang.LinkageError

2002-07-16 Thread Matt Munz

CGJ,

  Thanks for your patience with all my questions :)

> I guess the axis-beta3
> migration is something which should be better done by me, because I can
> easily conclude necessary patches to make in jboss.net from diffing
> axis-beta1 to beta3.

  I figured that was the case.

> Maybe you could try to find out whether axis-3 still depends on the
> tt-bytecode that flawed in your configuration?

  It does.  I'll try to provide a bug report on this to the Axis developers.

> Maybe you could try to get
> their sourcecode and find the exact problem why it causes this
LinkageError
> while only analysing bytecode, not creating some.

  That's my next step.  Even though tt-bytecode.jar may not be actively
maintained, I'm sure the source is available...

  If I'm able to figure anything out, I'll let you know.

  - Matt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr.
Christoph
Sent: Tuesday, July 16, 2002 10:41 AM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-user] JBoss.net deployment stopped by
java.lang.LinkageError


Matt,

Our current tasks are pretty much one-person things simply because we are
not too many :-(

You are welcome to step in and help out. Although I guess the axis-beta3
migration is something which should be better done by me, because I can
easily conclude necessary patches to make in jboss.net from diffing
axis-beta1 to beta3.

Maybe you could try to find out whether axis-3 still depends on the
tt-bytecode that flawed in your configuration? Maybe you could try to get
their sourcecode and find the exact problem why it causes this LinkageError
while only analysing bytecode, not creating some. Or maybe there is some
other task that attracts you?

You are warmly welcome in each case.

CGJ

-Ursprüngliche Nachricht-
Von: Matt Munz [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. Juli 2002 15:05
An: [EMAIL PROTECTED]
Betreff: RE: [JBoss-user] JBoss.net deployment stopped by
java.lang.LinkageError


CGJ,

> I will see whether the prob still appears with the axis beta3 when
> integrating with jboss.net

  Sounds great.

On the Todo list, I see this as task #58106, scheduled for completion on
7-15 (yesterday).  Any estimate on when this will actually be done?  Is this
a one-person task, or is there room for assistance?

  - Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr.
Christoph
Sent: Tuesday, July 16, 2002 3:56 AM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-user] JBoss.net deployment stopped by
java.lang.LinkageError


Hi Matt,

I have no idea about incompatibilities between the bytecode toolkit and
JDK1.4, but I guess this is a likely source for your problem.

Tt-bytecode (http://tt-bytecode.sourceforge.net/) is no longer active,
anyway, so I guess that the axis guys will (or have already been?) replacing
it by the successor SERP (http://serp.sourceforge.net/).

I will see whether the prob still appears with the axis beta3 when
integrating with jboss.net

CGJ

-Ursprüngliche Nachricht-
Von: Matt Munz [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 15. Juli 2002 23:08
An: jboss-user
Betreff: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError


JBoss.net folks,

  Could you take a look at the following any help me figure out what's going
on?  Is there a problem with tt-bytecode.jar?

  - Matt

  Setup: w2k, jdk1.4.1, build from latest source.  I made a copy of the
default configuration and renamed it "terminology".  I then droped
jboss-net.sar into the deploy folder.

  Output:

16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517
{
url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/serv
er/terminology/deploy/jboss-net.sar, deployedLastMod
ified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment:
file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.
1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable:
(java.lang.LinkageError: duplicate class definition: com/tec
htrader/modules/tools/bytecode/Code)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy7.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen

Re: [JBoss-user] persistence error

2002-07-16 Thread bryan hansen

I upgraded to 3.0.1RC1 and everything seems to be ok
with this bug, but now I am getting an error when I
try to deploy the mssql-service.xml file that I had
defining my connection to the database. This worked
fine on 3.0.0. Here is the error:

10:22:57,857 INFO  [MainDeployer] Deployed package:
file:/C:/jboss-3.0.1RC1/server/default/deploy/ms
sql-service.xml
10:22:57,867 ERROR [URLDeploymentScanner] Incomplete
Deployment listing:
Packages waiting for a deployer:
  
Incompletely deployed packages:
  
MBeans waiting for classes:
  
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=LocalTxCM,name=MSSQLDS
 state: CONFIGURED
 I Depend On:  
jboss.jca:service=LocalTxDS,name=MSSQLDS
  jboss.jca:service=LocalTxPool,name=MSSQLDS
  jboss.jca:service=CachedConnectionManager
  jboss.security:name=JaasSecurityManager
  jboss.jca:service=RARDeployer

 Depends On Me: ]

Any ideas?

Bryan

--- Scott M Stark <[EMAIL PROTECTED]> wrote:
> See this bug fixed in 3.0.1RC1
>
http://sourceforge.net/tracker/index.php?func=detail&aid=565237&group_id=228
> 66&atid=376685
> 
> 
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> 
> - Original Message -
> From: "bryan hansen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 15, 2002 1:49 PM
> Subject: [JBoss-user] persistence error
> 
> 
> > I am getting a persistence error that is a little
> > confusing. After the server sits for about 10
> minutes
> > of so I get a message saying that:
> >
> > 14:03:22,617 ERROR
> > [Log4jService$ThrowableListenerLoggingAdapter]
> > unhandled throwable
> > java.rmi.ServerException: Could not passivate;
> nested
> > exception is:
> > java.rmi.MarshalException: Invalid remote
> > object
> > java.rmi.MarshalException: Invalid remote object
> > at
> >
>
java.rmi.server.RemoteObject.writeObject(RemoteObject.java:148)
> > at java.lang.reflect.Method.invoke(Native
> > Method)
> > at
> >
>
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1859)
> > at
> >
>
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1205)
> > at
> >
>
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
> > at
> >
>
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.writeExternal(JRMPInvo
> kerProxy.java
> > :149)
> > at
> >
>
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1175)
> > at
> >
>
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
> > at
> >
>
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1822)
> > at
> >
>
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:475)
> > at
> >
>
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1209)
> > at
> >
>
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:361)
> > at
> > java.util.HashMap.writeObject(HashMap.java:807)
> > at java.lang.reflect.Method.invoke(Native
> > Method)
> >
> > Is this because of a hashmap that I have in my
> code or
> > is there a bigger picture that I am not seeing? I
> have
> > a hash map in my code that contains a handle to an
> ejb
> > and that is the only thing that i think could be
> > throwing this error.
> >
> > Thanks,
> >
> > Bryan
> >
> 
> 
> 
> 
>
---
> 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


__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.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] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar

How do we use a mbean? Any starting points? I am new to JBOSS. Any help
would be more than welcome.

Thanks,
Saroj

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jung , Dr.
Christoph
Sent: Tuesday, July 16, 2002 7:49 PM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-user] How to register a class as a startup class in
JBOSS3


You could use an mbean for that purpose which would have the additional
advantage of being reinitializable when you cycle your application and
configurable from any (RMI/HTML/whatever) JXM-Adapter.

Statics are poo-poo, IMHO.
 
CGJ



-Ursprüngliche Nachricht-
Von: David Ward [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 16. Juli 2002 14:40
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3


There is a generic way to do this with web applications in the 2.2 
servlet spec and even a better way in 2.3.

In 2.2, you can just have a servlet that calls your initializer in it's 
init() method.  Then, in web.xml, define the load-on-startup element. 
That way, when your web app comes up, you get called.  You can also call

a clean-up class in the servlet's destroy() method.

Now, in servlet 2.3, you can define a ServletContextListener (a servlet 
context is basically your web app) in the web.xml.  You will get 
notified via the contextInitialized and contextDestroyed methods.

Granted, each of these methods mean assumes you've got a web tier.  Even

if you don't, it's not a horrible thing to just through your ejb jars in

an ear along with a tiny war who's only job is to initialize some stuff.

Now, if you just wanted to now about startup/shutdown classes outside of

your app and specific to jboss, I don't know.

Hope this helps,
David

--

Saroj Kumar wrote:
> Hi All,
> 
> I want to register a class as startup class in JBOSS3. This class 
> should be loaded in memory when server is started.
> 
> This class reads some properties and loads them in the memory. Other 
> classes need to access these variables using ClassName.Method Names().
> 
> Please suggest me a way.
> Saroj
> 
> 
> 
> ---
> 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



-- 

-
David Ward
[EMAIL PROTECTED]
http://www.dotech.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 message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.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



Re: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Dan Christopherson

Has anyone brought up an MBean? They're easy to write, are re-deployable 
in JBoss 3, have no restrictions (like threading and file access) and 
can put themselves in JNDI to be lookup up by the application. I believe 
JBoss 3 even lets a .sar (Service ARchive) containing MBeans to be 
packaged in an .ear.

-danch

Saroj Kumar wrote:
> Yes, I agree that having a web tier which does all the work in init()
> will do but what if I don't have any web tier and don't like to use a
> servlet to do it.
> 
> I just need something equivalent to weblogic.system.startup.class="My
> Class" kind of thing or any direct workaround without the use of
> Servlet.
> 
> Thanks,
> Saroj
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Simon
> Stewart
> Sent: Tuesday, July 16, 2002 7:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] How to register a class as a startup class in
> JBOSS3
> 
> 
> I've reformatted the email a little because you seem to prefer top
> posting. The words are all still there :)
> 
> Are you planning to restart that frequently? The singleton design
> could still work quite nicely if you have a web tier and use (as
> someone else suggested) one of your servlet's init() method to create
> the instance. Naturally, this servlet would have to be loaded when
> your app loads, but there's already support for this from the EJB
> spec.
> 
> You get the advantage of "load on startup" without having to do
> something clunky with your config files.
> 
> On Tue, Jul 16, 2002 at 07:28:41PM +0530, Saroj Kumar wrote:
> 
>>Yes, It is one of the way. Thanks for suggesting this alternative.
>>
>>But, If we need to do some activity like File Reading/ Writing
>>
> /Network
> 
>>calls using sockets then we may need a no. of classes to execute
>>
> before
> 
>>we make the app. Up. It asks for Startup classes.
>>
>>
>>>Simon Stewart said:
>>>
>>>Why not just use a singleton to load and get the variables? That's
>>>
> how
> 
>>>I tend to handle situations like that.
>>>
>>>
On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
Hi All,

I want to register a class as startup class in JBOSS3. This class
should be loaded in memory when server is started. 

This class reads some properties and loads them in the memory. Other
classes need to access these variables using ClassName.Method

> Names().
> 
Please suggest me a way.

> 
> Cheers,
> 
> Simon
> 
> 



-- 

=
Disclaimer:
All statements are my own, personal opinions and have nothing to do
with the opinions of employer, wife, or cat. They may not have anything
to do with objective reality, as a matter of fact. Your Mileage May
Vary, Excludes Delivery Charges, etc.
=



---
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] Jboss.net

2002-07-16 Thread Bruce Scharlau

At 03:41 PM 7/16/2002 +, you wrote:
>>Conrad,
>>what where you trying to do? The JBoss-3.0.1.RC1 already has the 
>>jboss.net.sar in it, ie it works with Jetty, and should run out of the 
>>box as it were. Or were you trying to get this RC version to work with 
>>Tomcat? If you were trying to get it to work with Tomcat, then it 
>>probably won't and you'll need to download the jboss-tomcat binary from 
>>the page above, or build your own following the instructions from that page.
>>In any case, give me some more details and I'll see what I can do to help.
>>
>>Cheers,
>>Bruce
>>Dr. Bruce A. Scharlau
>>Dept. of Computing Science
>>Aberdeen University
>>Aberdeen AB24 3UE
>>[EMAIL PROTECTED]
>>http://www.csd.abdn.ac.uk/~bscharla/
>>01224 272193
>>
>>---
>>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
>
>Thanks Bruce
>
>I've found jboss-net.sar file in "all" configuration directory - yesterday 
>wasn't my best day :-)
>I've tried to deploy it and and got some exceptions - in attached file -
>setup: jdk1.4, linux 2.4.18, JBoss-3.0.1RC1 (out of the box)
>Do you have any idea what am I doing wrong?
>
>Regards
>Conrad
>

Conrad,

I'm not sure what went wrong. I downloaded a copy of jboss-3.0.1RC1 and it 
worked fine. I also noted that now there is only the 'server/default' 
option without a lib directory under it, so maybe you're missing a jar from 
the server classpath, and that is what is throwing your server off. Try a 
newer build and see what happens.


Cheers,

Bruce


Dr. Bruce A. Scharlau
Dept. of Computing Science
Aberdeen University
Aberdeen AB24 3UE
[EMAIL PROTECTED]
http://www.csd.abdn.ac.uk/~bscharla/
01224 272193



---
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 register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar

Yes, I agree that having a web tier which does all the work in init()
will do but what if I don't have any web tier and don't like to use a
servlet to do it.

I just need something equivalent to weblogic.system.startup.class="My
Class" kind of thing or any direct workaround without the use of
Servlet.

Thanks,
Saroj

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Simon
Stewart
Sent: Tuesday, July 16, 2002 7:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3


I've reformatted the email a little because you seem to prefer top
posting. The words are all still there :)

Are you planning to restart that frequently? The singleton design
could still work quite nicely if you have a web tier and use (as
someone else suggested) one of your servlet's init() method to create
the instance. Naturally, this servlet would have to be loaded when
your app loads, but there's already support for this from the EJB
spec.

You get the advantage of "load on startup" without having to do
something clunky with your config files.

On Tue, Jul 16, 2002 at 07:28:41PM +0530, Saroj Kumar wrote:
> Yes, It is one of the way. Thanks for suggesting this alternative.
> 
> But, If we need to do some activity like File Reading/ Writing
/Network
> calls using sockets then we may need a no. of classes to execute
before
> we make the app. Up. It asks for Startup classes.
> 
>> Simon Stewart said:
>> 
>> Why not just use a singleton to load and get the variables? That's
how
>> I tend to handle situations like that.
>> 
>>> On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
>>> Hi All,
>>> 
>>> I want to register a class as startup class in JBOSS3. This class
>>> should be loaded in memory when server is started. 
>>> 
>>> This class reads some properties and loads them in the memory. Other
>>> classes need to access these variables using ClassName.Method
Names().
>>> 
>>> Please suggest me a way.

Cheers,

Simon

-- 
Welcome to the Church of the Holy Cabbage. Lettuce pray.


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



Re: [JBoss-user] Which JBoss should I take ?

2002-07-16 Thread Dain Sundstrom

The problem is with Oracle and CLOBs.  Oracle has never had a spec 
compliant driver (even though Sun certifies them).   It is not a high 
priority for me, so you'll have to do it if you need it.  The fix is not 
simple because we have a policy of coding/importing vendor drivers into 
the JBoss core, so you would have to develop a pluggable layer.  I am 
more then willing to give you a hand if you are serious, but I ask you 
to be certain that you want to work on it before asking me for help as I 
have given help to people who simply disappear.  Otherwise, I plan on 
fixing this in JBoss 4.0 (maybe a little sooner as I also plan on 
rewriting our forum software and that will need CLOBs).

-- 

Dain Sundstrom
Chief Architect JBossCMP
JBoss Group, LLC


Thomas Renninger wrote:
> Hello,
> 
> After a lot of tries I give up getting JBoss (2.2.2) running with Oracle 9i.
> 
> Problem: The CLOB's. I get them into the database, but JBoss is updating
> them with null (''). (Only after I restart JBoss after inserting the data,
> it deletes the CLOB columns again, very strange ...)
> 
> I read in the mailinglist that even new versions of JBoss can not handle the
> CLOB datatype.
> 
> But I must store larger values.
> 
> Is there a possibility to work around ?
> 
> Is there a JBoss version handling CLOB's ?
> 
> Are there special Oracle configurations to do ?
> 
> If not (quite bad), are there endeavours to get CLOB's running in JBOSS ?
> 
> 
> Thank you.
> 
>   Thomas
> 
> 
> 
> 
> 
> ---
> 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



RE: [JBoss-user] stateless session beans cannot call stateful session beans!!?

2002-07-16 Thread Maris Orbidans



Start a new transaction with someMethod(accountNumber1,amount) method. I think then 
the SFSB will be removable because it will not be participating in any transaction.

>This means, for example, that the Container may delegate the
> requests from the same client within the same transaction to 
> different 
> instances, and that the Container may interleave requests 
> from multiple 
> transactions to the same instance

I am not sure that it means that instances of SLSB are reentrant.  (spec. 7-11-8)


Maris


> -Original Message-
> From: Craig O'Shannessy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 12:15 PM
> To: jboss-user
> Subject: [JBoss-user] stateless session beans cannot call 
> stateful session beans!!?
> 
> 
> Hi,
> 
> I wonder if someone could clear up a problem for me.  It seems that a 
> Stateless session bean cannot really use a Stateful session bean for
> two reasons.
> 
> 1. The stateless bean cannot call remove on the stateful, 
> therefore can't
>clean it up (see code below)
> 
> 2. If the stateless bean holds onto a reference to a stateful 
> bean to get
>around creating one on each call and avoid problem 1., 
> another problem
>occurs.  The Stateless bean can be shared between 
> concurrent transactions
>(see quote from spec below), therefore the stateful beans 
> transactional
>scope is indeterminate (cause nasty blocking or even overlapping 
>transactions?)
> 
> One reason you might want to use a Stateful bean from a 
> Stateless is to
> do SessionSyncronization on a non transactional datasouce for example.
> 
> - Code example for problem 1. 
> --
> /**
>  * For readability, this example uses xdoclet code, if you 
> don't use it,
>  * you might want to check it out!
>  */
> class StatelessBean extends SessionBean
> {
> /**
>  * @ejb:interface-method
>  */
> public void transferMoney(long account1,long 
> account2,double amount)
> {
> StatefulEJBLocal stateful = 
> StatefulEJBUtil.getLocalhome().create();
> stateful.someMethod(accountNumber1,amount);
> // stateful.remove();  <-- Can't do this, RemoveException 
>//  (7.5.7 p79 ejb2 spec)
> }
> }
> --
> 
> Quote from Section 7.8, p87 of ejb2 spec
> 
> Because all instances of a stateless session bean are equivalent, the 
> container can choose to delegate a client-invoked method to 
> any available 
> instance. This means, for example, that the Container may delegate the
> requests from the same client within the same transaction to 
> different 
> instances, and that the Container may interleave requests 
> from multiple 
> transactions to the same instance.
> 
> 
> 
> ---
> 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



AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError

2002-07-16 Thread Jung , Dr. Christoph

Matt,

Our current tasks are pretty much one-person things simply because we are
not too many :-(

You are welcome to step in and help out. Although I guess the axis-beta3
migration is something which should be better done by me, because I can
easily conclude necessary patches to make in jboss.net from diffing
axis-beta1 to beta3.

Maybe you could try to find out whether axis-3 still depends on the 
tt-bytecode that flawed in your configuration? Maybe you could try to get
their sourcecode and find the exact problem why it causes this LinkageError
while only analysing bytecode, not creating some. Or maybe there is some
other task that attracts you? 

You are warmly welcome in each case.

CGJ

-Ursprüngliche Nachricht-
Von: Matt Munz [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 16. Juli 2002 15:05
An: [EMAIL PROTECTED]
Betreff: RE: [JBoss-user] JBoss.net deployment stopped by
java.lang.LinkageError


CGJ,

> I will see whether the prob still appears with the axis beta3 when 
> integrating with jboss.net

  Sounds great.

On the Todo list, I see this as task #58106, scheduled for completion on
7-15 (yesterday).  Any estimate on when this will actually be done?  Is this
a one-person task, or is there room for assistance?

  - Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr.
Christoph
Sent: Tuesday, July 16, 2002 3:56 AM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-user] JBoss.net deployment stopped by
java.lang.LinkageError


Hi Matt,

I have no idea about incompatibilities between the bytecode toolkit and
JDK1.4, but I guess this is a likely source for your problem.

Tt-bytecode (http://tt-bytecode.sourceforge.net/) is no longer active,
anyway, so I guess that the axis guys will (or have already been?) replacing
it by the successor SERP (http://serp.sourceforge.net/).

I will see whether the prob still appears with the axis beta3 when
integrating with jboss.net

CGJ

-Ursprüngliche Nachricht-
Von: Matt Munz [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 15. Juli 2002 23:08
An: jboss-user
Betreff: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError


JBoss.net folks,

  Could you take a look at the following any help me figure out what's going
on?  Is there a problem with tt-bytecode.jar?

  - Matt

  Setup: w2k, jdk1.4.1, build from latest source.  I made a copy of the
default configuration and renamed it "terminology".  I then droped
jboss-net.sar into the deploy folder.

  Output:

16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517
{
url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/serv
er/terminology/deploy/jboss-net.sar, deployedLastMod
ified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment:
file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.
1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable:
(java.lang.LinkageError: duplicate class definition: com/tec
htrader/modules/tools/bytecode/Code)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy7.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:381)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
tScanner.java:576)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:449)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:187)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:197)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:177)
Caused by: java.lang.LinkageError: duplicate class definition:
com/techtrader/modules/tools/bytecode/Code
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoade

Re: AW: [JBoss-user] jboss.net security primer?

2002-07-16 Thread David Ward

Thanks; I'll take a look!

David

--

Jung , Dr. Christoph wrote:
> David,
> 
> Currently, jboss.net supports http basic authentication via any simple
> security domain (i.e., creating jboss SimplePrincipals). There should be an
> example in the jboss.net testsuite (think it was the hello example) where
> the client sets the authentication data in the target url and where the
> server extracts this information via the JBossAuthenticationHandler in order
> to log into a preconfigured security domain.
> 
> Hope that helps,
> CGJ
> 
> 
> -Ursprüngliche Nachricht-
> Von: David Ward [mailto:[EMAIL PROTECTED]] 
> Gesendet: Dienstag, 16. Juli 2002 15:19
> An: [EMAIL PROTECTED]
> Betreff: [JBoss-user] jboss.net security primer?
> 
> 
> Can someone please point me to some URL(s) / code examples that describe 
> how a Java client can provide security credentials in AXIS so the server 
> can do authentication/authorization of the user/request?
> 
> Is there a standard way to do this?  Can JAAS be used at all?
> 
> Thanks,
> David
> 
> 
> 
> ---
> 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 message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
> For more information, connect to http://www.F-Secure.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



-- 

-
David Ward
[EMAIL PROTECTED]
http://www.dotech.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] problems using local interfaces

2002-07-16 Thread Marko Asplund

hi

i'm trying to use the local interface for a EJB session bean which i'm
developing (with JBoss 3.0). the EJB client can successfully use the
remote bean and home interfaces but when i change the client to use local
interfaces i get the following error message from the client:

javax.naming.CommunicationException.  Root exception is 
java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no 
security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:143)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:449)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at test.client.TestDocList.main(TestDocList.java)

is there something i should configure on the server to make using local
interface possible? i'm basically using an unmodified 'default'
configuration.

-- 
aspa



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



AW: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Jung , Dr. Christoph

You could use an mbean for that purpose which would have the additional
advantage of being reinitializable when you cycle your application and
configurable from any (RMI/HTML/whatever) JXM-Adapter.

Statics are poo-poo, IMHO.
 
CGJ



-Ursprüngliche Nachricht-
Von: David Ward [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 16. Juli 2002 14:40
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3


There is a generic way to do this with web applications in the 2.2 
servlet spec and even a better way in 2.3.

In 2.2, you can just have a servlet that calls your initializer in it's 
init() method.  Then, in web.xml, define the load-on-startup element. 
That way, when your web app comes up, you get called.  You can also call 
a clean-up class in the servlet's destroy() method.

Now, in servlet 2.3, you can define a ServletContextListener (a servlet 
context is basically your web app) in the web.xml.  You will get 
notified via the contextInitialized and contextDestroyed methods.

Granted, each of these methods mean assumes you've got a web tier.  Even 
if you don't, it's not a horrible thing to just through your ejb jars in 
an ear along with a tiny war who's only job is to initialize some stuff.

Now, if you just wanted to now about startup/shutdown classes outside of 
your app and specific to jboss, I don't know.

Hope this helps,
David

--

Saroj Kumar wrote:
> Hi All,
> 
> I want to register a class as startup class in JBOSS3. This class 
> should be loaded in memory when server is started.
> 
> This class reads some properties and loads them in the memory. Other 
> classes need to access these variables using ClassName.Method Names().
> 
> Please suggest me a way.
> Saroj
> 
> 
> 
> ---
> 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



-- 

-
David Ward
[EMAIL PROTECTED]
http://www.dotech.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 message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.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] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Simon Stewart

I've reformatted the email a little because you seem to prefer top
posting. The words are all still there :)

Are you planning to restart that frequently? The singleton design
could still work quite nicely if you have a web tier and use (as
someone else suggested) one of your servlet's init() method to create
the instance. Naturally, this servlet would have to be loaded when
your app loads, but there's already support for this from the EJB
spec.

You get the advantage of "load on startup" without having to do
something clunky with your config files.

On Tue, Jul 16, 2002 at 07:28:41PM +0530, Saroj Kumar wrote:
> Yes, It is one of the way. Thanks for suggesting this alternative.
> 
> But, If we need to do some activity like File Reading/ Writing /Network
> calls using sockets then we may need a no. of classes to execute before
> we make the app. Up. It asks for Startup classes.
> 
>> Simon Stewart said:
>> 
>> Why not just use a singleton to load and get the variables? That's how
>> I tend to handle situations like that.
>> 
>>> On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
>>> Hi All,
>>> 
>>> I want to register a class as startup class in JBOSS3. This class
>>> should be loaded in memory when server is started. 
>>> 
>>> This class reads some properties and loads them in the memory. Other
>>> classes need to access these variables using ClassName.Method Names().
>>> 
>>> Please suggest me a way.

Cheers,

Simon

-- 
Welcome to the Church of the Holy Cabbage. Lettuce pray.


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



AW: [JBoss-user] jboss.net security primer?

2002-07-16 Thread Jung , Dr. Christoph

David,

Currently, jboss.net supports http basic authentication via any simple
security domain (i.e., creating jboss SimplePrincipals). There should be an
example in the jboss.net testsuite (think it was the hello example) where
the client sets the authentication data in the target url and where the
server extracts this information via the JBossAuthenticationHandler in order
to log into a preconfigured security domain.

Hope that helps,
CGJ


-Ursprüngliche Nachricht-
Von: David Ward [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 16. Juli 2002 15:19
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] jboss.net security primer?


Can someone please point me to some URL(s) / code examples that describe 
how a Java client can provide security credentials in AXIS so the server 
can do authentication/authorization of the user/request?

Is there a standard way to do this?  Can JAAS be used at all?

Thanks,
David



---
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 message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.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] Local interface problem

2002-07-16 Thread [EMAIL PROTECTED]

Hi friends,

How to access Entity Bean from Session Bean Using Local interface.

ejb-jar.xml is attached and in session bean when i lookup it give
following error
"[INFO,Default] javax.naming.NameNotFoundException: CDBean not bound
[ERROR,CDCollectionBean] TRANSACTION ROLLBACK EXCEPTION"

Thanks.
Vijay



http://java.sun.com/dtd/ejb-jar_2_0.dtd";>



CDCollectionBean
CDCollectionBean
CDCollectionHome
CDCollection
CDCollectionBean
Stateless
Container


CDBean
Entity
CDHome
CD
CDBean



CDBean
CDBean
CDLocalHome
CDLocal
CDBean
	  Container
  	java.lang.Integer
	  False
  	id
	  title
  	artist
	  type
  	notes
	  id





CDBean
*


CDCollectionBean
*

Required






RE: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar

Yes, It is one of the way. Thanks for suggesting this alternative.

But, If we need to do some activity like File Reading/ Writing /Network
calls using sockets then we may need a no. of classes to execute before
we make the app. Up. It asks for Startup classes.

Thanks,
Saroj

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Simon
Stewart
Sent: Tuesday, July 16, 2002 7:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] How to register a class as a startup class in
JBOSS3


On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
> Hi All,
> 
> I want to register a class as startup class in JBOSS3. This class
should
> be loaded in memory when server is started. 
> 
> This class reads some properties and loads them in the memory. Other
> classes need to access these variables using ClassName.Method Names().
> 
> Please suggest me a way.

Why not just use a singleton to load and get the variables? That's how
I tend to handle situations like that.

Cheers,

Simon

-- 
I thought we were not going to call people (or their ideas) dumb
anymore.  I agree that is is a dumb idea, but we should be nicer.
--- Dain to marcf


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



Re: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Simon Stewart

On Tue, Jul 16, 2002 at 05:29:05PM +0530, Saroj Kumar wrote:
> Hi All,
> 
> I want to register a class as startup class in JBOSS3. This class should
> be loaded in memory when server is started. 
> 
> This class reads some properties and loads them in the memory. Other
> classes need to access these variables using ClassName.Method Names().
> 
> Please suggest me a way.

Why not just use a singleton to load and get the variables? That's how
I tend to handle situations like that.

Cheers,

Simon

-- 
I thought we were not going to call people (or their ideas) dumb
anymore.  I agree that is is a dumb idea, but we should be nicer.
--- Dain to marcf


---
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] RMI class loader disabled ERROR

2002-07-16 Thread Emerson Cargnin - SICREDI Serviços

at first i put every jar in JBOSS_HOME/client and I tried with all jar's 
from JBOSS_HOME/server/default/lib and nothing, the same error...

Guy Rouillier wrote:

> Do you have jbosssx.jar in your client classpath?
> 
> - Original Message -
> From: "Emerson Cargnin - SICREDI Serviços" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 15, 2002 7:50 PM
> Subject: [JBoss-user] RMI class loader disabled ERROR
> 
> 
> 
>>Very weird, a friend of mine just told me she was having a strange error
>>when using ejb-ql, a little later it happened with me, and without
>>ejb-ql, just when doing a look-up it gave me follwing error :
>>
>>javax.naming.CommunicationException. Root exception is
>>java.lang.ClassNotFoundException:
>>br.com.sicredi.cobranca.ambos.ejbinterface.CobrancaFacadeHome (no
>>security manager: RMI class loader disabled)
>>  at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:521)
>>
>>--
>>Emerson Cargnin - MSA
>>SICREDI - Tel : 3358-4860
>>
>>
>>
>>---
>>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
> 
> 


-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860



---
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] Jboss.net

2002-07-16 Thread conrad

> Conrad,
> 
> what where you trying to do? The JBoss-3.0.1.RC1 already has the 
> jboss.net.sar in it, ie it works with Jetty, and should run out of the 
> box as it were. Or were you trying to get this RC version to work with 
> Tomcat? If you were trying to get it to work with Tomcat, then it 
> probably won't and you'll need to download the jboss-tomcat binary from 
> the page above, or build your own following the instructions from that 
> page.
> 
> In any case, give me some more details and I'll see what I can do to help.
> 
> 
> Cheers,
> 
> Bruce
> 
> Dr. Bruce A. Scharlau
> Dept. of Computing Science
> Aberdeen University
> Aberdeen AB24 3UE
> [EMAIL PROTECTED]
> http://www.csd.abdn.ac.uk/~bscharla/
> 01224 272193
> 
> 
> 
> ---
> 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
> 

Thanks Bruce

I've found jboss-net.sar file in "all" configuration directory - yesterday wasn't my 
best day :-)
I've tried to deploy it and and got some exceptions - in attached file -
setup: jdk1.4, linux 2.4.18, JBoss-3.0.1RC1 (out of the box)
Do you have any idea what am I doing wrong?

Regards
Conrad



err
Description: application/java-vm


Re: [JBoss-user] Branch_3_0 not building

2002-07-16 Thread Jules Gosnell

the same happened to me late last night (GMT)

I haven't tried since...


Jules

Karl Koster wrote:
> Group:
> 
> I just checked out the Branch_3_0 tag from cvs, attempted to do a build, and it 
>failed in the catlina module. Are there currently any issues building this branch?
> 
> Karl Koster
> [EMAIL PROTECTED]
> 
> 
> 
> 
> **
> This e-mail contains privileged attorney-client communications and/or confidential 
>information, and is only for the use by the intended recipient. Receipt by an 
>unintended recipient does not constitute a waiver of any applicable privilege.
> 
> Reading, disclosure, discussion, dissemination, distribution or copying of this 
>information by anyone other than the intended recipient or his or her employees or 
>agents is strictly prohibited.  If you have received this communication in error, 
>please immediately notify us and delete the original material from your computer.
> 
> Sempra Energy Trading Corp. (SET) is not the same company as SDG&E or SoCalGas, the 
>utilities owned by SET's parent company.  SET is not regulated by the California 
>Public Utilities Commission and you do not have to buy SET's products and services to 
>continue to receive quality regulated service from the utilities.
> **
> 
> 
> 
> ---
> 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] jboss.net security primer?

2002-07-16 Thread David Ward

Can someone please point me to some URL(s) / code examples that describe 
how a Java client can provide security credentials in AXIS so the server 
can do authentication/authorization of the user/request?

Is there a standard way to do this?  Can JAAS be used at all?

Thanks,
David



---
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] Branch_3_0 not building

2002-07-16 Thread Karl Koster

Group:

I just checked out the Branch_3_0 tag from cvs, attempted to do a build, and it failed 
in the catlina module. Are there currently any issues building this branch?

Karl Koster
[EMAIL PROTECTED]




**
This e-mail contains privileged attorney-client communications and/or confidential 
information, and is only for the use by the intended recipient. Receipt by an 
unintended recipient does not constitute a waiver of any applicable privilege.

Reading, disclosure, discussion, dissemination, distribution or copying of this 
information by anyone other than the intended recipient or his or her employees or 
agents is strictly prohibited.  If you have received this communication in error, 
please immediately notify us and delete the original material from your computer.

Sempra Energy Trading Corp. (SET) is not the same company as SDG&E or SoCalGas, the 
utilities owned by SET's parent company.  SET is not regulated by the California 
Public Utilities Commission and you do not have to buy SET's products and services to 
continue to receive quality regulated service from the utilities.
**



---
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] JBoss.net deployment stopped by java.lang.LinkageError

2002-07-16 Thread Matt Munz

CGJ,

> I will see whether the prob still appears with the axis beta3 when
> integrating with jboss.net

  Sounds great.

On the Todo list, I see this as task #58106, scheduled for completion on
7-15 (yesterday).  Any estimate on when this will actually be done?  Is this
a one-person task, or is there room for assistance?

  - Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jung , Dr.
Christoph
Sent: Tuesday, July 16, 2002 3:56 AM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-user] JBoss.net deployment stopped by
java.lang.LinkageError


Hi Matt,

I have no idea about incompatibilities between the bytecode toolkit and
JDK1.4, but I guess this is a likely source for your problem.

Tt-bytecode (http://tt-bytecode.sourceforge.net/) is no longer active,
anyway, so I guess that the axis guys will (or have already been?) replacing
it by the successor SERP (http://serp.sourceforge.net/).

I will see whether the prob still appears with the axis beta3 when
integrating with jboss.net

CGJ

-Ursprüngliche Nachricht-
Von: Matt Munz [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 15. Juli 2002 23:08
An: jboss-user
Betreff: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError


JBoss.net folks,

  Could you take a look at the following any help me figure out what's going
on?  Is there a problem with tt-bytecode.jar?

  - Matt

  Setup: w2k, jdk1.4.1, build from latest source.  I made a copy of the
default configuration and renamed it "terminology".  I then droped
jboss-net.sar into the deploy folder.

  Output:

16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517
{
url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/serv
er/terminology/deploy/jboss-net.sar, deployedLastMod
ified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment:
file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.
1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable:
(java.lang.LinkageError: duplicate class definition: com/tec
htrader/modules/tools/bytecode/Code)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy7.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:381)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
tScanner.java:576)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:449)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:187)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:197)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:177)
Caused by: java.lang.LinkageError: duplicate class definition:
com/techtrader/modules/tools/bytecode/Code
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
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
org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:22
6)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.
java:234)
at
org.jboss.mx.loading.UnifiedLoaderRepository.loadClassFromRepository(Unified
LoaderRepository.java:507)
at
org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoaderReposito
ry.java:179)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:28
3)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.apache.axis.AxisEngine.init(AxisEngin

Re: [JBoss-user] How to register a class as a startup class in JBOSS3

2002-07-16 Thread David Ward

There is a generic way to do this with web applications in the 2.2 
servlet spec and even a better way in 2.3.

In 2.2, you can just have a servlet that calls your initializer in it's 
init() method.  Then, in web.xml, define the load-on-startup element. 
That way, when your web app comes up, you get called.  You can also call 
a clean-up class in the servlet's destroy() method.

Now, in servlet 2.3, you can define a ServletContextListener (a servlet 
context is basically your web app) in the web.xml.  You will get 
notified via the contextInitialized and contextDestroyed methods.

Granted, each of these methods mean assumes you've got a web tier.  Even 
if you don't, it's not a horrible thing to just through your ejb jars in 
an ear along with a tiny war who's only job is to initialize some stuff.

Now, if you just wanted to now about startup/shutdown classes outside of 
your app and specific to jboss, I don't know.

Hope this helps,
David

--

Saroj Kumar wrote:
> Hi All,
> 
> I want to register a class as startup class in JBOSS3. This class should
> be loaded in memory when server is started. 
> 
> This class reads some properties and loads them in the memory. Other
> classes need to access these variables using ClassName.Method Names().
> 
> Please suggest me a way.
> Saroj
> 
> 
> 
> ---
> 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



-- 

-
David Ward
[EMAIL PROTECTED]
http://www.dotech.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] How to register a class as a startup class in JBOSS3

2002-07-16 Thread Saroj Kumar

Hi All,

I want to register a class as startup class in JBOSS3. This class should
be loaded in memory when server is started. 

This class reads some properties and loads them in the memory. Other
classes need to access these variables using ClassName.Method Names().

Please suggest me a way.
Saroj



---
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] JBoss internals

2002-07-16 Thread Tobias Frech

Juha just posted a link to an article from him in the Forums, I think in
"General Discussion".

Ciao,
Tobias
wonder sonic wrote:
 
> You can look at http://sourceforge.net/projects/jboss/
> You'll be able to download the sources from the CVS
> repository...
> 
> Good Luck
> 
> Wonder Sonic
> 
>  --- Dimitri PISSARENKO <[EMAIL PROTECTED]> a
> écrit : > Hello!
> >
> > What books/Internet resources exist about the
> > implementation of JBoss,
> > its internal structure and other technical details?
> >
> > The free documentation only tells how to use JBoss
> > and I would like to
> > have a better understanding of what I am using.
> >
> > Thanks
> >
> > Dimitri Pissarenko


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



RES: [JBoss-user] RMI class loader disabled ERROR

2002-07-16 Thread Tania G. Ramos

Yes, it is in my %jboss%\server\default\lib directory and I'm 
having the same error.
Why should it be happening?

>-Mensagem original-
>De: Guy Rouillier [mailto:[EMAIL PROTECTED]]
>Enviada em: terça-feira, 16 de julho de 2002 01:12
>Para: [EMAIL PROTECTED]
>Assunto: Re: [JBoss-user] RMI class loader disabled ERROR
>
>Do you have jbosssx.jar in your client classpath?
>
>- Original Message -
>From: "Emerson Cargnin - SICREDI Serviços" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, July 15, 2002 7:50 PM
>Subject: [JBoss-user] RMI class loader disabled ERROR
>
>
>> Very weird, a friend of mine just told me she was having a strange error
>> when using ejb-ql, a little later it happened with me, and without
>> ejb-ql, just when doing a look-up it gave me follwing error :
>>
>> javax.naming.CommunicationException. Root exception is
>> java.lang.ClassNotFoundException:
>> br.com.sicredi.cobranca.ambos.ejbinterface.CobrancaFacadeHome (no
>> security manager: RMI class loader disabled)
>>   at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:521)
>>
>> --
>> Emerson Cargnin - MSA
>> SICREDI - Tel : 3358-4860
>>
>>
>>
>> ---
>> 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


---
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] stateless session beans cannot call stateful session beans!!?

2002-07-16 Thread Craig O'Shannessy

Hi,

I wonder if someone could clear up a problem for me.  It seems that a 
Stateless session bean cannot really use a Stateful session bean for
two reasons.

1. The stateless bean cannot call remove on the stateful, therefore can't
   clean it up (see code below)

2. If the stateless bean holds onto a reference to a stateful bean to get
   around creating one on each call and avoid problem 1., another problem
   occurs.  The Stateless bean can be shared between concurrent transactions
   (see quote from spec below), therefore the stateful beans transactional
   scope is indeterminate (cause nasty blocking or even overlapping 
   transactions?)

One reason you might want to use a Stateful bean from a Stateless is to
do SessionSyncronization on a non transactional datasouce for example.

- Code example for problem 1. --
/**
 * For readability, this example uses xdoclet code, if you don't use it,
 * you might want to check it out!
 */
class StatelessBean extends SessionBean
{
/**
 * @ejb:interface-method
 */
public void transferMoney(long account1,long account2,double amount)
{
StatefulEJBLocal stateful = StatefulEJBUtil.getLocalhome().create();
stateful.someMethod(accountNumber1,amount);
// stateful.remove();  <-- Can't do this, RemoveException 
   //  (7.5.7 p79 ejb2 spec)
}
}
--
Quote from Section 7.8, p87 of ejb2 spec

Because all instances of a stateless session bean are equivalent, the 
container can choose to delegate a client-invoked method to any available 
instance. This means, for example, that the Container may delegate the
requests from the same client within the same transaction to different 
instances, and that the Container may interleave requests from multiple 
transactions to the same instance.



---
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] Which JBoss should I take ?

2002-07-16 Thread Thomas Renninger

Hello,

After a lot of tries I give up getting JBoss (2.2.2) running with Oracle 9i.

Problem: The CLOB's. I get them into the database, but JBoss is updating
them with null (''). (Only after I restart JBoss after inserting the data,
it deletes the CLOB columns again, very strange ...)

I read in the mailinglist that even new versions of JBoss can not handle the
CLOB datatype.

But I must store larger values.

Is there a possibility to work around ?

Is there a JBoss version handling CLOB's ?

Are there special Oracle configurations to do ?

If not (quite bad), are there endeavours to get CLOB's running in JBOSS ?


Thank you.

Thomas





---
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] security roles

2002-07-16 Thread Alex Loubyansky

Hello Ionel,

you have, for example, UserRole and AdminRole. Each contains its own
permission. Then when you want to give some person all that
permissions you just assign the person these two roles. That's all.

alex

Tuesday, July 16, 2002, 10:56:33 AM, you wrote:

IG> Hi,

IG> how to define that a role-name herits from another role so I don't need
IG> to cut'n'paste all method permissions.
IG> (ex : a user role and an admin role. I want the admin role to use the
IG> user role and to add some other permissions. Only the added permissions
IG> that differ from the user role will be added)

IG> Is it possible ?

IG> thanks,
IG> ionel



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

-- 
Best regards,
 Alex Loubyansky




---
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] Jboss.net

2002-07-16 Thread Bruce Scharlau

At 05:26 PM 7/15/2002 +, you wrote:
>Hi everyone
>
>Is it possible to run jboss.net plugin with JBoss 3.0.1RC1?
>I walked through intructions on http://www.csd.abdn.ac.uk/~bscharla/soap.html
>and I get such error:
>
>17:09:46,227 ERROR [MainDeployer] could not start deployment: 
>file:/opt/jboss-3.0.1RC1/server/default/deploy/jboss-net.sar
>java.lang.NoSuchMethodError: 
>org.jboss.deployment.DeploymentInfo.(Ljava/net/URL;Lorg/jboss/deployment/DeploymentInfo;)V
> at 
> org.jboss.net.axis.server.AxisService.startService(AxisService.java:265)
> at 
> org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at 
> 
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at 
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
> at 
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
> at $Proxy6.start(Unknown Source)
> at 
> org.jboss.system.ServiceController.start(ServiceController.java:384)
> at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at 
> 
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
> at 
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
> at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
> at $Proxy3.start(Unknown Source)
> at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243)
>
>
>
>Regards
>
>Conrad

Conrad,

what where you trying to do? The JBoss-3.0.1.RC1 already has the 
jboss.net.sar in it, ie it works with Jetty, and should run out of the box 
as it were. Or were you trying to get this RC version to work with Tomcat? 
If you were trying to get it to work with Tomcat, then it probably won't 
and you'll need to download the jboss-tomcat binary from the page above, or 
build your own following the instructions from that page.

In any case, give me some more details and I'll see what I can do to help.


Cheers,

Bruce

Dr. Bruce A. Scharlau
Dept. of Computing Science
Aberdeen University
Aberdeen AB24 3UE
[EMAIL PROTECTED]
http://www.csd.abdn.ac.uk/~bscharla/
01224 272193



---
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] security roles

2002-07-16 Thread Ionel Gardais

Hi,

how to define that a role-name herits from another role so I don't need
to cut'n'paste all method permissions.
(ex : a user role and an admin role. I want the admin role to use the
user role and to add some other permissions. Only the added permissions
that differ from the user role will be added)

Is it possible ?

thanks,
ionel



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



AW: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError

2002-07-16 Thread Jung , Dr. Christoph

Hi Matt,

I have no idea about incompatibilities between the bytecode toolkit and
JDK1.4, but I guess this is a likely source for your problem.

Tt-bytecode (http://tt-bytecode.sourceforge.net/) is no longer active,
anyway, so I guess that the axis guys will (or have already been?) replacing
it by the successor SERP (http://serp.sourceforge.net/).

I will see whether the prob still appears with the axis beta3 when
integrating with jboss.net

CGJ 

-Ursprüngliche Nachricht-
Von: Matt Munz [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 15. Juli 2002 23:08
An: jboss-user
Betreff: [JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError


JBoss.net folks,

  Could you take a look at the following any help me figure out what's going
on?  Is there a problem with tt-bytecode.jar?

  - Matt

  Setup: w2k, jdk1.4.1, build from latest source.  I made a copy of the
default configuration and renamed it "terminology".  I then droped
jboss-net.sar into the deploy folder.

  Output:

16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517
{
url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/serv
er/terminology/deploy/jboss-net.sar, deployedLastMod
ified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment:
file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.
1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable:
(java.lang.LinkageError: duplicate class definition: com/tec
htrader/modules/tools/bytecode/Code)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy7.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:381)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
tScanner.java:576)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:449)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:187)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:197)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:177)
Caused by: java.lang.LinkageError: duplicate class definition:
com/techtrader/modules/tools/bytecode/Code
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
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
org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:22
6)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.
java:234)
at
org.jboss.mx.loading.UnifiedLoaderRepository.loadClassFromRepository(Unified
LoaderRepository.java:507)
at
org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoaderReposito
ry.java:179)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:28
3)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.apache.axis.AxisEngine.init(AxisEngine.java:182)
at org.apache.axis.AxisEngine.(AxisEngine.java:174)
at org.apache.axis.server.AxisServer.(AxisServer.java:121)
at
org.jboss.net.axis.server.AxisService.ensureService(AxisService.java:231)
at
org.jboss.net.axis.server.AxisService.startService(AxisService.java:263)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMe

AW: [JBoss-user] Jboss.net

2002-07-16 Thread Jung , Dr. Christoph

Conrad,

Unfortunately, jboss.net does a very ugly thing when contacting the
War-Deployer which is highly dependent on the 
Jboss-system.jar version you use. Scott already suggested a way to
circumvent this by using the war-in-sar approach, but
I did not yet have the time to implement it.

It´s on my todo list now. Watch SF to get the latest status.

CGJ

-Ursprüngliche Nachricht-
Von: conrad [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 15. Juli 2002 19:27
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] Jboss.net


Hi everyone

Is it possible to run jboss.net plugin with JBoss 3.0.1RC1?
I walked through intructions on
http://www.csd.abdn.ac.uk/~bscharla/soap.html
and I get such error:

17:09:46,227 ERROR [MainDeployer] could not start deployment: 
file:/opt/jboss-3.0.1RC1/server/default/deploy/jboss-net.sar
java.lang.NoSuchMethodError: 
org.jboss.deployment.DeploymentInfo.(Ljava/net/URL;Lorg/jboss/deployme
nt/DeploymentInfo;)V
 at
org.jboss.net.axis.server.AxisService.startService(AxisService.java:265)
 at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
 at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
a:950)
 at $Proxy6.start(Unknown Source)
 at
org.jboss.system.ServiceController.start(ServiceController.java:384)
 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
 at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
 at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
 at $Proxy3.start(Unknown Source)
 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243)



Regards

Conrad







---
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 message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.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