Ah Cool. Thanks Dimitris. Ill explore that option.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917105#3917105
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917105
--
Hi, Id like to disable a mbean from starting up until I want it to. The actual
case is that the MBean references a file that will not be available till the
server starts and the client enters the value(which could be many days after
the server started, so i cant use a depends on my EAR). Only af
We have a similar web app thats served in multiple languages and the way we do
it have a filter equivalent that will llook up the Browser language and set up
the Locale accordingly for every request. This needs to be set for every
request as the user can switch languages between page hits.
View
I dont get it, Tomcat(running with Jboss) listens on Port 8080(by default). So
any request coming onto ur machine on 8080 will be picked up by the Tomcat
Connector and serviced. Why would you need any changes to inetd ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
There are only a few ways by which you can let JBoss sort out the dependencies.
1. Default Deployment Sorter.
Sorting order:
Sorts by file extension, as follows:
"sar", "service.xml", "rar", "jar", "war", "wsr", "ear", "zip",
"*"
2. PrefixDeployment Sorter: Sorts
genman's idea should work. You need to make sure that there are not different
versions of a single library.
Another way is to make UseJBossWEbLoader to be true. This will make JBoss look
up everywhere (includnig inside the EAR).
View the original post :
http://www.jboss.com/index.html?module=b
Jboss uses tomcat primarily for its JSP related work , so if it works with
Tomcat, it should mostly work with jboss. for ur case, is ur Utilities package
available to the JSP Compiler? Are you getting anything in the logs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
Is there a ViewSVN for the JBoss code? The CVS section on sf.net has been
turned off and I couldnt find a location to browse the jboss code other than
downloading it. When wanting to look at the source on multiple branches and
doing diffs, viewsvn provides a clean way. labs.jboss.com or forge.jb
You can possibly use JMX. I dont have a running site right now, but it looks
like MainDeployer(with a JMX name of jboss.system:service=MainDeployer) has a
method called getDeployment(URL deployURL) and returns a DeploymentInfo object.
DeploymentInfo has information about when the deployment was
Two ways AFAIK(although they might end up being the same depending on the way
its setup)
1. Touch your web.xml if the war is unpacked or touch the whole WAR file if
packed
2. Look up the list of completeDeployments method from the MainDeployer JMX
MBeanView of the jmx-console. There should be
Upgrading the Jboss libs should definitely work. If thats not a solution for
you, you can try scoped classloading where classes in ur Archive file gets
loaded in a separate classloader. There are docs in the "Getting Started"
manual about scoped class loading.
View the original post :
http://
Again, how are you loading the property file? You should use something like
Thread.currentThread().getContextClassLoader().getResource("users.properties")
That should get you the users.properties if its in the WEB-INF/classes. As far
your other question, i havent done much JAAS programming , you
There should be a mail-service.xml in the deploy directory jsut for this
purpose. You can bind to the JNDI name for the mail services which is
java:/Mail. It binds the JavaMail Session to this name which can be used in
client applications.
Just make sure that your mbean depends on mail-service
There are quite a few reasons why this could happen
1. Some TERM signal sent to the jboss jvm.
2. Space constraints on that box, for e.g. jboss trying to write to a temporary
location and not able to do it.
are there any environmental changes that you suspect could cause this?
View the original
Hmm, that doesnt seem to be the case. Jboss by default uses the file.encoding
value to be UTF-8, so you shoudnt even need to set the request to be UTF-8.
I created a simple webapp which has a form with a textfield, submit which
goes to a servlet, where i print back the value to the screen . En
your post doesnt indicate if your problem got solved or not. anyway, the first
2 settings that you mentioned(UseJbossWeBLoader and
Java2ClassLoadingComplianace) are at the level of jboss-tomcat integration,
which means all the wars installed in ur server will go by this configuration.
You can s
This has nothing to do with JBoss and a purely J2EE Configuration. refer to
http://java.sun.com/dtd/web-app_2_3.dtd
for a tag that indicates what kind of errors should go where. for
e.g. if i have a custom 404 page in the root of my war, i wud have an entry in
web.xml as
|
|404
Regarding your point No. 1 above, you should *never* use Class.forName unless u
want to load one of the standard java classes. Loading classes dynamically
should be done using
Thread.currentThread().getContextClassLoader().getClass("foo").
Please refer to
http://wiki.jboss.org/wiki/Wiki.jsp?pag
Is ur Home method abstract? Can you try removing the abstract keyword from
there ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896895#3896895
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896895
Did you get any errors on the server startup ? The logs that you posted show no
indication of jmx-console, so i cant really say if it got deployed or not.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896677#3896677
Reply to the post :
http://www.jboss.co
When you scoped the classloader for ur war, you might also have to set the
java2ParentDelegation to be true. this property is by default set to false, and
so when if the value is false, a NoParentClassLoader gets assigned as its
parent class loader. When the class in the server/lib gets loaded a
You should be able to deploy two instances of the EJB(bound for different
customers) and allocate entity pool instances for each of them.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896668#3896668
Reply to the post :
http://www.jboss.com/index.html?module
Even though its the same Network Interface, you are making a call between two
VMs. Running it in the same VM(like a servlet calling the EJB) maybe faster but
I think the numbers might just be what you might get. For all this, JBoss uses
Dynamic Proxies, instead of Stubs and Skeletons, so your in
"phon" wrote :
| this is the source code of the classes
|
| import javax.ejb.Stateless;
|
|
javax.ejb.Stateless should be javax.ejb.SessionBean. What is
javax.ejb.Stateless?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893365#3893365
Reply t
You can write listeners to listen for specific events. In your case, there are
events that are generated when a EAR is deployed.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener
The link above gives info on how to create a notification. The various Deployer
classes in
AFAIK, the bindings to the datasource happens during deploy time and not invoke
time. so i guess this is out of the specification.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891227#3891227
Reply to the post :
http://www.jboss.org/index.html?module=bb&op
You cannot just remove services at random. You need to figure out the
dependencies and remove them as well. In case some of the dependencies are
core, you wont be able to remove them. But yes, removing the SARs is all that
is required to remove services
View the original post :
http://www.jbo
There is a good example application on using jboss and eclipse at
http://www.tusc.com.au/tutorial/html/
This might be helpful even if you are not using the lomboz plugin.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880366#3880366
Reply to the post :
http
nope u dont have to. If you just want ur datasource defined for EJBs or
whatever, just drop ur oracle-ds.xml in the deploy directory and that will bind
the Datasource to a JNDI name. I hope thats what you want
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=387
Its a Struts related issue, nothing to do with jboss. Your page has some
reference to a bean thats not defined
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878500#3878500
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
You can create any number of datasources. Dont modify the
standardjbosscmp-jdbc.xml. Thats the default configuration and you shouldnt be
modifying it.
So to do what you want, you can add any xml file that ends with
-ds.xml . For examples, look under docs/examples/jca in ur jboss distribution.
O
1. If the codebase is ".", then the archives are taken from the root of ur
particular deployment, i.e. xxx.sar/
2) If the codebase is not ".", then the path is taken from the server.home.url
which is typically jboss_home/server/default.
so if you put ur entry as
http://www.jboss.org/index.html?m
I think it matters when you do dynamic mbeans. The behaviour that you get on a
Console is dependent onwhat value you specify for the impact. If its ACTION,
you would get a UI that lets you change the values for the attributes. Having
it as INFO will only allow Read only views. Having ACTION_VIEW
You should be able to do this from the MBean. MBean just manages whatever
resource that you need to manage. IF you want to manage a EJB, do the lookup
for that EJB in ur MBean create/start methods and expose the other methods that
you want to manage. These methods can inturn call the actual EJB
If you have something in the Global NameSpace, you should be looking up
context.lookup("ConnectionFactory"). The JNDIView tells u where and how the
ConnectionFactory is bound. IF its bound under the "java:" namespace, you need
to lookup java:/ConnectionFactory. In all, it depends on what kind o
You might want to replace
EmployeeSelectServlet
/ums
with
EmployeeSelectServlet
/EmployeeSelectServlet
>From ur description, it looks like the HTML is posting to
>EmployeeSElectServlet and there is no resource found for that. Since /ums is
>part of the context path, you just have to map
You dont need to compile anything again. JBoss uses tomcat as its servlet
engine, so if you drop a packaged war file or undeployed archive ending with
.war, for e.g. mypackage.war in the deploy directory, it shud just work.
View the original post :
http://www.jboss.org/index.html?module=bb&op=
If you look at the logs, its throwing an exception when its trying to create
the QueueConnection. Looking up SecurityMetadata.java says there are three
permissions - read, write and create. You have not specified create access for
_LocalQueueReader_. that might be the problem. And the defeault v
I dont think its possible to do this. Even though you comment out
BeanShellSubdeployer, the SubDeployerSupport.java assumes that anything ending
with .bsh is deployable and hence it looks for a Deployer to deploy this. Check
out SubDeployerSupport's
isDeployable method. You might just be out of
I dont think there is a way to stop loading the jars packaged as part of SAR.
JBoss loads all of them by default when it "inits" your SAR.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871905#3871905
Reply to the post :
http://www.jboss.org/index.html?mod
Yes. that should work. Although you might be better off instantiating the class
that A.jar invokes rather than running a command like java -jar A.jar.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871904#3871904
Reply to the post :
http://www.jboss.org/in
Anything in the "java:/" namespace cannot be accessed remotely.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871903#3871903
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871903
You need to make mysql drivers as part of the classpath. Put the mysql jar
files somewhere in the lib or as part of ur application.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871900#3871900
Reply to the post :
http://www.jboss.org/index.html?module=bb&op
Why dont you make your mbean depend on the Tomcat MBean. That way, your mbean
will not be invoked till tomcat is started.. the tomcat mbean is
jboss.web:service=WebServer
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870329#3870329
Reply to the post :
http
The reason why jsps are working that way is because everytime a jsp page is
invoked, its checked if the compiled version of the jsp is older than the jsp
source and if so, it recompiles. i believe there is a flag to turn it off.
As far as EARs are concerned, since they are a complete package, to
Info : Class not found on 'tutorial.ejb.FiboBean': No ClassLoaders found for:
tutorial.ejb.FiboBean
Classnotfound.. thats the error. see if your jar file assembly contains the
class in the correct package.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=387031
In jbossweb-tomcat50.sar/server.xml, look up the Connector element that you are
using (HTTP/1.1 or AJP) and then change the address="${jboss.bind.address}" to
whatever IP you want it to listen on. By default jboss.bind.address is 0.0.0.0
which listens to all incoming requests.
View the origin
Hi Thomas
I have a single webservice-description-name only. this is how my
webservices.xml looks like
| http://java.sun.com/xml/ns/j2ee";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2e
I have an exploded EAR file deployed in my deploy directory and all works fine.
I checked out the jmx-console's Maindeployer's listDeployed method which lists
me that all the entries that have been deployed. For my ear, it includes the
JAR, SARs, and WARs that make it up.
Also there are watch e
Can you post your jboss-srevice.xml? There are "debug" attribute elements in
the Host/Engine/Service Elements that determine if debug statements need to be
printed. the higher the value, the more the messages.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38
In other words, should there only be a 1:1 ration between the Service and the
ports?
According to the WSDL Documentation, it looks like there could be multiple
ports per service but can i have 2 different endpoints that relate to different
webservices in a single "service" element?
View the o
Hello
I have a WSDL File which looks like
Snippet from WSDL:
|
|
|
|
|
|
|
|
|
This has been generated using the JWSDP wscompile tool for 2 ports in a single
service. So this has 2 ports defined with my single servi
Actually, i dont have any jboss.xml in my system. The reason i believe this is
wrong is that JBoss calcuates the endpoint address based on the name of the
archive(xxx in the case of xxx.war) and the value thats in the
"webservice-description-name" in webservices.xml. So if i have 2
port-compone
>From
http://www.w3.org/TR/wsdl#_services
| A service groups a set of related ports together:
|
|
| *
| *
|
|
|
| The name attribute provides a unique name among all services defined within
in the enclosing WSDL document.
|
To me, the last line indicat
Hi Thomas
Thanks for the reply. Is this a jboss related constraint? The WSDL indicates
that there could be more than 1 service element per XML.
http://schemas.xmlsoap.org/wsdl/
Thanks
Raja
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862575#3862575
Reply t
Thanks for the response. Im still new to WS, sorry if im missing something
obvious. There are 2 wsdl files in my jar archive, one of them having a
http://localhost:8080/ws4ee/services/TestBean"/>
and another with
http://localhost:8080/ws4ee/services/CEEBean"/>
So the endpoint address for both of
I have two webservices defined in a single EJB Jar archive. During deployment,
an error pops out saying
"Cannot use the same url-pattern with different endpoints, check your port-uri
in jboss.xml"
The server console tells me that the webservices are deployed as
12:18:44,529 INFO [AxisService]
Environment: JBoss_4_0_0 on Redhat 9 with JDK 1.4.2
I tried to deploy a EJB WebServices application that contains multiple
porttypes in a single wsdl file. So my wsdl looks like
|
http://www.jboss.org/wiki/Wiki.jsp?page=CreateAJDBCDataSource
You cannot access the jndi names for Datasources outside of a VM as they are bound
using the java:/ namespace
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853695#3853695
Reply to the post :
htt
One thing you can try (if you are using jboss-3.2.5 or above) is set the isolated
property on EARDeployer to true so that your EAR has a scoped classloader. If you are
using a earlier version, then you can always set scoped class loading for your ear
using jboss-app.xml. Check the jboss docs for
Python might be a very good thing to do for these types of user-prompting and taking
action, thast IMO. The one thing you might want to watch out is dependencies. If a
particular developer is looking for specific services, it might depend on other
services that he has not requested. You need to
Not sure if i really understand your whole needs but if you want to split out the
files that the developer codes Vs. the files that JBoss provides, you can provide a
different deploy directory where you can have the developer related EAR/SAR/JAR/WARs.
Take a look at the jboss-service.xml in the
You can set the jboss.server.home (not sure of this variable name, check the startup
logs to double check) when you start jboss to a different directory. This would then
serve as your server home directory which by default is /server.
View the original post :
http://www.jboss.org/index.html?m
Or you can check up the namingservice port(1099 by default). This is the one that
Jboss uses internally to do the shutdown operation and anything for that matter
including fetching mbeanserver implementation using rmiadaptor. So that port should be
a good one to check.
View the original post :
Yes its not persisted..The deployment state is not stored . The only way possible to
have deployments of archives at startup is to store it somewhere accessible to jboss
and point that as a deploy directory in jboss-service.xml
View the original post :
http://www.jboss.org/index.html?module=bb&
I also have the same issue with hot-deployment. Works fine when the server is started
but after bringing a node down and then back up , the deployment happens only on
the node where it is touched.
Whats the sourceforge issue number in case something is already filed?
Thanks
View the ori
Couple of options i can think of
1) Have a apache(or any webserver) running on ur machine and store the files in the
htdocs area.
2) create a directory called files.war in the deploy directory and store all the files
underneath there. That way u can restore them as
http://machine:port/files/a.jp
Try
ObjectName objName = new
ObjectName("jboss.mq.destination:service=Queue,name=testQueue")
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847799#3847799
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847799
You are using XA and there is no concept of Tx in a MBean. That would explain why you
are getting that error from a MBean and not in a Stateless Session bean. Try setting
the Tx attribute to tx_not_supported to never in ur ejb. you mite get the same error
in ur ejb as well.. i dont think there
Never tried this but you could put ur jar containing
au.com.editors.FilenameFilterEditor in the global lib directory which would be
deployed before coming to the deploy directory.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847172#3847172
Reply to the pos
If i get you right, you just have to copy the default folder(for non-clustered apps)
into another name(for the other domain) , say, jk_bandu and start using ur server as
./run.sh -c jk_bandu
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847171#3847171
Reply
Wouldnt this be the same as having a SAR and adding the libraries to the classpath
entry in jboss-service.xml?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847168#3847168
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
anonymous wrote : I would seem to have similar problems: when I run the JBoss it would
not seem to try on deploying the WAR file in server\default\deploy directory.
| There is deployer.bat command, but it is missing deployer.jar file and does not
work with run.jar file either.
What error are
Absolutely . You can configure the sar inside the jboss-app.xml in the service tags.
That way ur SAR becomes a part of the enterprise archive.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846963#3846963
Reply to the post :
http://www.jboss.org/index.html?m
JBoss Version: 3.2.2RC4
OS: Redhat 9
JDK Version: 1.4.2
Im trying to introspect a EAR file using JMX at runtime and find the components(jars,
wars and sars) that make up the ear file. Is there a possible way to do this?
Looks like the EAR Objectname has a "modules" attribute that displays only th
if its deployed in expanded mode, you need to touch one of the config files to
redeploy the app. Touch the application.xml (to redeploy ur ear file) or touch the
ejb-jar.xml (to redeploy ur jar)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845030#3845030
R
First off, this question doesnt belong here. Belongs in the messaging section.
Second, no details of client are posted. Is this a standalone client? A standalone
client cannot access java:comp/env space. you shud be able to access it using the
java:/ namespace.
View the original post :
http://
You can create a .sar file which has a META-INF/jboss-service.xml that defines your
mbean. You could then jar up the files that make up ur MBean and package that in the
sar as well. so ur SAR structure wud be something like
SAR File
MBeans.jar
META-INF
jboss-service.xml
Y
I havent used JBoss pre 3.x but if JMX was in 2.4.x then im sure there must be atleast
one type of adaptor thats mandated by the spec. Check out the jmx-console to find out
if there are any adaptors registerd
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838
Use RMIAdaptor and get the MBeanServerImplementation. after that you can call any
method on any object name. Search for RMIAdaptor in this forum. You should find a lot
of references
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838756#3838756
Reply to the p
A Primary Difference between RMI and Mbeans is that all invocations for MBeans go
through an agent., So the client and the final MBean have no interaction. You can
change either ends(Client and the MBean at will). RMI is strictly bound by a contract
. Also you have the overhead of creating ur st
What you can do is create a NotificationEvent from setDocument and make ur MBean
Capture that event. Your Mbean Event capture code can then update the documentAsText
Field which will be the new value!!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838753#383
I was wondering what the use of deploymentcache is. Is it something like the standard
deployment entities are stored in a store(in this case FileDeploymentStore) so that
they dont have to be deployed everytime the server is started?
Thanks
Raja
View the original post :
http://www.jboss.org/i
Yes because it maps to a method name and methods cant have spaces
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837790#3837790
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837790
---
startup class for the server? or for the webapp? Why dont u have a InitServlet and
load-on-startup?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837789#3837789
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837789
Why are you trying to create a mbeanserver when there is one already available inside
jboss? Use the RMIAdaptor to get an instance of adaptor and register ur servlet to the
mbean server implementation stored at :JMImplementation:type=MBeanServerDelegate
View the original post :
http://www.jbo
touch the web.xml (After updating the jar) as that is the file watched by jboss during
deployments.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837551#3837551
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837551
I just tried doing a "View my posts" from the front forums page and it returns me with
0 results. I have posted fairly medium and i was searching for one of my earlier
posts.
Is this due to the last week's upgrade(?? or something that lead to down time) ?
Thanks
Raja
View the original post :
can you ping ur server from client? Check if xhosts is enabled or try adding an entry
in /etc/hosts
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836690#3836690
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836690
Mysql doesnt support subqueries AFAIK. Try changing it to this in ur
hsqldb-jdbc2-service.xml for DELETE_MARKED_MESSAGES_WITH_TX
DELETE JMS_MESSAGES FROM JMS_MESSAGES msg , JMS_TRANSACTIONS tran WHERE msg.TXID =
tran.TXID AND TXOP = ?
This works for 4.0.x and there is a different syntx for 4.1
"himanshu79" wrote :
| is there any way to force JBOSS to use Sun's JMX implementation (Please excuse me
if i am talking crazy).
|
No it is not possible to use Sun's JMX. JBoss has its own implementation of jmx and
uses it extensively, so using another implementation is not going to work
Well. as it says, cannot find the class. Howz ur packaging structure. Can you verify
if this class is in ur package and available in the deploy directory? A Stack Trace
isnt going to help much
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835962#3835962
Rep
Can you try removing the ejb-link? Anyway you are not in-VM to use the ejb-link
feature!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835412#3835412
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835412
---
Have you tried depending on
J2EEServer=Local,j2eeType=ServiceModule,name=jboss-service.xml
This is the objectname for the jboss-service.xml which is the last one that shows up
on the console before the "Started JBoss" message.
View the original post :
http://www.jboss.org/index.html?module=b
Change it to
qFactory = ctxt.lookup("java:comp/env/jms/ConnectionFactory")
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835325#3835325
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835325
-
Bruce
Do you know that there is a flushCache method on all the Entity beans thats exposed
through JMX? That means you could have a adaptor(RMI, HTTP, whatever) to get to the
jmx object that wraps ur ejb and call flush cache on that.
View the original post :
http://www.jboss.org/index.html?mo
The setSessionContext should be a good place to initialize stuff. You could have a
Singleton do the startup operations. Infact i had an implementation where my MDBs
would load up a set of properties into a Hash at startup.
Or the option specified by jae77 would work although it wud be Jboss spec
the jndiname in my objectname is just how jboss creates the objectname. Its an EJB and
i dont really set any object for that. So having an jndiName or not in the objectname
should make no difference.
Are you sure you included the domain(jboss.j2ee) as well as the name included in the
HTTP URL?
As far the rmiadapter thing, did you check out the link that i had given above.?
Assume that i need to invoke the flushCache method on
jboss.j2ee:jndiName=com.yoyo.AddressJNDI,service=EJB
i would create a urlconnection to the following URL
http://localhost:8080/jmx-console/HtmlAdaptor?action=inv
Answers inline
"xavieruk" wrote : Hello All
|
| |
| | ConfigService
| |
| |
|
| My Question(s):
| 1. After successful deployment, I'm unable to see this MBean bound to JNDI
NamingService. I didn't find the ConfigService in JNDIView. Is there anything I'v
1 - 100 of 150 matches
Mail list logo