You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by vasasree <kb...@gmail.com> on 2007/08/07 18:28:45 UTC
DeploymentException in Jetspeed(IllegalArguementException :
WEB-INF/web.xml)
Hi
I am trying to deploy a sample portlet (.war ) in to jetspeed...
I did everything according to the document.
It is throwing following exception ..
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
But in the webpage it is showing an error message
" Failed to retrieve Portlet Definition for WebReport::webreport "
Can anybody help me in finding out the resolution...
Thanks in advance
--kbr
The stacktrace of Exception is follows....
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
org.apache.jetspeed.deployment.DeploymentException:
java.lang.IllegalArgumentExc
eption: WEB-INF/web.xml
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:224)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.inv
okeDeploy(DeployPortletAppEventListener.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatc
h(StandardDeploymentManager.java:264)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(
StandardDeploymentManager.java:178)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDep
loymentEvent(StandardDeploymentManager.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSys
temScanner.run(StandardDeploymentManager.java:357)
Caused by: java.lang.IllegalArgumentException: WEB-INF/web.xml
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:164)
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:88)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:219)
... 5 more
ERROR: Failure deploying
C:\Apache\Jetspeed-2.1.2\webapps\jetspeed\WEB-INF\deplo
y\WebReport.war
--
View this message in context: http://www.nabble.com/DeploymentException-in-Jetspeed%28IllegalArguementException-%3A-WEB-INF-web.xml%29-tf4231209.html#a12037594
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: DeploymentException in Jetspeed(IllegalArguementException : WEB-INF/web.xml)
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 7, 2007, at 9:28 AM, vasasree wrote:
>
> Hi
>
> I am trying to deploy a sample portlet (.war ) in to jetspeed...
> I did everything according to the document.
>
> It is throwing following exception ..
>
> ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
>
> But in the webpage it is showing an error message
>
> " Failed to retrieve Portlet Definition for WebReport::webreport "
>
> Can anybody help me in finding out the resolution...
>
> Thanks in advance
> --kbr
>
>
> The stacktrace of Exception is follows....
>
> ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
> org.apache.jetspeed.deployment.DeploymentException:
> java.lang.IllegalArgumentExc
> eption: WEB-INF/web.xml
> at
Looks like there is a problem parsing the web.xml or the web.xml does
not exist:
if (webXml == null)
{
throw new IllegalArgumentException("WEB-INF/web.xml");
}
Make sure you have a web.xml, if its there, send it to the list
inline so that we can review it for possible errrors
RE: DeploymentException in Jetspeed(IllegalArguementException : WEB-INF/web.xml)
Posted by "Timony, Michael" <Mi...@FMR.COM>.
Looks like there is a problem with your web.xml. Why don't you post it.
-----Original Message-----
From: vasasree [mailto:kbrforever@gmail.com]
Sent: Tuesday, August 07, 2007 12:29 PM
To: jetspeed-user@portals.apache.org
Subject: DeploymentException in Jetspeed(IllegalArguementException :
WEB-INF/web.xml)
Hi
I am trying to deploy a sample portlet (.war ) in to jetspeed...
I did everything according to the document.
It is throwing following exception ..
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
But in the webpage it is showing an error message
" Failed to retrieve Portlet Definition for WebReport::webreport "
Can anybody help me in finding out the resolution...
Thanks in advance
--kbr
The stacktrace of Exception is follows....
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
org.apache.jetspeed.deployment.DeploymentException:
java.lang.IllegalArgumentExc
eption: WEB-INF/web.xml
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:224)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.inv
okeDeploy(DeployPortletAppEventListener.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatc
h(StandardDeploymentManager.java:264)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(
StandardDeploymentManager.java:178)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDep
loymentEvent(StandardDeploymentManager.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSys
temScanner.run(StandardDeploymentManager.java:357)
Caused by: java.lang.IllegalArgumentException: WEB-INF/web.xml
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:164)
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:88)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:219)
... 5 more
ERROR: Failure deploying
C:\Apache\Jetspeed-2.1.2\webapps\jetspeed\WEB-INF\deplo
y\WebReport.war
--
View this message in context:
http://www.nabble.com/DeploymentException-in-Jetspeed%28IllegalArguement
Exception-%3A-WEB-INF-web.xml%29-tf4231209.html#a12037594
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: DeploymentException in Jetspeed(IllegalArguementException :
WEB-INF/web.xml)
Posted by vasasree <kb...@gmail.com>.
mkr,
Thanks...for ur reply..
I resolved it..it was a spelling mistake...in webapp
--kbr
mkr wrote:
>
> I usually try to deploy it manually, but check and make sure that the
> portlet web-app context (/WebReport) is what it is deployed as.
>
>
> -----Original Message-----
> From: vasasree [mailto:kbrforever@gmail.com]
> Sent: Tuesday, August 07, 2007 12:29 PM
> To: jetspeed-user@portals.apache.org
> Subject: DeploymentException in Jetspeed(IllegalArguementException :
> WEB-INF/web.xml)
>
>
> Hi
>
> I am trying to deploy a sample portlet (.war ) in to jetspeed...
> I did everything according to the document.
>
> It is throwing following exception ..
>
> ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
>
> But in the webpage it is showing an error message
>
> " Failed to retrieve Portlet Definition for WebReport::webreport "
>
> Can anybody help me in finding out the resolution...
>
> Thanks in advance
> --kbr
>
>
> The stacktrace of Exception is follows....
>
> ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
> org.apache.jetspeed.deployment.DeploymentException:
> java.lang.IllegalArgumentExc
> eption: WEB-INF/web.xml
> at
> org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
> loyPortletApplication(DeployPortletAppEventListener.java:224)
> at
> org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.inv
> okeDeploy(DeployPortletAppEventListener.java:209)
> at
> org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatc
> h(StandardDeploymentManager.java:264)
> at
> org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(
> StandardDeploymentManager.java:178)
> at
> org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDep
> loymentEvent(StandardDeploymentManager.java:209)
> at
> org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSys
> temScanner.run(StandardDeploymentManager.java:357)
> Caused by: java.lang.IllegalArgumentException: WEB-INF/web.xml
> at
> org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
> .java:164)
> at
> org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
> .java:88)
> at
> org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
> loyPortletApplication(DeployPortletAppEventListener.java:219)
> ... 5 more
> ERROR: Failure deploying
> C:\Apache\Jetspeed-2.1.2\webapps\jetspeed\WEB-INF\deplo
> y\WebReport.war
> --
> View this message in context:
> http://www.nabble.com/DeploymentException-in-Jetspeed%28IllegalArguementExce
> ption-%3A-WEB-INF-web.xml%29-tf4231209.html#a12037594
> Sent from the Jetspeed - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/DeploymentException-in-Jetspeed%28IllegalArguementException-%3A-WEB-INF-web.xml%29-tf4231209.html#a12044150
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: DeploymentException in Jetspeed(IllegalArguementException : WEB-INF/web.xml)
Posted by "Sugarman, Duke" <Du...@FMR.COM>.
I am getting the same error. Could someone outline the specific steps
they use for a manual portlet WAR deployment?
Thanks
-----Original Message-----
From: Mohan K [mailto:kmoh.raj@gmail.com]
Sent: Tuesday, August 07, 2007 2:55 PM
To: 'Jetspeed Users List'
Subject: RE: DeploymentException in Jetspeed(IllegalArguementException :
WEB-INF/web.xml)
I usually try to deploy it manually, but check and make sure that the
portlet web-app context (/WebReport) is what it is deployed as.
-----Original Message-----
From: vasasree [mailto:kbrforever@gmail.com]
Sent: Tuesday, August 07, 2007 12:29 PM
To: jetspeed-user@portals.apache.org
Subject: DeploymentException in Jetspeed(IllegalArguementException :
WEB-INF/web.xml)
Hi
I am trying to deploy a sample portlet (.war ) in to jetspeed...
I did everything according to the document.
It is throwing following exception ..
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
But in the webpage it is showing an error message
" Failed to retrieve Portlet Definition for WebReport::webreport "
Can anybody help me in finding out the resolution...
Thanks in advance
--kbr
The stacktrace of Exception is follows....
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
org.apache.jetspeed.deployment.DeploymentException:
java.lang.IllegalArgumentExc
eption: WEB-INF/web.xml
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:224)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.inv
okeDeploy(DeployPortletAppEventListener.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatc
h(StandardDeploymentManager.java:264)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(
StandardDeploymentManager.java:178)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDep
loymentEvent(StandardDeploymentManager.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSys
temScanner.run(StandardDeploymentManager.java:357)
Caused by: java.lang.IllegalArgumentException: WEB-INF/web.xml
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:164)
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:88)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:219)
... 5 more
ERROR: Failure deploying
C:\Apache\Jetspeed-2.1.2\webapps\jetspeed\WEB-INF\deplo
y\WebReport.war
--
View this message in context:
http://www.nabble.com/DeploymentException-in-Jetspeed%28IllegalArguement
Exce
ption-%3A-WEB-INF-web.xml%29-tf4231209.html#a12037594
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: DeploymentException in Jetspeed(IllegalArguementException : WEB-INF/web.xml)
Posted by Mohan K <km...@gmail.com>.
I usually try to deploy it manually, but check and make sure that the
portlet web-app context (/WebReport) is what it is deployed as.
-----Original Message-----
From: vasasree [mailto:kbrforever@gmail.com]
Sent: Tuesday, August 07, 2007 12:29 PM
To: jetspeed-user@portals.apache.org
Subject: DeploymentException in Jetspeed(IllegalArguementException :
WEB-INF/web.xml)
Hi
I am trying to deploy a sample portlet (.war ) in to jetspeed...
I did everything according to the document.
It is throwing following exception ..
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
But in the webpage it is showing an error message
" Failed to retrieve Portlet Definition for WebReport::webreport "
Can anybody help me in finding out the resolution...
Thanks in advance
--kbr
The stacktrace of Exception is follows....
ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
org.apache.jetspeed.deployment.DeploymentException:
java.lang.IllegalArgumentExc
eption: WEB-INF/web.xml
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:224)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.inv
okeDeploy(DeployPortletAppEventListener.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatc
h(StandardDeploymentManager.java:264)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(
StandardDeploymentManager.java:178)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDep
loymentEvent(StandardDeploymentManager.java:209)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSys
temScanner.run(StandardDeploymentManager.java:357)
Caused by: java.lang.IllegalArgumentException: WEB-INF/web.xml
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:164)
at
org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
.java:88)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
loyPortletApplication(DeployPortletAppEventListener.java:219)
... 5 more
ERROR: Failure deploying
C:\Apache\Jetspeed-2.1.2\webapps\jetspeed\WEB-INF\deplo
y\WebReport.war
--
View this message in context:
http://www.nabble.com/DeploymentException-in-Jetspeed%28IllegalArguementExce
ption-%3A-WEB-INF-web.xml%29-tf4231209.html#a12037594
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org