Re: [JBoss-user] Taking backups

2001-06-30 Thread Grim Shieldsson

Hot swap of software components... NOW that would be interesting... I'm
not sure how useful though.  The system would still be down while the
swap was happening.. unless you did some sort of queuing.. which might
take less time then a full, stop-upgrade-start cycle.  It would be
interesting, and somewhat useful for keeping with the latest
upgrades/bug-fixes/security-patches and the like.

--- Peter Fagerlund <[EMAIL PROTECTED]> wrote:
> very good then - make a backup and leave it to the db to make a
> correct
> snapshot - but this thread suggest - to still have the capability to
> "change" a component in the system at any time - stopping/starting
> any
> traffic to and from all other components - throught a observeble
> mechanism ?
> ...
> 
> /peter
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Taking backups

2001-06-30 Thread Grim Shieldsson

--- [EMAIL PROTECTED] wrote:
> On Sat, Jun 30, 2001 at 10:21:35AM -0400, David Green wrote:
> > Sounds like more of a database-specific question than a JBoss
> question.
> > For instance, with Progress, I think it's possible to halt updates
> to the
> > actual database files, all updates are temporarily stored in .ai
> (after
> > image files), which can be applied after the backup is complete.
> 
> I'm not sure how transactions are implemented in Java. I'm paranoid
> enough, however, to think that it is possible that a Java transaction
> implementation uses several DB-native transactions per one of its own
> transactions. If so, then attacking this only at the database level
> could result in a logically invalid backup database.

I think you're being overly paranoid in this case.  If the backup
scheme that the DB uses cannot gaurantee that the database is complete,
then tere is a bug in the software.  I know for a fact that Sybase,
Informix and Oracle do not have to have clients disconnected before
backiing them up.  It's a good idea to do the backups during a slow
time becuase they drastically affect performance.

As for transactions interfering with the backup... That makes no sense
at all.  A backup routine reads a row, and writes it.  Just like every
other process/client.  If you could interfere with that read, by having
a transaction in progress.. you have far more severe problems then a
corrupted database.



=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Taking backups

2001-06-30 Thread Grim Shieldsson

Your normal database backup routines should do just fine, since from a
certain point of view, JBoss is just a client.  I've done plenty of hot
backups before, this should be no different.

--- [EMAIL PROTECTED] wrote:
> What is a workable way of taking regular backups of the database in a
> JBoss application? I am assuming I can't just merrily copy the
> database while it is working. Is it possible to put JBoss into some
> kind of "idle" mode so that it temporarily halts all transactions
> (and
> flushes any unwritten data to the database) until I tell it to go
> again?
> 
> I would prefer to do this without terminating JBoss first.
> 
> Cheers
>   Bent D
> -- 
> Bent Dalager - [EMAIL PROTECTED] - http://www.pvv.org/~bcd
> powered by emacs
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] apache+tomcat+jobbs

2001-06-30 Thread Grim Shieldsson

mod_jk.so is very sensitive to it's compile conditions.  It doesn't
work on Mandrake at all.  If you have something slightly different on
your system, at least for linux, it will not work.  I found this out
madly going through the tomcat list archives etc.
It was not a fun thing to discover :) *LOL*

--- Richard Bottoms <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] wrote
> >In fact, I thought it was in response to you I attached a link to an
> older
> >message on how to integrate JBoss/Tomcat & Apache.
> 
> 
> Got it working.
> 
> The mod_jk.so file download seems to be corrupted so I compiled it
> from
> source. It took a few additional changes to httpd.conf to get it
> working,
> but we are hot.
> 
> Thanks,
> r.b.
> 
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] servlets vs. EJB

2001-06-29 Thread Grim Shieldsson

--- Fred Loney <[EMAIL PROTECTED]> wrote:
> Somebody wrote:
> 
> > I think the EJB-arch would be more scalable than just using
> JSP/Servlet. But
> > on the other hand it is much simpler & easier to get things going
> with
> > JSP/Servlet/JDBC.
> 
> I find it puzzling that the trade-off is often cast as EJB = scalable
> vs. JDBC = simple. Maybe it's me, but I find that for quick
> development autogenerating a CMP descriptor by hitting the Enter key
> vs. hard-coding pages of SQL statements is no contest.

Until you try and do a one-to-many relationship, many-to-many
relationship that CMP doesn't do.  Then you add in the overhead of two
trips over the network.. then you add the complexity of the pooling of
EJB and the SQL connection Pooling.. and the fact that you have to go
through an extra layer of software etc etc etc.
The greatest benefit of EJB's isn't scalability, imhop, it's
flexibility.  It allows you to put your business logic in one central
place.  If you have a lot of business logic, or it's complex, then
EJB's are extremely useful.  They give you one place to put all your
business logic.  That way all of your UI's ( GUIS, AUI (Audio User
INterface, aka telephone) palms, API"s etc etc all have one place to go
to for the data+logic.  This is far more convenient then copying all
that stuff all over the place.
Is it faster?  If you plan it right, it might be.  Is it more scalable?
 Maybe... if you plan it right... Is it simpler.. NO.  

> 
> Granted, there is a learning curve to surmount. Programmers
> comfortable with two-tier, single-threaded JDBC find containers,
> stubs and lifecycles a bizarre distraction. That is, until that 10th
> concurrent user hits the database...

I've seen sites that get far more 10 concurrent users on the database
with JDBC.  It all depends on the way you implement things, and what
you're doing and how you're doing it.



=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] servlets vs. EJB

2001-06-28 Thread Grim Shieldsson

Yes.  This is a world full of infinite possibilities.  As with all
things.. it depends on how you design it.

--- Jim <[EMAIL PROTECTED]> wrote:
> Is it possible for an EJB architecture to beat the performance or
> scalability of a JSP/servlet/JDBC architecture?
> 
> Thanks,
> 
> Jim
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



RE: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Grim Shieldsson

Thanks alot Kevin, I am really not looking forward to having to depoy a
war seperate from the ear.. Mostly for aesthetics somewhat for
convience as well.

--- Kevin O'Neill <[EMAIL PROTECTED]> wrote:
> Grim,
> 
> I'm using some of the struts infrastructure (tag libs at the moment)
> in
> my jmoz application. You can get the latest version via cvs from
> sourceforge http://jmoz.sourceforge.net to see if I'm doing anything
> different. It deploys an ear file containing a war file that contains
> the relevant struts components.
> 
> k.
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



RE: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Grim Shieldsson

JBoss2.2.2_Tomcat3.2.2 is the version I'm running...  Runs just fine
when I deploy to tomcat.. not when I deploy with an EAR.


--- Liang Li <[EMAIL PROTECTED]> wrote:
> What version are you using: JBoss2.2.1_Tomcat3.2.1 or
> JBoss2.2.2_Tomcat3.2.2?
> 
> I met a problem that JBoss2.2.1_Tomcat3.2.1 can't deploy all
> struts-*.war at
> the same time(always complain java.lang.ClassNotFoundException when
> deploying struts examples), but after I installed the
> JBoss2.2.2_Tomcat3.2.2, the examples are all right under the new
> version
> now.
> 
> 
> -Original Message-
> From: Grim Shieldsson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 11:54 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Tomcat/Jakarta Struts
> 
> 
> Here's a head scratcher for you.
> Take an EAR with accompanying WAR, with Struts properly nestled in
> the
> WAR.  Now, run in jboss, throws classpath errors.. can't find the
> struts bits.
> Take the SAME WAR, throw in Tomcat without JBOSS embedded.  WAR
> works. 
> Please note, not changes, just lifted the WAR out of the EAR.
> The struts.jar file is supposed to be in WEB-INF/lib, however JBOSS
> does not seem to be allowing tomcat to see that.  When I allow tomcat
> to deploy it  it runs fine.
> Any ideas on where to go looking for this one?  I would assume that
> it
> is somewhere in the deploy process of JBoss, but will not discount
> the
> possibility of it being inside my code, or setup.  
> It's only the Struts stuff that's missing.
> 
> --Grim
> 
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] problems with server with 2 network cards

