[JBoss-user] JBossMQ client and Log4j

2002-02-25 Thread Manuel Montoro

Hello all,

We're developing an aplication that uses JMS to communicate certain
batch updates from client to server using JMS. As we're using JBoss
2.4.4 we employ the JBossMQ client implementation (jbossmq-
client.jar) and some more jar files requiered for the client to work.
For our surprise, we need to include also the log4j.jar file in the client
distribution because if we don't include it an exception occurs when we
try to send a messge.
Due to the relative weight of the log4j.jar file we're seeking for a
workaround for not to include it but we can't figure out how.

Any help will be appreciated.
Kind regards
--
Manuel Antonio Montoro Navarro
G3 Comunicaciones
Departamento Técnico
mail: [EMAIL PROTECTED]
web: http://www.g3comunicaciones.com

Pensamiento del Dia:
Cuando se trata de dinero todos son de la misma religi¾n.
Voltaire.




___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: JBoss-user digest, Vol 1 #1893 - 10 msgs

2002-02-25 Thread Jonathan Gibbons




>This is how everyone I know does it.  As for why not do it the way you
>suggested, KISS.
>
>-dain

You mean ditch EJB, and JBoss and use JSP's?
:-)




--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Q : database and entity bean development

2002-02-25 Thread David Goodwin

Dain Sundstrom wrote:
> David,
> 
> Build the beans first, as they are likely to change drastically during 
> development.  Then as your development winds down, lock down the exact 
> db mapping.
> 
> The only real negative to this approach is if you need some default data 
> in your db for testing and you want to load this with a sql block 
> insert.  In that case lock down those entities (as they are most likely 
> stable).
> 
> If you do design your db first, don't try to use not null foreign keys 
> or foreign keys in your primary key, as neither work yet.
> 
> -dain

Am i right in thinking that if i used BMP (Bean managed persistence) I 
would get around all my problems so far (e.g. I can't at the moment have 
foreign keys as part of the primary key etc) ?


Thanks for all the help, it's been much appreciated,


thanks

David.


-- 
David Goodwin

[ [EMAIL PROTECTED] ][ http://www.codepoets.co.uk ]
[ BEng Software Engineering, Uni. of Wales, Aberystwyth ]


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RE: [JBoss-dev] AAAHOOO JBoss in London!

2002-02-25 Thread marc fleury

|THERE IS ***ONE*** SEAT LEFT

Good news: we are SOLD OUT.  :) I like Europe.

Good news: we will put a couple more seats as we might have some extra room
and there are always cancelations.  Come it will be the last show of its
kind. Come!

|And you got 2 weeks to register.

this is still true, get your seat, fast!

marcf


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] AAAHOOO JBoss in London!

2002-02-25 Thread marc fleury

Ok,

yes, it sounds like a corny song from the late 70's but really London is
coming up and is going to be one hell of a show.  The last of its kind
worldwide as we are changing the formula for the next ones (next ones will
be San Fran/Montreal/Palma de Mallorca/(possibly) Hong Kong).

THERE IS ***ONE*** SEAT LEFT

And you got 2 weeks to register.

So hurry, the class will be kick ass, we really put on a show and it is the
best way for serious developers to become contributor or be able to
completely use JBoss internally.

Also we will do an open house that I will announce separately (already on
the website). These are extremelly popular, come meet Marc Fleury and Sacha
Labourey.

"I saw a werewolf drinking a pina colada at Trader Vic's
His hair was perfect"
-- Werewolves of London again


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] 'Address already in use'

2002-02-25 Thread David Jencks

Roughly speaking it means something already running on your system is using
a network port that OIL wants to use.  I think netstat is the tool to try
to find out what it might be, although I have always had difficulty
interpreting its output.

david jencks

On 2002.02.25 21:50:44 -0500 Jozsa Kristof wrote:
> Okay, I guess someone has to ask this sooner or later: I've been getting
> 6-8
> exceptions at JBoss3 startup (for _every_ version since the earliest
> alpha,
> to the latest cvs snap), saying: 
> 
> 03:33:32,669 ERROR [OILServerILService] Starting failed
> java.net.BindException: Address already in use
> ..
> 03:33:32,856 ERROR [ServiceController] JMException thrown during
> ServiceProxy operation start on mbean
> jboss.mq:service=InvocationLayer,type=OIL
> java.net.BindException: Address already in use
> ..
> 03:33:33,007 ERROR [SARDeployer] operation failed
> javax.management.MBeanException: Exception thrown in operation start
> .. etc.
> 
> Does that mean anything serious? I thought it'll disappear sooner or
> later,
> but I can't hold back the question anymore: what does that mean?
> 
> (Linux i686, v2.4.17)
> 
> thanks,
> 
> Christopher
> -- 
> .Digital.Yearning.for.Networked.Assassination.and.Xenocide
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] 'Address already in use'

2002-02-25 Thread Jozsa Kristof

Okay, I guess someone has to ask this sooner or later: I've been getting 6-8
exceptions at JBoss3 startup (for _every_ version since the earliest alpha,
to the latest cvs snap), saying: 

03:33:32,669 ERROR [OILServerILService] Starting failed
java.net.BindException: Address already in use
..
03:33:32,856 ERROR [ServiceController] JMException thrown during ServiceProxy 
operation start on mbean jboss.mq:service=InvocationLayer,type=OIL
java.net.BindException: Address already in use
..
03:33:33,007 ERROR [SARDeployer] operation failed
javax.management.MBeanException: Exception thrown in operation start
.. etc.

Does that mean anything serious? I thought it'll disappear sooner or later,
but I can't hold back the question anymore: what does that mean?

(Linux i686, v2.4.17)

thanks,

Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: [JBoss-dev] JSP Forwarding Problems

2002-02-25 Thread Dmitri Colebatch

Hi,

