jboss

Client.Error.MessageSend problem with Flex/BlazeDS on JBoss

I'm developing a Flex 3.4 app that interops with a Java EE backend running on a JBoss-4.2.2 server, through the most recent release of BlazeDS. When I ran the Flex app from Flash Builder 4 beta 2 on Tomcat, everything was fine, the Flex app was able to make the remote call needed. But my production environment is on JBoss, and when I mov...

Last-Modified timestamp wrong in JBoss / Tomcat response?

I'm testing a JBoss / Tomcat web application, writing JavaScript tests in .js files. I modify myTest.js, build the .war file and deploy it to JBoss. My Web browser goes to GET the file, but JBoss reports that the file has not been changed so the browser uses the cached version. When I use the FireFox add-on Poster to get the myTest.js...

JBoss automatically undeploys EJBs

we have a situation at office. JBoss automatically unloads all deployed EJB's without us knowing why. here's the log we got : 2009-11-09 15:59:51,375 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 14s:704ms 2009-11-09 15:59:51,390 DEBUG [com.ar...

Preventing Tomcat / Jboss from listing files in a directories

I would like to prevent Tomcat from listing the files in a directory when the URL ends at directory. This would be like .htaccess for apache. So that when a user navigates to : www.test.com/f_apps/ -- nothing is lised or error message but going to: www.test.com/f_apps/welcome.jsp -- works correctly I assume it's a change ...

How can we have JBOSS MDB retry its connection if it fails at startup?

Hello all. We have a server app that is deployed across to server machines, each running JBOSS 4.2.2. We use JBOSS messaging with MDBs to communicate between the systems. Currently we need to start the servers in a very specific order so that JBOSS can connect properly. If a server starts and doesn't see its resources it never tries agai...

Jboss cache with Hibernate

I am very new to this caching techniques. I just managed to configure JBossCache with Hibernate on JBoss AS 4.23 GA. My question is Suppose I have two different configurations defined in the configuration file. One is optimistic-entity and second one is pessimistic-entity. I want to use optimistic-entity configuration for one set of en...

setProperty must be overridden by all subclasses of SOAPMessage

I'm trying to deploy some web services in a WAR application on JBoss 5.1.0. I have created the source files from an existing wsdl using JAX-WS tool wsgen. This created the Service files and @XmlType annotated clases that would act as request and response wrappers. This classes worked well on JBoss 4.2.3, but when moving to JBoss 5.1.0,...

Problem calling (Jax-ws) web service from another web service within JBoss.

I have a web service, code generated by JAX-WS RI (JAX-WS RI 2.1.1-b03-) with one method addroute. I can see the web service in the list of deployed services (http:///jbossws/services) and using that wsdl I can access the method addroute from outside jboss, using curl and soapui. however when I try to access the web service from with...

How in jboss write traces to separate trace file

How in JBoss to write traces to separate file? I would like to see traces about org.hibernate.SQL and org.hibernate.type in separate trace file. I added next appender and categories to jboss-log4j.xml but it does not help - jboss still writes traces into server.log. <appender name="HIBERNATE" class="org.jboss.logging.appender.DailyRol...

Determine Which Application Server our application is deployed to?

Our J2EE Application is deployed to JBoss and sometimes to OC4J . Can I know which one is being used? I hope there is a method returning the container information on runtime. ...

Configure nginx for jboss/tomcat

Used to be in order to pass traffic to jboss/tomcat on port 80 using apache, we had to install and configure mod_jk. Is there an equivalent for nginx? Basically want all port 80 traffic to be passed to jboss. ...

How to hide interface methods in the web service when using @WebService's `endpointInterface` attribute?

Is there a way to prevent a method from an interface used in @WebService's endpointInterface attribute to be exposed in the web service? I'm using the endpointInterface as that seems to be the only way to make the service work on JBoss with Metro, not doing so results in a: javax.xml.ws.WebServiceException: Undefined port type ...

Problem calling (jax-ws) web service from within JBoss

I am trying to connect to a web service via a VPN from my server. I can connect to the wsdl and send a soap request using Curl (it gets a valid response too). The code I am using is able to connect to the web service when installed on another server, but for some reason does not seem to connect from within JBoss on this server. There ...

Exploded deployment fails on JBoss 5

I have a web application which deploys fine as an ear file. But when I try to deploy it in exploded form it fails like this: 17:13:17,305 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=app.ear/#app-persistence state=Create java.lang.RuntimeException: could not find relative path: lib/persisten...

Can JBoss instances communicate?

I've got a Java servlet that handles file uploads, but resides in the "intranet" instance of JBoss. It needs to write files to a directory in the "internet" instance of JBoss (on the same machine). The Java servlet can't be moved to the other instance. This is with JBoss 4.2 on a Solaris box. Is there a way for this to happen? Can there...

Flex: image scale stopped working after deploy to server

I have some code to scale an image's width according to its height after the image is being loaded. It works fine on my development PC if I point to the wrapper html using local file system path. However, after I deploy the web application to JBoss AS 5.1, it stopped working - it always sets the image width to 0, causing it to disappear....

jBoss Profile - how?

Hi there, I want to profile my jBoss Apps on a remote server. I've tried the Eclipse TPTP project but with an invoked agent my jBoss Portal doesn't start and it ends in unlimited lines of exceptions. jProfiler doesn't work either, portal doesn't boot. Netbeans IDE Profiling seems only to work on local machines or did I missed somethin...

JBoss Web Services Behind IIS Through HTTPs

This is a tangled web that's woven, I suppose, but it really shouldn't be all that hard. Let me see if I can paint the picture: I have written a web service, starting with a WSDL, which is to run in JBoss. This is all fine and dandy when I run it on my local machine and point my Netbeans "client generator" (probably just using "wsimpo...

Ask jboss if it has a web method?

We have our web services written in Java running on JBoss. Our website is written in .Net 3.5. We've run into an issue where if a web service has a change, sometimes it breaks the website, and they end up having to be deployed at the same time. Right now I changed a web service, and the website code has been changed to match. The o...

jsp:how to hide folder structure of website from users?

how to hide folder structure of website from users. i have developed a website on jave platform (jsp). website is deployed on jboss. suppose my website 's home page url is dummy.com/dummyFolder/dummy1.jsp user can watch all of jsp pages in website by going on url dummy.com/dummyFolder/ what should i do to prevent user to view my ...