[JBoss Remoting] New message: "Re: CompressingMarshaller causing improper socket closure"
by Ron Sigal
User development,
A new message was posted in the thread "CompressingMarshaller causing improper socket closure":
http://community.jboss.org/message/519112#519112
Author : Ron Sigal
Profile : http://community.jboss.org/people/ron.sigal@jboss.com
Message:
--------------------------------------------------------------
Hi Ben,
Actually, I *+was+* thinking of "timeout", but it looks like I was on the wrong track. After a ServerThread processes an invocation, it goes back and tries to read the next invocation, so I figured setting "timeout" would let the ServerThread (1) time out, (2) write an "I've just closed" byte back to the client (which prevents the client from using the unusable connection), and (3) return to the thread pool. But it looks like (1) ServerThread is getting an EOF when it tries to read the next invocation, and (2) GZipOutputStream won't let it write the "I've just closed" byte. Oh, well.
But you're right. "idleTimeout" is another option, if you can get the timing right.
Sharing your indignation,
Ron
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519112#519112
14 years, 4 months
Re: [jboss-user] All web page URIs respond with blank page
by samk@twinix.com
See Thread at: http://www.techienuggets.com/Detail?tx=51891 Posted on behalf of a User
Thanks!
This solved my problem as well.
In Response To:
I installed a jboss server 4.2.3.GA on my Windows XP workstation.
After run.bat, I can connect to localhost:8080 but my browser will only show a blank page. Same for any .war content I add. In fact, it will show a blank, not a Page Not Found, for anything after the 8080.
My JAVA_HOME=C:\Program Files\Java\jdk1.5.0_16
I noticed a lot of startup errors. The first in my log is
2008-09-12 11:10:20,198 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/Program Files/jboss-4.2.3.GA-jdk6/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
java.lang.NoClassDefFoundError: javax/ejb/Stateless
at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)
at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219)
at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy34.accepts(Unknown Source)
at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
14 years, 4 months
[JBoss Messaging] New message: "Re: Problem with bridge reconnecting to remote queue."
by Maciej Skorupka
User development,
A new message was posted in the thread "Problem with bridge reconnecting to remote queue.":
http://community.jboss.org/message/519104#519104
Author : Maciej Skorupka
Profile : http://community.jboss.org/people/mskorupka
Message:
--------------------------------------------------------------
Now I'm pretty sure that this case is about misconfiguration or that JBoss isn't for us. First case sounds more probable. I upgraded JBoss Messaging to 1.4.6 and JBoss Remoting to 2.5.2SP1 (2.5.2 is needed by JBM 1.4.6, but I think SP1 still fits). Above mentioned problem still exists.
Probably there's something I don't know about how JBoss works. For me, failover happens when node dies. Then the second node gets all the traffic in case of 2 nodes working simultaneusly. But what happens if second node dies also? Obviously the cluster can't get any messages in that case, but I thought that bridge will keep trying to reconnect. At least I think that this should be in configuration somewhere. There should be a way to set that it should keep trying forever.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519104#519104
14 years, 4 months
[JBoss Portal] New message: "restore default page"
by Thomas Stockhausen
User development,
A new message was posted in the thread "restore default page":
http://community.jboss.org/message/519101#519101
Author : Thomas Stockhausen
Profile : http://community.jboss.org/people/torcolato
Message:
--------------------------------------------------------------
Hi all.
Being very new to jboss portal we played around with it today.
And after server restart we cannot login any more.
The server throws an 500 error:
javax.servlet.ServletException: java.lang.IllegalStateException: Default page does not exist
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
Can we restore the default page somehow? Or set another page to default page in database (or wherever this information is stored)?
Thanks for any help, having to start all over again would be a nightmare...
Cheers,
torcolato
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519101#519101
14 years, 4 months
[jBPM] New message: "Re: How to terminate a forked process"
by Ronald van Kuijk
User development,
A new message was posted in the thread "How to terminate a forked process":
http://community.jboss.org/message/519092#519092
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
There is one basic assumption wrong in your example. There are no subprocesses!. So the name, terminology and api that are used are wrong. Yes, there are child executions (as the table is called) but a (sub)process is an execution, but an execution does not need to be a process (hence the 'isProcessInstance() method on Execution). So trying to end all these processes in a loop won't work since there only is one.
Getting all executions and ending them should work.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519092#519092
14 years, 4 months