Not sure if this is any help to you (haven't used jsp:forward in JBoss), but from the 
syntax card:

Be careful when using  with unbuffered output. If you have used the page 
directive with buffer="none" to specify that
the output of your JSP page should not be buffered, and if the JSP page has any data 
in the out object, using  will
cause an IllegalStateException.

(http://java.sun.com/products/jsp/tags/12/syntaxref1212.html#15694)

cheesr
dim

- Original Message -
From: "Neville Burnell" <[EMAIL PROTECTED]>
To: "'Jboss-Development@Lists. Sourceforge. Net'" 
<[EMAIL PROTECTED]>
Cc: "'Jboss-User@Lists. Sourceforge. Net'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 9:46 AM
Subject: [JBoss-dev] JSP Forwarding Problems


G'day,

We have developed an application which is running without any problems
using the Orion Server, but we would like to offer our clients JBoss
also.

We have tried running the app with JBoss 2.4.4 (with TomCat 4.0.2) and
have encountered a problem when we try to forward from one JSP to
another, for example using the tag



The first few lines of the error we get is
java.lang.IllegalStateException: Cannot forward after response has been
committed
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:367)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:355)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
14)
at org.apache.jsp.control$jsp._jspService(control$jsp.java:150)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:202)

Is this a known problem?

We have read though the archives and wonder if the following excerpts
relate to the same problem?

** Greg Wilkins wrote on the 9/11/2001
The only problem I have seen is that jasper uses the new
request/response wrapping classes which breaks the way that Jetty does
RequestDispatching.  Thus you can't include or forward from JSPs yet.
This should be fixed within the week.

** Rickard Öberg replied on the same day in reference to the above
I noticed a couple of class-casts when using the wrappers, yes. Will
this be fixed for the other usages of wrappers too? I assume so since
it's necessary for Servlets 2.3 to work.

Any help appreciated, with regards


Gamini de Alwis
mailto:[EMAIL PROTECTED]
Software Developer
Business Manager Software
Tel  (03) 9813 3022. Fax  (03) 9882 5887
website http://www.bmsoft.com.au
Try our latest web orders demo by clicking
http://jdemo.bmsoft.com.au/eorders1/

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread Jason Dillon

It's kinda late... but what about stickers?  I would put one on my car 
and motorcycle... I would guess that others would too...

--jason


marc fleury wrote:

>OK
>
>we have a winner, well actually we have two.
>
>JBoss:
>All your J2EE are belong to us
>
>JBoss:
>May the source be with you
>
>Thanks for all the great proposals. We chose based on "we won" and went with
>classic stuff.  So we put an order for 1000 of them, which is going to cost
>us AN ARM AND A LEG and take a bulky 21 boxes space that we need a truck to
>move.  You guys better show up and buy them.
>
>WE WILL TIE IN A RAFFLE:
>
>"BUY A T-SHIRT, AND GET A FREE SPOT AT A JBOSS GROUP TRAINING".  Buy a
>t-shirt, give us your b-card, and we will pick a winner on wednesday night,
>you get a free training with the gurus ($3500 cost).
>
>For those that can't come to JBoss One, if you give us a bulk order of 10 +
>shipping ($230) then we will put you in the raffle but the order needs to
>reach us before the end of the JB1 conference when we will pick a winner, so
>you basically have a month to put the order.  We will put the information
>online but basically write to mailto:[EMAIL PROTECTED]?subject=10
>tshirts please">sales and when we get your paypal payment we will send
>it.  You will join the raffle.  We will put this online.
>
>BTW for the raffle it is ONE card PER tshirt.  So if you buy 10 t-shirts you
>multiply your chances by 10.
>
>Is this "as good as it gets?"
>
>take care see you there,
>
>marcf
>
>
>___
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JSP Forwarding Problems

2002-02-25 Thread Neville Burnell

G'day,

We have developed an application which is running without any problems
using the Orion Server, but we would like to offer our clients JBoss
also.

We have tried running the app with JBoss 2.4.4 (with TomCat 4.0.2) and
have encountered a problem when we try to forward from one JSP to
another, for example using the tag



The first few lines of the error we get is 
java.lang.IllegalStateException: Cannot forward after response has been
committed
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:367)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:355)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
14)
at org.apache.jsp.control$jsp._jspService(control$jsp.java:150)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:202)

Is this a known problem?

We have read though the archives and wonder if the following excerpts
relate to the same problem?

** Greg Wilkins wrote on the 9/11/2001
The only problem I have seen is that jasper uses the new
request/response wrapping classes which breaks the way that Jetty does
RequestDispatching.  Thus you can't include or forward from JSPs yet.
This should be fixed within the week.

** Rickard Öberg replied on the same day in reference to the above
I noticed a couple of class-casts when using the wrappers, yes. Will
this be fixed for the other usages of wrappers too? I assume so since
it's necessary for Servlets 2.3 to work.

Any help appreciated, with regards


Gamini de Alwis
mailto:[EMAIL PROTECTED]
Software Developer
Business Manager Software 
Tel  (03) 9813 3022. Fax  (03) 9882 5887
website http://www.bmsoft.com.au
Try our latest web orders demo by clicking
http://jdemo.bmsoft.com.au/eorders1/  

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread Bill Burke

