Re: [S2] HTTP Status 404 - result 'null' not found
ok, the problem has been solved. It was Sun App Server policy problem. I added the following permission to the server.policy file and it solved the problem. permission java.security.AllPermission createClassLoader; -- View this message in context: http://www.nabble.com/-S2--HTTP-Status-404---result-%27null%27-not-found-tf3790310.html#a10894275 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[S2] HTTP Status 404 - result 'null' not found
I am sure this issue is not new, and it must be a work around, but unfortunately I was not able to find it yet. We have a local Windows environment (Sun App Server 8.2) where our project works just fine. But once we deployed it on our server (Sun Solaris) we've got the following error on every action we have in struts configuration xml. + HTTP Status 404 - result 'null' not found type Status report message result 'null' not found description The requested resource (result 'null' not found) is not available. Sun-Java-System/Application-Server ++ After some checks of configurations on both servers (no major differences) and included jars I replaced our project with one from the struts tutorial HelloWorld. http://struts.apache.org/2.0.6/docs/hello-world.html This project built in our environment had the same behavior as our oroginal project - worked locally and got the 404 error on Solaris. It must be some parsing of struts config file issue. Struts can read the action class, the method specified executes (checked in logs), but the result page is not read (recognized) (???) I think it's a major problem and hope that the solution can be found. -- View this message in context: http://www.nabble.com/-S2--HTTP-Status-404---result-%27null%27-not-found-tf3790310.html#a10718987 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[S2] HTTP Status 404 - result 'null' not found
It must be some configuration issue. My simple application works fine in Windows environment, but we get this error on Sun Solaris. We use Sun App Server 8.2 and 8.1 accordingly. I failed to reproduce the problem on Windows, so this can be just Solaris issue. I am sure that I reach the struts.xml file, call method provided there and return success string. The resulting _jsp.java is generated and compiled, but I am getting a page listed at the end of this message. Does anybody know if struts2 has log file generated and/or how can I trigger its apprearance? Please, advise what do you think. The struts.xml opened by vi shows ^M characters. HTTP Status 404 - result 'null' not found type Status report message result 'null' not found description The requested resource (result 'null' not found) is not available. Sun-Java-System/Application-Server -- View this message in context: http://www.nabble.com/-S2--HTTP-Status-404---result-%27null%27-not-found-tf3774291.html#a10672044 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] HTTP Status 404 - result 'null' not found
You need to check the Sun App Server logs to see if there is any more specific error detail there. If that doesn't give you enough information to resolve the problem, you may need to configure Log4j in your webapp to get Struts logging output. L. sr wrote: It must be some configuration issue. My simple application works fine in Windows environment, but we get this error on Sun Solaris. We use Sun App Server 8.2 and 8.1 accordingly. I failed to reproduce the problem on Windows, so this can be just Solaris issue. I am sure that I reach the struts.xml file, call method provided there and return success string. The resulting _jsp.java is generated and compiled, but I am getting a page listed at the end of this message. Does anybody know if struts2 has log file generated and/or how can I trigger its apprearance? Please, advise what do you think. The struts.xml opened by vi shows ^M characters. HTTP Status 404 - result 'null' not found type Status report message result 'null' not found description The requested resource (result 'null' not found) is not available. Sun-Java-System/Application-Server - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]