[JBossWS] - Re: jbossws with apache
by palin
"gerry744" wrote : I'm using Jboss behind apache.
| '/jbossws/services' works fine, the wsdls's work fine, but the actual services don't work. They do work if I connect directly on port 8080, but not through apache. Everything else is working fine through apache.
| If I try connecting a browser to the actual service via apache, instead of seeing the service I just get "http GET not supported".
|
| Anyone know what I'm doing wrong ?
|
| I'm using jboss 4.2.1, jbossws 2.0.1, apache2 on another machine, jk 1.2, all on gentoo.
|
| Thanks!
I would check what url apache is actually trying to connect to; I mean, it's ok that you get a "http GET not supported" if you access an endpoint using your browser. As a matter of fact, endpoints support POST, GET is supposed to work only for wsdl retrieval calls.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079450#4079450
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079450
17Â years, 2Â months
[JBoss Seam] - org.hibernate.exception.GenericJDBCException: Cannot open co
by robin.hultman
I have a SFSB with this factory:
| @Factory("userSubscriptions")
| public void getUserSubscriptions() {
| userSubscriptions = em.createQuery("FROM Subscription s WHERE s.user.sign=:sign ORDER BY s.prio")
| .setParameter("sign", getCurrentUser().getSign())
| .getResultList();
| }
This collection is used as value for a datatable and works fine. When I click a button in which triggers an action in which userSubscriptions is accessed again I get:
| 2007-08-30 09:22:49,843 INFO [org.hibernate.event.def.DefaultLoadEventListener] Error performing load command
| org.hibernate.exception.GenericJDBCException: Cannot open connection
| Caused by: org.jboss.util.NestedSQLException: Transaction is not active:
To me "Cannot open connection" indicates some problem with the database but thats not possible since I do a lot of other db operations.
I think I can get around this problem by doing the transactions manually but do I really want to do that? I've had a lot of problems with this in my application so any tips would be most appreciated =).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079448#4079448
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079448
17Â years, 2Â months