Never was much of a gaming freak.  I guess you have to be under 22 years old
to appreciate this?  I haven't played a video game in 10 years.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Hunter Hillegas
> Sent: Monday, February 25, 2002 4:52 PM
> To: Dain Sundstrom
> Cc: JBoss Dev; JBoss 2
> Subject: Re: [JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE
> TRAINING
>
>
> It's a reference to a videogame port with really bad translation of the
> words into English...
>
> The original quote is something like "All Your Base Are Belong To Us".
>
> http://www.allyourbase.net/
>
> Hunter
>
> > From: Dain Sundstrom <[EMAIL PROTECTED]>
> > Date: Mon, 25 Feb 2002 15:38:50 -0600
> > To: marc fleury <[EMAIL PROTECTED]>
> > Cc: "Jboss-Development@Lists. Sourceforge. Net"
> > <[EMAIL PROTECTED]>, "Jboss-User@Lists.
> Sourceforge.
> > Net" <[EMAIL PROTECTED]>
> > Subject: [JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING
> >
> >> JBoss:
> >> All your J2EE are belong to us
> >
> >
> > Maybe I'm an idiot, but what the hell does this mean?
> >
> > -dain
> >
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> ___
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Constructor for JBossMQ ConnectionFactories

2002-02-25 Thread Lucas McGregor

I am not sure that this is what you are asking, but the JMS connection
factory is application specific. Meaning that each app server will construct
it's JMS connections and infrastructure differently. 

In Jboss, you configure the connection factories in the jboss.jcml and Jboss
creates them.

 start jboss.jcml snippet 


  
  
java:/ConnectionFactory
java:/XAConnectionFactory
  

  
RMIConnectionFactory
RMIXAConnectionFactory
  

  
ConnectionFactory
XAConnectionFactory
  

  
UILConnectionFactory
UILXAConnectionFactory
  

 end jboss.jcml snippet --

This will create four different connection factories: one that is
for only internal JVM access, one for RMI access, one for Jboss' OIL
protocol, and one for Jboss' UIL protocol. All of these impelement the
javax.jms.Connectionfactor interface. They will give you access to the Jboss
specific connection which implements javax.jms.Connection and will know how
to access the Jboss specific ConnectionFactories.

So the long and short of it is, the ConnectionFactories are services
that you configure Jboss to instantiate for you and you access them via
Registry lookups like all other resources in Jboss. But you don't directly
insantiate the ConnectionFactory yourself.

I hope that helps,
Lucas McGregor, NovaLogic

 

The 
-Original Message-
From: Nicholas [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 23, 2002 7:20 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Constructor for JBossMQ ConnectionFactories


In order to load a JBossMQ topic connection factory
into JNDI on another application server or LDAP, I
think the easiest way is to construct one. Despite
many examples of how to retrieve connection factories
from JBoss JNDI, I cannot find any examples or Docs on
how to constrcut one, stand alone.

Thanks for you help.

//Nicholas

=
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
Work(@ JP Morgan): (212) 235 5783
[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread Hunter Hillegas

It's a reference to a videogame port with really bad translation of the
words into English...

The original quote is something like "All Your Base Are Belong To Us".

http://www.allyourbase.net/

Hunter

> From: Dain Sundstrom <[EMAIL PROTECTED]>
> Date: Mon, 25 Feb 2002 15:38:50 -0600
> To: marc fleury <[EMAIL PROTECTED]>
> Cc: "Jboss-Development@Lists. Sourceforge. Net"
> <[EMAIL PROTECTED]>, "Jboss-User@Lists. Sourceforge.
> Net" <[EMAIL PROTECTED]>
> Subject: [JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING
> 
>> JBoss:
>> All your J2EE are belong to us
> 
> 
> Maybe I'm an idiot, but what the hell does this mean?
> 
> -dain
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread Dmitri Colebatch

[snip]

> > >From within an EJB, or session bean
> >
> > ic.lookup("java:comp/env/ejb/InwardSLSBRef");
> >
> actually this is incorrect, in that way that it works but it is not
necessary. from ejb (entity or session) you can
> lookup stuff in its context by just using "ejb/InwardSLSBRef", that
"java:comp/env" is not necessary.

True, it is not neccessary - but the idea it is there is so that if you move
the location of a bean, you do not have to recompile your sources.  In your
code, you look up

java:comp/env/ejb/Blah

which in reality is just a binding to

ejb/Blah

or similar.  If Blah moves, then all you do is change the deployment
descriptor, and no recompiling is necessary.

Yes it is debateable as to whether this is really required, but that is what
it is there for.

cheesr
dim


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread Lennart Petersson

On 02-02-26 0:17, "marc fleury" <[EMAIL PROTECTED]> wrote:

> OK
> 
> we have a winner, well actually we have two.
> 
> JBoss:
> All your J2EE are belong to us
> 
> JBoss:
> May the source be with you
> 
> Thanks for all the great proposals. We chose based on "we won" and went with
> classic stuff.  So we put an order for 1000 of them, which is going to cost
> us AN ARM AND A LEG and take a bulky 21 boxes space that we need a truck to
> move.  You guys better show up and buy them.
> 
> WE WILL TIE IN A RAFFLE:
> 
> "BUY A T-SHIRT, AND GET A FREE SPOT AT A JBOSS GROUP TRAINING".  Buy a
> t-shirt, give us your b-card, and we will pick a winner on wednesday night,
> you get a free training with the gurus ($3500 cost).
> 
> For those that can't come to JBoss One, if you give us a bulk order of 10 +
> shipping ($230) then we will put you in the raffle but the order needs to
> reach us before the end of the JB1 conference when we will pick a winner, so
> you basically have a month to put the order.  We will put the information
> online but basically write to mailto:[EMAIL PROTECTED]?subject=10
> tshirts please">sales and when we get your paypal payment we will send
> it.  You will join the raffle.  We will put this online.
> 
> BTW for the raffle it is ONE card PER tshirt.  So if you buy 10 t-shirts you
> multiply your chances by 10.
> 
> Is this "as good as it gets?"
> 
> take care see you there,
> 
> marcf
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
What... Do you mean that I've to buy 10 t-shirts... Holy shit - you are a
business man ;)   I would like one or two... 10 t-shirts... She will think
I'm totally out of my mind if I buy 10 equal t-shirts...

/Lennart

Sent using the Entourage X Test Drive.


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread Dain Sundstrom

> JBoss:
> All your J2EE are belong to us


Maybe I'm an idiot, but what the hell does this mean?

-dain



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread James Manning

[Hunter Hillegas]
> For those unable to attend, but that don't care about the raffle (or don't
> want to order 10), will the shirts be available any other way?

better yet, can the images be published or put on cafepress?  It'd just
be zero hassle for the jboss group - if there's some money loss involved
(like the group would make $4 off each sale) then just jack up the
cafepress price appropriately.

I'm all drooling over the first slogan :)
-- 
James Manning <[EMAIL PROTECTED]>
GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7  9C8E A0BF B026 EEBB F6E4

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How to detect application is running in JBoss?

2002-02-25 Thread Leigh Wanstead

Hello everyone,

How can I detect application is running in JBoss environment not orion in
code? Is there any standard way to do that?

Thanks in advance

Leigh



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread marc fleury

OK

we have a winner, well actually we have two.

JBoss:
All your J2EE are belong to us

JBoss:
May the source be with you

Thanks for all the great proposals. We chose based on "we won" and went with
classic stuff.  So we put an order for 1000 of them, which is going to cost
us AN ARM AND A LEG and take a bulky 21 boxes space that we need a truck to
move.  You guys better show up and buy them.

WE WILL TIE IN A RAFFLE:

"BUY A T-SHIRT, AND GET A FREE SPOT AT A JBOSS GROUP TRAINING".  Buy a
t-shirt, give us your b-card, and we will pick a winner on wednesday night,
you get a free training with the gurus ($3500 cost).

For those that can't come to JBoss One, if you give us a bulk order of 10 +
shipping ($230) then we will put you in the raffle but the order needs to
reach us before the end of the JB1 conference when we will pick a winner, so
you basically have a month to put the order.  We will put the information
online but basically write to mailto:[EMAIL PROTECTED]?subject=10
tshirts please">sales and when we get your paypal payment we will send
it.  You will join the raffle.  We will put this online.

BTW for the raffle it is ONE card PER tshirt.  So if you buy 10 t-shirts you
multiply your chances by 10.

Is this "as good as it gets?"

take care see you there,

marcf


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Entity bean as a facade?

2002-02-25 Thread Dain Sundstrom

This is how everyone I know does it.  As for why not do it the way you 
suggested, KISS.

-dain

Mikhail Akopov wrote:

> Hello Dain,
> 
> Monday, February 25, 2002, 12:05:15 AM, you wrote:
> 
> DS> My solution. Write a servlet filter that synchronizes on the session 
> DS> object before child invocation.
> this is standard solution, given in e.g. petstore example. But this
> makes all frames work in series, one by one. I think this is not the
> best solution for multiframed HTML environment.
> That is why my suggestion was done - why not to use it? What are the
> reasons to not to use?
> 
> 



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re[2]: [JBoss-user] Entity bean as a facade?

2002-02-25 Thread Mikhail Akopov

Hello Dain,

Monday, February 25, 2002, 12:05:15 AM, you wrote:

DS> My solution. Write a servlet filter that synchronizes on the session 
DS> object before child invocation.
this is standard solution, given in e.g. petstore example. But this
makes all frames work in series, one by one. I think this is not the
best solution for multiframed HTML environment.
That is why my suggestion was done - why not to use it? What are the
reasons to not to use?

-- 

Vale! - Mikhail Akopov


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Q : database and entity bean development

2002-02-25 Thread Dain Sundstrom

David,

Build the beans first, as they are likely to change drastically during 
development.  Then as your development winds down, lock down the exact 
db mapping.

The only real negative to this approach is if you need some default data 
in your db for testing and you want to load this with a sql block 
insert.  In that case lock down those entities (as they are most likely 
stable).

If you do design your db first, don't try to use not null foreign keys 
or foreign keys in your primary key, as neither work yet.

-dain

David Goodwin wrote:

> Hi all,
> 
> Q: Given a choice, do you design the database first and then make the 
> entity beans fit on to it, or do you create the beans and let jboss 
> create the tables/fields etc automatically ?
> 
> Obviously sometimes you don't have a choice if it is an existing system.
> 
> Are there any significant pros and cons with either approach ?
> 
> thanks
> 
> David.



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Anyone using jbosscmp-jdbc to specify relationships?

2002-02-25 Thread Hunter Hillegas

I'm wondering if anyone is using jbosscmp-jdbc to further define their
relationships on the JBoss3beta? I am having trouble and need someone to
bounce my problem off of.

Hunter


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] stateful session bean wrappers

2002-02-25 Thread Mikhail Akopov

Hello jboss-user,

We have several stateful session beans to be accessed from servlet. It
is inconvenient to put all of them into one facade bean. So when one
bean, let's call it 'A', is called (using synchronized wrapper a-la
petstore), others are passed to it by parameteres.

In order to access them from inside bean A, the same trick is used:
they are called using syncronized wrapper.

I think this is wrong but I can't formulate my doubts in a right
words. Just reference to ejb spec 2.0 (24.1.2) can't convince my
colleaques of my truth.

Help me please: what bad will happen using described technics?


Vale! - Mikhail Akopov


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Q : database and entity bean development

2002-02-25 Thread David Goodwin

Hi all,

Q: Given a choice, do you design the database first and then make the 
entity beans fit on to it, or do you create the beans and let jboss 
create the tables/fields etc automatically ?

Obviously sometimes you don't have a choice if it is an existing system.

Are there any significant pros and cons with either approach ?

thanks

David.
-- 
David Goodwin

[ [EMAIL PROTECTED] ][ http://www.codepoets.co.uk ]
[ BEng Software Engineering, Uni. of Wales, Aberystwyth ]


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBossONE

2002-02-25 Thread marc fleury

12 CORE GUYS, JUST FOR YOUR EYES

we are going to be at JavaOne, right across the street from the main
conference. At the thirsty bear. Just to bring the fun back in JavaOne and
be extremelly technical.

Our talks were not selected for the official tracks (too technical) well in
this conferences we want to show you code, code more code, just code and
answer questions till we know what line of code to change in our base, that
is how deep we want to be.

THERE WILL BE 12 CORE SPEAKERS FOR JBOSS

JBoss Group WILL BE FLYING 12 CORE DEVELOPERS from all over the world.
These guys never met in person and now you get to meet them all  They
got the right stuff.

Sacha Labourey, Bill Burke, David Jencks, Dain Sundstrom, Juha lindfors,
Andreas Schaefer, Hiram Chirino, Julian Gosnell, Greg Wilkins, Dr Jung,
Scott Stark and Marc Fleury.  Yep 12 core guys all in the same room just for
you.  We will also have partners talking with us, David Brown from Gemstone.
It is going to be one hell of show, so make sure to mark it and come.

We will be announcing the schedule very soon, it will be on the website and
tuesday and wednesday of the Java One conference RIGHT ACROSS THE STREET AT
THE THRISTY BEAR so mark your calendars and please please please

*SPREAD THE WORD***

We are counting on you to make the word of mouth work, see you there,

We put up the money and share the honey

marcf




___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jndi naming

2002-02-25 Thread danch

Eric Kaplan wrote:

> while we're on the subject of naming, i remember a while ago when i first
> started with jboss that clients looked up beans differently than other beans
> on the app server.  This was highlighted specifically in the documentation
> on the web.
> 
> client - "ejb/foo"


This is true if you didn't put an ejb-ref stanza in your web.xml, and if 
you specified ejb/foo as the bean's JNDI name in jboss.xml. The ejb-ref 
stanza in web.xml follows the same rules as in ejb-jar.xml: it can have 
either have a link in it if your bean is in the same ear or you can 
specify a mapping in jboss-web.xml.

The bottom line is that your web client code should look up the ejb the 
same way that ejbs look up ejbs.

If your client is a stand-alone client, on the other hand, the it has to 
look up the ejb by the ejb's JNDI name as specified in jboss.xml. The 
default for this is simply the bean name as specified in ejb-jar.xml. 
Since the JNDI name that an ejb is deployed to is container dependent, 
this is not totally portable. One way to help portability in this case 
is to put the bean JNDI names into a property file, so that at least you 
don't have to change code to go to a different naming scheme.

Note that the J2EE client application spec addresses portability in this 
area, but that JBoss doesn't support J2EE client applications, onlly 
standalone client applications.

danch






___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread jK.MkIII

Jonathan Gibbons wrote:

> Could it be the JNDI name you use?   You say you  are calling this from the Login 
>bean?  As in an EJB or a Gui bean?

In my talk bean = EJB :) sometimes can be confusing..

If you see my latest post about subject you see that I found what was causing it. It 
was not JNDI name, or anything in deployment descriptors. Reason was that I had 
superclas EJB that all my ejbs extended and in that class I had helper functions that 
made looking up beans and other stuff prettier :) So when bean
object came to state where it needed to lookup other bean it stepped into superclasses 
code and created IntialContext ...but that context was not correct context for Login 
session bean. When changed it so that InitialContext was created inside LoginBean.java 
and then passed into stuff in superclass EJB.java it worked
correctly.

