[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2842) "ant deploypresentation" attempt to deploy to jbossweb-tomcat55.sar
by Jay Balunas (JIRA)
"ant deploypresentation" attempt to deploy to jbossweb-tomcat55.sar
-------------------------------------------------------------------
Key: JBSEAM-2842
URL: http://jira.jboss.com/jira/browse/JBSEAM-2842
Project: JBoss Seam
Issue Type: Bug
Components: Build, Examples
Affects Versions: 2.0.2.CR1
Reporter: Jay Balunas
Priority: Minor
Fix For: 2.0.2.GA
When you run ant deploypresentation it attempts to deploy to "jbossweb-tomcat55.sar" which does not exist in JBoss 4.2. It throws the exception below.
14:07:09,396 ERROR [MainDeployer] Could not initialise deployment: file:/jboss/apps/jboss-4.2.2.GA/server/default/deploy/jbossweb-tomcat55.sar/
org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jbossweb-tomcat55.sar
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2807) Add comment to jndiPattern in example's component.properties files
by Stephen Friedrich (JIRA)
Add comment to jndiPattern in example's component.properties files
------------------------------------------------------------------
Key: JBSEAM-2807
URL: http://jira.jboss.com/jira/browse/JBSEAM-2807
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 2.0.1.GA
Reporter: Stephen Friedrich
The Seam reference says that patterns in components.xml like @jndiPattern@ can be replaced at runtime with corresponding values from components.properties if that file is on the class path.
It is confusing, though that each example's components.xml contains
{code}<core:init jndi-pattern="@jndiPattern@" debug="true"/>{code}
and the components.properties contains
{code}jndiPattern #{ejbName}/local{code}
However when running on the default app server (JBoss) the components.xml gets changed at runtime to
{code}<core:init jndi-pattern="jboss-seam-booking/#{ejbName}/local" debug="true"/>{code}
Please add a comment to components.properties like
"The pattern in components.xml is replaced by an application server specific value by ant. This value here is for running tests only:"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months