2001-06-22 Thread Grim Shieldsson

jboss is prolly doing some localhost :port//URL stuff internally.. I
would check /etc/hosts and make sure that you have localhost setup
correctly.
In addition, for your own security I would port forward through the
firewall, rather then put t JBOSS on the firewall.  Development
environments are notorious for being insecure.  JBOSS itself can be
locked down nicely, however, I doubt you're doing that much in
development.
Another more secure option would be to put the server in the DMZ..
Course, you prolly thought of both of those.

--- Patrick Buchinger <[EMAIL PROTECTED]> wrote:
> hi everybody!
> 
> i have a server with 2 network cards in it, one is connecting to the 
> internal network (let's say ip=192.168.0.100) and one is connecting
> to 
> the internet (let's say ip=212.172.122.17).
> the os of the server is linux (kernel 2.2.16). the server also is the
> 
> gateway from the internal network to the world (using NAT).
> 
> now the problem is, when i try to connetct to jboss from outside the 
> internal network (to ip 212.172.122.17), i always get a 
> NoRouteToHostException to host 192.168.0.100!!??!!!
> is this a jboss problem or a server configuration problem? has
> someone 
> ever made such a configuration successfully run with jboss?
> 
> the server is our development server, but our customer wants to test
> the 
> application from outside, so i need this configuration to work.
> 
> please help me!
> 
> thank you very much,
> 
> patrick
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Tomcat/Jakarta Struts

2001-06-22 Thread Grim Shieldsson

--- [EMAIL PROTECTED] wrote:
> 
> Not a solution at all, just a statement.
> 
> I deploy Struts WAR's into jboss (Embedded Tomcat) with no problem.
> 
> 
> Sean
> 
> 

Okay, are you bundling the WAR's into into an EAR and dropping the
whole thing into the deploy directory?  
If you are, I'd love a chance to see what differences in the EAR we may
have, if you have the time.


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



[JBoss-user] Tomcat/Jakarta Struts

2001-06-21 Thread Grim Shieldsson

Here's a head scratcher for you.
Take an EAR with accompanying WAR, with Struts properly nestled in the
WAR.  Now, run in jboss, throws classpath errors.. can't find the
struts bits.
Take the SAME WAR, throw in Tomcat without JBOSS embedded.  WAR works. 
Please note, not changes, just lifted the WAR out of the EAR.
The struts.jar file is supposed to be in WEB-INF/lib, however JBOSS
does not seem to be allowing tomcat to see that.  When I allow tomcat
to deploy it  it runs fine.
Any ideas on where to go looking for this one?  I would assume that it
is somewhere in the deploy process of JBoss, but will not discount the
possibility of it being inside my code, or setup.  
It's only the Struts stuff that's missing.

--Grim


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] jboss.jcml

2001-06-21 Thread Grim Shieldsson

Yes I have.. works quite well.

--- Richard Bottoms <[EMAIL PROTECTED]> wrote:
> Anyone successfully load and use mm.mysql.jdbc or other MySQL driver
> from
> an entry in jboss.jcml.
> 
> 
> Thanks,
> r.b.
> 
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Obtaining a transaction from outside JBoss in another VM Plan

2001-06-16 Thread Grim Shieldsson

You may not be able to use it indirectly, but what about indirectly? 
Manipulate the transaction through a session bean?
You may have to repeat this for a few entity beans though

--- Phan Anh Tran <[EMAIL PROTECTED]> wrote:
> We are at design time for a real system.  Your suggestion "don't use
> it" is
> that due to JBOSS specific implementation issues or is it  a
> universal
> design advice?
> 
> Do you have a copy of Vlada talk?  Thanks.
> 
> Anh
> 
> - Original Message -
> From: "marc fleury" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 16, 2001 3:24 AM
> Subject: RE: [JBoss-user] Obtaining a transaction from outside JBoss
> in
> another VM Plan
> 
> 
> > yes anatoly ackerman finished an integration of Tyrex (real DTM) in
> JBoss.
> >
> > We truly truly discourage the use of DTx (even Vlada matena had a
> full
> talk
> > on that). So my question is "are you at design time" (in which case
> don't
> > use it) or is this "real life".
> >
> > marcf
> >
> > |-Original Message-
> > |From: [EMAIL PROTECTED]
> > |[mailto:[EMAIL PROTECTED]]On Behalf Of Phan
> Anh
> > |Tran
> > |Sent: Saturday, June 16, 2001 3:11 AM
> > |To: [EMAIL PROTECTED]
> > |Subject: [JBoss-user] Obtaining a transaction from outside JBoss
> in
> > |another VM Plan
> > |
> > |
> > |When does JBOSS plan to support the obtaining and using a
> transaction
> from
> > |another VM?  2.2.3?  2.3?  Anytime in the near future?
> > |
> > |[App/VM1]   <-> [EJB1,EJB2,.../JBOSS/VM2]
> > |
> > |App needs to setup and control the transactions, so in essence, my
> > |App needs
> > |to be able to obtain a UserTransaction via JNDI from a separate
> VM.  I
> > |believe this feature is not supported right now, but I would like
> to
> > |understand when the feature is planned to be incorporated into
> JBOSS?
> > |Thanks.
> > |
> > |Anh
> > |
> > |
> > |
> > |_
> > |Do You Yahoo!?
> > |Get your free @yahoo.com address at http://mail.yahoo.com
> > |
> > |
> > |___
> > |JBoss-user mailing list
> > |[EMAIL PROTECTED]
> > |http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >
> > _______
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

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



RE: [JBoss-user] Integrated Tomcat throws a security exception

2001-06-13 Thread Grim Shieldsson

I think I'll resist the obvious puns here... I think that  another
tomcat would not do anyone any good.  Tomcat is coming along nicely,
and will continue to do so.  I believe in the maxim "Do one thing, and
do it well".  Forking Tomcat would mean that the designers/builders of
JBoss would now be doing two things... building the worlds greatest
servlet/JSP platform and the worlds greatest EJB platform.  JBoss is a
great product becuase of the focus of the designers.
In addition, if you were to integrate the forked tomcat tightly into
JBoss, you would lose the flexibiliy it now has.  Currently, Tomcat is
agurably the best in servlet/JSP platforms. That does not mean that a
competitor can't quickly take over the lead.  It also allows your users
to be able to use best of breed solutions, that may include some sort
of built in servlet funcitonality.  Integration may interfere with
that.
If the JBoss team were to fork Tomcat, and develop it as a seperate
product, as it is now, I do believe that JBoss would suffer.  It's a
great product, it has a long way to go before it is truly a Websphere
or WebLogic competitor, especially in the HA/Clustering area.  In
addition, you have done a great job with the JMX stuff, but again, it
can be pushed much farther to outstrip the management of anything else
out there.  All of this effort would then be split between Tomcat and
JBoss, and I think that that would truly be a shame.
I also believe that there will be a time for the JBoss development team
to look at forking off Tomcat, or some other servlet container to
complete the J2EE offereing.  That time should be when JBoss is seen as
a true competitor to Sphere and Logic.  That will take focus.  
Just my opinion.

--- marc fleury <[EMAIL PROTECTED]> wrote:
> how do you guys feel about forking tomcat...
> 
> marc
> 
> 
> |-Original Message-
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf Of
> Ferguson,
> |Doug
> |Sent: Wednesday, June 13, 2001 6:28 PM
> |To: [EMAIL PROTECTED]
> |Subject: [JBoss-user] Integrated Tomcat throws a security exception
> |
> |
> |I have installed integrated tomcat and when I try to run an ejb I
> get this
> |exception.
> |Even when I bypass tomcat and go directly through jndi to jboss..
> |
> |Remote ExceptioncheckSecurityAssociation; nested exception is:
> |java.lang.SecurityException: Authentication exception,
> principal=null 
> |
> |
> |___
> |JBoss-user mailing list
> |[EMAIL PROTECTED]
> |http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



RE: [JBoss-user] manual

2001-06-13 Thread Grim Shieldsson

My original reply was going to explain the facts of programming life to
him.. then I realized exactly what his statement meant.  When he learns
how to turn on the computer, we should explain it to him.

--- Ivan Bolcina <[EMAIL PROTECTED]> wrote:
> Very amusing...haha. The source is not ultimate docs. Maybe in world
> of
> '60s.
> 
> -Original Message-
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 12, 2001 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] manual
> 
> 
> So I see three options here.
> 1. Take the 10k your saving and write 10k worth of docs.
> 2. Send 10k to JBoss and we'll write 10k worth of docs.
> 3. Read the ultimate docs(the source) and save 10k less the hours it
> takes
> you.
> 
> - Original Message - 
> From: "Ivan Bolcina" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 11, 2001 11:03 PM
> Subject: RE: [JBoss-user] manual
> 
> 
> > I TOTALLY AGREE. BAD DOCUMENTATION MIGHT BE DEATH OF JBOSS. PLEASE
> DO
> > EXAMPLES.
> > WHY PEOPLE PAY 10K FOR COMMERCIAL EJB SERVERS? BECAUSE OF
> DOCUMENTATION!
> > IT'S EASY!
> > 
> > 
> > 
> > -Original Message-
> > From: Boris Garbuzov [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 12, 2001 6:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] manual
> > 
> > 
> > Hello to all JBoss gurus and peers. The user manual is not very
> smooth and
> I
> > can not find complete example description on deployment of full
> > J2EE application with web client part. I do not see such samples
> shipped
> > with the product too. Any other JBoss-Tomcat specific resources for
> > novice are appreciated. Boris.
> > 
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] client access of ejb's

