Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seaside image fails to open if port 8080 is in use #802

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 7 comments
Closed

seaside image fails to open if port 8080 is in use #802

GoogleCodeExporter opened this issue Mar 25, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Start a service on port 8080;
2. Open a Seaside 3.1 image 

What is the expected output? What do you see instead?
Seaside fails to open.

What version of the product are you using? On what operating system?
Seaside 3.1 one click image
Windows 7

Please provide any additional information below.

stderr:
�[31mError: Cannot create socket on port 8080
�[0mZnNetworkingUtils(Object)>>error:
ZnNetworkingUtils>>serverSocketOn:
ZnNetworkingUtils class>>serverSocketOn:
ZnManagingMultiThreadedServer(ZnSingleThreadedServer)>>initializeServerSocket
ZnManagingMultiThreadedServer(ZnMultiThreadedServer)>>listenLoop
ZnManagingMultiThreadedServer(ZnSingleThreadedServer)>>start in Block: [[self 
listenLoop] repeat....
BlockClosure>>newProcess in Block: [self value....
�[0m



Original issue reported on code.google.com by vitormc...@gmail.com on 3 Jul 2014 at 7:10

@GoogleCodeExporter
Copy link
Author

Is port 8080 free? If you do
telnet localhost 8080
on the command file do you get an error?
Do you have some firewall in place that prevents binding 8080?

Original comment by philippe...@gmail.com on 4 Jul 2014 at 8:33

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

"Is port 8080 free?"

No, it is beeing used.

"Do you have some firewall in place that prevents binding 8080?"

No

"telnet localhost 8080 on the command file do you get an error?"

I will be able to test it only on monday when I will have access to my working 
machine. As soon as I try it I will post the result here.

Original comment by vitormc...@gmail.com on 4 Jul 2014 at 7:23

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

"telnet localhost 8080 on the command file do you get an error?"

I get no error. The service that uses port 8080 is from Oracle XE. I will 
attach the PharoDebug.log

I am not sure if this is a problem with seaside or pharo itself.

Original comment by vitormc...@gmail.com on 8 Jul 2014 at 11:39

  • Added labels: ****
  • Removed labels: ****

Attachments:

@GoogleCodeExporter
Copy link
Author

You get the error because Oracle XE is running on 8080. Therefore 
Pharo/Seaside/Zinc can not bind 8080.

Either stop Oracle XE or make it run on a different port. You'll get the same 
error if you try to start Tomcat.

Original comment by philippe...@gmail.com on 8 Jul 2014 at 4:42

  • Changed state: Invalid
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

But it should prevent me to open the image and change the port number? If it 
cannot bind to 8080 I would expect it to open the image anyway, inform me of 
the error so that I could change the port. 


If I don't want to change the service I am running, my option is to change the 
port of the service, open image, change Zic port and than return the service to 
its original state. If I don't have permission to change the service (which is 
the case), how can I, on the same machine, change the port Seaside is using?

If I try to start tomcat I will get an error, indeed, but then I change the 
port tomcat runs without have to touch the running service, and start tomcat 
again.

Original comment by vitormc...@gmail.com on 8 Jul 2014 at 5:07

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

So the image doesn't start at all and you get the stack trace in PharoDebug.log?

Original comment by philippe...@gmail.com on 9 Jul 2014 at 5:47

  • Changed state: New
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

yes

Original comment by vitormc...@gmail.com on 9 Jul 2014 at 6:05

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants