a security problem with Runtime.getRuntime().exec(...)
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Tuesday, July 5, 2005 02:57 AM

I want to execute a unix command from my portlet that running on webSphere portal server v5.0

I have checked the SystemErr.log file and i found the following exception:

in LoginUserAuth.doAuthenticate javax.naming.CommunicationException: db_server1:389 [Root exception is java.net.ConnectException: A remote host refused an attempted connect operation.

Re: a security problem with Runtime.getRuntime().exec(...)

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, July 6, 2005 09:54 PM

that doesn't look like a runtime exec problem to me; rather, it looks like whatever command you executed was one that attempted to make a network connection to another host, but the connection was refused?
About | Sitemap | Contact