2001-06-13 Thread Grim Shieldsson

AgeGroupHome class needs to be where the client code can see it on the
class path.  So does the AgeGroup interface.  Read the documentation
and EJB spec for details.

--- Chris Tragas <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> Hopefully someone can help me.
> 
> I successfully deploy a jar file in jboss 2.2.2 with tomcat 3.2
> 
> When I try to access a bean in the jar file i get the following
> errors on
> the client:
> 
> Got context
> An exception occurred while obtaining a remote reference:
> javax.naming.CommunicationException [Root exception is
> java.lang.ClassNotFoundException:
> com.atomicmedia.totalpromoter.reference.AgeGroupHome]
> 
> 
> Any suggesstions anyone? We are really struglling here; we think we
> might
> have our deployment wrong or not have the right classpath setting or
> whatever; anyhow, we're missing something;
> 
> Thanks in advance
> 
> Chris Tragas
> [EMAIL PROTECTED]
> +61 3 9695 5711 direct
> +61 3 0402 28 10 20 mobile
> 
> www.atomicmedia.com
> -
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



RE: [JBoss-user] Problems using DatabaseServerLoginModule

2001-06-12 Thread Grim Shieldsson

I would try using the column names you have.  I have a sneaking
suspicion that the databaseLoginModule is not looking at names, but
rather position.  I could be wrong.. it's worth a shot.

