OK, just a brief update on what I've done and what it taught me.
I created a 'Counter' mbean to track singleton performance counters and
a CounterInterceptor to stick into interceptor stacks to allow me to get
a feel for where the time was going. This told me that the TxInterceptor
was taking
You can do this with via the ExternalContext mbean. See the howto for
an example of binding a FS context into JNDI.
- Original Message -
From: Rob Castaneda
To: [EMAIL PROTECTED]
Sent: Monday, April 02, 2001 8:32 PM
Subject: RE: [JBoss-dev] File input for a Bean
Use JNDI - download S
Hi
Interesting idea !
My 2 cents are that for each of the solutions the
best suited should
be picked. For this solution the drawback is that
you open your file system
and make it public in the JNDI.
On the other hand the idea about packing in the EJB
Jar file it is only
available to the p
I always thought EJBs are not allowed to do file io
?
- Original Message -
From:
Tricia Wang
To: '[EMAIL PROTECTED]'
Sent: Tuesday, April 03, 2001 10:01
AM
Subject: [JBoss-dev] File input for a
Bean
what should I do
to make a ejb bean to read a text
I integrated Fulco Muriglio's log4j based mbean into the org.jboss.logging
package and updated the jboss.conf to make it simple to switch to this as
the logging service. It probably should be made the default logging service
in the future as the log4j framework is a superset of the JBoss logging.
User: starksm
Date: 01/04/02 20:43:44
Modified:src/main/org/jboss/logging Log4jService.java
Log:
Update the class comment to describe the service.
Revision ChangesPath
1.2 +9 -2 jboss/src/main/org/jboss/logging/Log4jService.java
Index: Log4jService.java
User: starksm
Date: 01/04/02 20:37:31
Modified:src/etc/conf/default jboss.conf
Added: src/etc/conf/default log4j.properties
Log:
Setup to enable easy use of the Log4jService but leave the legacy
ConsoleLogging & FileLogging services as the default.
Revision Changes
User: starksm
Date: 01/04/02 20:39:21
Added: src/main/org/jboss/logging Log4jService.java
Log4jServiceMBean.java
Log:
Take Fulco Muriglio contrib service and include it in the core.
Revision ChangesPath
1.1 jboss/src/main/org/j
Use JNDI -
download Suns FileSystem Driver from http://java.sun.com/products/jndi/
Sample code is
below...
import
javax.naming.*; import java.io.*;
public
class FileSystemTest {
public
static void main ( String[] args ) throws Exception {
java.util.Hashtable env = ne
Hey,
Also an option would be URL resource, see EJB 14.4.1.3
Vladimir
___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
Hi
I think you can either
- put it in the JAR file and access it through the
path in the JAR file (use the
actual classloader and open it as Resource
or Resource Stream
- put it in a directory specified in the classpath
and work like above
I wouldn't put it in the conf/ or lib/ directo
what should I do to
make a ejb bean to read a text file ?
which directory should I put my text file ? ( under lib
or under conf )
or should specifiy
it in the descriptor ? if is, what is the syntax to specifiy in the descriptor
to read the text for the bean...
thanks
tricia
User: starksm
Date: 01/04/02 16:34:27
Modified:src/docs jbossintro.xml
Log:
Change the java -jar run.jar to run.sh in the linux section
Revision ChangesPath
1.8 +1 -1 manual/src/docs/jbossintro.xml
Index: jbossintro.xml
User: starksm
Date: 01/04/02 16:30:37
Modified:src/docs basicconfiguration.xml howtombeans.xml
Log:
First complete draft of the custom services integration via mbeans howto.
Revision ChangesPath
1.8 +1 -1 manual/src/docs/basicconfiguration.xml
Index: bas
>
Hey,
As somebody pointed out over the weekend - this doco was out of date in
new manual.
I would like to use this opportunity to ask maintainers of Tomcat-JBoss
integration not to use old html doco but rather docbook.
Vlada
___
Jboss-developmen
User: vlada
Date: 01/04/02 15:46:01
Modified:src/docs howtotomcat.xml
Log:
updating tomcat integration
Revision ChangesPath
1.3 +358 -232 manual/src/docs/howtotomcat.xml
Index: howtotomcat.xml
=
User: vlada
Date: 01/04/02 15:44:05
Added: src/docs/images tomcat_3.gif
Log:
updating tomcat integration
Revision ChangesPath
1.1 manual/src/docs/images/tomcat_3.gif
<>
___
Jboss-developm
User: starksm
Date: 01/04/02 14:33:24
Modified:src/docs basicconfiguration.xml howtombeans.xml
Log:
It is the ServiceControl MBean that manages service depdencies, not the
ConfigurationSerivce MBean.
Revision ChangesPath
1.7 +8 -9 manual/src/docs/basicconfi
Hi,
>>I must have missed that.
see my earlier message:
"If this works well the next step would be to refactor the
loader to make it easier to "plug in" support for other vendor jar files."
>> I just saw a comment posted by a WL user that he doubted whether _any_
tool
>> would be able to co
Bill Burke wrote:
> JBoss:
> - We found that we needed to declare s for referenced beans in
> our jboss.xml and ejb-jar.xml files for JBoss to work with our Jars. We
> did not need to do this with Weblogic. Maybe this isn't a problem in
> JBoss 2.1?
The jboss.xml one is only necessary if you ha
I've seen some posts here about supporting WebLogic deployment
descriptors, so I thought I should share some of our experiences of
porting a year old Weblogic 5.1 application to JBoss/Jetty. We started
off using JBoss 2.0Final and have recently moved to various snapshots of
JBoss 2.1 as bugs
Tom,
from the man who got us PETSTORE running on JBOSS online I find this very
"naysayer"...
let rob run with it, he does it or he doesn't, just sit tight and wait, if
he doesn't deliver he doesn't deliver.
"impossible" isn't really in our vocabulary is it?
marc
|-Original Message-
|
User: juhalindfors
Date: 01/04/02 09:39:39
Modified:src/docs jbossdocs.xml
Added: src/docs howtoverifier.xml
Log:
Quick hack at documenting the use of verifier in Ant. (incomplete)
Revision ChangesPath
1.12 +2 -0 manual/src/docs/jbossdocs.xml
Index
Put this online... somewhere... i can't think of a good page right now.
We need a "participating" page with the new "todo" list. there are a 1000
things to do, the "directives" for submittal, joining teams, joining
leaders, code style, patch submittal, devettiquette etc etc like the old
"game ov
Submitting Patches
--
All patches (diffs and code snippets) should be submitted through the
Sourceforge Patch Tracker interface:
http://sourceforge.net/tracker/?group_id=22866&atid=376687
Use the submit form on this page if you want your patch to make it into
the CVS tree. Your
>
> I agree with both of you that it should NOT be part of the core code,
> thats why I suggested to refactor that section to support various different
> types via a plugin, once it was working.
>
I must have missed that.
> An external utility is an extra step that a developer needs to go th
Hi,
I agree with both of you that it should NOT be part of the core code,
thats why I suggested to refactor that section to support various different
types via a plugin, once it was working.
An external utility is an extra step that a developer needs to go through to
write beans, and results i
Scott wrote:
>
> I would rather not have knowledge of 3rd party app server deployment
> descriptors in the core JBoss code as it would only complicate understanding
> of how the jboss.xml and standardjboss.xml descriptor are used. Its a fine
> idea but it could be implemented via a utility that
I won't disagree you but I would like to say that performance isn't
everything.
If it was BEA would be bankrupt.
JBoss is a quality server with good features, ease of use and support.
Unfortunately, my current project is very cost and performance sensitive.
I wonder our ECperf will chnage thin
User: kimptoc
Date: 01/04/02 06:37:34
Modified:src/main/javax/jms package.html
Log:
testing 1.2.3
Revision ChangesPath
1.2 +2 -1 jboss-j2ee/src/main/javax/jms/package.html
Index: package.html
|Hello Vladimir,
|
|I think I have found what was my problem.
|
|As I am trying to set the RemoteContainer reference in a serializable
|structure *directly* on the server i.e. without using the RMI sub-system, I
|need to explicitely get the stub before playing with the reference i.e.
|store the re
HI all,
I have created IdleTimeCounter for JBoss application server.
It has one LOW_PRIORITY thread , parameter: fileLoging, screenLoggin, timePeriod
This Mbean counts idle time from the JBoss startup and counts the idletime for
specified time period.
During higth level production somebody can
32 matches
Mail list logo