Re: [JBoss-user] jboss backup management: howto?

2003-02-14 Thread Guy Rouillier
James, thanks for the reply. How frequently does it test connections in the dead pool? Does it have a concept of "Geez, I've tried a half dozen times to reconnect this connection in the last 5 minutes, there must be something fundamentally wrong with it, let me just get rid of it"? Who knows, ma

Re: [JBoss-user] jboss backup management: howto?

2003-02-14 Thread Guy Rouillier
David, I like the idea of only testing when a client calls. Saves testing all the connections every n minutes when a client may not call for hours. I foresee the issue of a bunch of dead connections hanging around in the pool for all those hours, and worse, going through each one testing for a go

Re: [JBoss-user] j_secuity_check

2003-02-14 Thread Bobby Abraham
Gabriel Pinto wrote: How can I know where j_security_check will foward me after login authentication? Thanks Gabriel If you are using jetty you can get the session attribute "org.mortbay.jetty.URI" This will contain the name of the page the user was attempting to access . eg. String des

RE: [JBoss-user] jbossweb now dependent on ejb?

2003-02-14 Thread Bill Burke
i know a clustering option uses Entity Beans. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Crossley > Sent: Friday, February 14, 2003 11:35 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] jbossweb now dependent on ejb? > > > On JBoss 3.0.

RE: [JBoss-user] jboss backup management: howto?

2003-02-14 Thread James Higginbotham
The pings happen every x min, configurable, and continues indef. The purpose is to hopefully catch idle connections that a DB, such as oracle, has disconnected due to inactivity. It was generally useful if the pool eventually grows larger than the current need (or the site is unused for a period of

RE: [JBoss-user] j_secuity_check

2003-02-14 Thread Finn, Michael
Title: RE: [JBoss-user] j_secuity_check David, Gabriel: Check out the *session* attribute "org.mortbay.jetty.URI". It gets set by FormAuthenticator, just before control is passed to configured login page. Not sure where/if it's unset. mike -Original Message- From: David Ward [ma

Re: [JBoss-user] Calling secured EJB from MDB

2003-02-14 Thread Gary S. Cuozzo
Cool.  I got this working.  The option was actually "unauthenticatedIdentity" though.  Just curious, did you make a typo below?  Or did this change for later versions of JBoss?  I happen to be using 3.0.4 and just want to note that for when I do upgrade if it actually changed. Thanks again, ga

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Scott M Stark
log4j does support domains via the org.apache.log4j.spi.RepositorySelector and org.apache.log4j.spi.LoggerRepository spi interface and these will be the basis for deployment level configuration of logging. Scott Stark Chief Technology Officer JBoss Group, LLC

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Rod Macpherson
I guess we have to disagree that not having a common interface is not a problem with regard to logging. I can put configuration files for com.pooper.scooper.Logger outside of the EAR and tell the sysadm to familiarize himself in the intricacies of configuring that package but it might not go over t

Re: [JBoss-user] j_secuity_check

2003-02-14 Thread David Ward
Gabriel, Sorry; I didn't know what you initially meant. Well, I just edited my login page to spit out some debug. I enumerated over and logged all request headers, request attributes and request parameters, and the only stuff that was visible in the implicit request object on the login p

RE: [JBoss-user] jboss backup management: howto?

2003-02-14 Thread David Jencks
When exactly does the "Ping" happen? I implemented something in jb4 that pings after taking a connection out of the pool before giving it to an application. This will be in 3.0 and 3.2 shortly. Is there a good reason to have the pings timed? We already discard old connections. david jencks O

Re: [JBoss-user] Strange Classloading behaviour with singletons in JBoss 3.0.6 while using the loader-repository tag

2003-02-14 Thread David Jencks
I don't know the cause of the behavior you are seeing, but I would not depend on it. I would give both .ears loader-repository tags. david jencks On 2003.02.14 10:02 Kristian Köhler wrote: > Hi all > > we've got a question regarding the class-loading behaviour in > JBoss-3.0.6. > > The followi

[JBoss-user] jbossweb now dependent on ejb?

2003-02-14 Thread Jim Crossley
On JBoss 3.0.3, I could add jbossweb.sar to the minimal config by adding jboss.jar and javax.servlet.jar to the lib directory. On JBoss 3.0.6, I now must also add jboss-j2ee.jar to avoid a "java.lang.NoClassDefFoundError: javax/ejb/NoSuchEntityException". I'm curious about what changed to require

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Andreas Mecky
The problem is not that there is no common logging interface (forget about the JDK1.4 logging). Nor is there a common API for configuration and something like that. This is not a problem. The problem is that these configuration files are logger definition files should not be packaged inside an ear.

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Rod Macpherson
The database driver analogy fails because your JDBC code has a standard API while logging does not. Putting the database driver in an EAR file (you may not have a WAR file at all) does seem like overkill in terms of isolation but it's not entirely without merit. The other issue is that an applicati

RE: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Corbin, James
I don't think it is that easy. I think you can have only one log4J logger per JVM. JBoss starts log4j as part of their server logging. What you suggest is what we were doing when we started getting the conflicts with the JBOSS configuration of Log4J. -Original Message- From: Alexopoulo

RE: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Corbin, James
I would agree in principle Unfortunately you cannot guarantee that app servers standardize on a common logging interface. Some may use Log4J and some might use their own implementations. You are still left to configuring you application for logging different depending on which App Server yo

Re: [JBoss-user] Multiple database connections

2003-02-14 Thread Marek Lange
Does anybody have a sample Oracle-Service.xml for configuring multiple databases as seperate datasources? This is for 3.2 (I think there was a minor change in the order () compared to the 3.0)): YourFirstDS jdbc:oracle:thin:@host:db

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Andreas Mecky
I totally agree. Who ever has fought with the sysadmin when it comes to deployment will agree. This is one of the reasons why we wrote some MBeans and moved our configuration and logging (actually we do not use log4j for several reasons) out of our ear-files. But the problem with log4j is because i