--- Pelle Poluha <[EMAIL PROTECTED]> wrote:
> I would at least have to change the column names in the table and
> change the
> entity bean dealing with that table.
> 
> Regards,
> Pelle
> 
> > The roles query should be something like:
> > select Role,RoleGroup from Roles where username=?
> > You have:
> > select rolename Role, 0 RoleGroup from rolemapper where username=?"
> > The rolename Role and 0 RoleGroup are prolly causing the problem. 
> I'm
> > not sure why this would cause a database structure change.
> 
> > > Perhaps there is something wrong with the roles query as Grim
> > > Shieldsson
> > > suggested (but then I would have to change the structure of
> > the table
> > > which
> > > I'd prefer not to).
> > >
> 
> 
> _______
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



RE: [JBoss-user] Problems using DatabaseServerLoginModule

2001-06-12 Thread Grim Shieldsson

The roles query should be something like:
select Role,RoleGroup from Roles where username=?
You have:
select rolename Role, 0 RoleGroup from rolemapper where username=?"
The rolename Role and 0 RoleGroup are prolly causing the problem.  I'm
not sure why this would cause a database structure change.  

--- Pelle Poluha <[EMAIL PROTECTED]> wrote:
> Thanks but the error I get says the role 'user' is required to invoke
> create. And the user 'pelle' has the role 'user' as the MySql table
> shows.
> And everything works just fine as soon as I change to the
> UsersRolesLoginModule.
> 
> Perhaps there is something wrong with the roles query as Grim
> Shieldsson
> suggested (but then I would have to change the structure of the table
> which
> I'd prefer not to).
> 
> Regards,
> Pelle Poluha
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Andre
> > Vermeulen@i-Commerce
> > Sent: den 11 juni 2001 10:36
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [JBoss-user] Problems using DatabaseServerLoginModule
> >
> >
> > Just a few ideas.
> >
> > Seems like don't have any permissoins set on your create
> > method (Not telling
> > which role can execute the create method), or change the
> > permissions on the
> > bean level that all methods use the same role.
> >
> > helpfull ?
> >
> > -Original Message-
> > From: Pelle Poluha [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 11, 2001 10:10 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Problems using DatabaseServerLoginModule
> >
> >
> > Hello!
> >
> > I'm trying to use the DatabaseServerLoginModule for
> > authentication and role
> > mapping. Earlier, I used the UsersRolesLoginModule successfully.
> >
> > As can be seen below (PreparedStatements printed to screen by
> > JBoss), the
> > authentication goes well but it seems the role mapping fails.
> >
> > [UserManager] select password from user where username=?
> > [UserManager] select password from user where username=?
> > [UserManager] 'pelle'
> > User 'pelle' authenticated.
> > [UserManager] select rolename Role, 0 RoleGroup from rolemapper
> where
> > username=?
> >
> > [UserManager] select rolename Role, 0 RoleGroup from rolemapper
> where
> > username=?
> >
> > [UserManager] 'pelle'
> > [UserManager] Insufficient method permissions, principal=pelle,
> > method=create, r
> > equiredRoles=[user]
> >
> > When I query the database manually, I get the following results:
> >
> > mysql> select rolename Role, 0 RoleGroup from rolemapper where
> > username='pelle';
> >
> > +--+---+
> > | Role | RoleGroup |
> > +--+---+
> > | boss | 0 |
> > | user | 0 |
> > +--+---+
> >
> > The auth.conf looks like this:
> > other {
> > org.jboss.security.auth.spi.DatabaseServerLoginModule required
> > dsJndiName="java:/mySQL"
> > principalsQuery="select password from user where username=?"
> > rolesQuery="select rolename Role, 0 RoleGroup from
> > rolemapper where
> > username=?"
> > ;
> > };
> >
> > In standardjboss.xml, I have added the following line:
> > 
> > java:/jaas/other
> > false
> > ...
> >
> > Any help appreciated.
> >
> > Regards,
> > Pelle Poluha
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



RE: Re: [JBoss-user] run_with_tomcat.sh doesn't work?

2001-06-11 Thread Grim Shieldsson

--- Jm Seigneur <[EMAIL PROTECTED]> wrote:
> Hello again,
> [Auto deploy] ERROR reading
> /tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/De
> fault/contactapp.ear/web1003/WEB-INF/web.xml
> [Auto deploy] At Expecting quoted value for PUBLIC identifier.
> 
> [Auto deploy] ERROR reading
> /tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/De
> fault/contactapp.ear/web1003/WEB-INF/web.xml
> [Auto deploy] org.xml.sax.SAXParseException: Expecting quoted value
> for
> PUBLIC i
> dentifier.
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)

crimson is the XML parser.  It still thinks you have a http://personal.mail.yahoo.com/

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



RE: [JBoss-user] how do I access simple html pages in a war file

2001-06-11 Thread Grim Shieldsson

In all honesty, you are probably better off using Taglibs then you are
trying to recreate this.

--- Emerson <[EMAIL PROTECTED]> wrote:
> At 09:05 11/06/01 -0400, you wrote:
> >ugh... not easily... but it could be done like so
> >
> >ServletContext sCtx = 
> >
> >String realPath = sCtx.getRealPath("path of resource");
> >
> >then load the resource using whatever and do your thing. I would
> ask why
> >do it this way, but im sure there must be some reason. in either
> case you
> >are going to have to use a servlet or jsp as the controller in order
> to make
> >the changes...
> 
> I have a kind of old system made when there weren´t JSP pages, just
> servlets. So i want to reuse this functionality.
> 
> 
> >
> >Al
> >
> >
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Emerson
> >Sent: Monday, June 11, 2001 8:08 AM
> >To: [EMAIL PROTECTED]
> >Subject: [JBoss-user] how do I access simple html pages in a war
> file
> >
> >
> >I´m not using JSP, instead I made a class that changes dinamic tags
> (like
> ><#dinTag>) on static pages at run time. How do I access this static
> pages
> >at run time?
> >Emerson Cargnin
> >TRE-SC
> >Setor de Desenvolvimento
> >Tel: (48) 251-3700 - Ramal 3134
> >
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> Emerson Cargnin
> TRE-SC
> Setor de Desenvolvimento 
> Tel: (48) 251-3700 - Ramal 3134
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] run_with_tomcat.sh doesn't work?

2001-06-11 Thread Grim Shieldsson
9:46:04 - ContextManager: Adding context Ctx( /examples )
> 2001-06-11 09:46:04 - ContextManager: Adding context Ctx( /admin )
> [EmbeddedTomcatSX] Starting tomcat. Check logs/tomcat.log for error
> messages
> 2001-06-11 09:46:04 - ContextManager: Adding context Ctx(  )
> 2001-06-11 09:46:04 - ContextManager: Adding context Ctx( /test )
> 2001-06-11 09:46:05 - PoolTcpConnector: Starting
> HttpConnectionHandler on
> 8080
> [EmbeddedTomcatSX] OK
> [EmbeddedTomcatSX] Started
> [JBossMQ] Starting
> 2001-06-11 09:46:05 - PoolTcpConnector: Starting
> Ajp12ConnectionHandler on
> 8007
> [JBossMQ] Server Version 0.8 Started
> [JBossMQ] Started
> [DefaultJMSProvider] Starting
> [DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to
> java:/DefaultJMSProvider
> [DefaultJMSProvider] Started
> [StdJMSPool] Starting
> [StdJMSPool] JMS provider Adapter StdJMSPool bound to
> java:/StdJMSPool
> [StdJMSPool] Started
> [J2EE Deployer Default] Starting
> [J2EE Deployer Default] Cleaning up deployment directory
> [J2EE Deployer Default] Started
> [Auto deploy] Starting
> [Auto deploy] Watching /tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy
> [Auto deploy] Auto deploy of
> file:/tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/tomcat-test.ear
> [J2EE Deployer Default] Deploy J2EE application:
> file:/tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/tomcat-test.ear
> [J2EE Deployer Default] Create application tomcat-test.ear
> [J2EE Deployer Default] inflate and install module tomcat-test.war
> [J2EE Deployer Default] install module tomcat-test.jar
> [J2EE Deployer Default] add all ejb jar files to the common classpath
> [Container factory]
>
Deploying:file:/tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/tom
> cat-test.ear
> [Verifier] Verifying
>
file:/tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/tomcat-test.e
> ar/ejb1002.jar
> [Container factory] Deploying Optimized
> [Container factory] Deploying NonOptimized
> [Container factory] Deployed application:
>
file:/tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/tomcat-test.e
> ar
> [J2EE Deployer Default] Starting module tomcat-test.war
> [Auto deploy] deploy, ctxPath=/jboss,
>
warUrl=file:/tmp/jm/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/tomcat
> -test.ear/web1001/
> 2001-06-11 09:46:08 - ContextManager: Adding context Ctx( /jboss )
> 
> !! After a while, connection timeout here and
> java.net.ConnectionException
> !!
> 
> [Auto deploy] java.net.ConnectException: Connection timed out
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
> [Auto deploy]   at
>
org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2723)
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1154)
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:488)
> [Auto deploy]   at
> org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
> [Auto deploy]   at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
> 
=== message truncated ===


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Problems using DatabaseServerLoginModule

2001-06-11 Thread Grim Shieldsson

At firsty glance the rolename and 0 in front of the column names might
not want to be there.  Everything else looks like what I'm using for
Database Login right now, and it works.  You may be confusing Jboss by
labeling the columns like that.

--- Pelle Poluha <[EMAIL PROTECTED]> wrote:
> Hello!
> 
> I'm trying to use the DatabaseServerLoginModule for authentication
> and role
> mapping. Earlier, I used the UsersRolesLoginModule successfully.
> 
> As can be seen below (PreparedStatements printed to screen by JBoss),
> the
> authentication goes well but it seems the role mapping fails.
> 
> [UserManager] select password from user where username=?
> [UserManager] select password from user where username=?
> [UserManager] 'pelle'
> User 'pelle' authenticated.
> [UserManager] select rolename Role, 0 RoleGroup from rolemapper where
> username=?
> 
> [UserManager] select rolename Role, 0 RoleGroup from rolemapper where
> username=?
> 
> [UserManager] 'pelle'
> [UserManager] Insufficient method permissions, principal=pelle,
> method=create, r
> equiredRoles=[user]
> 
> When I query the database manually, I get the following results:
> 
> mysql> select rolename Role, 0 RoleGroup from rolemapper where
> username='pelle';
> 
> +--+---+
> | Role | RoleGroup |
> +--+---+
> | boss | 0 |
> | user | 0 |
> +--+---+
> 
> The auth.conf looks like this:
> other {
> org.jboss.security.auth.spi.DatabaseServerLoginModule required
> dsJndiName="java:/mySQL"
> principalsQuery="select password from user where username=?"
> rolesQuery="select rolename Role, 0 RoleGroup from rolemapper
> where
> username=?"
> ;
> };
> 
> In standardjboss.xml, I have added the following line:
> 
>   java:/jaas/other
>   false
>   ...
> 
> Any help appreciated.
> 
> Regards,
> Pelle Poluha
> 

> ATTACHMENT part 2 application/ms-tnef name=winmail.dat



=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Duplicate primary keys returned by findAll()! (CMP)

