[Installation, Configuration & DEPLOYMENT] - Re: migrating from 3.2.3 to 4.0.2
by xps2nini2000
Hi All
Its again me.Pls Help me .The same code is working fine on other m/c but on my m/c which is having the same setup as the previus one Its giving exception illegal state execption.detail of exception Are:
04:27:58,018 INFO [STDOUT] ******************Error found in TranslateDirect....
..........java******************with Logina error java.sql.SQLException: Connect
ion handle has been closed and is unusable
04:27:58,018 INFO [STDOUT] Exception in TranslateDirect.javajava.sql.SQLExcepti
on: Connection handle has been closed and is unusable
04:27:58,018 INFO [STDOUT] Going to Translate.jsp from TranslateDirectServlets
04:27:58,018 ERROR [[TranslateDirect]] Servlet.service() for servlet TranslateDi
rect threw exception
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFac
ade.java:423)
at TranslateDirect.doPost(TranslateDirect.java:1519)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101658#4101658
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101658
18 years, 5 months
[JBossWS] - problem with calling ssl web service
by hugo_th02
Hello all,
I've successfully deploy jboss web service using ssl. But when calling this ssl web service from standalone client, i got error at client side as follow:
Exception in thread "main" javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message
| at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:304)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:242)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| at $Proxy10.sslMethod(Unknown Source)
| at jb.secure.ws.client.TestMain.main(TestMain.java:26)
| Caused by: java.io.IOException: Could not transmit message
| at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
| at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:230)
| ... 4 more
| Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
| at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| at org.jboss.remoting.Client.invoke(Client.java:1550)
| at org.jboss.remoting.Client.invoke(Client.java:530)
| at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:171)
| ... 7 more
| Caused by: org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized
| at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:72)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:472)
| at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
| ... 12 more
|
what does it mean, and how to solve this? Please help me.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101654#4101654
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101654
18 years, 5 months
[JBoss Seam] - Re: Quartz configuration in Seam 2.0B
by modoc
Michael,
thanks for your reply.
Yes, I have done that, however I get this error:
java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation
My application is very simple, and I've only recently started building it. It's using a seam-gen created framework.
My seam.quartz.properties file looks like this:
| #============================================================================
| # Configure Main Scheduler Properties
| #============================================================================
|
| org.quartz.scheduler.instanceName Sched1
| org.quartz.scheduler.instanceId AUTO
| org.quartz.scheduler.rmi.export false
| org.quartz.scheduler.rmi.proxy false
|
| #============================================================================
| # Configure ThreadPool
| #============================================================================
|
| org.quartz.threadPool.class org.quartz.simpl.SimpleThreadPool
| org.quartz.threadPool.threadCount 100
|
| #============================================================================
| # Configure JobStore
| #============================================================================
|
| org.quartz.jobStore.misfireThreshold 60000
|
| org.quartz.jobStore.class org.quartz.impl.jdbcjobstore.JobStoreTX
| org.quartz.jobStore.driverDelegateClass org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
| org.quartz.jobStore.useProperties false
| org.quartz.jobStore.dataSource sitemonitorDS
| org.quartz.jobStore.tablePrefix qrtz_
|
| #============================================================================
| # Configure Datasources
| #============================================================================
|
| org.quartz.dataSource.sitemonitorDS.jndiURL java:/sitemonitorDatasource
|
|
My scheduled method looks like this:
| @Asynchronous
| @Transactional
| public QuartzTriggerHandle scheduleSiteCheck(@Expiration
| Date pWhen, @IntervalDuration
| Long pInterval, Long pSiteId) {
| Site site = (Site) entityManager.createQuery("from Site where id = :id").setParameter("id", pSiteId)
| .getSingleResult();
| checkSite(site);
| return null;
| }
|
|
The only errors I see are related to the error I mentioned above.
Any ideas?
Thanks!
Devon
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101647#4101647
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101647
18 years, 5 months