So it seems that code that receives InitialContext must be in real bean class code and 
not in other class that is extended by bean class, even at execution time object is 
same.



>
> The rules are:
>
> >From the web tier use:
>
> ic.lookup("ejb/InwardSLSBRef");
>
> (except I had problems using ejb/ in a past interation, so dropped it)
>
> >From the same java JVM, eg looking up data sources
>
> ic.lookup("java:");
>

hmm... in my code I never use anything starting with "java:" my beans lookup 
everything linked into their context by simly using "ejb/X" or "jdbc/X", and client 
code just lookups for full jndi name "shepherd/stuff/X"



>
> >From within an EJB, or session bean
>
> ic.lookup("java:comp/env/ejb/InwardSLSBRef");
>

actually this is incorrect, in that way that it works but it is not necessary. from 
ejb (entity or session) you can lookup stuff in its context by just using 
"ejb/InwardSLSBRef", that "java:comp/env" is not necessary.


--
jK.MkIII



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Can't get custom error page working :(

2002-02-25 Thread Heiko Jürgens

Hi,

I'm developing with the JBoss_2.4.4-Tomcat_4.0.1 bundle. I tried to 
customize the error Page for Html-Error 403 which comes up when a user 
has bad permissions for the resource he requested. So I've put the 
following into my web.xml:

  
  403
  /error403.html
  