2001-06-11 Thread Grim Shieldsson
CollectorBean.printOrds(OrderCollectorBean.java:41)
> [OrderCollector]at java.lang.reflect.Method.invoke(Native
> Method)
> [OrderCollector]at
>
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:472)
> 
> [OrderCollector]at
>
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87)
> 
> [OrderCollector]at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
> [OrderCollector]at
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:263)
> 
> [OrderCollector]at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> [OrderCollector]at
>
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:190)
> 
> [OrderCollector]at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
> [OrderCollector]at
>
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:271)
> 
> [OrderCollector]at
>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:392)
> 
> [OrderCollector]at java.lang.reflect.Method.invoke(Native
> Method)
> [OrderCollector]at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> [OrderCollector]at
> sun.rmi.transport.Transport$1.run(Transport.java:142)
> [OrderCollector]at
> java.security.AccessController.doPrivileged(Native
> Method)
> [OrderCollector]at
> sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> [OrderCollector]at
>
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> [OrderCollector]at
>
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
> 
> [OrderCollector]at java.lang.Thread.run(Thread.java:484)
> [OrderCollector] ejbStore : Ord3 : OrdBean.getLineItems().size() = 5
> [OrderCollector] TRANSACTION ROLLBACK EXCEPTION:null; nested
> exception is:
> java.lang.NoClassDefFoundError
> [OrderCollector] java.lang.NoClassDefFoundError
> [OrderCollector]at java.lang.Class.forName0(Native Method)
> [OrderCollector]at java.lang.Class.forName(Class.java:120)
> [OrderCollector]at java.awt.Toolkit$2.run(Toolkit.java:498)
> [OrderCollector]at
> java.security.AccessController.doPrivileged(Native
> Method)
> [OrderCollector]at
> java.awt.Toolkit.getDefaultToolkit(Toolkit.java:489)
> [OrderCollector]at
> java.awt.Toolkit.getEventQueue(Toolkit.java:1115)
> [OrderCollector]at
> java.awt.EventQueue.isDispatchThread(EventQueue.java:433)
> [OrderCollector]at
>
javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1247)
> [OrderCollector]at
>
javax.swing.text.DefaultCaret$UpdateHandler.insertUpdate(DefaultCaret.java:1093)
> 
> [OrderCollector]at
>
javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:179)
> 
> [OrderCollector]at
>
javax.swing.text.DefaultStyledDocument.insert(DefaultStyledDocument.java:201)
> 
> [OrderCollector]at
> javax.swing.text.html.HTMLDocument.insert(HTMLDocument.java:212)
> [OrderCollector]at
>
javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java:3014)
> 
> [OrderCollector]at
>
javax.swing.text.html.HTMLDocument$HTMLReader.addContent(HTMLDocument.java:2956)
> 
> [OrderCollector]at
>
javax.swing.text.html.HTMLDocument$HTMLReader.blockClose(HTMLDocument.java:2899)
> 
> [OrderCollector]at
>
javax.swing.text.html.HTMLDocument$HTMLReader$BlockAction.end(HTMLDocument.java:2141)
> 
=== message truncated ===


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] example ant file for creating an EAR file

2001-06-10 Thread Grim Shieldsson

Here's my ant file for creating an EAR file.  I use one JAR for the EJB
stuff and one for the WAR stuff.  The base classes I copy into both
archive files.  I do this for simplicity more then anything else.

















































































































































--- Marcel Schepers <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> Besides the connection troubles mentioned in an earlier post I have
> one other thing on my mind. While investigating the connection
> problem
> I found out that I am not deploying my web application in a correct
> manner. For the record, I am using JBoss with Tomcat embedded. The
> deal seems to be to create one ear file and let JBoss/Tomcat sort it
> out. The creation of one EAR file is very confusing for me. For
> instance, do need to create at least two jar files? One containing
> only EJB's and one containing the regular java classes who act as
> proxy for the EJB's. And futhermore, I would like to automate the
> creation of the .ear file using Ant. Has anyone done that? And if so,
> could you give me some guidelines on how to setup the directory
> structure? Perhaps some Ant example code?
> 
> Thanks,
> Marcel
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Lookup Datasource from Javabeans. Possible?

2001-06-08 Thread Grim Shieldsson

That would be the point of using Jboss, is to use the EJB stuff.  If
you want to run servlets that directly hit the db, then use tomcat.

--- Edward Wang <[EMAIL PROTECTED]> wrote:
> If the JBoss/Tomcat pack even doesn't allow my servlet to access
> Datasource, then why would I use JBoss but not JRun or something
> else?
> For that, I have to write an EJB for every little piece of SQL I want
> to execute in my DB in my servlet. Is that too inconvient?
> 
> - Original Message - 
> From: "Guy Rouillier" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2001 2:16 PM
> Subject: Re: [JBoss-user] Lookup Datasource from Javabeans. Possible?
> 
> 
> See numerous messages in the archives on this subject.  The
> connection pool
> is meant to be used by EJBs running within JBoss, not by external
> clients.
> Won't work - connections are set up within a JVM context, and your
> external
> client is in another JVM.
> 
> I don't know if there is some hack to make this work with the
> integrated
> packages (JBoss+Tomcat or JBoss+Jetty), but even if you can you
> shouldn't.
> 
> - Original Message -
> From: "Edward Wang" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 07, 2001 9:44 PM
> Subject: Re: [JBoss-user] Lookup Datasource from Javabeans. Possible?
> 
> 
> > Seems impossible. When I was trying to connect to a Datasource that
> I saw
> was bound to java:/instantDB by JBoss at the startup in my servlet.
> > But the following error was reported:
> >
> > Connection error:javax.naming.NameNotFoundException: InstandDB not
> bound
> >
> > Does this mean that?
> >
> > Edward
> >
> > - Original Message -
> > From: "Dexter Legaspi" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 07, 2001 9:57 PM
> > Subject: Re: [JBoss-user] Lookup Datasource from Javabeans.
> Possible?
> >
> >
> > >
> > > yes!
> > >
> > > --- Tim Yates <[EMAIL PROTECTED]> wrote:
> > > > Is it possible to lookup the Datasource from my
> > > > JavaBeans?
> > > >
> > > > I use direct SQL to improve performance in several
> > > > methods, and wondered if
> > > > I could use the connection pool from my BMP beans...
> > > >
> > > > Cheers.
> > > >
> > > > Tim.
> > > >
> > > >
> > > > ___
> > > > JBoss-user mailing list
> > > > [EMAIL PROTECTED]
> > > >
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > >
> > > __
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail - only $35
> > > a year!  http://personal.mail.yahoo.com/
> > >
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > $²®--$²®¶º~z?ÿ²¢y·²-Sþ²
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
>
$,²ë®f¢–)à–+-$,²ë®X¬¶Ë(º·~Šàzw­†Ûiÿùb²Û,¢êÜyú+éÞ·ùb²Û?–+-Šwèþ6è²Ë¬z


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Q: Clustering...

2001-06-08 Thread Grim Shieldsson

Linux Virtual Server would do it for you, or you could play with the
development version.

--- Lachezar Dobrev <[EMAIL PROTECTED]> wrote:
>(I)   Preface:
>I have some beans, that require an ENORMOUS CPU time to run. I
> want to be able to run many instances of them on many machines in
> order to be able to do my job.
>(II)  Solution: Using a clusterable EJB container/server. I can
> deploy these beans on more than one machine. Using a loadbalancer
> would be GREAT, if available.
>(III) Q: I have tried quite a number of AS-es and EJB servers. The
> only one, that I have come upon to be able to do such a clustering
> was IAS/BAS. However most of you know the license fee enormous also
> :(.
> 
> 
>The real question should be: Can I cluster multiple JBoss servers,
> in a manner, that looking up an EJB would give me a home interface on
> different machine, dependant on load, or even a roundrobin? That
> would be just GREAT!
>If it's not available at the current stage, than... Are there any
> future chances on getting this to work? I really would hate to code
> for a server, that I will not use later :(. Well... I will use JBoss,
> but if there is no clustering, than the project I'm working on is
> DOOMED on JBoss.
> 
>Looking forward to hearing from ANYONE:
> 
>Lachezar Dobrev.
> 


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] (no subject)

2001-06-08 Thread Grim Shieldsson

DOH.
--- Guy Rouillier <[EMAIL PROTECTED]> wrote:
> 
> - Original Message - 
> From: "Grim Shieldsson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 07, 2001 1:16 PM
> Subject: Re: [JBoss-user] (no subject)
> 
> 
> > What do you mean by cached?  I'm using the same setup and the user
> > stays "logged in" until the session expires.  
> > I have no idea how to log someone out right now.
> 
> Invalidate the session?
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-08 Thread Grim Shieldsson

However the IO/thread classes can use EJB's.. just not the other way
around.  I'm thinking that they are going to have to refactor their
software a bit to use EJB's.  
--- Kar YEOW <[EMAIL PROTECTED]> wrote:
> I believe you can't use thread or IO either directly or indirectly. 
> As
> these are resource controlled by the Container.  If they are used
> without
> the Container's knowledge, the Container will not be able to manage
> them.
> eg opened file and unterminated thread etc etc...
> Kar
> - Original Message -
> From: "Allen Fogleson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2001 12:08 AM
> Subject: RE: [JBoss-user] EJB Integration with existing Java
> Framework -
> Urgent!
> 
> 
> Threads and IO are prohibited in an EJB, there is nothing to stop a
> separate
> class from using IO and threads, and having those classes be used
> within the
> EJB.
> 
> 
> Al
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of ZHU Jia
> Sent: Thursday, June 07, 2001 7:05 AM
> To: jbossuser
> Subject: [JBoss-user] EJB Integration with existing Java Framework -
> Urgent!
> 
> 
> 2. Some of our java files need threads and file IO, and the EJBs
> should
> call them. I don't know if this can be a problem because threads and
> file IO are forbidden in EJB. Also I think I have to put the existing
> files in an archive and place them into the lib dir of JBoss, right?
> But
> where's the best place for resources this library itself needs, like
> conf files, graphics etc.?
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Grim Shieldsson

More then likeley yes :)  You need one for each child table if you're
using CMP.  I chose to use BMP for this situation becasue from a pure
OO view, it's one object not a bunch of seperate objects.  In addition
you may very well take a performance hit with all those EJB's running
around, depending on how many you have, not to mention how many records
you pull in the child tables.  You will end up having one EJB for the
master, and one for each row of each child table.  this could very
quickly put quite the strain on your server for high use tables.
--- Ray <[EMAIL PROTECTED]> wrote:
> Oh ... this could be my problem then ... so I do need
> to define entity beans for the intermediate tables,
> yes?
> 
> --- Grim Shieldsson <[EMAIL PROTECTED]> wrote:
> > No I didn't, under Bean Managed Persistence.  You do
> > under CMP.
> > --- Ray <[EMAIL PROTECTED]> wrote:
> > > Hi again  :-)
> > > 
> > > Still working on my problem with customer finders
> > > 
> > > Has anyone got an example of a cusotmer finder
> > that
> > > uses SQL joins? This appears to be my problem.
> > > 
> > > Did you have to define entity beans for the
> > > intermediate tables?
> > > 
> > > Any examples would be much appreciated  :-)
> > > 
> > > 
> > > 
> > > 
> > >
> >
> 
> > > Do You Yahoo!?
> > > Get your free @yahoo.co.uk address at
> > http://mail.yahoo.co.uk
> > > or your free @yahoo.ie address at
> > http://mail.yahoo.ie
> > > 
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
> >
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> > =
> > Grim Shieldsson (James A Barrows)
> > Acting Chieftain of Clan StormWolf
> > Barbarian Freehold Alliance
> > Oppurtunity doesn't knock.  It only presents itself
> > after you kick down the door.
> > --Kyle Chandler
> > 
> > __
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail -
> > only $35 
> > a year!  http://personal.mail.yahoo.com/
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



