[JBoss Portal] - Re: 2 identical portlets in the same page
by portal_man
Here, you got the code of the processAction of the weather portlet.
public void processAction(ActionRequest request, ActionResponse response) throws PortletException
| {
| String newZip = request.getParameter("newzip");
|
| if(null != newZip)
| {
| PortletPreferences prefs = request.getPreferences();
| try
| {
| prefs.setValue("RssXml", RSS_URL_PREFIX + newZip);
| prefs.store();
| }
| catch(Exception e)
| {
| e.printStackTrace();
| }
| }
| response.setRenderParameter("newzip", RSS_URL_PREFIX + newZip);
| response.setPortletMode(PortletMode.VIEW);
| }
Here, you got the code of the processAction of my portlet.
public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException, UnavailableException
| {
| PortletMode portletmode = request.getPortletMode();
| if(PortletMode.EDIT.equals(portletmode))
| {
| // récupération du nombre sélectionné dans la listbox
| // mise en session, pour l'édition
| // mise en variable locale pour l'affichage
|
| String tempNamespace = request.getParameter("namespace");
| if (tempNamespace.equals(namespace))
| {
| nbFlux = request.getParameter("nbFlux");
| request.getPortletSession().setAttribute(namespace+"nbFlux",nbFlux);
|
| if (request.getParameter("details") == null) {
| details = "false";
| request.getPortletSession().setAttribute(namespace+"details","false");
| }
| else {
| details = "true";
| request.getPortletSession().setAttribute(namespace+"details","true");
| }
| response.setPortletMode(PortletMode.VIEW);
| }
| }
| }
The purpose of nbFlux is to fix the numbers of lines we take in the rss feeds. The problem is, when we got two instance of the portlet, setting this nbFlux in one portlet set the variables in the two.
That the reason of the use of namespace (to knew in which portlet we are). But, because of ActionResponse can give access to the value of the namespace we are obliged to use a global variable.
The problem is this variable is share between the two portlets. Its value is given by the last portlet which accessed it.
There is no solution.
(I can easily show two different xml feeds, but it's impossible to show the first one with 12 lines and the second with 9).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030633#4030633
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030633
19Â years, 1Â month
[Persistence, JBoss/CMP, Hibernate, Database] - Hibernate JBoss
by nachnouch
Dear,
I m develpping a web application using JBoss4, eclipse3.2, MySQL, Hibernate3
I'm new with Hibernate. so that i have a probelm to deploy it in JBoss.
I developed a simple example(from internet) and add its hibernate to see if its ok or not. (one page html and 2 jsp)
GetName.html
<FORM METHOD=POST ACTION="SaveName.jsp">
Registration
Username : <INPUT TYPE=TEXT NAME=username SIZE=20 align="top">
Password : <INPUT TYPE=PASSWORD NAME=password SIZE=20>
Confirm your password : <INPUT TYPE=PASSWORD NAME=confirmpass SIZE=20>
<INPUT TYPE=SUBMIT name="register" value="Register">
SaveName.jsp
<%@page import="org.hibernate.Session" %>
<%@page import="org.hibernate.Transaction" %>
<%@page import="roseindia.tutorial.hibernate.*" %>
<%
Session sessionn = HibernateUtil.currentSession();
Transaction tx = sessionn.beginTransaction();
Contact user = new Contact();
String username = request.getParameter( "username" );
session.setAttribute( "username", username );
String password = request.getParameter( "password" );
session.setAttribute( "password", password );
String confirmpass = request.getParameter( "confirmpass" );
String message=null ;
if (!password.equals(confirmpass))
message = "Please verify your password" ;
session.setAttribute("message", message);
user.setFirstName("nachnouch");
sessionn.save(user);
tx.commit();
HibernateUtil.closeSession();
%>
<% if (password.equals(confirmpass)) { %>
Continue
<% } else { %>
Continue
<% } %>
NextPage.jsp
Hello, <%= session.getAttribute( "username" ) %>
Your password is "<%= session.getAttribute( "password" ) %>"
hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
com.mysql.jdbc.Driver
jdbc:mysql://localhost/hibernatetutorial
root
root
10
true
org.hibernate.dialect.MySQLDialect
update
<!-- Mapping files -->
</session-factory>
</hibernate-configuration>
Contact.hbm.xml
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
</hibernate-mapping>
Contact.java
package roseindia.tutorial.hibernate;
/**
* @author Deepak Kumar
*
* http://www.roseindia.net
* Java Class to map to the datbase Contact Table
*/
public class Contact {
private String firstName;
private String lastName;
private String email;
private long id;
/**
* @return Email
*/
public String getEmail() {
return email;
}
/**
* @return First Name
*/
public String getFirstName() {
return firstName;
}
/**
* @return Last name
*/
public String getLastName() {
return lastName;
}
/**
* @param string Sets the Email
*/
public void setEmail(String string) {
email = string;
}
/**
* @param string Sets the First Name
*/
public void setFirstName(String string) {
firstName = string;
}
/**
* @param string sets the Last Name
*/
public void setLastName(String string) {
lastName = string;
}
/**
* @return ID Returns ID
*/
public long getId() {
return id;
}
/**
* @param l Sets the ID
*/
public void setId(long l) {
id = l;
}
}
HibernateUtil.java
package roseindia.tutorial.hibernate;
import org.hibernate.*;
import org.hibernate.cfg.Configuration;
public class HibernateUtil {
private static final SessionFactory sessionFactory;
static {
try {
// Crée la SessionFactory
sessionFactory =
new Configuration().configure().buildSessionFactory();
} catch (HibernateException ex) {
throw new RuntimeException("Problème de configuration : "
+ ex.getMessage(), ex);
}
}
public static final ThreadLocal session = new ThreadLocal();
public static Session currentSession()
throws HibernateException {
Session s = (Session) session.get();
// Ouvre une nouvelle Session, si ce Thread n'en a aucune
if (s == null) {
s = sessionFactory.openSession();
session.set(s);
}
return s;
}
public static void closeSession()
throws HibernateException {
Session s = (Session) session.get();
session.set(null);
if (s != null)
s.close();
}
}
and when i run on server i have this message
13:34:56,646 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 33s:832ms
13:42:01,113 INFO [Environment] Hibernate 3.2.0.ga
13:42:01,133 INFO [Environment] hibernate.properties not found
13:42:01,143 INFO [Environment] Bytecode provider name : cglib
13:42:01,153 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
13:42:01,394 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
13:42:01,394 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
13:42:01,464 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.ExceptionInInitializerError
at org.apache.jsp.SaveName_jsp._jspService(SaveName_jsp.java:51)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Problème de configuration : /hibernate.cfg.xml not found
at roseindia.tutorial.hibernate.HibernateUtil.(HibernateUtil.java:17)
... 26 more
Caused by: org.hibernate.HibernateException: /hibernate.cfg.xml not found
at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1329)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1351)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1338)
at roseindia.tutorial.hibernate.HibernateUtil.(HibernateUtil.java:15)
... 26 more
I need help to resolve this problem
THANK YOU
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030629#4030629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030629
19Â years, 1Â month
[Remoting] - Connection Problem with Release 2.2.0
by Clarich
Hi there,
I have a confusing problem with my client and server. The problem does not occur always (so might be a timing issue) but sometimes my client receives an InvalidStateException from the server. Actually it sometimes times out or just stucks, when my server runs into this Exception. I tried to figure out where this issue might come from, but I am going in circles about it.
Here is the dump I get from my client:
| 2007-03-20 09:47:05,128 INFO [Thread-103:shutdownRequest:-18691] org.jboss.remoting.transport.multiplex.MultiplexingManager: shutdown: true
| 2007-03-20 09:47:05,128 INFO [Thread-103:shutdownRequest:-18691] org.jboss.remoting.transport.multiplex.MultiplexingManager: ShutdownRequestThread.run() done: true
| 2007-03-20 09:47:05,128 ERROR [input:-18691] org.jboss.remoting.transport.multiplex.InputMultiplexor: handleChannelException()
| 2007-03-20 09:47:05,128 ERROR [input:-18691] org.jboss.remoting.transport.multiplex.InputMultiplexor: java.io.EOFException
| 2007-03-20 09:47:05,128 INFO [Thread-105:shutdown] org.jboss.remoting.transport.multiplex.MultiplexingManager: removing from allManagers: Socket[addr=myserver/16.58.5.10,port=1101,localport=1497](1174380425035)
|
| 2007-03-20 09:47:05,144 INFO [Thread-105:shutdown] org.jboss.remoting.transport.multiplex.MultiplexingManager: manager shut down (: 1174380425035): Socket[addr=myserver/16.58.5.10,port=1101,localport=1497]
|
| 2007-03-20 09:47:05,144 INFO [main] Client: receiving remote Object from Server
|
| 2007-03-20 09:47:05,332 INFO [pending actions:-18691] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=myserver/16.58.5.10,port=1101,localport=1499]: entering unRegisterSocket()
| 2007-03-20 09:47:05,332 INFO [pending actions:-18691] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=myserver/16.58.5.10,port=1101,localport=1499]: leaving unRegisterSocket()
| 2007-03-20 09:47:05,332 INFO [pending actions:-18691] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=myserver/16.58.5.10,port=1101,localport=1499]: entering unRegisterSocket()
| 2007-03-20 09:47:05,332 INFO [pending actions:-18691] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=myserver/16.58.5.10,port=1101,localport=1499]: leaving unRegisterSocket()
| 2007-03-20 09:47:05,332 INFO [input:-18691] org.jboss.remoting.transport.multiplex.InputMultiplexor: unknown socket id: 112
|
| 2007-03-20 09:47:05,347 ERROR [main] ClientTest: Test failed:
| java.lang.reflect.UndeclaredThrowableException
| at $Proxy1.getActions(Unknown Source)
| at com.hp.eis.iobus.client.IOBusClient.updatePossibleActions(IOBusClient.java:278)
| at com.hp.eis.iobus.client.IOBusClient.isFileAction(IOBusClient.java:398)
| at com.hp.eis.iobus.client.IOBusClient.runAction(IOBusClient.java:245)
| at com.hp.eis.iobus.client.test.IOBusClientExecuteTest.testRunExecute(IOBusClientExecuteTest.java:60)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at junit.framework.TestCase.runTest(TestCase.java:154)
| at junit.framework.TestCase.runBare(TestCase.java:127)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:118)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
| Caused by: org.jboss.remoting.ServerInvoker$InvalidStateException: Can not process invocation request since is not in started state.
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:745)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:553)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:363)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
| at org.jboss.remoting.Client.invoke(Client.java:1544)
| at org.jboss.remoting.Client.invoke(Client.java:530)
| at org.jboss.remoting.Client.invoke(Client.java:518)
| at org.jboss.remoting.transporter.TransporterClient.invoke(TransporterClient.java:297)
| ... 25 more
| 2007-03-20 09:47:05,363 DEBUG [main] ClientTest: ******************* testRunExecuteWithParams **********************
| 2007-03-20 09:47:05,363 INFO [main] Client: starting Client ...
| 2007-03-20 09:47:05,378 INFO [main] Client: receiving remote Object from Server
| 2007-03-20 09:47:05,378 ERROR [main] ClientTest: Test failed:
| java.lang.reflect.UndeclaredThrowableException
| at $Proxy1.getActions(Unknown Source)
| at com.hp.eis.iobus.client.IOBusClient.updatePossibleActions(IOBusClient.java:278)
| at com.hp.eis.iobus.client.IOBusClient.isFileAction(IOBusClient.java:398)
| at com.hp.eis.iobus.client.IOBusClient.runAction(IOBusClient.java:245)
| at com.hp.eis.iobus.client.test.IOBusClientExecuteTest.testRunExecuteWithParams(IOBusClientExecuteTest.java:35)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at junit.framework.TestCase.runTest(TestCase.java:154)
| at junit.framework.TestCase.runBare(TestCase.java:127)
| at junit.framework.TestResult$1.protect(TestResult.java:106)
| at junit.framework.TestResult.runProtected(TestResult.java:124)
| at junit.framework.TestResult.run(TestResult.java:109)
| at junit.framework.TestCase.run(TestCase.java:118)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at junit.framework.TestSuite.runTest(TestSuite.java:208)
| at junit.framework.TestSuite.run(TestSuite.java:203)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
| Caused by: org.jboss.remoting.ServerInvoker$InvalidStateException: Can not process invocation request since is not in started state.
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:745)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:553)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:377)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:159)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
| at org.jboss.remoting.Client.invoke(Client.java:1544)
| at org.jboss.remoting.Client.invoke(Client.java:530)
| at org.jboss.remoting.Client.invoke(Client.java:518)
| at org.jboss.remoting.transporter.TransporterClient.invoke(TransporterClient.java:297)
| ... 25 more
|
And this is what happens on the server at the same time:
| 2007-03-20 09:47:05,128 INFO [pending actions:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=/16.58.5.10,port=1497,localport=1101]: entering unRegisterSocket()
| 2007-03-20 09:47:05,128 INFO [pending actions:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=/16.58.5.10,port=1497,localport=1101]: leaving unRegisterSocket()
| 2007-03-20 09:47:05,128 INFO [MultiplexServerInvoker#0v-VirtualServerSocket[Socket[addr=/16.58.5.10,port=1497,localport=1101]]] org.jboss.remoting.transport.multiplex.MultiplexServerInvoker: socket is closed: stopping thread
| 2007-03-20 09:47:05,128 INFO [pending actions:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=/16.58.5.10,port=1497,localport=1101]: entering unRegisterSocket()
| 2007-03-20 09:47:05,128 INFO [pending actions:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=/16.58.5.10,port=1497,localport=1101]starting ShutdownRequestThread: Thread[Thread-121:shutdownRequest:31889,5,main]
| 2007-03-20 09:47:05,128 INFO [Thread-121:shutdownRequest:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: shutdown: true
| 2007-03-20 09:47:05,128 INFO [Thread-121:shutdownRequest:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: ShutdownRequestThread.run() done: true
| 2007-03-20 09:47:05,128 INFO [pending actions:31889] org.jboss.remoting.transport.multiplex.MultiplexingManager: Socket[addr=/16.58.5.10,port=1497,localport=1101]: leaving unRegisterSocket()
| 2007-03-20 09:47:05,128 INFO [Thread-122:shutdown] org.jboss.remoting.transport.multiplex.MultiplexingManager: removing from allManagers: Socket[addr=/16.58.5.10,port=1497,localport=1101](1174380425035)
| 2007-03-20 09:47:05,128 INFO [Thread-122:shutdown] org.jboss.remoting.transport.multiplex.MultiplexingManager: manager shut down (: 1174380425035): Socket[addr=/16.58.5.10,port=1497,localport=1101]
|
| 2007-03-20 09:47:05,332 INFO [MultiplexServerInvoker#0v-VirtualServerSocket[Socket[addr=/16.58.5.10,port=1499,localport=1101]]] org.jboss.remoting.transport.multiplex.MultiplexServerInvoker: socket is closed: stopping thread
|
| 2007-03-20 09:47:05,347 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
|
| 2007-03-20 09:47:05,378 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
|
| 2007-03-20 09:47:05,441 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
|
| 2007-03-20 09:47:05,457 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
|
| 2007-03-20 09:47:05,738 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
| 2007-03-20 09:47:05,738 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
| 2007-03-20 09:47:05,738 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
|
| 2007-03-20 09:47:05,754 WARN [WorkerThread#51[16.58.5.10:1499]] org.jboss.remoting.ServerInvoker: MultiplexServerInvoker[virtual:/16.58.5.10:1101->/16.58.5.10:1499] can not process invocation requests since is not in started state!
|
|
What I could find out was, that the Exception happens when the Worker Thread stops before an invocation can be adressed to it. Means, a pending actions thread or a VirtualServerSocket thread runs ServerThread.stop(), afterwards a Worker Thread tries to call ServerThread.invoke() and runs into the InvalidStateException
I don't know why this happens. Does anybody have an idea? Might this be a configuration problem or is this a bug or might it be something else?
P.S.: I had this problem in release 2.0.0 as well as in the new release 2.2.0
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030627#4030627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030627
19Â years, 1Â month