I'm also using a FORM-based log-in with customized pages which works 
fine.
But when a user logs in and hits a URL which is not allowed for his 
role, I only get the following Exception:

INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] invoking...
[ERROR,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] process: 
invoke
java.lang.NullPointerException
at org.apache.catalina.valves.ErrorDispatcherValve.status
(ErrorDispatche
rValve.java:291)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatche
rValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline
.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.j
ava:170)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline
.java:564)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineVal
ve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline
.java:566)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process
(Ajp13Processor.java:371
)
at org.apache.ajp.tomcat4.Ajp13Processor.run
(Ajp13Processor.java:424)
at java.lang.Thread.run(Thread.java:484)


Am I missing something here ???

TIA,
  Heiko


-- 


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jndi naming

2002-02-25 Thread Eric Kaplan

while we're on the subject of naming, i remember a while ago when i first
started with jboss that clients looked up beans differently than other beans
on the app server.  This was highlighted specifically in the documentation
on the web.

client - "ejb/foo"
server - "java:comp/env/ejb/foo".

i got the impression this was jboss specific.  we haven't used another app
server since, but i worry that my client code is now not portable.  is this
true?

Eric Kaplan
Armanta, Inc.
55 Madison Ave.
Morristown, NJ  07960
Phone: (973) 326-9600




