jboss

How to change URL for web app?

When I deploy myWebApp.war in JBoss I can access this web application by next URL: http://localhost%3A8080/myWebApp But I want to have next URL: http://localhost%3A8080/support/myWebApp What shopuld I do in order to have such URL? ...

hibernate mapping file without all properties

I have a database containing approx. 200 tables. I use jboss-ide to automatically generate hibernate classes from the database using the File->New->Other->Hibernate->Hibernate Mapping file wizard of jboss-ide 1.6. the problem i'm facing is that the .hbm.xml file generated does not contain all the propertiese it's supposed to. what's als...

How should I make JBoss temporarily ignore an MBean service?

I am using a single JBoss deploy directory for multiple J2EE projects that I'm working on. (Note, I'm not looking for answers that tell me that I shouldn't be doing this.) I have written a scheduler service mbean that lives in the deploy directory, e.g., an XML file containing <server> ... <mbean code= ... > <attribute ....

Question about Seam context scope

Hi guys, I'm in doubt about using roles for different scopes for my seam components. For example: My project has a table called Parameter that stores all global parameters for the project as URLs, admin e-mail and etc ... For this table there is a simple CRUD interface for administration. So, reading the seam 2.1.2 documentation i un...

JBoss EJB 3 issue DeploymentException

Hi, I am deploying a EJB3 Jar with several beans in it. The jar works fine on other instances and is deployed correctly. However if I try that on my machine, I get the DeploymentException. I am on JBoss 5.1.0 Please help!! Here is the stack trace: *** DEPLOYMENTS IN ERROR: Name -> Error vfszip:/D:/jboss-5.1.0.GA/server/default/dep...

How can I restart JBoss 5.1 on AIX from a shell script?

I need to restart JBoss from my script? I tried to call jboss-5.1.0.GA\bin\shutdown.bat and then jboss-5.1.0.GA\bin\run.sh But unfortunately shutdown.bat works asynchronously. Is it possible to restart JBoss from shell script? ...

JBoss 3.2.2 and JDBC upgrade

Moved a bunch of databases from sql server 2000 to 2008. One of the applications is on JBoss 3.2.2 and is now failing to connect to the database. The particular error is "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorect. Parameter 1 (""): Data type 0x38 is unknown." I looked around google for...

Best way to manage transactions

I've the JBoss and Hibernate based system. And I need to process two long operations. Operations can be probably longer than transaction's timeout. It operations are persists many-many entities, in two different transactions. And if something goes wrong, during this operations, I should rollback all changes of the transactions. What's ...

jboss + metro + ejb3= java.lang.NoClassDefFoundError: Ljavax/servlet/http/HttpServletRequest

Hello, I am using jboss 4.2.3 with metro. I deploy an EJB 3.0 web service without error but when I try to call its wsdl it throws me: java.lang.NoClassDefFoundError: Ljavax/servlet/http/HttpServletRequest What is happening? I have servlet-api in the lib. ...

What are Groovy/Grails/Hibernate/JBoss/Jade in very simple terms?

I am new to Java. Its only been six months but I do understand Java. While reading about it sometimes, I come across these terms - Groovy, Grails, Hibernate, JBoss, Jade and many more. I know I can read all about them individually. But can somebody give me a treetop view of what is happening here? What is all this? We have Java and th...

How to determine what classes have been loaded from where in JBoss

I seem to remember some function in the JMX console which allows you to type in a class name, and see the classloaders which loaded it, and from which resources the class was loaded from. Unfortunately, I can't seem to find this. For standalone apps, I've always used the JWhich tool to get this information. ...

How to deploy.WAR into jboss 5.1.0

Hi All, Could you please help me how to deploy the .war file in jboss 5.1.0 . Here is the error by throung jboss 5.1.0 Note:MY RIFacelate.war contains ricefaces implemation Error 2009-09-16 12:58:26,772 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) deploy, ctxPath=/RIFacelets 2009-09-16 12:58:26,991 INF...

JBoss Class cast exception while accessing EJB3

Hi Java Gurus, I am having a weird problem here with EJB3. Deployed and EJB3 and am trying to access the business method from the deployed instance. I get the following error when the lookup is executed: UserAuthenticationRemote is the remote i/face UserAuthenticationBean is the Bean Code (which fails): UserAuthenticationRemote rem...

Unable to deploy a war org.jboss.web.jsf.integration.config.JBossJSFConfigureListener

While i am delpoying into jboss getting org.jboss.web.jsf.integration.config.JBossJSFConfigureListener exception ...

Can a deployed JBoss web application simply disappear?

A strange problem occurred yesterday on a production system which has been running fine for weeks on a JBoss 4.2.3 application server: the JAR file containing the web application was no longer in the deployment folder (so the clients could no longer access the application). The server is running on a Windows box. There was no indication...

Jboss Standard Out Timestamp

When I start up my JBoss server I pipe standard out to a file. When looking at that file I see a timestamp but I can't figure out what day the event happend. The sample below is from my output file. I can see the action happened at 10:35 but on what day and what does the "24,253" mean? 10:35:24,253 INFO [STDOUT] Here 1 10:35:2...

What's wrong with my listener in my web.xml?

We're using JBoss 4.22 with portlets. When the listener tag is not in the web.xml the portlet loads, but the listener sessionDestroyed() is never called (obviously). When added the portlet isn't loaded, and there aren't any exceptions or log messages. Are there any gotchas I should be aware of? <web-app xmlns="http://java.sun.com/xml...

Accessing Stateful session bean from servlet/jsp throws ClassCast exception in jboss 4.2.2

Whenever I try to access EJB 3 Stateful session bean deployed on JBoss 4.2.2 application server using a web client(within JBoss server) such as servlet/jsp , I get following exception java.lang.ClassCastException: $Proxy123 If I use application client , same code works without any exception. Or if I change bean to @Stateless , even web c...

Custom configuration for JBoss applications?

I've built a simple alert monitor to display the health of various applications. This is configured by XML, as each monitor instance needs to show different metrics. An example configuration may be: <machine> <monitors> <check type="connectivity" name="Production Server"> <property key="host" value="ops01.corp" /> <ala...

Changing WSDL url: from ?wsdl to .wsdl

Hello, I have a java web service deployed on JBoss Server 4.2.3 GA The generated wsdl uses "?" There are clients in .NET who are accessing the WSDL on their side. Earlier the clients used to get like ".wsdl" to access the web service. Now they want the same .wsdl instead of ?wsdl. Kindly suggest how to redirect or change some configu...