Re: [JBoss-user] JBoss 3.2.2RC2 Classloading Fun

2003-07-25 Thread Scott M Stark
Ears have never been isolated by default. Wars have been until the change to 
allow the tomcat container to use the unified class loader as the web app class 
loader. Setting UseJBossWebLoader to false restores the previous behavior of a 
distinct child class loader per war. Use of the unified class loader at the web 
container level does allow for sharing of struts across web deployments for 
example. It also allows for aop integration down to the web container in 4.0.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Neal Sanche wrote:

Hi Guys,

Just decided to try out JBoss 3.2.2RC2 with a few .EAR files I have 
kicking around. All of the .EAR files are similar in tha
t they all
include a Struts bundle within them, including all of the 
webapp/WEB-INF/lib/*.jar files. Out of the box, JBoss 3.2.2RC2 didn't 
like this, complaining that classes found in one .EAR were duplicated 
in another. I decided at that point to read the release notes really 
carefully and found the reference to setting UseJBossWebLoader to 
false in the

server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml 

file.

That seems to revert to the previous behaviour that I have come to 
expect. I've always thought of .EAR files and distinct islands of 
classes, but I guess now that's not the case? I guess I could have 
some fun with that... deploying Struts once, and not replicating it 
within every application. Would that work?

So far, everything I've tried under JBoss 3.2.2RC2 works (with the 
mentioned modification). Nice.

-Neal


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss 3.2.2RC2 Classloading Fun

2003-07-25 Thread Neal Sanche
Hi Guys,

Just decided to try out JBoss 3.2.2RC2 with a few .EAR files I have 
kicking around. All of the .EAR files are similar in that they all 
include a Struts bundle within them, including all of the 
webapp/WEB-INF/lib/*.jar files. Out of the box, JBoss 3.2.2RC2 didn't 
like this, complaining that classes found in one .EAR were duplicated 
in another. I decided at that point to read the release notes really 
carefully and found the reference to setting UseJBossWebLoader to 
false in the

server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml 

file.

That seems to revert to the previous behaviour that I have come to 
expect. I've always thought of .EAR files and distinct islands of 
classes, but I guess now that's not the case? I guess I could have 
some fun with that... deploying Struts once, and not replicating it 
within every application. Would that work?

So far, everything I've tried under JBoss 3.2.2RC2 works (with the 
mentioned modification). Nice.

-Neal



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Kevin Duffey
I suppose I am after a few things. Initially my
thought was a standard simple test that will permit a
company to test it against several servers to see
which one fits the bill for performance, price, etc.
You mention a test suite that does this, I didn't even
think about that.

My second thought is a tool that like the big boys,
can simulate virtual users, run nodes on each "client"
machine to simulate them, and aggregate data, as well
as have nodes on the server side, maybe even the DB
side to monitor things like cpu utilization,
request/response timing, and so forth. All of that
data is aggregated to the central client where you
control various nodes, configure them, etc.

I know tools from Mercury Interactive and others can
do this, but at astronomical costs they are not
feasible to a small company. But that is more or less
what I am after.

--- Jon Barnett <[EMAIL PROTECTED]> wrote:
> Just my two bits worth again -
> 
> I guess fully built applications are fine for
> exercising the entire app
> server or as much as you can make it exercise the
> entire app server, and
> perhaps I focus on the micro-level a bit too much
> but:
> 
> The high level testing view doesn't tell you
> individual breaking points -
> at what request rate does my stateless session bean
> container degrade in
> response performance, at what request rate does my
> stateful session bean
> container degrade in response performance, etc. What
> characteristics can I
> expect for each of these in single and clustered
> mode? e.g. What is the
> response curve?
> 
> With high level testing, you get an idea overall
> perhaps - but because
> things will most likely break at different points, a
> specific application
> may self-destruct before or after a general test
> application breaks.  The
> natural bottlenecks in a general application may
> hide problems in an area
> of concern because other circumstances prevent a
> particular sub-system
> from reaching a critical state.
> 
> SpecJ2002 does provide you a framework for cluster
> testing - I think the
> test results for a HP cluster just came out. All
> well and good in the
> general testing category - but what if my
> application has a critical
> reliance on JMS? How do I know when that will break?
> What if the
> application server doesn't support it? How do I
> exclude that testing
> category?
> 
> It depends on where you want to take your test suite
> and whether you want
> to benchmark specifics or general operation.
> 
> Mine's a mechanic's view point. I'm not with JBoss
> Group - but the code is
> open source. So I'd like the analysis tools to send
> 240V 3-phase through
> some JBoss sub-system and determine the output
> response. If there's
> roll-off when I vary the input, I'd like to know why
> so it can be fixed.
> ;) And obviously I'd want the controls to vary the
> input. At the moment,
> I'm pretty much creating the tools as I need them
> since none come to hand.
> ECperf doesn't have the granularity of control and
> ease of use to perform
> any diagnostics on things when they break. It
> probably gives purchasers
> the warm-fuzzies and I believe that is the sole
> intention of it. But other
> than that, it has all the finesse of a chainsaw when
> trying to perform
> microsurgery. :)
> 
> If your suite is intended for multiple app servers,
> using xDoclet would be
> nice. SpecJ2002, at first glance, seems to have
> progressed from ECperf 1.1
> in that the coding is neater but it still has those
> pre-built XML
> deployment descriptors so it's still a roll your own
> in that department -
> just a little painful. I've got to dig deeper yet.
> 
> Remember - none of this is meant as a criticism. I'm
> just interested in
> seeing where you're going so I know whether we
> overlap or we don't in what
> we are doing. :)
> 
> JonB.
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> Behalf Of Kevin Duffey
> > Sent: Saturday, 26 July 2003 12:26 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] Parallel thread
> performance: A JBoss client
> > example
> >
> >
> > Great idea. You know, first I don't know what the
> heck
> > this xdoclet is. I see it being used in JBoss and
> > other places, but it's one more darn thing I gotta
> > learn! Second, I am hoping that clustering works
> out
> > of the box, with very little changes to the
> server, to
> > support clustering. I know JBoss is thus far the
> > easiest to configure. I am hoping that Orion is
> > similar (still). I did it back in the early 1.x
> days,
> > so I am not sure how their 2.0 version clusters.
> > WebLogic, well, that's a pipe dream that I'll have
> > test on that, too much darn money, unless they
> have a
> > free trial version but even then I recall they
> charge
> > more for their clusterable version than they do
> for
> > single jvm version.
> 

> ATTACHMENT part 2 application/x-pkcs7-signature
name=smime.p7s



__
Do you Yahoo!?
Yaho

RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Jon Barnett
Just my two bits worth again -

I guess fully built applications are fine for exercising the entire app
server or as much as you can make it exercise the entire app server, and
perhaps I focus on the micro-level a bit too much but:

The high level testing view doesn't tell you individual breaking points -
at what request rate does my stateless session bean container degrade in
response performance, at what request rate does my stateful session bean
container degrade in response performance, etc. What characteristics can I
expect for each of these in single and clustered mode? e.g. What is the
response curve?

With high level testing, you get an idea overall perhaps - but because
things will most likely break at different points, a specific application
may self-destruct before or after a general test application breaks.  The
natural bottlenecks in a general application may hide problems in an area
of concern because other circumstances prevent a particular sub-system
from reaching a critical state.

SpecJ2002 does provide you a framework for cluster testing - I think the
test results for a HP cluster just came out. All well and good in the
general testing category - but what if my application has a critical
reliance on JMS? How do I know when that will break? What if the
application server doesn't support it? How do I exclude that testing
category?

It depends on where you want to take your test suite and whether you want
to benchmark specifics or general operation.

Mine's a mechanic's view point. I'm not with JBoss Group - but the code is
open source. So I'd like the analysis tools to send 240V 3-phase through
some JBoss sub-system and determine the output response. If there's
roll-off when I vary the input, I'd like to know why so it can be fixed.
;) And obviously I'd want the controls to vary the input. At the moment,
I'm pretty much creating the tools as I need them since none come to hand.
ECperf doesn't have the granularity of control and ease of use to perform
any diagnostics on things when they break. It probably gives purchasers
the warm-fuzzies and I believe that is the sole intention of it. But other
than that, it has all the finesse of a chainsaw when trying to perform
microsurgery. :)

If your suite is intended for multiple app servers, using xDoclet would be
nice. SpecJ2002, at first glance, seems to have progressed from ECperf 1.1
in that the coding is neater but it still has those pre-built XML
deployment descriptors so it's still a roll your own in that department -
just a little painful. I've got to dig deeper yet.

Remember - none of this is meant as a criticism. I'm just interested in
seeing where you're going so I know whether we overlap or we don't in what
we are doing. :)

JonB.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Kevin Duffey
> Sent: Saturday, 26 July 2003 12:26 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Parallel thread performance: A JBoss client
> example
>
>
> Great idea. You know, first I don't know what the heck
> this xdoclet is. I see it being used in JBoss and
> other places, but it's one more darn thing I gotta
> learn! Second, I am hoping that clustering works out
> of the box, with very little changes to the server, to
> support clustering. I know JBoss is thus far the
> easiest to configure. I am hoping that Orion is
> similar (still). I did it back in the early 1.x days,
> so I am not sure how their 2.0 version clusters.
> WebLogic, well, that's a pipe dream that I'll have
> test on that, too much darn money, unless they have a
> free trial version but even then I recall they charge
> more for their clusterable version than they do for
> single jvm version.


smime.p7s
Description: S/MIME cryptographic signature


[JBoss-user] JBOSS TRAINING IN AUGUST (WASHINGTON, NEW YORK, ATLANTA)

2003-07-25 Thread Juha Lindfors

NEW YORK JBOSS ADMIN TRAINING AUG 11-12
---

Location: New York Marriott Marquis. 1535 Broadway, located at Broadway and Times 
Square.
Instructor is Bill Burke, Chief Architect of JBoss.

TRAINING PRICE: US$1750.

Target Audience: Our admin training is targeted at advanced
administrators who will be running JBoss in production.

Content: You will learn how select build and install a version
of JBoss that fits your requirements. You will also learn how
to configure it in both a development environment and a production
environment. You will discover how to configure the JBoss fundamental
services (JNDI, scheduler, mail service, invokers, JBossWeb, JBossMQ)
and how to correctly package and deploy your services and applications.
The Netboot and Farming features will be covered in detail. You will
learn how to use the jmx-console to learn more about your server.

More information and Faxable Registration Form are available at
http://www.jboss.org/index.html?module=html&op=userdisplay&id=services/training/schedule#nyc-admin



WASHINGTON DC ADVANCED JBOSS TRAINING AUG 11-14
---

Location: JW Marriott Hotel Pennsylvania Avenue 1331 Pennsylvania Ave.Washington, DC 
20004
Instructor is Juha Lindfors, author of JMX and Nathan Phelps, lead developer of JBossMQ

TRAINING PRICE: US$3250.

Target audience: This class is not recommended for beginning Java
programmers.

Content: You will learn how to fine tune JBoss in production, what
advanced J2EE architectures are suited for JBoss, you will go deep
into the architecture of JBoss from the JMX base to the MBean Containers,
to the invokers to the smart proxies. You will learn the deep integration
points in JBoss and how to extend development to fit into your own solutions.
The goal is for you to understand the super-server theory and how JBoss
applied it to the JBoss core server. From this point it is fairly trivial
for you to understand how to build your own real-life strand of EJB that
fits your particular need. From client side cache to clustering and
real-world security, we teach you "beyond J2EE" and how to quickly and
simply solve your own middleware problems by using JBoss and the
super-server theory in this practical, example oriented, hands-on
presentation. The advanced class is targeted at consultants who will
provide JBoss Group services to end clients as well as internal IT
developers and ISV developers. Come meet your peers and the JBoss core
people, in an intense, unique and challenging experience.

NOTE!!
Nathan Phelps will be discussing the new features of the upcoming
JBoss Message service implementation. Do not miss this unique opportunity
to get inside information of the new high scalability features in the
next JBossMQ implementation!

More information and Faxable Registration Form are available at
http://www.jboss.org/index.html?module=html&op=userdisplay&id=services/training/schedule#washdc



ATLANTA BOOTCAMP AUGUST 16-17
-

Location: Atlanta Swissotel.

SESSION PRICE $500, buy 5 get 6th FREE:

Content: We introduce you to all that JBoss has to offer in hour-long
sessions throughout the weekend. The weekend is broken down into hour
long-presentations on all the framework services. We cover what is
currently offered by the services' production versions as well as give you
roadmaps for the future development of JBoss. Get your source knowledge
directly from the JBoss developers.

More information and Faxable Registration Form are available at
http://www.jboss.org/index.html?module=html&op=userdisplay&id=services/training/bootcamp#atlanta



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Yüreðinde sevgi çiçekleri var mý

2003-07-25 Thread Nurfc
Title: Kalbimde.com  g






  
  

  
  Kalbimde.com 
  Yüzlerce üye ile online
  
  TÜRKÝYE'NÝN EN KAPSAMLI ARKADAÞLIK SÝTESÝ
  
  
  ANINDA ONLINE TANIÞMA ÝMKANI
  RESÝMLÝ ÜYE PROFÝLLERÝ VE GALERÝLER
  ÜYE KARÞILAÞTIRMA SÝSTEMÝ
  ÜYELER ARASI MESAJLAÞMA
  
  %100 ÜCRETSÝZ !!!
  
  
  TIKLA ve KALBÝMDE.COM'A GÖZATListeden çýkmak için týkla

  
  



†+×­zf¢–ÊhžÊ+yÖò·ž¦·›º)m#Í;"µë"Énv)à
«ZEêh®Ûr‰¦z·>Šíj[Ñh®é¬j·š½¨¥i¹^žŒ£	塧m¡Ö²jw^ž×«¶Œ"©×åè­X¬¹©R¶çb Ñ†Ûiÿö¬¦w­rXœ’êår‰¿‚é±­4×M4Óv¯{÷b­ç-jÖ¬¦w­Ó½·Ó}5ÿMI‹,ºÇ«™¨¥Šx%ŠËI‹,ºÇ«–+-²Ê.­ÇŸ¢¸ëa¶Úlÿùb²Û,¢êÜyú+éÞ·ùb²Û?–+-Šwèþ6è²Ë¬z

Re: [JBoss-user] Failover problem...

2003-07-25 Thread Kevin Duffey
Get 3.2.2RC2, try it with that one. A lot of
clustering issues have been fixed in the 3.2.2x
release as I understand it, or perhaps not a lot, but
the few there were. We saw problems with 3.2.1 that
worked in 3.2.2RC1, so give it a whirl.

--- Russell Chan <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm trying to currently get a two node cluster and a
> client work only in
> a failover setup.  I'm using jboss-3.2.1.
> 
> my jboss.xml file has entries such as:
> 
>true
>
>   
> TestEJBPartition
> 
>
org.jboss.ha.framework.interfaces.FirstAvailable
> 
>
org.jboss.ha.framework.interfaces.FirstAvailable
>
> 
> 
> And, my client code has jndi.properties that look
> like:
> 
>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
> java.naming.factory.url.pkgs=org.jboss.naming
>
java.naming.provider.url=172.23.254.12:20100,172.23.254.11:20100
> 
> (20100 is the HA-JNDI port for these two machines).
> 
> 
> 
> 
> The behaviour that I'd like is for the client to use
> just the first host 
> (172.23.254.12) until it fails, and then failover to
> host 2 
> (172.23.254.11).  However, no matter what I try, the
> client seems to 
> round-robin the calls.  I've read through the
> purchased clustering docs, 
> and I'm failing to see something simple here.
> 
> The clustering DOES appear to work flawlessly, as I
> have stateful, 
> stateless, and entity beans all in this partition,
> which work.  My 
> problem is that I want fail-over really, not
> clustering per se.
> 
> Any pointers?
> 
> Thanks,
> Russ Chan
> 
> 
> -- 
> --
> Russell Chan,
> Navaho Networks Inc.
> 416 542 1590 x108
> 
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Failover problem...

2003-07-25 Thread Russell Chan
Hi,

I'm trying to currently get a two node cluster and a client work only in
a failover setup.  I'm using jboss-3.2.1.
my jboss.xml file has entries such as:

  true
  
  TestEJBPartition
org.jboss.ha.framework.interfaces.FirstAvailable

org.jboss.ha.framework.interfaces.FirstAvailable
  
And, my client code has jndi.properties that look like:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming
java.naming.provider.url=172.23.254.12:20100,172.23.254.11:20100
(20100 is the HA-JNDI port for these two machines).



The behaviour that I'd like is for the client to use just the first host 
(172.23.254.12) until it fails, and then failover to host 2 
(172.23.254.11).  However, no matter what I try, the client seems to 
round-robin the calls.  I've read through the purchased clustering docs, 
and I'm failing to see something simple here.

The clustering DOES appear to work flawlessly, as I have stateful, 
stateless, and entity beans all in this partition, which work.  My 
problem is that I want fail-over really, not clustering per se.

Any pointers?

Thanks,
Russ Chan
--
--
Russell Chan,
Navaho Networks Inc.
416 542 1590 x108


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Bela Ban
Jon Barnett wrote:

Kevin, Bela;

First thanks for the offer of help, Bela. Being downunder, sometimes you
feel a bit isolated - where is the Australian JBoss user community? ;)
Anyway, I'm not sure where things are headed with testing but help is
always appreciated.
The testing question is a big one. It depends on what you are trying to
achieve.


I've been testing JavaGroups under load recently, so I'm primarily 
interested in that. So if we get to clustering or JMS/JavaGroups, I'd 
definitely be interested in tuning the JavaGroups -related parameters.

--
Bela Ban
http://www.javagroups.com
Cell: (408) 316-4459


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JNDI lookup failure, ... not bound.

2003-07-25 Thread Rob Tomlin
> That's because your code looks up "java:comp/env/MyDS", not 
> "java:/MyDS".

Yes, I see that know...

Would you expect the following to work correctly:

Context initCtx = new InitialContext();
DataSource ds = (DataSource)initCtx.lookup("java:MyDS");

Cheers

Rob Tomlin


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Clustering Problem

2003-07-25 Thread Kevin Duffey
Did you put it in node 2 when both were clean?
Re-deploying of apps in the /farm dir doesn't seem to
work in RC1. You may want to get the very latest RC2
that just came out two days or so ago. That may have
fixed it, but I haven't tried yet. Anywho, I also note
that the only thing that works with farming is if you
first deploy it (clean deploy), it propery farms. If
you delete it out of one node, it then properly
undeletes it out of other nodes. So, as of now, to
redeploy, first delete it, then add it again.
Shouldn't be this way, so hopefully RC2 fixes that
problem.

--- Nishant Aggarwal <[EMAIL PROTECTED]>
wrote:
> Hi All,
> I am working on JBoss 3.2.2RC1 and trying out
> clustering!
> I am running 2 different JBoss on different machines
> in clustering mode,ie,
> the 2 JBoss servers are started as "run.sh -c all".
> Now , I have a simple SLSB "Hello.jar" with
> true
> specified
> in jboss.xml file.
> 
> Now, I tested 2 cases:
> 1.I try to put the above jar in the directory
> (all/farm) of the server
> started "first".The Hello.jar gets deployed in both
> the servers and I can
> see it in
> corresponding "all/farm" dirs.
> 2.I try to put the above jar in the directory
> (all/farm) of the server
> started "second".The Hello.jar gets deployed "only"
> in ""second" server and
> "first"
> server doesn't have any clue!
> 
> Can you pls help me out?Is there concept of
> Master/Slave etc?
> Thanks in advance,
> Nish
> 
> 
> 
>
---
> This SF.Net email sponsored by: Free pre-built
> ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are
> available now.
> Download today and enter to win an XBOX or Visual
> Studio .NET.
>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JNDI lookup failure, ... not bound.

2003-07-25 Thread Danny . Yates
That's because your code looks up "java:comp/env/MyDS", not "java:/MyDS".

-- 
Danny Yates
 


-Original Message-
From: Rob Tomlin [mailto:[EMAIL PROTECTED] 
Sent: 25 July 2003 17:23
To: [EMAIL PROTECTED] Sourceforge. Net (E-mail)
Subject: [JBoss-user] JNDI lookup failure, ... not bound.


Hi,

I am trying to access a MS Sql server DataSource. I have done the following:

1. Modified mssql-ds.xml to refer to my server.
2. Placed mssql-ds.xml in the server/default/deploy directory
3. Copied the SQL server jars to the server/default/lib directory

I get messages back from jboss saying the following:

[MyDS] Bound connection factory for resource adapter for 
ConnectionManager 'jboss.jca:service=LocalTxCM,name=MyDS to 
JNDI name 'java:/MyDS'

When I use JNDIView from the jmx-console I get the following:

MyDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)

However when I try and use this data source with the following code I
get a NamingException - MyDS not bound:

Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
DataSource ds = (DataSource)envCtx.lookup("MyDS"); <-- Exception here

Cheers

Rob Tomlin



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_ 
Notice to recipient: 
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_ 




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JNDI lookup failure, ... not bound.

2003-07-25 Thread Rob Tomlin
Hi,

I am trying to access a MS Sql server DataSource. I have done the following:

1. Modified mssql-ds.xml to refer to my server.
2. Placed mssql-ds.xml in the server/default/deploy directory
3. Copied the SQL server jars to the server/default/lib directory

I get messages back from jboss saying the following:

[MyDS] Bound connection factory for resource adapter for 
ConnectionManager 'jboss.jca:service=LocalTxCM,name=MyDS to 
JNDI name 'java:/MyDS'

When I use JNDIView from the jmx-console I get the following:

MyDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)

However when I try and use this data source with the following code I
get a NamingException - MyDS not bound:

Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
DataSource ds = (DataSource)envCtx.lookup("MyDS"); <-- Exception here

Cheers

Rob Tomlin



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Simple Quick Question - how to change JSPs on thefly

2003-07-25 Thread Keene Hammond
Brian,
You could deploy the ear file exploded into it's directory structure.
-Keene
Brian McSweeney wrote:

Hi all,

Quick question. I’m deploying my app in an ear file.

The jsps are contained in a war in the ear.

If I want to change a jsp, currently I redeploy the ear.

I am wondering if the actual jsps are available, unpacked in

some directory where I could just change the jsp code on the

fly.

Thanks,

Brian



-
The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. 

Thank you. Paychex, Inc.



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Re: JBoss-QL

2003-07-25 Thread Rafal Kedziorski
At 17:18 25.07.2003 +0200, Rafal Kedziorski wrote:
hi,

we have following table:

CREATE TABLE `media_2_project` (
  `media_2_project_id` BIGINT NOT NULL AUTO_INCREMENT,
  `project_id` BIGINT NOT NULL,
  `media_id`   BIGINT NOT NULL,
  `media_file_id`  BIGINT NOT NULL,
  #
  PRIMARY KEY (`media_2_project_id`),
  ...
);
possible entries could be:

m2p_id | p_id | m_id | mf_id
-
   1  1  1   1
   2  1  1   2
   3  1  2   3
   4  1  2   4
   5  2  1   5
   6  2  1   6
   7  2  3   7
now we have a finder findAllByProjectId() and we want DISTINC data by 
media_id. so for project_id =
I forgot to write that our ejb-ql looks so:



and we get 1, 1, 2 and 2 and have make DESTINCT in our business logic.

1 we should get 1 and 2.

normaly you could do this with this query:
SELECT DISTINCT o.media_id o.media_2_project_id FROM media_2_project o 
WHERE o.project_id = 13

but how can we do this with JBoss-QL?

Regards,
Rafal


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss-QL

2003-07-25 Thread Rafal Kedziorski
hi,

we have following table:

CREATE TABLE `media_2_project` (
  `media_2_project_id` BIGINT NOT NULL AUTO_INCREMENT,
  `project_id` BIGINT NOT NULL,
  `media_id`   BIGINT NOT NULL,
  `media_file_id`  BIGINT NOT NULL,
  #
  PRIMARY KEY (`media_2_project_id`),
  ...
);
possible entries could be:

m2p_id | p_id | m_id | mf_id
-
   1  1  1   1
   2  1  1   2
   3  1  2   3
   4  1  2   4
   5  2  1   5
   6  2  1   6
   7  2  3   7
now we have a finder findAllByProjectId() and we want DISTINC data by 
media_id. so for project_id = 1 we should get 1 and 2.

normaly you could do this with this query:
SELECT DISTINCT o.media_id o.media_2_project_id FROM media_2_project o 
WHERE o.project_id = 13

but how can we do this with JBoss-QL?

Regards,
Rafal


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Exception staring Persistence Manager for JBoss3.2.1

2003-07-25 Thread Satish Kumar L V



Hi Marek,
 
    Thanks for the tip. I have 
corrected the rights to the user and it has created the tables.
 
:-)
L V Satish Kumar


Antwort: [JBoss-user] AIX 4.3.3-03 build of 3.0.8 & 3.2.1 run error

2003-07-25 Thread H . Baxmann


I am happy with myself. Sometimes i may contriibute something to my own work by
myself:

the aprropriate VMM setting in AIX for the -Xms384m and -Xmx786m options is:

LDR_CNTRL_MAXDATA=0x5000

this should make the kernel able to allocate (4+1) x 256m, how i understand the
whole banana.

The first execptional case - class not found, because of wrong name - fade away
then, but the principal=null is a persistant (CMP ? ;-) one.

Would love to have the same (security?) config running on MacOSX, Win32 and AIX.

bax




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Brian McSweeney
Well if you want to learn xdoclet, the Xpetstore is the 
place to start. I recommend you download the source and 
get stuck in. It's quite simple.

The xpetstore is actually split up into two implementations 
of the same web-app. One uses ejbs with struts as a front-end, 
the other uses hibernate with webwork as a front-end.

I recommend you look at the ejb implementation (contained in the
xpetstore-ejb folder).

Xdoclet is used to auto-generate all the xml configuration files 
for you, and the reason the xpetstore can deploy on each of the 
server is that xdoclet "tags" for each application server are 
placed within the ejbs.

If you have any problems understanding any of it, give me a shout.
I'd love to see a basic app working with clustering too, and some 
performance stats.
Brian



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Duffey
Sent: 25 July 2003 15:26
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Parallel thread performance: A JBoss client
example

Great idea. You know, first I don't know what the heck
this xdoclet is. I see it being used in JBoss and
other places, but it's one more darn thing I gotta
learn! Second, I am hoping that clustering works out
of the box, with very little changes to the server, to
support clustering. I know JBoss is thus far the
easiest to configure. I am hoping that Orion is
similar (still). I did it back in the early 1.x days,
so I am not sure how their 2.0 version clusters.
WebLogic, well, that's a pipe dream that I'll have
test on that, too much darn money, unless they have a
free trial version but even then I recall they charge
more for their clusterable version than they do for
single jvm version.


--- Brian McSweeney <[EMAIL PROTECTED]>
wrote:
> Hi Kevin,
> 
> This sounds like it would be a brilliant thing to
> do. 
> As a suggestion, if you want it to run a standard
> app 
> on multiple app servers as the test, it might be 
> possible to use a current sourceforge project.
> 
> The xpetstore project deploys on JBoss, Orion 
> and Weblogic by using xdoclet tags. 
> 
> Perhaps this app could be changed to handle
> clustering
> rather than having to write an entire app from
> scratch?
> 
> Just a suggestion,
> 
> Brian 
> 
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Kevin
> Duffey
> Sent: 25 July 2003 06:53
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Parallel thread
> performance: A JBoss client
> example
> 
> For me, I want a comprehensive suite of tests to
> run.
> I want to measure the response times between a
> client
> and the server, the time a server gets a request
> until
> the time it goes back, the number of threads
> running,
> the number of simultaneous requests going at one
> time.
> I want to see reports on the scaling capabilities of
> JBoss. One node, two nodes with round robin, two
> nodes
> with first available, three nodes, two partitions,
> etc. I want to see how close to linear scaling
> occurs
> when adding more nodes, more partitions, etc. I want
> to see for myself that my idea of a good cluster
> architecture is indeed good, or maybe another way is
> better. I want to do these tests for stateless ejb
> and
> statefull ejb, and while my specific needs to not
> entail a web application, I would also like to see
> the
> performance with things like a client sending web
> service requests, which in turn hit the ejb server,
> and so forth.
> 
> Ideally, it would be very strong for JBoss to have
> these and many more test results available.
> Realistically, we both know that no one app is going
> to certify JBoss, every app will no doubt have
> different characteristics, and thus results. But it
> would be great to provide a client/j2ee type of tool
> that can be used/deployed in any J2ee server to see
> the various results. Running Orion, Jonas, JBoss and
> Primatti side by side (one at a time of course) on
> the
> same hardware with the same test data and same setup
> would be very nice, to see which one supports better
> load, better clustering, better scaling, and so
> forth.
> These are the types of results I am after.
> 
> --- Jon Barnett <[EMAIL PROTECTED]> wrote:
> > Kevin, Bela;
> > 
> > First thanks for the offer of help, Bela. Being
> > downunder, sometimes you
> > feel a bit isolated - where is the Australian
> JBoss
> > user community? ;)
> > Anyway, I'm not sure where things are headed with
> > testing but help is
> > always appreciated.
> > 
> > The testing question is a big one. It depends on
> > what you are trying to
> > achieve.
> > 
> > If it is steady state operation, I would say that
> a
> > cluster of JMeter
> > clients can generate a reasonable load that you
> can
> > tune. Based on the
> > threading issues discovered here, I wouldn't have
> > the client on the same
> > machine under test if you are using Linux. There
> > would be too many
> > questions on client load versus server load. One
> of
> >

[JBoss-user] unsubscribe me

2003-07-25 Thread Christopher Blunck
I tried to unsubscribe 2 days ago by posting to the jboss-user-admin list
but have gotten nothing.  How do I get off this list?

-c

-- 
 10:35:00  up 70 days, 10 min,  8 users,  load average: 0.06, 0.03, 0.01


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Kevin Duffey
Great idea. You know, first I don't know what the heck
this xdoclet is. I see it being used in JBoss and
other places, but it's one more darn thing I gotta
learn! Second, I am hoping that clustering works out
of the box, with very little changes to the server, to
support clustering. I know JBoss is thus far the
easiest to configure. I am hoping that Orion is
similar (still). I did it back in the early 1.x days,
so I am not sure how their 2.0 version clusters.
WebLogic, well, that's a pipe dream that I'll have
test on that, too much darn money, unless they have a
free trial version but even then I recall they charge
more for their clusterable version than they do for
single jvm version.


--- Brian McSweeney <[EMAIL PROTECTED]>
wrote:
> Hi Kevin,
> 
> This sounds like it would be a brilliant thing to
> do. 
> As a suggestion, if you want it to run a standard
> app 
> on multiple app servers as the test, it might be 
> possible to use a current sourceforge project.
> 
> The xpetstore project deploys on JBoss, Orion 
> and Weblogic by using xdoclet tags. 
> 
> Perhaps this app could be changed to handle
> clustering
> rather than having to write an entire app from
> scratch?
> 
> Just a suggestion,
> 
> Brian 
> 
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Kevin
> Duffey
> Sent: 25 July 2003 06:53
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Parallel thread
> performance: A JBoss client
> example
> 
> For me, I want a comprehensive suite of tests to
> run.
> I want to measure the response times between a
> client
> and the server, the time a server gets a request
> until
> the time it goes back, the number of threads
> running,
> the number of simultaneous requests going at one
> time.
> I want to see reports on the scaling capabilities of
> JBoss. One node, two nodes with round robin, two
> nodes
> with first available, three nodes, two partitions,
> etc. I want to see how close to linear scaling
> occurs
> when adding more nodes, more partitions, etc. I want
> to see for myself that my idea of a good cluster
> architecture is indeed good, or maybe another way is
> better. I want to do these tests for stateless ejb
> and
> statefull ejb, and while my specific needs to not
> entail a web application, I would also like to see
> the
> performance with things like a client sending web
> service requests, which in turn hit the ejb server,
> and so forth.
> 
> Ideally, it would be very strong for JBoss to have
> these and many more test results available.
> Realistically, we both know that no one app is going
> to certify JBoss, every app will no doubt have
> different characteristics, and thus results. But it
> would be great to provide a client/j2ee type of tool
> that can be used/deployed in any J2ee server to see
> the various results. Running Orion, Jonas, JBoss and
> Primatti side by side (one at a time of course) on
> the
> same hardware with the same test data and same setup
> would be very nice, to see which one supports better
> load, better clustering, better scaling, and so
> forth.
> These are the types of results I am after.
> 
> --- Jon Barnett <[EMAIL PROTECTED]> wrote:
> > Kevin, Bela;
> > 
> > First thanks for the offer of help, Bela. Being
> > downunder, sometimes you
> > feel a bit isolated - where is the Australian
> JBoss
> > user community? ;)
> > Anyway, I'm not sure where things are headed with
> > testing but help is
> > always appreciated.
> > 
> > The testing question is a big one. It depends on
> > what you are trying to
> > achieve.
> > 
> > If it is steady state operation, I would say that
> a
> > cluster of JMeter
> > clients can generate a reasonable load that you
> can
> > tune. Based on the
> > threading issues discovered here, I wouldn't have
> > the client on the same
> > machine under test if you are using Linux. There
> > would be too many
> > questions on client load versus server load. One
> of
> > the nice things about
> > hindsight is that the free-running client load
> > testing told us something
> > about what to expect when looking at the
> > JBoss-client results. So for
> > completeness, you would probably want a
> calibration
> > sample of your test
> > rig with the minimal JBoss interaction as we had
> > done in the JBoss-client
> > test. Then you can look at responsiveness under a
> > certain load
> > characteristic - for example 50 requests per
> second
> > what is the average
> > response time, what are the maxima and minima.
> Dial
> > it up and check again.
> > As long as the test rig can generate the requested
> > load level (calibration
> > will tell you when things might start to deform in
> > the test generator),
> > you will be reasonably certain about the
> performance
> > of the system under
> > test.
> > 
> > If you are just stress testing the system to check
> > raw throughput, then
> > you can adopt the load and transmit operation we
> > employed for this test.
> > Except we were ho

[JBoss-user] AIX 4.3.3-03 build of 3.0.8 & 3.2.1 run error

2003-07-25 Thread H . Baxmann
hi all (within AIX),

Just on the way to implement a referece for further development on the AIX4
paltform the following comes across:

20:27:55,024 INFO  [MainDeployer] Starting deployment of package:
file:/epost2/JBoss/bax/jboss-3.0.8-src/build/output/jboss-3.0.8/server/default/conf/jboss-service.xml

20:28:04,879 ERROR [MainDeployer] could not create deployment:
file:/epost2/JBoss/bax/jboss-3.0.8-src/build/output/jboss-3.0.8/server/default/conf/jboss-service.xml

org.jboss.deployment.DeploymentException: instantiating
org.jboss.varia.property.PropertyEditorManagerService failed:
java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name:
org/jboss/varia/property/PropertyEditorManagerService); - nested throwable:
(RuntimeErrorException: instantiating
org.jboss.varia.property.PropertyEditorManagerService failed:
java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name:
org/jboss/varia/property/PropertyEditorManagerService)
Cause: java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong
 name: org/jboss/varia/property/PropertyEditorManagerService))

build run through smoothly, the run.sh was performed without any extra options.


and the other one, on stage in the binary versions too:

15:02:15,797 WARN  [ServiceController] Problem starting service
jboss.mq:service=PersistenceManager
java.lang.SecurityException: Invalid authentication attempt, principal=null
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:660)

The environment with 1GB mem:

[EMAIL PROTECTED]:/home/bax/JBoss/jboss-3.2.1-src/build> oslevel -r
4330-03

[EMAIL PROTECTED]:/home/bax/JBoss/jboss-3.2.1-src/build> java -version
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM AIX build ca131-20030630 (JIT enabled:
jitc))

[EMAIL PROTECTED]:/home/bax/JBoss/jboss-3.2.1-src/build> env | grep JAVA
JAVA_OPTS=-Xms384m -Xmx786m
JAVA_HOME=/usr/java131
[EMAIL PROTECTED]:/home/bax/JBoss/jboss-3.2.1-src/build> env | grep ANT
ANT_OPTS=-Xms256m -Xmx512m

was anybody else going this stony way successfully ?

many thanks for your help

bax




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] memory leaks during redeployment

2003-07-25 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My Jboss Server crashed the first time after some redeploys, too.

My Environment:

JBoss 3.2.1 (with the standard startup skript)
Windows 2000 Sp4
jdk1.4.1

best regards

Ingo Bruell

- - ---
<[EMAIL PROTECTED]>

Oldenburg  PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
GermanyPGP-Public-Key available at pgpkeys.mit.edu

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use 

iQA+AwUBPyEppY/nxkgWnuX8EQKZ2gCgigszkLV5djfagMRf+SCGt5z+BHkAl0e9
Bg622EXA3n1Vk4+hNo2NtAM=
=KzEg
-END PGP SIGNATURE-




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Simple Quick Question - how to change JSPs on the fly

2003-07-25 Thread Brian McSweeney








Hi all,

 

Quick question. I’m deploying my app in an ear file. 

The jsps
are contained in a war in the ear. 

If I want to change a jsp, currently I redeploy the ear. 

I am wondering if the actual jsps are available, unpacked in 

some directory where I could just change the jsp code on the 

fly.

 

Thanks,

Brian








[JBoss-user] Help - Cipher (NoClassDefFoundError)

2003-07-25 Thread Keene Hammond
Hi,
I am using java 1.4.2 with the strong US encryption and jboss 3.2.1.
Why do I get  a "NoClassDefFoundError" error when using Cipher in my 
mbean on JBoss? I am able to compile and test this in a application but 
I get an exception when I try iit on JBoss.

Here is the offending code block:

Cipher cipher = null;
try {
   cipher = Cipher.getInstance("DES/ECB/PKCS5Padding");
} catch (NoClassDefFoundError e) {
   e.printStackTrace();
}
Here is the resulting stack trace:

2003-07-25 09:14:40,163 DEBUG [org.jboss.system.ServiceCreator] About to 
create
bean: 
PAYCHEX:service=ldap/InternalNetscapeReadDirectory,jndiName=ldap/Internal
etscapeReadDirectory with code: 
com.paychex.oeg.ldap.mbean.LDAPConnectionPool
2003-07-25 09:14:40,212 ERROR [STDERR] java.lang.NoClassDefFoundError
2003-07-25 09:14:40,214 ERROR [STDERR]  at javax.crypto.Cipher.a(DashoA6275)
2003-07-25 09:14:40,215 ERROR [STDERR]  at 
javax.crypto.Cipher.getInstance(Dash
A6275)
2003-07-25 09:14:40,215 ERROR [STDERR]  at 
com.paychex.oeg.ldap.mbean.LDAPConne
tionPool.decrypt(LDAPConnectionPool.java:240)
2003-07-25 09:14:40,216 ERROR [STDERR]  at 
com.paychex.oeg.ldap.mbean.LDAPConne
tionPool.(LDAPConnectionPool.java:87)
2003-07-25 09:14:40,216 ERROR [STDERR]  at 
sun.reflect.NativeConstructorAccesso
Impl.newInstance0(Native Method)
2003-07-25 09:14:40,217 ERROR [STDERR]  at 
sun.reflect.NativeConstructorAccesso
Impl.newInstance(NativeConstructorAccessorImpl.java:39)
2003-07-25 09:14:40,217 ERROR [STDERR]  at 
sun.reflect.DelegatingConstructorAcc
ssorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
2003-07-25 09:14:40,218 ERROR [STDERR]  at 
java.lang.reflect.Constructor.newIns
ance(Constructor.java:274)
2003-07-25 09:14:40,218 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.
nstantiate(MBeanServerImpl.java:844)
2003-07-25 09:14:40,219 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.
nstantiate(MBeanServerImpl.java:294)
2003-07-25 09:14:40,219 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.
reateMBean(MBeanServerImpl.java:321)
2003-07-25 09:14:40,220 ERROR [STDERR]  at 
org.jboss.system.ServiceCreator.inst
ll(ServiceCreator.java:85)
2003-07-25 09:14:40,220 ERROR [STDERR]  at 
org.jboss.system.ServiceConfigurator
internalInstall(ServiceConfigurator.java:155)
2003-07-25 09:14:40,221 ERROR [STDERR]  at 
org.jboss.system.ServiceConfigurator
install(ServiceConfigurator.java:118)
2003-07-25 09:14:40,221 ERROR [STDERR]  at 
org.jboss.system.ServiceController.i
stall(ServiceController.java:225)
2003-07-25 09:14:40,222 ERROR [STDERR]  at 
sun.reflect.GeneratedMethodAccessor2
.invoke(Unknown Source)
2003-07-25 09:14:40,222 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessor
mpl.invoke(DelegatingMethodAccessorImpl.java:25)
2003-07-25 09:14:40,223 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Meth
d.java:324)
2003-07-25 09:14:40,223 ERROR [STDERR]  at 
org.jboss.mx.capability.ReflectedMBe
nDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
2003-07-25 09:14:40,224 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.
nvoke(MBeanServerImpl.java:549)
2003-07-25 09:14:40,224 ERROR [STDERR]  at 
org.jboss.mx.util.MBeanProxyExt.invo
e(MBeanProxyExt.java:177)
2003-07-25 09:14:40,225 ERROR [STDERR]  at $Proxy5.install(Unknown Source)
2003-07-25 09:14:40,225 ERROR [STDERR]  at 
org.jboss.deployment.SARDeployer.cre
te(SARDeployer.java:183)
2003-07-25 09:14:40,226 ERROR [STDERR]  at 
org.jboss.deployment.MainDeployer.cr
ate(MainDeployer.java:784)
2003-07-25 09:14:40,226 ERROR [STDERR]  at 
org.jboss.deployment.MainDeployer.de
loy(MainDeployer.java:639)
2003-07-25 09:14:40,231 ERROR [STDERR]  at 
org.jboss.deployment.MainDeployer.de
loy(MainDeployer.java:613)
2003-07-25 09:14:40,232 ERROR [STDERR]  at 
sun.reflect.GeneratedMethodAccessor1
.invoke(Unknown Source)
2003-07-25 09:14:40,232 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessor
mpl.invoke(DelegatingMethodAccessorImpl.java:25)
2003-07-25 09:14:40,233 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Meth
d.java:324)
2003-07-25 09:14:40,233 ERROR [STDERR]  at 
org.jboss.mx.capability.ReflectedMBe
nDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
2003-07-25 09:14:40,234 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.
nvoke(MBeanServerImpl.java:549)
2003-07-25 09:14:40,234 ERROR [STDERR]  at 
org.jboss.mx.util.MBeanProxyExt.invo
e(MBeanProxyExt.java:177)
2003-07-25 09:14:40,235 ERROR [STDERR]  at $Proxy7.deploy(Unknown Source)
2003-07-25 09:14:40,235 ERROR [STDERR]  at 
org.jboss.deployment.scanner.URLDepl
ymentScanner.deploy(URLDeploymentScanner.java:302)
2003-07-25 09:14:40,236 ERROR [STDERR]  at 
org.jboss.deployment.scanner.URLDepl
ymentScanner.scan(URLDeploymentScanner.java:476)
2003-07-25 09:14:40,236 ERROR [STDERR]  at 
org.jboss.deployment.scanner.Abstrac
DeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
2003-07-25 09:14:40,237 ERROR [STDERR]  at 
org.jboss.deployment.scanner.Abstrac
DeploymentScanner$ScannerThre

[JBoss-user] Clustering Problem

2003-07-25 Thread Nishant Aggarwal
Hi All,
I am working on JBoss 3.2.2RC1 and trying out clustering!
I am running 2 different JBoss on different machines in clustering mode,ie,
the 2 JBoss servers are started as "run.sh -c all".
Now , I have a simple SLSB "Hello.jar" with true
specified
in jboss.xml file.

Now, I tested 2 cases:
1.I try to put the above jar in the directory (all/farm) of the server
started "first".The Hello.jar gets deployed in both the servers and I can
see it in
corresponding "all/farm" dirs.
2.I try to put the above jar in the directory (all/farm) of the server
started "second".The Hello.jar gets deployed "only" in ""second" server and
"first"
server doesn't have any clue!

Can you pls help me out?Is there concept of Master/Slave etc?
Thanks in advance,
Nish



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] memory leaks during redeployment

2003-07-25 Thread Simone Milani
Hi,

I keep having the same problem with 3.2.2RC1.

Regards

Simone
- Original Message - 
From: "Alexey Yudichev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 1:16 PM
Subject: [JBoss-user] memory leaks during redeployment


  In Jboss 3.2.1 I often encounter OutOfMemoryErrors on our jboss
installations. I realized that if no redeployments happen the JBoss instance
even being on heavy load works great forever. Once I begin to often redeploy
applications I finally get OutOfMemoryError no matter if I
specified -Xmx300m or -Xmx800m. Can anybody run a memory profiler on a
redeployment process? I tried to do it with OptimizeIt and I always get +1Mb
of heap after each redeployment. Most new objects are of type Object[] and
are referenced from WeakHashMaps (which is ok I guess), from inside some
classes of Xerces parser and many more. I cannot of course judge whether
these new references are caused by the leak or not.
  As far as I remember I had no such problem when I used Jboss 3.0.
  As always, I am ok to offer any help I can.


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] memory leaks during redeployment

2003-07-25 Thread Alexey Yudichev
  In Jboss 3.2.1 I often encounter OutOfMemoryErrors on our jboss installations. I 
realized that if no redeployments happen the JBoss instance even being on heavy load 
works great forever. Once I begin to often redeploy applications I finally get 
OutOfMemoryError no matter if I specified -Xmx300m or -Xmx800m. Can anybody run a 
memory profiler on a redeployment process? I tried to do it with OptimizeIt and I 
always get +1Mb of heap after each redeployment. Most new objects are of type Object[] 
and are referenced from WeakHashMaps (which is ok I guess), from inside some classes 
of Xerces parser and many more. I cannot of course judge whether these new references 
are caused by the leak or not.
  As far as I remember I had no such problem when I used Jboss 3.0.
  As always, I am ok to offer any help I can.


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] CMR Problem in 3.2.2RC2

2003-07-25 Thread Alexey Loubyansky
Hello Gavin,

I am sorry, it works for me! I used your source files, MS SQL Server
2000 and your testSchema.sql.

Anyway, I have some remarks. You are using unknown pk with name id,
while there is a CMP field id. You should not do it.
If you want a "known" pk and use a pk generation command, then just
mark the pk field as @jboss.persistence auto-increment="true".

alex

Thursday, July 24, 2003, 11:48:19 PM, Gavin Matthews wrote:

GM> Hi,
GM>  I posted this to the group a couple of weeks ago when trying to get
GM> 3.2.2RC1 working. Alex had a look at it and figured it was fixed for RC2. As
GM> RC2 was only a couple of weeks away I decided it'd be easier for me to wait
GM> for RC2 than build it, my mistake, I've just grabbed RC2 - it's still there.
GM> (I'll log a bug this time).

GM> gavin

>> -Original Message-
>> From: Gavin Matthews 
>> Sent: Thursday, July 03, 2003 7:05 PM
>> To: [EMAIL PROTECTED]
>> Cc: '[EMAIL PROTECTED]'
>> Subject: CMR Problem in 3.2.2?
>> 
>> 
>> Hi,
>>  I posted yesterday and last week about a problem I was 
>> having with CMR when I upgraded from 3.2.0 to 3.2.2. I've 
>> done more investigation and I don't think my previous mails 
>> were entirely accurate (or very clear) so let me start over. 
>> 
>>  The Problem:
>>  I'm experiencing NPE in our app because the CMR 
>> relationships are (apparently) not being created. This didn't 
>> occur with our app in 3.2.0. 
>> 
>>  I have a sample case which I believe is representitive of 
>> the problem I'm seeing in our app. The beans are Foo & Bar 
>> (sorry about the naming). The relationship is N-Foo-1-Bar. 
>> The relation is being set in post create:
>> 
>> public abstract class FooEJB extends AbstractEntityBean {
>> ...
>> public void ejbPostCreate(BarLocal bar, String fooValue) 
>> throws CreateException {
>> sLog.debug("ejbPostCreate(" + getId() + ")");
>> 
>> this.setBar(bar);
>> }
>> ...
>> }
>>  
>> And I have a test session which does the following:
>> 
>> ...
>> BarLocal bar = createBar("This is a bar");
>> FooLocal foo = createFoo(bar, "This is a foo");
>> 
>> sLog.info("");
>> sLog.info("Bar id through foo: " + foo.getBar().getId());
>> sLog.info("Bar id through bars foos: ");
>> 
>> Collection foos = bar.getFoos();
>> sLog.info("Number of foos associated with bar: " 
>> + foos.size());
>> 
>> Iterator fooIter = bar.getFoos().iterator();
>> while (fooIter.hasNext()) {
>> FooLocal tmpFoo = (FooLocal) fooIter.next();
>> sLog.info("Foo id: " + tmpFoo.getId());
>> sLog.info("Bar id: " + tmpFoo.getBar().getId());
>> }
>> sLog.info("");
>> ...
>> 
>> I'd expect the output of this test case to be:
>> 
>> 18:58:38,875 INFO  [FooBarSessionEJB] 
>> 
>> 18:58:38,890 INFO  [FooBarSessionEJB] Bar id through foo: 1011
>> 18:58:38,890 INFO  [FooBarSessionEJB] Bar id through bars foos: 
>> 18:58:38,890 INFO  [FooBarSessionEJB] Number of foos 
>> associated with bar: 1
>> 18:58:38,906 INFO  [FooBarSessionEJB] Foo id: 1017
>> 18:58:38,906 INFO  [FooBarSessionEJB] Bar id: 1011
>> 18:58:38,906 INFO  [FooBarSessionEJB] 
>> 
>> 
>> What I'm actually seeing is:
>> 
>> 18:58:38,875 INFO  [FooBarSessionEJB] 
>> 
>> 18:58:38,890 INFO  [FooBarSessionEJB] Bar id through foo: 1011
>> 18:58:38,890 INFO  [FooBarSessionEJB] Bar id through bars foos: 
>> 18:58:38,890 INFO  [FooBarSessionEJB] Number of foos 
>> associated with bar: 0
>> 18:58:38,906 INFO  [FooBarSessionEJB] 
>> ***
>> 
>> If I add a finder call after the beans are created (which 
>> forces the beans to be synchronized to the database) then I 
>> get the results I expect. This makes me think that there's a 
>> problem with the  caching - the "bar" returned by the 
>> create() call is not the same Bar instance as returned by 
>> foo.getBar(). Which means that I have 2 instances of the same 
>> bean within the same transaction which have different state - 
>> seems like a bug to me, I'd have expected the foo.getBar() 
>> call to return the same "bar" as was passed to the create() call.
>> 
>> I've attached the source. For the sample, let me know what you think,
>> 
>> thanks,
>> gavin



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sou

Re: [JBoss-user] MBean - Help

2003-07-25 Thread Keene Hammond
Scott,
Thanks, you are correct. I must have changed the package definition when 
upgrading to 3.2.1. With both classes in the same package it works great.
-Keene

Scott M Stark wrote:

That is not a valid standard mbean as its management interface must be 
bean+'MBean' or in your case, 
com.paychex.oeg.ldap.mbean.LDAPConnectionPoolMBean.
It cannot be in a seperate package. There is no way this worked on 3.0.4
as deploying an mbeans.impl.ConnectionPool standard mbean implementing 
the mbeans.interfaces.ConnectionPoolMBean under 3.0.4 shows the same 
exception as under 3.2.1:

15:04:09,871 INFO  [Server] JBoss Release: JBoss-3.0.4 CVSTag=JBoss_3_0_4
15:04:09,891 INFO  [Server] Home Dir: C:\cvs\Releases\jboss-3.0.4
15:04:09,891 INFO  [Server] Home URL: file:/C:/cvs/Releases/jboss-3.0.4/
...
15:04:11,203 INFO  [MainDeployer] Starting deployment of package: 
file:/C:/cvs/Releases/jboss-3.0.4/server/minimal/deploy/pool.sar/
15:04:11,223 ERROR [URLDeploymentScanner] Failed to deploy: 
org.jboss.deployment.scanner.URLDeployme
[EMAIL PROTECTED] 
url=file:/C:/cvs/Releases/jboss-3.0.4/server/minimal/deploy/pool.sar
/, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Class does not expose a 
management interface: mbeans.impl.
ConnectionPool; - nested throwable: 
(javax.management.NotCompliantMBeanException: Class does not exp
ose a management interface: mbeans.impl.ConnectionPool)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:155) 

at 
org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 




-
The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. 

Thank you. Paychex, Inc.



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Brian McSweeney
Hi Kevin,

This sounds like it would be a brilliant thing to do. 
As a suggestion, if you want it to run a standard app 
on multiple app servers as the test, it might be 
possible to use a current sourceforge project.

The xpetstore project deploys on JBoss, Orion 
and Weblogic by using xdoclet tags. 

Perhaps this app could be changed to handle clustering
rather than having to write an entire app from scratch?

Just a suggestion,

Brian 




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Duffey
Sent: 25 July 2003 06:53
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Parallel thread performance: A JBoss client
example

For me, I want a comprehensive suite of tests to run.
I want to measure the response times between a client
and the server, the time a server gets a request until
the time it goes back, the number of threads running,
the number of simultaneous requests going at one time.
I want to see reports on the scaling capabilities of
JBoss. One node, two nodes with round robin, two nodes
with first available, three nodes, two partitions,
etc. I want to see how close to linear scaling occurs
when adding more nodes, more partitions, etc. I want
to see for myself that my idea of a good cluster
architecture is indeed good, or maybe another way is
better. I want to do these tests for stateless ejb and
statefull ejb, and while my specific needs to not
entail a web application, I would also like to see the
performance with things like a client sending web
service requests, which in turn hit the ejb server,
and so forth.

Ideally, it would be very strong for JBoss to have
these and many more test results available.
Realistically, we both know that no one app is going
to certify JBoss, every app will no doubt have
different characteristics, and thus results. But it
would be great to provide a client/j2ee type of tool
that can be used/deployed in any J2ee server to see
the various results. Running Orion, Jonas, JBoss and
Primatti side by side (one at a time of course) on the
same hardware with the same test data and same setup
would be very nice, to see which one supports better
load, better clustering, better scaling, and so forth.
These are the types of results I am after.

--- Jon Barnett <[EMAIL PROTECTED]> wrote:
> Kevin, Bela;
> 
> First thanks for the offer of help, Bela. Being
> downunder, sometimes you
> feel a bit isolated - where is the Australian JBoss
> user community? ;)
> Anyway, I'm not sure where things are headed with
> testing but help is
> always appreciated.
> 
> The testing question is a big one. It depends on
> what you are trying to
> achieve.
> 
> If it is steady state operation, I would say that a
> cluster of JMeter
> clients can generate a reasonable load that you can
> tune. Based on the
> threading issues discovered here, I wouldn't have
> the client on the same
> machine under test if you are using Linux. There
> would be too many
> questions on client load versus server load. One of
> the nice things about
> hindsight is that the free-running client load
> testing told us something
> about what to expect when looking at the
> JBoss-client results. So for
> completeness, you would probably want a calibration
> sample of your test
> rig with the minimal JBoss interaction as we had
> done in the JBoss-client
> test. Then you can look at responsiveness under a
> certain load
> characteristic - for example 50 requests per second
> what is the average
> response time, what are the maxima and minima. Dial
> it up and check again.
> As long as the test rig can generate the requested
> load level (calibration
> will tell you when things might start to deform in
> the test generator),
> you will be reasonably certain about the performance
> of the system under
> test.
> 
> If you are just stress testing the system to check
> raw throughput, then
> you can adopt the load and transmit operation we
> employed for this test.
> Except we were hoping for less parallel thread
> coupling effects.  You were
> able to see from these results for example, that the
> name server and the
> EJB invocation were not unduly stressed with an 8
> client-load continually
> making requests for an extended period (for the IBM
> SDK).  The predominant
> response characteristic was that of the client
> system.
> 
> We haven't looked at your particular idea but any
> measurement is better
> than no measurement at all. Besides, I think there
> needs to be something
> beyond the ECperf-type tests. They tell you how the
> big picture is
> supposed to work but don't help you work out where
> things fall apart.
> 
> I would suggest that measurement data if possible,
> is not transmitted from
> the server during testing (unless you can guarantee
> its affect would be
> minimal to the testing results).
> 
> I think the best thing is to flesh out what you want
> to come away with
> from the testing. I'm sure there are others here in
> the forum with good
> test and measuremen

RE: [JBoss-user] Database JNDI Name Not Found

2003-07-25 Thread Danny . Yates
Sorry, I was unclear.

What I meant was to leave everything as it is now in respect of non-XML
files,
so the log4j and security deployers will continue to work. However, rather
than
making the file name of the XML files important, you could deploy them based
on
their DOCTYPE. You could employ a mechanism similar to JDBC where each
registered
driver (or XML sub-deployer) would be offered the file in turn. This way,
you
could even decide which sub-deployer to used based on content other than the
DOCTYPE.

Anyway, it was just a suggestion! :-)

Dan.

-- 
Danny Yates
 


-Original Message-
From: Scott M Stark [mailto:[EMAIL PROTECTED] 
Sent: 24 July 2003 19:49
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Database JNDI Name Not Found


That is simply a restriction of the current architecture. If deployers want
to 
base recognition off of the doctype they may do so. However, it is to 
restrictive. The JARDeployer in fact works by NOT finding an xml file that
could 
be considered a deployment descriptor. A log4j configuration deployer may
work 
off a log4j.properties file. A security configuration deployer may work off
of 
the legacy auth.conf file. You are suffering from an overdose of xml
exposure.

-- 

Scott Stark
Chief Technology Officer
JBoss Group, LLC

[EMAIL PROTECTED] wrote:

> But it raises an interesting design point.
> 
> Why not simply have an XML deployer which picks up all *.xml files,
> inspects the DOCTYPE and then uses that to delegate to the correct
> sub-deployer. Would that not be a cleaner design?
> 
> Rgds,
> 
> Dan.
> 




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_ 
Notice to recipient: 
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. 

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity. 

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_ 




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] Installing Jboss-3.2.1-Tomcat-4.1.24 as service using JNT

2003-07-25 Thread Janardhan Burugupalli
HI All,

Can any one please send me valid script fro installing
Jboss-3.2.1-Tomcat-4.1.24 as a service using JNT.exe. I am trying to
install it on an XP machine with Jdk1.4.1_03.

I am currently using this script to do it but it fails. but please excuse me
if it has been already discussed. I searched the fomrums but there are
instructions for using JavaService.exe.

set JAVA=%JAVA_HOME%\bin\java
set CP =%CP%;"%Java_Home%\jre\bin\server\jvm.dll"
set CP =%CP%;"%Java_Home%\lib\tools.jar"
if exist %JBOSS%\lib\crimson.jar set CP="%JBOSS%/lib/crimson.jar"
if exist %JBOSS%\lib\ext\xerces.jar set CP=%CP%;"%JBOSS%/lib/ext/xerces.jar"
if exist %JBOSS%\bin\run.jar set CP=%CP%;"%JBOSS%/bin/run.jar"
if exist %JBOSS%\bin\shutdown.jar set CP=%CP%;"%JBoss%\bin\shutdown.jar"
if exist %JBOSS%\lib\concurrent.jar set CP=%CP%;"%JBoss%\lib\concurrent.jar"
if exist %JBOSS%\lib\jboss-system.jar set
CP=%CP%;"%JBoss%\lib\jboss-system.jar"
if exist %JBOSS%\lib\ext\xalan.jar set CP=%CP%;"%JBOSS%/lib/ext/xalan.jar"
rem set JavaSystemEnvironmentVars, only needed, if system cannot access
EnvironmentVariables
set SYSTEM=-DETENDERSUITE_HOME=%ETENDERSUITE%
set SYSTEM=%SYSTEM% -DETENDERSUITE_DATA=%ETENDERSUITE%/var
set SYSTEM=%SYSTEM% -DSTARTED_AS_SERVICE=TRUE

"%ETENDERSUITE_HOME%\windows-installer\tools\JNT"
"/InstallAsService:AIJBoss" "/SD%JBOSS%\bin" -Xms32m -Xmx256m -classpath
%CP% %SYSTEM% %JAVA% org.jboss.Main


regards

jani.




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Jon Barnett
OK. I can see the focus on cluster rollover. ;)

We have conducted tests in a similar manner to queuing requests remotely.
You can create a stateless EJB to make remote and local calls to itself
(or other EJBs) as well as naming server lookups. If you look at our JBoss
performance paper you'll see the code, which is quite simple
http://www.amitysolutions.com.au/downloads/JBoss_code.pdf. So those kinds
of things are nice and easy to do - since such a bean operation could be
quite long running loop through and make 100,000 invocations, you could
stack it up and get quite a few running to see the internal performance -
if that is useful.  You probably don't want so much load that CPU
saturation deforms the response.

The problem for clustering will be to define a controlled test that is
repeatable and easily configured for load whilst avoiding any deformations
in the load generator. I think you will want to look at steady state
responses and various degrees of load. How does round-robin perform with
light, medium and heavy load? Versus other schemes?

The bean method (internal load) will also need to be thought through. If
it does a lot of processing, is this indicative of a real load - if an EJB
spends time retrieving from a database, this results in lighter CPU load
in the EJB container. If you introduce a database, how much influence will
the connection pool operation effect times. Still thinking on this. I
suspect as part of the tool set, you would need to build a JDBC loopback
plug with a dummy return and tuneable response?  This could be used to
advantage to see how the app server responds to a pileup of waiting EJBs.

I think some broad categories of tests need to be defined first and then
refined. It will give a point of reference for devising these torture
tests and how they would work.

So let me summarise to date:

Clustering
Response
- lookup?
- purely invocation?
- fixed computing load?
- fixed time load?

Aim: tabulate useful characteristics against single server versus
multiserver with different load balancing schemes

Issues: thread measurement, attaining steady state, load increment,
deformation in responses due to measurement hooks, calibration of test rig
and minimisation of non-linear effects in test rig (if they exist) or
normalisation of results to account for this - depends on whether this is
relative comparisons or standalone measurements.

Regards,

JonB


smime.p7s
Description: S/MIME cryptographic signature