You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rajkumar Jaganathan (JIRA)" <ji...@apache.org> on 2008/04/08 16:55:58 UTC

[jira] Created: (WW-2583) Deploying struts2 application in unix environment (with JBoss)

Deploying struts2 application in unix environment (with JBoss)
--------------------------------------------------------------

                 Key: WW-2583
                 URL: https://issues.apache.org/struts/browse/WW-2583
             Project: Struts 2
          Issue Type: Bug
          Components: Build Management
    Affects Versions: 2.0.11
         Environment: JBoss 4.0.5GA, Struts 2, Unix environment
            Reporter: Rajkumar Jaganathan


Hi,

We have a deployment of multiple struts 2 applications (in EAR file) in unix environment. The same EAR file which can deoploy in windows environment also unable to deploy in unix environment.

The following errors are shown in the jboss startup log

13:01:59,409 INFO 	[@] [XmlConfigurationProvider] Parsing configuration file [struts-default.xml]
13:01:59,458 ERROR	[@] [[/devtest1/app/useradm]] Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/apps/devtest1/appsvr/jboss/jboss-4.0.5/server/default/tmp/deploy/tmp17058H2_webapps.ear-contents/useradm-exp.war/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:30:72
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
........
........
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/apps/devtest1/appsvr/jboss/jboss-4.0.5/server/default/tmp/deploy/tmp17058H2_webapps.ear-contents/tag-exp.war/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:30:72 - bean - jar:file:/apps/devtest1/appsvr/jboss/jboss-4.0.5/server/default/tmp/deploy/tmp17058H2_webapps.ear-contents/useradm-exp.war/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:30:72
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)
	... 145 more
13:01:59,479 ERROR	[@] [StandardContext] Error filterStart
13:01:59,479 ERROR	[@] [StandardContext] Context [/devtest1/app/useradm] startup failed due to previous errors

I have the following questions.

1. Why it can deploy in windows but not in unix environment?
2. What I need to do in order to run in unix environment?
3. What is the procedure to run multiple struts 2 applications in unix environment?

Thanks.

with regards,

Rajkumar. J

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-2583) Deploying struts2 application in unix environment (with JBoss)

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Newton closed WW-2583.
---------------------------

    Resolution: Not A Problem

Please ask questions in the struts-user list.

http://struts.apache.org/mail.html


> Deploying struts2 application in unix environment (with JBoss)
> --------------------------------------------------------------
>
>                 Key: WW-2583
>                 URL: https://issues.apache.org/struts/browse/WW-2583
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Build Management
>    Affects Versions: 2.0.11
>         Environment: JBoss 4.0.5GA, Struts 2, Unix environment
>            Reporter: Rajkumar Jaganathan
>
> Hi,
> We have a deployment of multiple struts 2 applications (in EAR file) in unix environment. The same EAR file which can deoploy in windows environment also unable to deploy in unix environment.
> The following errors are shown in the jboss startup log
> 13:01:59,409 INFO 	[@] [XmlConfigurationProvider] Parsing configuration file [struts-default.xml]
> 13:01:59,458 ERROR	[@] [[/devtest1/app/useradm]] Exception starting filter struts2
> Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/apps/devtest1/appsvr/jboss/jboss-4.0.5/server/default/tmp/deploy/tmp17058H2_webapps.ear-contents/useradm-exp.war/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:30:72
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
> 	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
> 	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
> 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
> ........
> ........
> Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/apps/devtest1/appsvr/jboss/jboss-4.0.5/server/default/tmp/deploy/tmp17058H2_webapps.ear-contents/tag-exp.war/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:30:72 - bean - jar:file:/apps/devtest1/appsvr/jboss/jboss-4.0.5/server/default/tmp/deploy/tmp17058H2_webapps.ear-contents/useradm-exp.war/WEB-INF/lib/struts2-core-2.0.11.jar!/struts-default.xml:30:72
> 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)
> 	... 145 more
> 13:01:59,479 ERROR	[@] [StandardContext] Error filterStart
> 13:01:59,479 ERROR	[@] [StandardContext] Context [/devtest1/app/useradm] startup failed due to previous errors
> I have the following questions.
> 1. Why it can deploy in windows but not in unix environment?
> 2. What I need to do in order to run in unix environment?
> 3. What is the procedure to run multiple struts 2 applications in unix environment?
> Thanks.
> with regards,
> Rajkumar. J

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.