You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "barkha.jasani" <ba...@gmail.com> on 2009/10/06 17:17:00 UTC

Error while deploying struts2 Application

Hi folks!!!

i've deployed my application in tomcat via eclipse, but i'm facing some
errors displayed below when i'm starting my tomcat server to run my
application due to that i'm unable to run my app..

Oct 6, 2009 8:33:00 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_16\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program
Files\Xuggle\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Java\jdk1.5.0_16\bin;C:\Program Files\Java\jdk1.5.0_16;C:\Program
Files\SQL Anywhere 10\win32;C:\Program Files\SQL Anywhere 10\Sybase Central
5.0.0\win32;C:\lstk\apache-ant-1.6.2\bin;C:\Program
Files\TortoiseSVN\bin;C:\lstk\apache-maven-2.0.9\bin
Oct 6, 2009 8:33:00 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 6, 2009 8:33:00 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 453 ms
Oct 6, 2009 8:33:01 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 6, 2009 8:33:01 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
Oct 6, 2009 8:33:01 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 6, 2009 8:33:01 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive Login.war
Oct 6, 2009 8:33:14 PM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-default.xml]
Oct 6, 2009 8:33:14 PM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
INFO: Parsing configuration file [struts-plugin.xml]
Oct 6, 2009 8:33:14 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Oct 6, 2009 8:33:14 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Login] startup failed due to previous errorslog4j:WARN No
appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Oct 6, 2009 8:33:15 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 6, 2009 8:33:15 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 6, 2009 8:33:15 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=null
Oct 6, 2009 8:33:15 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Oct 6, 2009 8:33:15 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 14875 ms
 

please if anybody knows the solution,then kindly do the needful..

desperately waiting for any reply!!!

Thanks in advance,

With Regards,
Barkha Jasani
-- 
View this message in context: http://www.nabble.com/Error-while-deploying-struts2-Application-tp25770750p25770750.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error while deploying struts2 Application

Posted by "barkha.jasani" <ba...@gmail.com>.
yeah i'm doing that all..

thanks again for sparing your invaluable time buddy!!! :-)


Lukasz Lenart wrote:
> 
> The config is ok and the class as well, I'm not Eclipse expert bur you
> have to check config for building and deploying classes for that
> project
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-while-deploying-struts2-Application-tp25770750p25781774.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error while deploying struts2 Application

Posted by Lukasz Lenart <lu...@googlemail.com>.
The config is ok and the class as well, I'm not Eclipse expert bur you
have to check config for building and deploying classes for that
project


Regards
-- 
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error while deploying struts2 Application

Posted by "barkha.jasani" <ba...@gmail.com>.
here is my struts.xml and action class....

http://pastebin.com/d27d7619b

and yeah your guess is correct,action's class file is not created at
destination folder:(


Lukasz Lenart wrote:
> 
> 2009/10/7 barkha.jasani <ba...@gmail.com>:
>> dunno y its not getting my struts.xml and because of that my action
>> class...
> 
> Exactly, could you show your struts.xml?
> Caused by: Action class [com.hello.ShowLogin] not found - action -
> file:/C:/apache-tomcat-5.5.26/webapps/UserLogin/WEB-INF/classes/struts.xml:7:63
> 
> Ans also check destination folder if given *.class file exists?
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-while-deploying-struts2-Application-tp25770750p25781673.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error while deploying struts2 Application

Posted by Lukasz Lenart <lu...@googlemail.com>.
2009/10/7 barkha.jasani <ba...@gmail.com>:
> dunno y its not getting my struts.xml and because of that my action class...

Exactly, could you show your struts.xml?
Caused by: Action class [com.hello.ShowLogin] not found - action -
file:/C:/apache-tomcat-5.5.26/webapps/UserLogin/WEB-INF/classes/struts.xml:7:63

Ans also check destination folder if given *.class file exists?


Regards
-- 
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error while deploying struts2 Application

Posted by "barkha.jasani" <ba...@gmail.com>.
Hi Lukasz,

first of all thanks a lot for replying..

anyways sorry 4 the inconvenience,here is the error log....

http://pastebin.com/d225c201c

dunno y its not getting my struts.xml and because of that my action class...

please go through it..

Thanks,
Barkha Jasani


Lukasz Lenart wrote:
> 
> Hi,
> 
> You have to send some more informative logs with stacktraces and so
> on... there is nothing special in what you sent
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-while-deploying-struts2-Application-tp25770750p25781583.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error while deploying struts2 Application

Posted by Lukasz Lenart <lu...@googlemail.com>.
Hi,

You have to send some more informative logs with stacktraces and so
on... there is nothing special in what you sent


Regards
-- 
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org