[JBoss-user] [EJB/JBoss] - Re: Initializing a Session or Message Driven Bean on Deploym

2006-04-27 Thread mlybarger
would ejbCreate work for your needs? it's called after deployment and before execution of any "business" methods. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940008#3940008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [EJB/JBoss] - Re: XML Parsing from Stateless bean

2006-04-24 Thread mlybarger
i'd recommend looking at the jndibinding-service.xml in the jboss deploy folder. i'm told you can bundle this as part of an ear to isolate things to a particular application, but haven't really tried that much. in the slsb, i'd get all values from jndi during the setSessionContext method, and

[JBoss-user] [EJB/JBoss] - Re: EJB Remove in statelesssession bean

2006-04-24 Thread mlybarger
you don't really give any details about your method execution. there's many reasons an app server will remove a slsb from the pool as required from the ejb specification. anytime a bean throws a checked exception, it gets removed from the pool. i don't know the details of how to control the si

[JBoss-user] [EJB/JBoss] - Re: can I set ejb timeout?

2006-04-24 Thread mlybarger
btw, i created a simple slsb, and set the timeout to 2 seconds. the client (remote java app) did indeed just hang. a message was posted on the server that the transaction timed out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938880#3938880 Reply to the

[JBoss-user] [EJB/JBoss] - Re: migration from websphere to jboss

2006-04-24 Thread mlybarger
i'm sorry, you'll have to read xdoclet's documentation for that one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938879#3938879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938879

[JBoss-user] [EJB/JBoss] - Re: can I set ejb timeout?

2006-04-22 Thread mlybarger
if you're doing a potentially long running transaction and you don't want the client to wait, i would choose a MDB instead of a stateless session bean. client posts message and is done. though i would think that if a transaction timed out, the container should throw a remote exception possibly

[JBoss-user] [EJB/JBoss] - Re: dynamic class loading

2006-04-22 Thread mlybarger
have you tried it and encountered an error? dynamic class loading should just work unless you've taken steps to configure your server otherwise. i've had numerous remote clients to ejb's that only have the ejb-client jar's and the jboss client jar's in their classpath. i am under the impressi

[JBoss-user] [EJB/JBoss] - Re: migration from websphere to jboss

2006-04-22 Thread mlybarger
kalai, it's truely a bit challenging to piece through the words and make sense of your problem ( especially with sentences like: "have you understand my query??? " ), but it seems that you have a stateless session bean that is not able to access another bean in the same jar file correct? this

[JBoss-user] [EJB/JBoss] - Re: How to persist TimedObject across server recycles / ejb

2006-04-22 Thread mlybarger
i can't seem to edit my previous posts? anyway, i tried jboss-4.0.4CR2 i think it's working kinda like i expected. i can start a job by calling the slsb, which as i said, gets the timer service, and creates a timer. it'll be fun to see how easy it is to get 4.0.4CR2 on a production machine :)

[JBoss-user] [EJB/JBoss] - Re: How to persist TimedObject across server recycles / ejb

2006-04-22 Thread mlybarger
btw, i'm on jboss 4.0.3RC1. will try 4.0.4 when i get a chance later today. do i need some special transaction stuff in the dd's? i don't think i even have a jboss-ejb-jar.xml or what ever it it is. just ejb-jar.xml for the slsb. i couldn't find info that dd stuff is needed for timedobject.

[JBoss-user] [EJB/JBoss] - How to persist TimedObject across server recycles / ejb rede

2006-04-22 Thread mlybarger
How can I persist a TimedObject across server recycles / ejb redeployments? I create a simple slsb which accesses the TimerService to create a timer. ATM, the timer is scheduled every 3 seconds. My bean implements the TimedObject interface, and I can see the ejbTimeout method being called eve

[JBoss-user] [Installation, Configuration & Deployment] - monitoring connection pool via snmp