RE: [JBoss-user] EJB Integration with existing Java Framework - Urgent!

2001-06-07 Thread Grim Shieldsson

As long as those classed don't have a problem with being  stopped when
the EJB container swaps them out.  

--- Allen Fogleson <[EMAIL PROTECTED]> wrote:
> Threads and IO are prohibited in an EJB, there is nothing to stop a
> separate
> class from using IO and threads, and having those classes be used
> within the
> EJB.
> 
> 
> Al
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of ZHU Jia
> Sent: Thursday, June 07, 2001 7:05 AM
> To: jbossuser
> Subject: [JBoss-user] EJB Integration with existing Java Framework -
> Urgent!
> 
> 
> 2. Some of our java files need threads and file IO, and the EJBs
> should
> call them. I don't know if this can be a problem because threads and
> file IO are forbidden in EJB. Also I think I have to put the existing
> files in an archive and place them into the lib dir of JBoss, right?
> But
> where's the best place for resources this library itself needs, like
> conf files, graphics etc.?
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] (no subject)

2001-06-07 Thread Grim Shieldsson

What do you mean by cached?  I'm using the same setup and the user
stays "logged in" until the session expires.  
I have no idea how to log someone out right now.


--- Ivan Bolcina <[EMAIL PROTECTED]> wrote:
> Hello all.
> I am using JAAS security manager,which goes to database for users.
> Are SQL
> results cached? 
> If not, how to cache them? 
> JBoss produces this: 
> [JAAS Security Manager] Starting 
> [JAAS Security Manager] JAAS.startService, cachePolicy=null 
> [JAAS Security Manager] JAAS.startService 
> bye,and thanx 
> 
> 


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Problem with Custom finders ....

2001-06-07 Thread Grim Shieldsson

No I didn't, under Bean Managed Persistence.  You do under CMP.
--- Ray <[EMAIL PROTECTED]> wrote:
> Hi again  :-)
> 
> Still working on my problem with customer finders
> 
> Has anyone got an example of a cusotmer finder that
> uses SQL joins? This appears to be my problem.
> 
> Did you have to define entity beans for the
> intermediate tables?
> 
> Any examples would be much appreciated  :-)
> 
> 
> 
> 
> 
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Deploy Error : jboss trying to connect to java.sun.com ?

2001-06-07 Thread Grim Shieldsson
at org.jboss.Main.(Main.java:217)
> [Auto deploy] at org.jboss.Main$1.run(Main.java:121)
> [Auto deploy] at java.security.AccessController.doPrivileged(Native
> Method)
> [Auto deploy] at org.jboss.Main.main(Main.java:117)
> [Auto deploy] java.net.UnknownHostException: java.sun.com
> [Auto deploy] at
> org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
> [Auto deploy] at
>
org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2723)
> [Auto deploy] at
> org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1154)
> [Auto deploy] at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:488)
> [Auto deploy] at
> org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
> [Auto deploy] at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
> [Auto deploy] at
>
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:1
> 79)
> [Auto deploy] at
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:161)
> [Auto deploy] at
>
org.jboss.tomcat.EmbeddedTomcatServiceSX.performDeploy(EmbeddedTomcatService
> SX.java:130)
> [Auto deploy] at
>
org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:178)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Auto deploy] at
>
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:431)
> [Auto deploy] at
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)
> [Auto deploy] at
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Auto deploy] at
> org.jboss.util.ServiceControl.start(ServiceControl.java:97)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Auto deploy] at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Auto deploy] at org.jboss.Main.(Main.java:217)
> [Auto deploy] at org.jboss.Main$1.run(Main.java:121)
> [Auto deploy] at java.security.AccessController.doPrivileged(Native
> Method)
> [Auto deploy] at org.jboss.Main.main(Main.java:117)
> 
> This message is for the named person's use only.  It may contain 
> confidential, proprietary or legally privileged information.  No 
> confidentiality or privilege is waived or lost by any
> mistransmission.
> If you receive this message in error, please immediately delete it
> and all
> copies of it from your system, destroy any hard copies of it and
> notify the
> sender.  You must not, directly or indirectly, use, disclose,
> distribute, 
> print, or copy any part of this message if you are not the intended 
> recipient. CREDIT SUISSE GROUP and each of its subsidiaries each
> reserve
> the right to monitor all e-mail communications through its networks. 
> Any
> views expressed in this message are those of the individual sender,
> except
> where the message states otherwise and the sender is authorised to
> state 
> them to be the views of any such entity.
> Unless otherwise stated, any pricing information given in this
> message is 
> indicative only, is subject to change and does not constitute an
> offer to 
> deal at any price quoted.
> Any reference to the terms of executed transactions should be treated
> as 
> preliminary only and subject to our formal written confirmation.
> 
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Can anyone explain...

