[jira] Updated: (GERONIMO-2489) Client builder bug is blocking usage of Daytrader AppClient

2006-12-07 Thread Vamsavardhana Reddy (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-2489?page=all ]

Vamsavardhana Reddy updated GERONIMO-2489:
--

Fix Version/s: 2.0

> Client builder bug is blocking usage of Daytrader AppClient
> ---
>
> Key: GERONIMO-2489
> URL: http://issues.apache.org/jira/browse/GERONIMO-2489
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: application client
>Affects Versions: 1.1.1, 1.1
>Reporter: Donald Woods
> Fix For: 2.0, 1.1.2, 1.2
>
> Attachments: G2489-1.1.1.patch
>
>
> If you try to use the Daytrader app client, the following exception is thrown:
> java -jar client.jar wasce-samples/daytrader-derby-tomcat_streamer.jar/1.1/car
> 16:10:19,562 INFO  [Log4jService] 
> --
> 16:10:19,562 INFO  [Log4jService] Started Logging Service
> 16:10:22,484 WARN  [RMIRegistryService] RMI Registry failed
> 16:10:22,500 ERROR [GBeanInstanceState] Error while starting; GBean is now in 
> th
> e FAILED state: 
> abstractName="geronimo/rmi-naming/1.1/car?ServiceModule=geronimo
> /rmi-naming/1.1/car,j2eeType=GBean,name=RMIRegistry"
> java.rmi.server.ExportException: Port already in use: 1099; nested exception 
> is:
> java.net.BindException: Address already in use: NET_Bind
> at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:284)
> at 
> sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:219
> )
> at 
> sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:398)
> at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:131)
> at 
> sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:19
> 5)
> at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:107)
> at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:93)
> at 
> java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:1
> 98)
> at 
> org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistry
> Service.java:58)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:981)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:267)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke()
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at 
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ec0bda8e.s
> tartConfiguration()
> at 
> org.apache.geronimo.system.main.CommandLine.loadConfigurations(Comman
> dLine.java:167)
> at 
> org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLi
> ne.java:92)
> at 
> org.apache.geronimo.system.main.ClientCommandLine.(ClientComman
> dLine.java:79)
> at 
> org.apache.geronimo.system.main.ClientCommandLine.main(ClientCommandL
> ine.java:49)
> Caused by:
> java.net.BindException: Address already in use: NET_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398)
> at java.net.ServerSocket.bind(ServerSocket.java:331)
> at 

[jira] Updated: (GERONIMO-2489) Client builder bug is blocking usage of Daytrader AppClient

2006-10-12 Thread Donald Woods (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-2489?page=all ]

Donald Woods updated GERONIMO-2489:
---

Attachment: G2489-1.1.1.patch

Patch created against the modules/ directory of 1.1.1.


> Client builder bug is blocking usage of Daytrader AppClient
> ---
>
> Key: GERONIMO-2489
> URL: http://issues.apache.org/jira/browse/GERONIMO-2489
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: application client
>Affects Versions: 1.1.1, 1.1
>Reporter: Donald Woods
> Fix For: 1.1.2, 1.2
>
> Attachments: G2489-1.1.1.patch
>
>
> If you try to use the Daytrader app client, the following exception is thrown:
> java -jar client.jar wasce-samples/daytrader-derby-tomcat_streamer.jar/1.1/car
> 16:10:19,562 INFO  [Log4jService] 
> --
> 16:10:19,562 INFO  [Log4jService] Started Logging Service
> 16:10:22,484 WARN  [RMIRegistryService] RMI Registry failed
> 16:10:22,500 ERROR [GBeanInstanceState] Error while starting; GBean is now in 
> th
> e FAILED state: 
> abstractName="geronimo/rmi-naming/1.1/car?ServiceModule=geronimo
> /rmi-naming/1.1/car,j2eeType=GBean,name=RMIRegistry"
> java.rmi.server.ExportException: Port already in use: 1099; nested exception 
> is:
> java.net.BindException: Address already in use: NET_Bind
> at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:284)
> at 
> sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:219
> )
> at 
> sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:398)
> at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:131)
> at 
> sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:19
> 5)
> at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:107)
> at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:93)
> at 
> java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:1
> 98)
> at 
> org.apache.geronimo.system.rmi.RMIRegistryService.doStart(RMIRegistry
> Service.java:58)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:981)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:267)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:540)
> at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:374)
> at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:527)
> at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:508)
> at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke()
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:122)
> at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
> at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at 
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ec0bda8e.s
> tartConfiguration()
> at 
> org.apache.geronimo.system.main.CommandLine.loadConfigurations(Comman
> dLine.java:167)
> at 
> org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLi
> ne.java:92)
> at 
> org.apache.geronimo.system.main.ClientCommandLine.(ClientComman
> dLine.java:79)
> at 
> org.apache.geronimo.system.main.ClientCommandLine.main(ClientCommandL
> ine.java:49)
> Caused by:
> java.net.BindException: Address already in use: NET_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398)
> at