2006-03-16 Thread mlybarger
hi, we've encountered situations where our connection pool fills up and can't get any more connections. this does indicate a possible leak or error somewhere, but what we would like to have is a way for an snmp trap to be sent when the pool reaches say 90% utilization or so. i notice jboss

[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE, Eclipse 3.1 and upcoming WTP versions

2006-02-05 Thread mlybarger
"ploskikl" wrote : | Does JBoss plan to provide server definitions elements for current (and future) JBoss releases that can be downloaded using the Eclipse update manager? | i'm also interested in weather JBoss will support a JBoss app server definition for eclipse wtp. i have eclipse wtp

[JBoss-user] [Installation, Configuration & Deployment] - Re: Persistencemanager with SQLException

2005-10-13 Thread mlybarger
we get this error message in the server.log when starting our jboss servers. it seems that it's due to the jms Persistance Manager trying to ensure tables are available for it to persist jms messages. when working with other team members to search for errors they encounter, we typically will

[JBoss-user] [JNDI/Naming/Network] - configure arbitrary jndi tree

2005-10-06 Thread mlybarger
we'd like to use jndi to store heirarchictal (sp) information that can be configured per server insatance (or really per target environment: dev, prod, qa, etc). the tree would be something like: /orange/three/FOO = "orange3foo" /blue/four/BAR = "blue4bar" etc. basically a few levels of nestin

[JBoss-user] [Management, JMX/JBoss] - securing mbean access...

2005-07-07 Thread mlybarger
we're looking to secure access to the core jboss mbeans (and possibly other aspects of the system). specifically, we want to prevent "rogue" access to shutting down the jboss server instance. i believe in the default configuration, once a server has been started, that any user on the network,

[JBoss-user] [HTTPD, Servlets & JSP] - Re: xerces/xalan error migrating war

2005-06-28 Thread mlybarger
i'll just give a bit more details. i've been learning (or trying to learn) too much about jboss class loaders and such lately. it always seems to come back to the jdk including stuff that it probably shouldn't include. (these xml parsers). the sun jdk 1.4.2_06 or so includes some old, but us

[JBoss-user] [HTTPD, Servlets & JSP] - xerces/xalan error migrating war

2005-06-27 Thread mlybarger
we currently have an error running xerces/xalan on jboss. our web app is deployed fine to a stock 4.1.30 tomcat instance. we wanted to use jboss 4.0.0 instead. when running the application we see an error like: 17:02:06,345 INFO [STDOUT] java.lang.NoSuchFieldError: S_KEY_INDENT_AMOUNT 17:02:06

[JBoss-user] [Security & JAAS/JBoss] - intra server security

2005-06-14 Thread mlybarger
we have two web applications (one is more a web service than a web app, but it's packaged as a war and is accessed via http post), i'll call them webService.war and nonWebService.war. the nonWebService.war uses a custom security module to provide authentication. we'd like the webService.war to

[JBoss-user] [Management, JMX/JBoss] - Re: JMX/SNMP newbie question

2005-06-09 Thread mlybarger
i'm also interested in using snmp for monitoring the jboss server's "health". one thing that has been mentioned as interesting to watch are free memory levels. if the free memory gets above say 90%, i'd like to send an snmp trap to the snmp manager. i haven't really worked much with snmp as

[JBoss-user] [Management, JMX/JBoss] - Re: expire all web sessions

2005-06-04 Thread mlybarger
ok, i'll reply with my solution. running jboss.split will kill all sessions for the testWeb application: | | | | | | | session ids:${some.property} | | | | | | |

[JBoss-user] [Management, JMX/JBoss] - expire all web sessions

2005-06-02 Thread mlybarger
i'm looking for a way to expire all web sessions, then call the garbage collector to help determine if we have a memory leak somewhere in our application. i've got the following ant task that'll list the sessions, but can't _easily_ get each session id into a property to call the expireSession

[JBoss-user] [Installation & Configuration] - Re: getting URL's from JNDI lookup

2005-05-09 Thread mlybarger
thanks for the response. this looks like exactly what we're after. i was looking into creating a custom mbean to put my values into the jndi, but will looking into patching this in first. the need is definately there for configuring url resource ref's outside the war. the patch seems far

[JBoss-user] [Installation & Configuration] - integrating custom mbean to override url resource-ref

2005-05-09 Thread mlybarger
we're looking for a way to manage our configuration outside of our application. specifically, when we get a URL resource reference, we're currently configuring the value of the URL in the jboss-web.xml. i think this requires us to "touch" the ear/war if we want to change the value of the u

[JBoss-user] [Installation & Configuration] - Re: stopping Jboss

2005-05-09 Thread mlybarger
we have coded a wait after the shutdown, but 10sec doesn't seem to be enough. the problem with checking the ports is that they can be configured on different environments. plus there's lots of ports being opened by jboss. which ones to check? isn't there a synchronous shutdown call for jboss

[JBoss-user] [Installation & Configuration] - Re: stopping Jboss

2005-05-09 Thread mlybarger
i'm after some recommended procedures for shutting down jboss. we're using win 2k, tao linux, and SuSE linux. we currently aren't using init.d scripts on the linux machines. we're using an ant build script which calls the run.sh and shutdown.sh here'sthe issue we're seeing. in order to recy

[JBoss-user] [Installation & Configuration] - Re: Starting JBoss 4 in debug mode???

2005-05-06 Thread mlybarger
that suspend=y seems only usefull if you're debugging jboss itself, or if you're debuggin a startup servlet that'll be run when the app is deployed on startup. i'd guess most folks would rather the default be suspend=n. took me a bit to find this "bug" in the run.bat. View the original post :

[JBoss-user] [Installation & Configuration] - Re: getting URL's from JNDI lookup

2005-05-05 Thread mlybarger
any thoughts out there? i've heard something about writing a custom mbean to provide the URL's application, but am not sure how that would look. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876582#3876582 Reply to the post : http://www.jboss.org/index.ht

[JBoss-user] [Advanced Documentation] - Re: Release 2 of the Application Server Guide

2005-05-04 Thread mlybarger
on p 480 there shoudl be ant.properties file instead of .ant.properties file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876408#3876408 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876408

[JBoss-user] [Advanced Documentation] - Re: Release 2 of the Application Server Guide

2005-05-04 Thread mlybarger
where should bugs for the docs be posted? p 359. first paragraph continued from last page: "but there is no way to specify and a element" maybe should be "but there is no way to specify that as an element can have..." View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Installation & Configuration] - Re: encrypting ds password - per server instance?

2005-05-03 Thread mlybarger
if anyone is interested, i was able to bring up a completely new jboss instance up and running on a new machine, deploy the postgresql-ds.xml and login-config.xml with the encrypted passwords generated on the other server, and it worked ok. it _appears_ to be something that you can generate onc

[JBoss-user] [Installation & Configuration] - getting URL's from JNDI lookup

2005-05-03 Thread mlybarger
i'm configuring our web application to get URL's from doing a JNDI lookup. i have the resource-ref defined in web.xml, and have the coresponding resource-ref defined in jboss-web.xml. this seems to work, but we would really like to have these definitions outside of the jboss-web.xml. it woul

[JBoss-user] [Installation & Configuration] - encrypting ds password - per server instance?

2005-04-26 Thread mlybarger
i've went through the steps to use an encrypted datasource password, covered in the faq. works nicely once i have all the peices in place. my question is, is the encrypted password per server instance? per jboss install? or is the login-config.xml portable? i'm interested if i can version i

[JBoss-user] [Management, JMX/JBoss] - viewing object creation /collected count

2005-04-20 Thread mlybarger
is there a method in jboss (via an MBean perhaps) to view the count of object creation/garbage collected? we're researching some oom exceptions we've been having. perhaps we're keeping too many sessions around ( we have an unusually high session timeout), but would also like to see if there's p