winmail.dat
Description: application/ms-tnef


Re: [JBoss-user] JNDIView in RH

2002-02-25 Thread David Jencks

jndi view is in the jmx viewer on port 8082.  I don't know anything about
the standalone jndi viewer.  jndiview is working fine on my machine at the
moment.

david jencks

 On 2002.02.25 05:58:18 -0500 Alex Loubyansky wrote:
> Hi!
> 
> Sorry, maybe, I missed something...
> 
> Is there a way to see JNDI bindings in JBoss-3.0.0beta?
> -I've checked forums and found such a clause: "> JNDI View is broken
> due
> to the JMX Domain changes...", dated Saturday, January 05, 2002 7:03 PM.
> Could someone comment it, please? Or where can I find more detailed
> information?
> -There is JNDIBrowser.bat(sh) in the bin directory. But I can't start
> it
> due to: Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jboss/admin/jndi/Main. And I can't find the package
> org.jboss.admin.jndi
> at all.
> the environment: JBoss-3.0.0beta with Catalina, Windows 2000.
> Thanks in advance,
> alex
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] /tmp/deploy/ getting cleaned up?

2002-02-25 Thread David Jencks

I think this is a different problem than the one I think I fixed.  I'll
look at this one too.

david jencks

On 2002.02.25 05:53:15 -0500 Paul Cody wrote:
> I believe David Jencks notified earlier today/yesterday this has been
> fixed
> on the CVS tip.  Look through archive for more details.
> 
> Paul
> 
> > -Original Message-
> > From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, February 25, 2002 2:33 AM
> > To: Jboss-User (E-mail)
> > Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > 
> > 
> > Hello,
> > 
> > I've just downloaded JBoss3.0.0beta and tried deployment and
> > undeployment. It's really not deleted from tmp/deploy 
> > directory. Though the
> > log notes says:
> >   2002-02-25 12:03:00,376 INFO  
> > [org.jboss.deployment.MainDeployer]
> > Undeploying file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
> >   2002-02-25 12:03:00,376 INFO  [org.jboss.ejb.EJBDeployer]
> > Undeploying:file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
> > !!! --->  2002-02-25 12:03:00,376 INFO  
> > [org.jboss.deployment.MainDeployer]
> > could not delete directory
> > file:/C:/jboss-3.0.0beta/tmp/deploy/91.ejbreftest.jar restart 
> > will delete it
> >   2002-02-25 12:03:00,376 INFO  
> > [org.jboss.deployment.MainDeployer]
> > Undeployed file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
> > 
> > it, nevertheless, don't delete it.
> > 
> > env: JBoss-3.0.0beta with Catalina, Windows 2000
> > 
> > alex
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > Georg Schmid
> > > Sent: Monday, February 25, 2002 11:13 AM
> > > To: 'Hunter Hillegas'; 'Paul Cody'
> > > Cc: 'JBoss 2'
> > > Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > >
> > >
> > >
> > > I'm using RH3.0 (from CVS, only a few days [<4] old) both on
> > > WindowsNT/W2K
> > > and Solaris.
> > >
> > > On Solaris removing jars during undeploy works, but not on 
> > the windows
> > > platforms.
> > > Actually, tmp\deploy is never cleaned up on Windows, even 
> > not during a
> > > restart.
> > >
> > > After a few redeploys I have half a dozen instances of the
> > > same EJB jar in
> > > tmp\deploy.
> > > Every now and then I remove them manually. To do this I have
> > > to shutdown the
> > > server,
> > > because all the jars are locked.
> > >
> > > Georg
> > >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Hunter
> > > Hillegas
> > > Sent: Sunday, February 24, 2002 21:30
> > > To: Paul Cody
> > > Cc: JBoss 2
> > > Subject: Re: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > >
> > >
> > > JBoss 3 HEAD, as of this morning...
> > >
> > > > From: Paul Cody <[EMAIL PROTECTED]>
> > > > Date: Sun, 24 Feb 2002 12:22:08 -0800
> > > > To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>
> > > > Cc:
> > > 
> > "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> > > > Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > > >
> > > > Hmm, mine (2.4.4 catalina) gets cleaned up at startup:
> > > >
> > > > [INFO,J2eeDeployer] Starting
> > > > [INFO,J2eeDeployer] Cleaning up deployment directory
> > > > [INFO,J2eeDeployer] Started
> > > >
> > > > Of course, after deployments there are about 25 files in the
> > > > $JBOSS/tmp/deploy/Default directory that are the contents
> > > of the deployed
> > > > ear file.  Are you sure you have restarted? What are the
> > > timestamps of the
> > > > files in tmp/deploy?  What version of JBoss are you using?
> > > >
> > > > Paul
> > > >
> > > >> -Original Message-
> > > >> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> > > >> Sent: Sunday, February 24, 2002 11:55 AM
> > > >> To: JBoss 2
> > > >> Subject: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > > >>
> > > >>
> > > >> Is /tmp/deploy getting cleaned up by anything ever?
> > > >>
> > > >> I have 183 files in there, about 50 of which are copies of my
> > > >> wars and jars,
> > > >> from each deployment/re-deployment.
> > > >>
> > > >> Is something supposed to clear this at startup or shutdown?
> > > >>
> > > >> Hunter
> > > >>
> > > >>
> > > >> ___
> > > >> JBoss-user mailing list
> > > >> [EMAIL PROTECTED]
> > > >> https://lists.sourceforge.net/lists/listinfo/jboss-user
> > > >>
> > >
> > >
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > >
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourcef

[JBoss-user] JBoss 3.0

2002-02-25 Thread vanoberidze

Hello everyone

Does anyone know what is the schedule of JBoss3.0?
-- 




__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] /tmp/deploy/ getting cleaned up?

