-
1. Re: deployment error
tausuahmed May 23, 2011 1:06 AM (in response to vavijay.vijayakumara.hcl.com)Hi Vijay,
Show your datasource file, does your hostname name has
tdm
?Regards,
Tauseef -
2. Re: deployment error
vavijay.vijayakumara.hcl.com May 23, 2011 1:15 AM (in response to vavijay.vijayakumara.hcl.com)Hi Tauseef.,
my database name istdm
,
I dont know where will be the data source file, and i want to know what is database schema name
pls help me in sorting out my problemRegards
Vijaya Kumar.A -
3. Re: deployment error
tausuahmed May 23, 2011 1:44 AM (in response to vavijay.vijayakumara.hcl.com)Your datasource file will be in project/resource directory, and it will be deployed in jboss deploy folder as project-ds.xml
Please go through sample seam-gen setup application http://docs.jboss.org/seam/1.1GA/reference/en/html/gettingstarted.html
Regards,
Tauseef -
4. Re: deployment error
vavijay.vijayakumara.hcl.com May 23, 2011 1:59 AM (in response to vavijay.vijayakumara.hcl.com)HI Tauseef., my datasource is not found in project/resources/..
but it is in deploy folder in jboss
my data ource content as follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE datasources
PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
"http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
<datasources>
<local-tx-datasource>
<jndi-name>seamDemoDatasource</jndi-name>
<use-java-context>false</use-java-context>
<connection-url>jdbc:mysql://tdm</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>admin</password>
</local-tx-datasource>
</datasources>
Regards
Vijaya Kumar.A -
5. Re: deployment error
vavijay.vijayakumara.hcl.com May 23, 2011 3:32 AM (in response to vavijay.vijayakumara.hcl.com)hi Tauseef.,
i am getting following error...
while running jbossorg.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(project-ear.ear)
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1000)
at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:303)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error determining structure: project-ear.ear
at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
... 10 more
Caused by: java.lang.RuntimeException: jboss-seam.jar module listed in application.xml does not exist within .ear vfsfile:/C:/jboss-5.0.1.GA/server/default/deploy/project-ear.ear/
at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:272)
... 14 more -
6. Re: deployment error
tausuahmed May 23, 2011 4:34 AM (in response to vavijay.vijayakumara.hcl.com)Vijay your connection url in datasource file should be like
jdbc:mysql://hostname:port/tdm
What i prefer is first you set up sample project using seam documentation, If you have downloaded seam package you could see the examples.
Ant build the exmaples and deploy it your application server.Regards,
Tauseef