ATG-JBoss project in eclipse

ぐ巨炮叔叔 提交于 2019-12-13 04:42:30

问题


I have created a sample ATG project in eclipse. This is the way I followed.

File->New->Project-> ...atg wizards->New ATG Module

Next->put project name as MyFirstATGApp and select ed root diretory as C:\ATG\ATG10.1.2 Next->Default atg adaptive senario engine is selected. Next->Next-> changed "Default output folder" value as " MyFirstATGApp /classes" Next->set J2EE application Name= MyFirstATGApp-j2ee, Web application name= MyFirstATGApp-web, Context-root= MyFirstATGApp and selected Target Applicaton Server=Jboss Then Finish.

From command prompt from C:\ATG\ATG10.1.2 \home\bin I tried executing startDynamoOnJBOSS -f MyFirstATGApp
I am getting following error.Also I didn’t find a startDynamoOnJBOSS inside the bin. Why is this happening??

I am new to ATG.Can I have any link with step-by-step ATG-Jboss-Eclipse project available?


回答1:


If you didn't find the startDynamoOnJBOSS then there is some problem with your installation of jboss or atg. but still you can run your project you just need to create ear of your project and paste it in your server deploy folder and start jboss.

For Detail You can read ATG Platform Programming Guide




回答2:


startDynamoOnJBOSS is no longer available in the ATG 10.2 bin.

To start your server, just create your EAR using runAssembler inside the deploy folder for your JBOSS server and call

run.bat -c <ServerName>



回答3:


startDynamoOnJBOSS is no longer exists in ATG version 10. Before running your project you need to deploy your project in deploy folder of default or your created server instance using runAssembler

cd C:\ATG\ATG10.1.2\home\bin 
runAssembler C:\jboss-eap-5.1.2\jboss-as\server\default\deploy\MyFirstATGApp.ear -m MyFirstATGApp 

Then run that server instance where ear file of your project is deployed

cd C:\jboss-eap-5.1.2\jboss-as\bin 
run -c default


来源:https://stackoverflow.com/questions/17721157/atg-jboss-project-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!