2002-02-25 Thread Paul Cody

I believe David Jencks notified earlier today/yesterday this has been fixed
on the CVS tip.  Look through archive for more details.

Paul

> -Original Message-
> From: Alex Loubyansky [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 25, 2002 2:33 AM
> To: Jboss-User (E-mail)
> Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> 
> 
> Hello,
> 
> I've just downloaded JBoss3.0.0beta and tried deployment and
> undeployment. It's really not deleted from tmp/deploy 
> directory. Though the
> log notes says:
>   2002-02-25 12:03:00,376 INFO  
> [org.jboss.deployment.MainDeployer]
> Undeploying file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
>   2002-02-25 12:03:00,376 INFO  [org.jboss.ejb.EJBDeployer]
> Undeploying:file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
> !!! --->  2002-02-25 12:03:00,376 INFO  
> [org.jboss.deployment.MainDeployer]
> could not delete directory
> file:/C:/jboss-3.0.0beta/tmp/deploy/91.ejbreftest.jar restart 
> will delete it
>   2002-02-25 12:03:00,376 INFO  
> [org.jboss.deployment.MainDeployer]
> Undeployed file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
> 
> it, nevertheless, don't delete it.
> 
> env: JBoss-3.0.0beta with Catalina, Windows 2000
> 
> alex
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Georg Schmid
> > Sent: Monday, February 25, 2002 11:13 AM
> > To: 'Hunter Hillegas'; 'Paul Cody'
> > Cc: 'JBoss 2'
> > Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> >
> >
> >
> > I'm using RH3.0 (from CVS, only a few days [<4] old) both on
> > WindowsNT/W2K
> > and Solaris.
> >
> > On Solaris removing jars during undeploy works, but not on 
> the windows
> > platforms.
> > Actually, tmp\deploy is never cleaned up on Windows, even 
> not during a
> > restart.
> >
> > After a few redeploys I have half a dozen instances of the
> > same EJB jar in
> > tmp\deploy.
> > Every now and then I remove them manually. To do this I have
> > to shutdown the
> > server,
> > because all the jars are locked.
> >
> > Georg
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Hunter
> > Hillegas
> > Sent: Sunday, February 24, 2002 21:30
> > To: Paul Cody
> > Cc: JBoss 2
> > Subject: Re: [JBoss-user] /tmp/deploy/ getting cleaned up?
> >
> >
> > JBoss 3 HEAD, as of this morning...
> >
> > > From: Paul Cody <[EMAIL PROTECTED]>
> > > Date: Sun, 24 Feb 2002 12:22:08 -0800
> > > To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>
> > > Cc:
> > 
> "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> > > Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > >
> > > Hmm, mine (2.4.4 catalina) gets cleaned up at startup:
> > >
> > > [INFO,J2eeDeployer] Starting
> > > [INFO,J2eeDeployer] Cleaning up deployment directory
> > > [INFO,J2eeDeployer] Started
> > >
> > > Of course, after deployments there are about 25 files in the
> > > $JBOSS/tmp/deploy/Default directory that are the contents
> > of the deployed
> > > ear file.  Are you sure you have restarted? What are the
> > timestamps of the
> > > files in tmp/deploy?  What version of JBoss are you using?
> > >
> > > Paul
> > >
> > >> -Original Message-
> > >> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> > >> Sent: Sunday, February 24, 2002 11:55 AM
> > >> To: JBoss 2
> > >> Subject: [JBoss-user] /tmp/deploy/ getting cleaned up?
> > >>
> > >>
> > >> Is /tmp/deploy getting cleaned up by anything ever?
> > >>
> > >> I have 183 files in there, about 50 of which are copies of my
> > >> wars and jars,
> > >> from each deployment/re-deployment.
> > >>
> > >> Is something supposed to clear this at startup or shutdown?
> > >>
> > >> Hunter
> > >>
> > >>
> > >> ___
> > >> JBoss-user mailing list
> > >> [EMAIL PROTECTED]
> > >> https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >>
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JNDIView in RH

2002-02-25 Thread Alex Loubyansky

Hi!

Sorry, maybe, I missed something...

Is there a way to see JNDI bindings in JBoss-3.0.0beta?
-I've checked forums and found such a clause: "> JNDI View is broken due
to the JMX Domain changes...", dated Saturday, January 05, 2002 7:03 PM.
Could someone comment it, please? Or where can I find more detailed
information?
-There is JNDIBrowser.bat(sh) in the bin directory. But I can't start it
due to: Exception in thread "main" java.lang.NoClassDefFoundError:
org/jboss/admin/jndi/Main. And I can't find the package org.jboss.admin.jndi
at all.
the environment: JBoss-3.0.0beta with Catalina, Windows 2000.
Thanks in advance,
alex


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] /tmp/deploy/ getting cleaned up?

2002-02-25 Thread Alex Loubyansky

Hello,

I've just downloaded JBoss3.0.0beta and tried deployment and
undeployment. It's really not deleted from tmp/deploy directory. Though the
log notes says:
  2002-02-25 12:03:00,376 INFO  [org.jboss.deployment.MainDeployer]
Undeploying file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
  2002-02-25 12:03:00,376 INFO  [org.jboss.ejb.EJBDeployer]
Undeploying:file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar
!!! --->  2002-02-25 12:03:00,376 INFO  [org.jboss.deployment.MainDeployer]
could not delete directory
file:/C:/jboss-3.0.0beta/tmp/deploy/91.ejbreftest.jar restart will delete it
  2002-02-25 12:03:00,376 INFO  [org.jboss.deployment.MainDeployer]
Undeployed file:/C:/jboss-3.0.0beta/deploy/ejbreftest.jar

it, nevertheless, don't delete it.

env: JBoss-3.0.0beta with Catalina, Windows 2000

