[JBoss-user] [Management, JMX/JBoss] - Re: Disabling MBeanService from starting up

2006-01-12 Thread raja05
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 --

[JBoss-user] [Management, JMX/JBoss] - Disabling MBeanService from starting up

2006-01-12 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Setting locale for a session

2005-10-09 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: inetd.conf and services file settings

2005-10-09 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: JBoss Dependencies

2005-10-09 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Setting up a WAR file to see inside an existing EAR file

2005-10-09 Thread raja05
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-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Blank JSP page

2005-10-03 Thread raja05
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

[JBoss-user] [The Lizzard's corner] - ViewSVN for JBoss code

2005-10-03 Thread raja05
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Find deploy date from web application

2005-10-02 Thread raja05
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Force reloading a servlet in JBoss

2005-10-02 Thread raja05
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

[JBoss-user] [Installation, Configuration & Deployment] - Re: ClassLoader Issue

2005-09-28 Thread raja05
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://

[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?

2005-09-27 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: Send mails from MBean

2005-09-25 Thread raja05
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Sudden and unexpected shutdown of JBoss

2005-09-25 Thread raja05
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Encoding problem -- looks like a bug

2005-09-25 Thread raja05
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: jaas jndi && UseJBossWebLoader && Java2ClassLoadingCompl

2005-09-24 Thread raja05
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HTTP error 404 customisation

2005-09-24 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?

2005-09-24 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Problem Servlet Communicating with Session Bean in JBoss

2005-09-24 Thread raja05
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

[JBoss-user] [Installation, Configuration & Deployment] - Re: STDERR problems

2005-09-23 Thread raja05
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

[JBoss-user] [Installation, Configuration & Deployment] - Re: War Classloader Issue

2005-09-23 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Multiple databases

2005-09-23 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Network performance question

2005-09-23 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Trying to deploy my first ejb package

2005-09-07 Thread raja05
"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

[JBoss-user] [Beginners Corner] - Re: Run a class method when JBoss startup/an EAR is deployed

2005-09-07 Thread raja05
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

[JBoss-user] [Installation, Configuration & Deployment] - Re: Change datasource on application run-time

2005-08-23 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: Disabling Jboss Services

2005-08-19 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: JBoss & J2EE: Starting.....

2005-06-05 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Two DataSources (correct version)

2005-05-20 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: java.lang.IllegalArgumentException: No bean specified

2005-05-19 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Two DataSources (correct version)

2005-05-19 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: classpath issues

2005-05-19 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: MBeanOperationInfo impact

2005-05-19 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: JMX method level ??

2005-04-04 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: where to define jndi-name for mbean in SAR?

2005-04-04 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Unable to display servlet page in jboss Please help

2005-04-03 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Deploying files

2005-03-29 Thread raja05
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=

[JBoss-user] [Beginners Corner] - Re: javax.jms.JMSSecurityException

2005-03-29 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: EAR Deployment--BeanShellSubDeployer issue

2005-03-29 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Stopping loading *.jar files in .sar when JBoss starts u

2005-03-29 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Loading an app through MBean's startService()?

2005-03-29 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Hide a JNDI subcontext from remote clients

2005-03-29 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: ClassNotFoundException when trying to load JDBC driver i

2005-03-29 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: addNotificationListener on Tomcat final start?

2005-03-16 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: exploded ear

2005-03-16 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Error when trying to deploy an application

2005-03-15 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: localhost to IP change :)

2005-01-25 Thread raja05
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

[JBoss-user] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI

2005-01-25 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Redeploying Exploded Archive

2005-01-25 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Can't change Tomcat log level from DEBUG

2005-01-24 Thread raja05
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

[JBoss-user] [JBossWS] - Re: Multiple bindings not supported for service

2005-01-24 Thread raja05
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

[JBoss-user] [JBossWS] - Multiple bindings not supported for service

2005-01-21 Thread raja05
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

[JBoss-user] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI

2005-01-20 Thread raja05
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

[JBoss-user] [JBossWS] - Re: Unsupported number of service elements in wsdl document

2005-01-18 Thread raja05
>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

[JBoss-user] [JBossWS] - Re: Unsupported number of service elements in wsdl document

2005-01-18 Thread raja05
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

[JBoss-user] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI

2005-01-17 Thread raja05
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

[JBoss-user] [JBossWS] - Bug in ServiceDeployerEjb's portURI

2005-01-11 Thread raja05
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]