2001-06-07 Thread Grim Shieldsson

Okay, how about a stack trace then?  or the server.log file.  That
would be nice.  I run on Linux, but I might be able to help with M$
Winblows :)
Easy way to check if it's having problems with the JDK is to use a 1.3
JDK.  I would seriously doubt there's a problem with that JDK.
--- Lachezar Dobrev <[EMAIL PROTECTED]> wrote:
>Download: JBoss 2.2.1 + Tomcat 3.2.1 as bundled on the site.
>Unzip (Win2K, JDK 1.3.1c)
>Setup PATH, JAVA_HOME.
>Run the RUN_WITH_TOMCAT.BAT: Looks an OK init, but doesn't work.
>Run the RUN.bat: Looks OK init, but nothing works. Even deploy
> directory is not being scanned I thing. I put 11 ejb jars, 2 ears and
> none of them was (as I see) not even tried to deploy :(((
>Any special issues on JDK 1.3.1 maybe???
> 
>Please help...
>Lachezar
> 
> > I have had no trouble running it out of the box by following the
> > documentation.  In fact, with the latest release, I un-tarred it
> and
> > ran the examples without any modifications at all.
> > What are you trying to do?
> > 
> > --- Lachezar Dobrev <[EMAIL PROTECTED]> wrote:
> > >I'm not sure anymore, that I can run JBoss...
> > >Can you REALLY run it ot-of-the box? How?
> > > 
> > >Lachezar
> > > 
> > 
> > 
> > =
> > Grim Shieldsson (James A Barrows)
> > Acting Chieftain of Clan StormWolf
> > Barbarian Freehold Alliance
> > Oppurtunity doesn't knock.  It only presents itself after you kick
> down the door.
> > --Kyle Chandler
> > 
> > __
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail - only $35 
> > a year!  http://personal.mail.yahoo.com/
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Help !! Dynamic User Authentication with JBoss

2001-06-06 Thread Grim Shieldsson

There probably isn't a way to do what you want.  Reading the specs for
EJB, you have to mention the roles in the ejb-jar.xml file.  The only
way around that is to role your role checking stuff.  The way I would
do it would be to come up with some general roles for the overall
security.  Something like User, Admin, Operator maybe.  They are so
general you could then make a bunch of sub-roles that would be more
dynamic.  You have to have some sort of mapping too.. if it's truly
dynamic set of roles.
I am assuming that you mean by dynamic, that one day you want a role
called foo, and then several days a role called bar, and then maybe
delete foo.  If that's the case, then you may also want to seriously
reconsider what you call a role.  Most of the roles should be fluid. 
You may have to get fairly fine grained on the roles if you want to get
really fluid with your users abilities.

--- Binoy <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
> Well i guess this is the third time i am forwarding this mail...
> probably
> nobody took notice of it ..
> 
> I want to integrate my OpenLDAP OpenLDAP-2.0.11 server  running on
> RedHat
> 6.2
> with JBoss 2.2.1-Tomcat 3.2.1 and utilize it for the
> security/authentication
> purposes..
> I have an idea what i want to achieve..but am not sure if that is
> possible
> with jboss or not. and so i need
> directions.
> I want role based security for my applications . and for which the
> principal
> / roles will be persistent on the OpenLDAP server. I want to
> authenticate
> the users based on the roles defined in the OpenLDAP server.. but i
> dont
> want to get a hard-coded solutionby mentioning the roles /
> principals in
> the deployement descriptors but want them to be dynamically loaded
> from the
> OpenLDAP server and then matched and authenticated accordingly.
> Is there any way i can achieve this ?
> Any kind of help or Lead will be appreciated :-)
> Thanks
> Binoy
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Can anyone explain...

2001-06-06 Thread Grim Shieldsson

I have had no trouble running it out of the box by following the
documentation.  In fact, with the latest release, I un-tarred it and
ran the examples without any modifications at all.
What are you trying to do?

--- Lachezar Dobrev <[EMAIL PROTECTED]> wrote:
>I'm not sure anymore, that I can run JBoss...
>Can you REALLY run it ot-of-the box? How?
> 
>    Lachezar
> 


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: SV: [JBoss-user] JBoss 2.2.2 Release available

2001-06-06 Thread Grim Shieldsson

I have the same thing happening running with mysql.. the mysql logs
indicated that it TO's the connection on JBoss.  
Could this be happening with you?

--- Lennart Petersson <[EMAIL PROTECTED]> wrote:
> Just a wild guess... is your database running remote on a server that
> is restarted during the night, 'cause i've been there once :-)
> /L
> 
> Ah.  Speaking of the devil  I had a fresh jboss-2.2.2
> installation running overnight (not doing anything).  The next
> morning, when I ran a client against it it lost the connection to the
> database.  I have no idea why this happened.  Could anybody help?
> 
> -- 
>   Nicolai P Gubahttp://www.gnu.org
> http://www.frontwire.com
> mailgo:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368
> 9708
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] jBoss-2.2.1 shutdown under JDK 1.3.1 different than before

2001-06-06 Thread Grim Shieldsson

Might be something in your config.. I run Mandrake 7.2, jdk1.3.0.02 and
I have a normal shutdown.
--- Jim Archer <[EMAIL PROTECTED]> wrote:
> 
> Hi All...
> 
> Has anyone noticed that the shutdown process for jBoss 2.2.1 seems to
> be 
> different under Sun JDK 1.3.1 thn it was under Sun JDK 1.3.1 RC2 and 
> earlier?
> 
> Before, with the pre 1.3.1 release JDKs,  I would get a long list of
> nice, 
> reassuring messages that verious services were being shutdown.
> 
> Now, under 1.3.1 release, I see in the log that the mail service has
> been 
> stopped, and thats it. On Linux, I can see log entries indicating
> that the 
> cache has been resized for an EB after this shutdown message.
> 
> I see this both on NT and Linux and it happens whether I use the web
> page 
> on port 8082 or ctrl-C. Very strange. Has anyone else noticed this,
> or is 
> it just me?
> 
> Thanks...
> 
> Jim
> 
> 
> 
> 
> I shall be telling this with a sigh
> Somewhere ages and ages hence:
> Two roads diverged in a wood, and I -
> I took the one less traveled by,
> And that has made all the difference.
> 
> - Robert Frost, 1916
> 
> 
> _______
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Losing principal from tomcat servlet, and yet authenticated

2001-05-30 Thread Grim Shieldsson

What do you mean setServer in main class?  Main class of what?  
If it is a thread change, and I think it may be a possibility, what can
be done about it?

--- Lewis Henderson <[EMAIL PROTECTED]> wrote:
> Lewis in diguise!
> 
> I ended up hacking!
> 
> I am creating a SIMPLE environment to check everything hangs together
> 
> properly...
> 
> ...now to the hack...
> 
> I comment out the line 'setServer()' in the main class...
> 
> NOT recommended, but it forces my user to keep the principal!
> 
> I do not know what the real effect of doing this is, maybe Scott
> could give 
> us a hand??
> 
> I should check your threads! I had the same thing happening all
> within a few 
> lines of code...I noticed the thread change by chance looking at my
> log4j 
> output!
> 
> 
> Regards
> 
> Lewis
>
_
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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



