06-09-2009 12:54 PM
06-09-2009 02:23 PM
Only one app can listen on a port at any given time. You will need to permanently move either tomcat or MDS to another port.
Once both are running (on different ports), try to access an internet page with the simulator. If it doesn't work, MDS setup problem. If you have internet on the simulator, it might be a tomcat setup problem. Who serves the 403, was it coming from tomcat?
Cheers, Barak
06-09-2009 02:31 PM
Hi Barak,
Thanks for your reply. I have tried having them running on different ports already (Tomcat on 8081 instead of 8080, and MDS on 8080, as my rimpublic.property config file states:
WebServer.listen.port=8080
)
If I try to access my sesrvlet from IE it works fine (I type http://localhost:8081/myDir/myServlet).
If I do the same from blackberry browser, I get something like no access or forbidden access and then the address http://localhost:8081/mydir/myservlet but I can go online (I tried going to www.google.com and it worked fine)
Much appreciated,
Dino
06-09-2009 02:34 PM
Try with the Desktop's IP address instead of localhost (not the 127.0.0.1 one, the network one).
Check the tomcat log to see if there was a connection from the BlackBerry (and tomcat refused it) or if the connection never arrived.
Cheers, Barak.
06-09-2009 03:09 PM
Hi Barak,
I am new to blackberry, tomcat. I will take a look at that today, I guess tomcat log says the connection was from blackberry or?
Huh, ... I just looked at logs directory of my Tomcat and there are lots of log files (admin.date.log, catalina.date.log, host-manager.date.log, jakarta.service_date.log, localhost.date.log, manager.date.log, stderr_date.log, stdout_date.log)
Which one do I look for and what do I look for?
Thanks,
Dino