[Embedded JBoss Development] - Re: Tried to check out & build with cygwin - OOME
by pgmjsd
Oh, this is odd. "port already in use" in ServerTestCase-output.txt:
| 20:12:05,643 INFO [WebService] Using RMI server codebase: http://localhost:8083/
| 20:12:05,768 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=Naming state=Create mode=Manual requiredState=Installed
| java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
| java.net.BindException: Address already in use: JVM_Bind
| at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
| at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
| at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
| at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
| at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
| at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
| at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
| at org.jnp.server.Main.initJnpInvoker(Main.java:462)
| at org.jnp.server.Main.start(Main.java:422)
| at org.jboss.naming.NamingService.startService(NamingService.java:320)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:355)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:301)
| 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:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:267)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
| at $Proxy41.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
| at org.jboss.system.ServiceController.start(ServiceController.java:443)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1448)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1166)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1187)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1107)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:783)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:258)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97)
| at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
| at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
| at java.lang.Thread.run(Thread.java:619)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266899#4266899
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266899
16 years, 4 months
[Embedded JBoss Development] - Tried to check out & build with cygwin - OOME
by pgmjsd
I was trying to build/checkout on my windows machine using Cygwin bash this weekend and I wasn't able to get testsuite to run without an OOME.
* JBoss AS was from http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_6_0_0_M1 (because branches/Branch_5_x doesn't seem to be there anymore).
* JDK 1.6.0_12
* Embedded trunk.
Once I set JBOSS_HOME properly using:
export JBOSS_HOME=`cygpath -w /home/josh/...pathtojboss...`
The compile worked fine. I tried giving Maven more memory with 'export MAVEN_OPTS=-Xmx1024m', but that didn't work.
| org.jboss.embedded.testsuite.ServerTestCase Time elapsed: 0 sec <<< ERROR!
| java.lang.IllegalStateException: Incompletely deployed:
|
| *** PROFILES IN ERROR: Name -> Error
| Profile: ProfileKey@fe53cf[domain=default, server=default, name=applications] in error due to java.lang.OutOfMemoryError: Java heap
| space
|
| *** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
| ProfileKey@4610fa[domain=default, server=default, name=farm] is missing following dependencies: ProfileKey@fe53cf[domain=default, se
| rver=default, name=applications]{Installed:**ERROR**}
| ProfileKey@1e0123b[domain=default, server=default, name=all] is missing following dependencies: ProfileKey@4610fa[domain=default, se
| rver=default, name=farm]{Installed:PreInstall}
|
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.logErrors(AbstractProfileService.java:613)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.validate(AbstractProfileService.java:390)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.validateProfile(AbstractProfileService.java:373)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:267)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97)
| at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
| at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
| at java.lang.Thread.run(Thread.java:619)
|
I'm going to try it with jdk1.6.0_17...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266898#4266898
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266898
16 years, 4 months
[JBoss AS Development] - Re: Naming over Remoting 3
by ron.sigal@jboss.com
"brian" wrote :
| "carlo" wrote :
| | Now if you put JNDI, Remoting and proxies in one sentence one
| | requirement is the most important:
| | - all proxies must be transport unaware.
| |
| | So if I bind an EJB into JNDI it doesn't matter whether I lookup through
| | an HTTP(S), IIOP or whatever to get a proxy tied to the connection with
| | which I'm communicating with AS.
| | The same goes for clustering, that is just a virtual connection to a
| | virtual host (/ real cluster).
| |
| So are you saying that if the JNDI lookup is done over HTTPS, the EJB invocations should therefore also come over HTTPS?
|
I was wondering the same. Also, by "tied to the connection" do you mean (1) using the same connection with which you are communicating with AS, or (2) using some connection with the same transport that you are using to communicate with AS?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266845#4266845
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266845
16 years, 4 months