You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hardik Shah <ha...@yahoo.com> on 2008/10/01 13:19:44 UTC

s2 and tomcat configuration

hi

i am using tomcat 5.0.30 and java 5 ,but when i import s2.0.11.2 apps.war
either mail reader or blank

it can not be run

gives http status 404

 i  dont know why?

please help me

-----


Java/J2EE developer 
India

blogs
http://hardik4u.wordpress.com wordpress blog 

-- 
View this message in context: http://www.nabble.com/s2-and-tomcat-configuration-tp19758411p19758411.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: s2 and tomcat configuration

Posted by Dave Newton <ne...@yahoo.com>.
--- On Wed, 10/1/08, Hardik Shah wrote:
> i have also use tomcat 5.5 with s2 and works fine in many
> projects but the thing is that my one live apps run on tomcat 
> 5.0.30 with s1 and java 5
> 
> so i have to use same configuration with struts 2 migration

Then you'll probably have to update its XML libraries; I have no clue what other issues that may or may not cause. If you have issues with that you'll want to follow up on a Tomcat mailing list/group.

Dave


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


s2 and tomcat configuration

Posted by Hardik Shah <ha...@yahoo.com>.
yap u right

i have also use tomcat 5.5 with s2 and works fine in many projects
but the thing is that
my one live apps run on tomcat 5.0.30 with s1 and java 5

so i have to use same configuration with struts 2 migration

thanks




newton.dave wrote:
> 
> --- On Wed, 10/1/08, Hardik Shah wrote:
>> StandardContext[/struts2-mailreader-2.0.11.2]
>> Exception starting filter Struts2
>> javax.xml.transform.TransformerFactoryConfigurationError:
>>   Provider org.apache.xalan.processor.TransformerFactoryImpl not found
> 
> Looks like you don't have all the classes you need. It may just be because
> you're using a relatively old version of Tomcat. I run under TC5.5 with no
> issues.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 


-----


Java/J2EE developer 
India

blogs
http://hardik4u.wordpress.com wordpress blog 

-- 
View this message in context: http://www.nabble.com/s2-and-tomcat-configuration-tp19758411p19759348.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: s2 and tomcat configuration

Posted by Dave Newton <ne...@yahoo.com>.
--- On Wed, 10/1/08, Hardik Shah wrote:
> StandardContext[/struts2-mailreader-2.0.11.2]
> Exception starting filter Struts2
> javax.xml.transform.TransformerFactoryConfigurationError:
>   Provider org.apache.xalan.processor.TransformerFactoryImpl not found

Looks like you don't have all the classes you need. It may just be because you're using a relatively old version of Tomcat. I run under TC5.5 with no issues.

Dave


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


Re: s2 and tomcat configuration

Posted by Hardik Shah <ha...@yahoo.com>.
Thanks for showing interst

----------------------------------------
2008-10-01 16:54:48
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init():
ruleChain: [org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
2008-10-01 16:55:31 StandardContext[/struts2-mailreader-2.0.11.2]Exception
starting filter Struts2
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
	at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
	at
com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<clinit>(DomHelper.java:167)
	at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:830)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)
	at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130)
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
	at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
	at
org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)
	at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
	at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
	at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79)
	at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3702)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4329)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)


----------------------------------------

-----


Java/J2EE developer 
India

blogs
http://hardik4u.wordpress.com wordpress blog 

-- 
View this message in context: http://www.nabble.com/s2-and-tomcat-configuration-tp19758411p19758959.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: s2 and tomcat configuration

Posted by Hardik Shah <ha...@yahoo.com>.


i am using tomcat manager to upload war fle

newton.dave wrote:
> 
>  How did you "import" the WARs?
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 


-----


Java/J2EE developer 
India

blogs
http://hardik4u.wordpress.com wordpress blog 

-- 
View this message in context: http://www.nabble.com/s2-and-tomcat-configuration-tp19758411p19759033.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: s2 and tomcat configuration

Posted by Dave Newton <ne...@yahoo.com>.
--- On Wed, 10/1/08, Hardik Shah wrote:
> i am using tomcat 5.0.30 and java 5 ,but when i import
> s2.0.11.2 apps.war either mail reader or blank
> 
> it can not be run
> 
> gives http status 404
> 
>  i  dont know why?
> 
> please help me

Is there anything in the logs? How did you "import" the WARs?

Dave


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