[Installation, Configuration & DEPLOYMENT] - Re: Can not get connection to server. Problem establishing s
by jaikiran
Looking deeper into the logs, it does appear that the bean was looked up correctly and the method invoked on the Proxy:
anonymous wrote : org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing so
| cket connection for InvokerLocator [socket://127.0.0.1:3873/]
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.
| java:532)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| at org.jboss.remoting.Client.invoke(Client.java:1634)
| at org.jboss.remoting.Client.invoke(Client.java:548)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:6
| 7)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| at $Proxy0.login(Unknown Source)
| at com.sbe.poolstock.servlet.LoginServlet.login(LoginServlet.java:143)
You mentioned that the client is on a Windows OS. What about the JBoss server where the EJB is deployed? Is it a Windows or Linux box?
On the JBoss server where the EJB is deployed, can you run the following command and post the output?
netstat -ab
You mentioned you start JBoss using:
anonymous wrote : I start the server with run.sh -b 0.0.0.0, and-Djava.rmi.server.hostname=
What's the value that you specify there for -Djava.rmi.server.hostname? I am not very familiar with the java.rmi.server.hostname param. Any specific reason for using that? And what happens when you dont use this java.rmi.server.hostname param? Are you able to invoke the EJB?
Finally, can you post the contents of your etc/hosts file?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146104#4146104
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146104
18 years
[JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
by DarkPanda
"max.andersen(a)jboss.com" wrote : winter is WTP 2.0.2 .....so that configuration should not work ;)
| [...]
But is does work for me.
I have also seen those errors, but doing a complete clean install solves the problem for me. But I do have to restart Eclipse once on first install for a components.xml error to disappear.
I'll post my actions step by step:
(I'm using Windows Vista)
anonymous wrote :
| 1)
| Stop any running JBoss server.
|
|
| 2)
| Extract the following files all in the same directory. This directory must be clean (no subdirectories) before extracting.
|
| eclipse-jee-europa-winter-win32.zip (132.676.279 bytes)
| JBossTools-2.0.1.GA-ALL-win32.zip (69.220.739 bytes)
| jboss-4.2.2.GA.zip (96.943.695 bytes)
| jboss-seam-2.0.1.GA.zip (97.019.703 bytes)
|
| (JBossTools will automatically be located in the right Eclipse directory.)
|
| 3)
| Start eclipse.exe in administrator mode (in Vista: rightclick > run as administrator).
|
| 4)
| In Eclipse choose a NEW NON-EXISTING workspace.
|
| 5)
| (In Eclipse) start a new "Seam Web Project". As "Target Runtime", choose "JBoss, a division of Red Hat" > "JBoss 4.2 Runtime" and enable "Also create a new local server". Browe to the jboss-4.2.2.GA directory extracted in previous steps.
|
| As "configurations" (still in the "New Seam Project" window), choose "Dynamic Web Project with Seam 2.0 (technology preview)".
|
| Leave the "Project Facets" options and choose next till you're in the "Seam Facet" options.
|
| As "Seam Runtime" add the jboss-seam-2.0.1.GA directory extracted in previous steps.
|
| "Deploy as" is default set to "WAR". Leave it there.
|
| Add a database. Choose one yourself. (I choose hsql for simplicity.)
|
| And finish.
|
| Give Eclipse some time (no cpu usage), in previous tries, a got memory problems if I went on to quickly.
|
| 8)
| Right click the newly created seam project > "Run As" > "Run on Server" > next and finish.
| The project will now be deployed and raises an "error while reading /WEB-INF/components.xml" error.
| See http://91.186.11.154/~cyb/temp/java/run1.txt
|
| 9)
| stop the server via Eclipse and close Eclipse.
|
| 10)
| start eclipse again (in administrator mode) and run the project again.
| This time (and the following afterward) it will work without those errors.
| See http://91.186.11.154/~cyb/temp/java/run2.txt
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146103#4146103
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146103
18 years