RE: [JBoss-user] Multiple database connections

2003-02-14 Thread Igor Fedorenko
Create separate dbname-service.xml for each database. > -Original Message- > From: Krishnakumar N [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 14, 2003 10:13 AM > To: Jboss-User (E-mail) > Subject: [JBoss-user] Multiple database connections > > > Hello, > > Does anybody have a s

RE: [JBoss-user] jboss backup management: howto?

2003-02-14 Thread James Higginbotham
> How does WebLogic handle a database taken down (as the > original appender posited)? Obviously, simply requesting a > new connection because it's connection-testing SQL failed is > not a great idea. If the database is taken out of service > for 2 hrs for maintenance, a simplistic approach w

Re: [JBoss-user] Multiple database connections

2003-02-14 Thread Vladyslav Kosulin
Krishnakumar N wrote: Hello, Does anybody have a sample Oracle-Service.xml for configuring multiple databases as seperate datasources? Did you try to deploy separate oracle service files (with different service names)? One file per datasource? Vlad -

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Jim Crossley
Anders Engström <[EMAIL PROTECTED]> writes: >> Remeber that the conf directory is jsut a part of the class path and the >> log4j config file in there is a standard log4j xml config file. I >> usually add my logging information to it. > Maybe I wasn't clear enough - but this is exactly the scenari

[JBoss-user] Strange Classloading behaviour with singletons in JBoss 3.0.6 while using the loader-repository tag

2003-02-14 Thread Kristian Köhler
Hi all we've got a question regarding the class-loading behaviour in JBoss-3.0.6. The following simple scenario demonstrates our problem: We've got a util class with a static getInstance method (singleton). We are using this class in a regular application packaged as a EAR containing this class

[JBoss-user] Multiple database connections

2003-02-14 Thread Krishnakumar N
Hello, Does anybody have a sample Oracle-Service.xml for configuring multiple databases as seperate datasources? Cheers, Krishna --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Cli

Re: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Anders Engström
On Fri, Feb 14, 2003 at 10:17:22AM +0200, Alexopoulos Dimitris ([EMAIL PROTECTED]) wrote: > Hello All! > > Couldn't you create a class that instantiates a Log4j Logger of your own? > This way you could use log4j's method > > PropertyConfigurator.configure("pathToYourLog4jConfigFile"); > > and

[JBoss-user] JBoss-IDE 1.0.1 released !

2003-02-14 Thread Hans Dockter
JBoss-IDE 1.0.1 is now, thanks to new features in Eclipse 2.1.0 M5, a pure plug-in solution. Vice versa it will only run with Eclipse 2.1.0 M5 and greater. You DON'T need to download directly from sourceforge as we now use the Install/Update Manager from Eclipse. You will find more about that in

RE: AW: [JBoss-user] How to throw AxisFault in JBoss.net?

2003-02-14 Thread Kevin Conner
> I'm away to Paris this weekend but I'll send you some more information > on Tuesday when I return. After a wonderful weekend (and not so wonderful week) here's the second part :-). Sorry for the delay. As mentioned last week I have my own version of the EJBProvider. My provider catches except

[JBoss-user] ★一起来吧!你面对的客户将是全中国!

2003-02-14 Thread lj
ÏëÈÃÄúµÄÍøÕ¾ÃûÑïËĺ£Â𣿠ÏëÈÃÄúµÄ²úÆ·¸ü¶àµÄÈËÖªµÀÂ𣿠ÏëÈÃÄãµÄ¿Í»§ÕÒµ½ÄãÂ𣿠ÄúÏëËѼ¯µ½ÄúµÄDZÔÚ¿Í»§Â𣿠ÄúÔÙÒ²²»Ó÷¸³îÁË£¬ÕÒµ½ÎÒÕâЩÎÊÌâÓ­Èжø½â£¡ µ¶·æµç×ÓÓʼþÓªÏúÍø£ºhttp://www.8he8.com/ ÁªÏµ·½Ê½£º0533-8652951 13853366319 0546-5789126 ÍøÂç×Éѯ£ºQQ:66388619 ¡ï ¡ï ±¾Õ¾´ú°ìÍø

[JBoss-user] jxm-console questions. Problem solved

2003-02-14 Thread Marco Tedone
Hi, Thank you to all your replies about changing the jetty listening port, now everything works greatly. BTW, yesterday i downloaded Jboss-IDE and installed it with Eclipse; apart from its usefulness(which is great, i mean is really useful to have the jboss console under eclipse) i really enjoyed

Re: [JBoss-user] j_secuity_check

2003-02-14 Thread Gabriel Pinto
That's ok ! But what I need is to know where it will take me when I am at the login page, so that I can make differen login pages to differente protected contexts. Does anyone knows how to do it? Thaks Gabriel On Thu, 13 Feb 2003, David Ward wrote: > The user will go wherever he/she was

[JBoss-user] Recursive Tables (Trees) and CMP in JBoss

2003-02-14 Thread Markus Garscha
Hi, i think about the following problem: i represent a directory (like dmoz.org) in two tables: +---+ | tree | +---+ | idinteger pk | <--+-+-+ | name varchar || | | | parentinteger | ---+ | | | ...

RE: [JBoss-user] JBoss & Log4J

2003-02-14 Thread Alexopoulos Dimitris ([EMAIL PROTECTED])
Hello All! Couldn't you create a class that instantiates a Log4j Logger of your own? This way you could use log4j's method PropertyConfigurator.configure("pathToYourLog4jConfigFile"); and read always your configuration. Is it necessary to use the JBoss logger? Excuse me if I have misunderstood