I'm trying to use JAX-WS on a JSF app on JBoss 4.2.3 and from the logs I notice that for every operation it fetches the WSDL not once, but 3 times:
[07/Jul/2009:14:45:52 +0300] "GET /wsdl/my.wsdl " 200 23731 "-" "Java/1.6.0_13"
[07/Jul/2009:14:45:52 +0300] "GET /wsdl/my.wsdl " 200 23731 "-" "Java/1.6.0_13"
[07/Jul/2009:14:45:...
I'm having a problem with keeping a JBoss server running. Here's the command I'm using to start it: sudo /JBOSS_HOME/bin/run.sh conf -b servername.domainname.tld JBoss starts okay after about 4 minutes or so, and when I ps it, it shows up as a process. However, if I happen to log out of SSH and ps again, it's been stopped. Is there a...
I have a web app on JBoss 4.2.3 and I'd like it to send email. I could do something like:
try {
Properties props = System.getProperties();
props.put("mail.transport.protocol", "smtp" );
props.put("mail.smtp.starttls.enable","false" );
props.put("mail.smtp.host","smtp.somehost.com");
props.put("mail.smtp.auth", "true" );
Authenticator au...
EJB 3.1 is a few months away and starting threads in Beans is discouraged since it may have nasty side effects. So what other options are there to interrupt bean methods on Jboss and Enterprise servers?
JDBC's setQueryTimeout is not an option since some drivers do not enforce the value.
...
I've modified my run.sh file and added JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n" but when I start JBoss I get FATAL ERROR in native method: No transports initialized.
Looking around the internet it seems like it may having something to do with missing jars or my version of Java? I'm o...
Hi,
Related to TimerService, can I define two Timer instances and bind each timer to a specific (different) method annotated @Timeout in the same EJB?
Thanks,
Rod
...
I have a question regarding using Prepared Statements with JBoss and MySQL.
DataSource is configured on JBoss side. Here is the config file:
x
jdbc:mysql://x
com.mysql.jdbc.Driver
x
x
10
20
5000
5
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
org.jboss.resource.adapter....
Hoping someone can help me with a slight hurdle I've come up against in regards to re-rendering of RichFaces components after an a4j link/button has performed it's action. A simplified version of my problem is as follows:
I have 2 output components displaying a text value which are rendered based on some value in my manager class:
<h:...
I'm using apache on one machine to serve requests to jboss on another machine. Everything works fine when I startup jboss and I'm able to access the web app, but after a few hours I eventually start getting "The proxy server received an invalid response from an upstream server" errors. If I restart jboss then everything works fine agai...
I'm trying to use JMX API to get active session counts for a web application.
Is it possible to use JMX API to get this kind of information?
If yes, how reliable would it be?
Any example code on how to get this done?
I've been reading JMX tutorial and documentation, but they are giving me the overview of what the technology is. I j...
The headline says it all: I've got a simple WebService
@WebService(serviceName="G08WService", portName="G08WPort", endpointInterface = "at.fhj.itm.g08.wservice.IUserWebService")
public class WService implements IUserWebService
{
@PersistenceContext(unitName="g08b2")
EntityManager em;
@Resource
UserTransaction utx;
...
I've got a service running at a fixed location in the network, with a WSDL attached etc. I can easily create a jax-ws client with wsimport and the usual stuff when doing this stand-alone, but I'd really like to be able to call this service from inside another web application.
Unfortunately I'm running into some gotchas here. For one, ev...
I’m developing application with JBoss AS 5 with a special configuration according to my needs (Web container, ejb3 and JMS)
IDE: My Eclipse 6.5
Hardware: Apple macbook 2.3Ghz, 2Gb ram
MyEclipse hot deploy works fine, but when I need to change method’s sign or introduced new classes the system ask for a reboot of the JBoss. This slows ...
Hello,
I'm running JBoss 4.2.3, Java 1.5, and Ubuntu. Before you tell me to post on the JBossWS forum, I already have and there is not a lot of activity over there. I am trying to call a Microsoft Exchange web service end point from a JSF web application. I have written other web service end points and have successfully built clients in...
We are having repeated failures of our Application running on Jbos 4.05, mysql 5.083.
Server works great for about 6 hours using no more then 10 connections to the mysql. Then suddenly get errors like:b. Looks like server attempts to open more connections, mysql connection peak at about 150 and then the server just hangs and looks like a...
I'm following the directions for launching my hello world JMX bean and jboss complains with the following:
nested throwable: (java.lang.NoSuchMethodException: com.testPackage.jmx.TestJmxMBean.<init>())
I know I'm missing something REALLY obvious, but can't spot what it is.
Why would it be looking for an init method? the class extends...
Hi,
I just deployed a web application on JBOSS 4.2. It can be accessed locally only (http://localhost:8080/myApp).
I cant access it from remote computer by typing its domain: (www.hostname.com:8080/myApp).
I added Port 8080 as Exception in Windows Firewall.
Note that the host (www.hostname.com) is reachable from remote computers via IIS...
I have JBoss application server that is using LDAP for authentication. Lately we have noticed that there are a lot of slow requests (> 15 seconds).
I did some threaddumps of the server and noticed that many threads where waiting on a lock: com.sun.jndi.ldap.LdapRequest@54ceac
java.lang.Object.wait(Native Method)
com.sun.jndi.ldap.Conne...
I'm trying to figure out how to use datasources for my web service. I have the oracle-ds.xml deployed on my jboss 4.2.3 server, and the datasources are showing as bounded to JNDI names java:TestDS, java:WeatherDS, etc.
I try doing an initialcontext.lookup but I can't find it. I tried referencing the resource in the web.xml but I get "...
When testing various authentication solutions (my own LoginModule etc) in JBoss, it seemed to me that sometimes when I redeployed a change or otherwise provoked the login form to show, that JBoss didn't actually call the authentication module.
Just wondering if there is some type of short term caching going on?
I tested both from a web...