Re: [S2] HTTP Status 404 - result 'null' not found

2007-05-31 Thread SvetlanaR

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

2007-05-21 Thread SvetlanaR

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]