Re: [JBoss-user] Losing principal from tomcat servlet, and yet authenticated

2001-05-30 Thread Grim Shieldsson

Okay.. went back and looked at the documentation again.  You're right,
that's the way it should be.  However, if I'm interepreting what should
be where correctly then jboss/conf/default/auth.conf should read as:
House{
org.jboss.security.plugins.samples.DatabaseServerLoginModule
required
dsJndiName="java:/UserDatabasePool"
principalsQuery="select password from UserData where
username=?"
rolesQuery="select Role, RoleGroup from Roles where
username=?";
};
and jboss/client/auth.conf should read as:
HouseOfHarlots {
org.jboss.security.ClientLoginModule  required;
};
This still shows the same problem.
This is with the JBoss-2.2.1_Tomcat-3.2.1 combination.  What was really
intersting is that it was pulling the auth.conf from default, while it
pulls the jcml file from tomcat.  I'm not sure why, it should be just a
standard install of the download.
Lewis's suggestion didn't make much sense, since I"m not doing a
setServer anywhere.  I also don't think I'm changing threads either,
unless Tomcat is changing threads mid-stream while processing.  If this
was so, I wouldn't expect to see this problem at the same moment each
time.  I could be wrong though.


--- Scott M Stark <[EMAIL PROTECTED]> wrote:
> The documentation describes an external client that has its own
> auth.conf
> login configuration file. To perform a client login within the same
> VM as the
> application server you need to either change the server's auth.conf
> file to
> have the "other" configuration section equal to that of the default
> client, or
> create a "TestClient"(or whatever name you pass to LoginContext) to
> authenticate
> against the org.jboss.security.ClientLoginModule, for example, 
> 
> TestClient {
> org.jboss.security.ClientLoginModule  required;
> };
> 
> - Original Message - 
> From: "Grim Shieldsson" <[EMAIL PROTECTED]>
> To: "JBOSS USER" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 29, 2001 12:33 PM
> Subject: [JBoss-user] Losing principal from tomcat servlet, and yet
> authenticated
> 
> 
> > This seems like the same problem that Lewis Henderson was having a
> bit
> > ago.  He didn't appear to receive any on-list help, so I'm hoping
> for
> > better results :)
> > Here's what I'm getting:
> > [] Base setup.. really need to move these into the setup for the
> EJB
> > stuff.
> > [] login( Anonymous, anonymous)
> > [] Creating AppCallbackHandler.
> > [] Creating LoginContext.
> > [] Logging in.
> > [UserDatabasePool] No transaction right now.
> > [UserDatabasePool] Pool UserDatabasePool [1/1/Unlimited] gave out
> > pooled object:
> > org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6
> > [UserDatabasePool] Pool UserDatabasePool [0/1/Unlimited] returned
> > object
> org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6 to
> > the pool.
> > [JAASSecurity] User 'Anonymous' authenticated.
> > [UserDatabasePool] No transaction right now.
> > [UserDatabasePool] Pool UserDatabasePool [1/1/Unlimited] gave out
> > pooled object:
> > org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6
> > [UserDatabasePool] Pool UserDatabasePool [0/1/Unlimited] returned
> > object
> org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6 to
> > the pool.
> > [] connectToEJB( Anonymous)
> > [] Connected, now trying to create the local copy
> > [UserData] Authentication exception, principal=null
> > [] java.rmi.RemoteException: checkSecurityAssociation; nested
> exception
> > is: 
> > java.lang.SecurityException: Authentication exception
> > 
> > As you can see, I am getting auhtenticated, however shortly after
> I'm
> > losing the principal what's annoying is that this is happening
> > within 10 lines of code inside the bean I'm using... first it
> > authenticates then it tries to access the EJB bean... and that's
> when I
> > get the principal = null bit.  
> > I'm attaching my code, and ejb-jar.xml files.  Most of this is
> straight
> > out of the documentation too
> > In the User.java file.. you'll notice that the principal is being
> lost
> > within several lines of code, and so this can't be a thread issue,
> or a
> > loss of cookie issue or anything else.  I get authenticated, then
> lose
> > the principal.
> > I'm pretty sure I'm doing something stupid.. but I'll be hanged if
> I
> > can figure out what.. 
> > Thanks for any help in advanc

[JBoss-user] Losing principal from tomcat servlet, and yet authenticated

2001-05-29 Thread Grim Shieldsson

This seems like the same problem that Lewis Henderson was having a bit
ago.  He didn't appear to receive any on-list help, so I'm hoping for
better results :)
Here's what I'm getting:
[] Base setup.. really need to move these into the setup for the EJB
stuff.
[] login( Anonymous, anonymous)
[] Creating AppCallbackHandler.
[] Creating LoginContext.
[] Logging in.
[UserDatabasePool] No transaction right now.
[UserDatabasePool] Pool UserDatabasePool [1/1/Unlimited] gave out
pooled object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6
[UserDatabasePool] Pool UserDatabasePool [0/1/Unlimited] returned
object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6 to
the pool.
[JAASSecurity] User 'Anonymous' authenticated.
[UserDatabasePool] No transaction right now.
[UserDatabasePool] Pool UserDatabasePool [1/1/Unlimited] gave out
pooled object:
org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6
[UserDatabasePool] Pool UserDatabasePool [0/1/Unlimited] returned
object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@678fc6 to
the pool.
[] connectToEJB( Anonymous)
[] Connected, now trying to create the local copy
[UserData] Authentication exception, principal=null
[] java.rmi.RemoteException: checkSecurityAssociation; nested exception
is: 
java.lang.SecurityException: Authentication exception

As you can see, I am getting auhtenticated, however shortly after I'm
losing the principal what's annoying is that this is happening
within 10 lines of code inside the bean I'm using... first it
authenticates then it tries to access the EJB bean... and that's when I
get the principal = null bit.  
I'm attaching my code, and ejb-jar.xml files.  Most of this is straight
out of the documentation too
In the User.java file.. you'll notice that the principal is being lost
within several lines of code, and so this can't be a thread issue, or a
loss of cookie issue or anything else.  I get authenticated, then lose
the principal.
I'm pretty sure I'm doing something stupid.. but I'll be hanged if I
can figure out what.. 
Thanks for any help in advance!



__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
 ejb-jar.xml
 User.java


RE: [JBoss-user] What happens at 6 hours and 35 minutes?

2001-05-03 Thread Grim Shieldsson

You might also try sucking down as much memory outside the process as
possible to see if that is an issue as well.

--- Jim Brownfield <[EMAIL PROTECTED]> wrote:
> Ohhh, thanks, that might work!
> 
> Jim
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
> > Hixson
> > Sent: Wednesday, May 02, 2001 10:23 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] What happens at 6 hours and 35 minutes?
> >
> >
> > On Wed, 2 May 2001, Jim Brownfield wrote:
> >
> > > Thanks for the suggestions, Robert.  I'll give that a try on
> > the next pass.
> > > At 6 hours a shot, I don't get very many tries during a day! :(
> >  Currently,
> > > I've turned off the JIT (I've got a couple more hours to see if
> that
> > > worked).  For what I want to do now, the loss in performance
> > probably won't
> > > be too much of a problem, and when we are able to port to Linux
> in a few
> > > months the problem should go away.
> >
> > Hi Jim,
> >   If I were dealing with this problem I would bump the system time
> into
> > the future about 6 hours just to see what happens.  Good luck.
> >   -M@
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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