alex

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Georg Schmid
> Sent: Monday, February 25, 2002 11:13 AM
> To: 'Hunter Hillegas'; 'Paul Cody'
> Cc: 'JBoss 2'
> Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
>
>
>
> I'm using RH3.0 (from CVS, only a few days [<4] old) both on
> WindowsNT/W2K
> and Solaris.
>
> On Solaris removing jars during undeploy works, but not on the windows
> platforms.
> Actually, tmp\deploy is never cleaned up on Windows, even not during a
> restart.
>
> After a few redeploys I have half a dozen instances of the
> same EJB jar in
> tmp\deploy.
> Every now and then I remove them manually. To do this I have
> to shutdown the
> server,
> because all the jars are locked.
>
> Georg
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Hunter
> Hillegas
> Sent: Sunday, February 24, 2002 21:30
> To: Paul Cody
> Cc: JBoss 2
> Subject: Re: [JBoss-user] /tmp/deploy/ getting cleaned up?
>
>
> JBoss 3 HEAD, as of this morning...
>
> > From: Paul Cody <[EMAIL PROTECTED]>
> > Date: Sun, 24 Feb 2002 12:22:08 -0800
> > To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>
> > Cc:
> "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> > Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
> >
> > Hmm, mine (2.4.4 catalina) gets cleaned up at startup:
> >
> > [INFO,J2eeDeployer] Starting
> > [INFO,J2eeDeployer] Cleaning up deployment directory
> > [INFO,J2eeDeployer] Started
> >
> > Of course, after deployments there are about 25 files in the
> > $JBOSS/tmp/deploy/Default directory that are the contents
> of the deployed
> > ear file.  Are you sure you have restarted? What are the
> timestamps of the
> > files in tmp/deploy?  What version of JBoss are you using?
> >
> > Paul
> >
> >> -Original Message-
> >> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> >> Sent: Sunday, February 24, 2002 11:55 AM
> >> To: JBoss 2
> >> Subject: [JBoss-user] /tmp/deploy/ getting cleaned up?
> >>
> >>
> >> Is /tmp/deploy getting cleaned up by anything ever?
> >>
> >> I have 183 files in there, about 50 of which are copies of my
> >> wars and jars,
> >> from each deployment/re-deployment.
> >>
> >> Is something supposed to clear this at startup or shutdown?
> >>
> >> Hunter
> >>
> >>
> >> ___
> >> JBoss-user mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread Jonathan Gibbons


Could it be the JNDI name you use?   You say you  are calling this from the Login 
bean?  As in an EJB or a Gui bean?

The rules are:

>From the web tier use:

ic.lookup("ejb/InwardSLSBRef");

(except I had problems using ejb/ in a past interation, so dropped it)

>From the same java JVM, eg looking up data sources

ic.lookup("java:");


>From within an EJB, or session bean


ic.lookup("java:comp/env/ejb/InwardSLSBRef");


Jonathan

ps All this JNDI stuff is totally rubbish, vast overkill, vast over complication.  
J2EE yet again poluting simple coding projects with its irrelevant view of the world.




--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] /tmp/deploy/ getting cleaned up?

2002-02-25 Thread Sacha Labourey

Hello,

> On Solaris removing jars during undeploy works, but not on the windows
> platforms.
> Actually, tmp\deploy is never cleaned up on Windows, even not during a
> restart.

This is not related to how the JBoss server works on Solaris vs. Windows.
But rather on the way file deletion is managed at the OS level.

On Solaris (and any Posix I guess), file deletion is simply an "unlink" =>
the file is unlinked from its folder and is removed only when no more
process has an open handle to it. Consequently, while JBoss runs, you can
delete the files but they are most probably not *physically* removed until
JBoss is restarted.

Cheers



Sacha


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] /tmp/deploy/ getting cleaned up?

2002-02-25 Thread Georg Schmid


I'm using RH3.0 (from CVS, only a few days [<4] old) both on WindowsNT/W2K
and Solaris.

On Solaris removing jars during undeploy works, but not on the windows
platforms.
Actually, tmp\deploy is never cleaned up on Windows, even not during a
restart.

After a few redeploys I have half a dozen instances of the same EJB jar in
tmp\deploy.
Every now and then I remove them manually. To do this I have to shutdown the
server,
because all the jars are locked.

Georg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hunter
Hillegas
Sent: Sunday, February 24, 2002 21:30
To: Paul Cody
Cc: JBoss 2
Subject: Re: [JBoss-user] /tmp/deploy/ getting cleaned up?


JBoss 3 HEAD, as of this morning...

> From: Paul Cody <[EMAIL PROTECTED]>
> Date: Sun, 24 Feb 2002 12:22:08 -0800
> To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>
> Cc: "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]>
> Subject: RE: [JBoss-user] /tmp/deploy/ getting cleaned up?
>
> Hmm, mine (2.4.4 catalina) gets cleaned up at startup:
>
> [INFO,J2eeDeployer] Starting
> [INFO,J2eeDeployer] Cleaning up deployment directory
> [INFO,J2eeDeployer] Started
>
> Of course, after deployments there are about 25 files in the
> $JBOSS/tmp/deploy/Default directory that are the contents of the deployed
> ear file.  Are you sure you have restarted? What are the timestamps of the
> files in tmp/deploy?  What version of JBoss are you using?
>
> Paul
>
>> -Original Message-
>> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
>> Sent: Sunday, February 24, 2002 11:55 AM
>> To: JBoss 2
>> Subject: [JBoss-user] /tmp/deploy/ getting cleaned up?
>>
>>
>> Is /tmp/deploy getting cleaned up by anything ever?
>>
>> I have 183 files in there, about 50 of which are copies of my
>> wars and jars,
>> from each deployment/re-deployment.
>>
>> Is something supposed to clear this at startup or shutdown?
>>
>> Hunter
>>
>>
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
>>


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user