[JBoss-user] [JBossWS] - Unsupported number of service elements in wsdl document

2005-01-11 Thread raja05
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 |

[JBoss-user] [Beginners Corner] - Re: JNDI Datasource

2004-11-02 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Proposal to redesign and simplify server instance setup

2004-10-04 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Can I having the server-directory somewhere else?

2004-09-24 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Can I having the server-directory somewhere else?

2004-09-23 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: ping service in Jboss

2004-09-16 Thread raja05
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 :

[JBoss-user] [Management, JMX/JBoss] - Re: How to remotely deploy a MBean service using JBoss API?

2004-09-15 Thread raja05
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&

[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.1 cluster-wide hot-deployment

2004-09-10 Thread raja05
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

[JBoss-user] [HTTPD, Servlets & JSP] - Re: where i can save data in jboss?

2004-09-10 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: javax.management.InstanceNotFoundException:

2004-09-10 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: what does that warning mean (has no current tx!)

2004-09-03 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: Registering Property Editors

2004-09-03 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: Domain creation

2004-09-03 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: EAR APP-INF folder as in weblogic

2004-09-03 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: error deploy in jboss-3.2.5

2004-09-03 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: accessing ejb from mbean service

2004-09-01 Thread raja05
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-user] [Management, JMX/JBoss] - Introspect EAR file to find contents

2004-08-28 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Detecting changes to ejb and redeploying it automaticall

2004-08-13 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: MDB deployment

2004-08-13 Thread raja05
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://

[JBoss-user] [Management, JMX/JBoss] - Re: deploy mbean in jboss

2004-06-15 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: What's the difference between MBean and RMI service?

2004-06-15 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: How to get access to the MainDeployer from outside of JB

2004-06-15 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: What's the difference between MBean and RMI service?

2004-06-15 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: Forcing XMBeans to update their persistant attributes?

2004-06-15 Thread raja05
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

[JBoss-user] [Beginners Corner] - DeploymentCache - Clarification

2004-06-10 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: 3.2.4: managed parameter name cannot have spaces

2004-06-07 Thread raja05
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 ---

[JBoss-user] [Management, JMX/JBoss] - Re: Is it possible to have a Startup class for an .ear

2004-06-07 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: Dynamically Register an MBean

2004-06-07 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: How to HOT -deploy library jar files that JSP uses?

2004-06-04 Thread raja05
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

[JBoss-user] [The Lizzard's corner] - "View your post" Returning 0?

2004-06-03 Thread raja05
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 :

[JBoss-user] [Installation & Configuration] - Re: Problem with lookup...

2004-05-28 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Problem using MySQL as DefaultDS

2004-05-27 Thread raja05
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

[JBoss-user] [Installation & Configuration] - Re: Failed to boot JBoss

2004-05-26 Thread raja05
"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

[JBoss-user] [Installation & Configuration] - Re: Classloader Exception while accessing STRUTS based appli

2004-05-23 Thread raja05
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

[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat

2004-05-18 Thread raja05
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 ---

[JBoss-user] [Management, JMX/JBoss] - Re: ..notification when server is started?

2004-05-18 Thread raja05
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

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error - jms not bound

2004-05-18 Thread raja05
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 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: I need help with JMS and Oracle Trigger in JBoss 3.2.2 R

2004-05-13 Thread raja05
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

[JBoss-user] [EJB/JBoss] - Re: Method call after package deployment

2004-05-12 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: MBean JNDI Name: Alternative to RMIAdapter?

2004-05-12 Thread raja05
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?

[JBoss-user] [Management, JMX/JBoss] - Re: MBean JNDI Name: Alternative to RMIAdapter?

2004-05-12 Thread raja05
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

[JBoss-user] [Management, JMX/JBoss] - Re: MBean JNDI Name: Alternative to RMIAdapter?

2004-05-12 Thread raja05
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   2   >