Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » How to Deploy Stardust project on Tomcat without Eclipse(How to Deploy Stardust project on Tomcat without Eclipse)
How to Deploy Stardust project on Tomcat without Eclipse [message #1722129] Tue, 02 February 2016 21:19 Go to next message
Roger DN is currently offline Roger DNFriend
Messages: 9
Registered: January 2016
Junior Member
I have run through the Support Case example. I would like to deploy the project on Tomcat without Eclipse. Please help me understand the steps.

I was able to build the 'sysconsole' and something called 'Runtime' by following:
https://wiki.eclipse.org/Stardust/Knowledge_Base/Build_and_Change_Management/Maven/Basic_Setup

I don't see instructions on how to build 'console' which mentions the 'deploy' command. Not clear what kind of file it will deploy:

http: //help.eclipse.org/mars/topic/org.eclipse.stardust.docs.dev/html/handbooks/operation/commandline/ag-commandline-3.htm?cp=72_7_1_1_2#commands


I would expect I need something that produces a war but I don't see anything in 'console'

Keep reading....

In the 'Other Archetypes' of the above '.../Maven/Basic_Setup' URL it mentions instructions on how to 'gain access' that takes you to this page:

https://www.eclipse.org/stardust/download/download.php

Following the link the Sungard page says:
Thank you for visiting! The Infinity Storefront is no longer available. If you are looking for the procurement history for your organization, please contact your SunGard Account Representative.

** Note that I was not able to create an USERNAME/PWD. **

Keep reading...

Later in the posting it describes how to generate a war using an eclipse.

I found this posting where someone went through similar steps.
https://www.eclipse.org/forums/index.php/t/869281/


The plugin install instructions are here:
https://wiki.eclipse.org/Stardust/Knowledge_Base/Build_and_Change_Management/Maven/Basic_Setup#M2_Eclipse_Plugin


I did these:

* Install m2e:
http://books.sonatype.com/m2eclipse-book/reference/install-sect-marketplace.html
* Install m2e
Help > Install New Software >
http://download.eclipse.org/m2e-wtp/releases/mars/index
Choose 'Maven Integration for WTP'

Continuing to section 'Remote Archetype Catalog' adding a remote archtype it gets stuck the because clicking 'Verify' button prompts for a Sungard UNERNAME/PWD. This is no longer available, see above.

Also note it would be helpful to provide a Maven settings.xml.

[Updated on: Tue, 02 February 2016 21:28]

Report message to a moderator

Re: How to Deploy Stardust project on Tomcat without Eclipse [message #1722145 is a reply to message #1722129] Wed, 03 February 2016 05:29 Go to previous messageGo to next message
Tanmoy Roy is currently offline Tanmoy RoyFriend
Messages: 41
Registered: September 2013
Member
Hi Roger,

There are two by which you can generate .war.
1) Using maven archetype.
2) Using eclipse export as war, right click on the project -> Export -> War.

Sysconsole utility is used for admin tasks like generate database schema.

Console command line utility deploy command will deploy a model to the runtime, you can do this via portal as well.

-Tanmoy Roy
Re: How to Deploy Stardust project on Tomcat without Eclipse [message #1722232 is a reply to message #1722145] Wed, 03 February 2016 14:50 Go to previous messageGo to next message
Roger DN is currently offline Roger DNFriend
Messages: 9
Registered: January 2016
Junior Member
Thank you for your reply.
I tried the eclipse: project>Export>War approach. I put the WAR generated into Tomcat's webapps folder. After using the Tomcat's startup.bat command the console displays:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'carnotAuditTrailDataSource' defined in ServletContext resource [/WEB-INF/config/ipp/spring/carnot-spring-context.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [AuditTrail.DataSource] is not bound in this Context. Unable to find [AuditTrail.DataSource].
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)


Searching the forums I see some one has mentioned a similar error and talks about updating the carnot.properties file.

https://www.eclipse.org/forums/index.php/t/251637/

The carnot.properties file is in the WAR/WEB-INF/classes and contains things like:
AuditTrail.DataSource = java:/AuditTrail.DataSource
AuditTrail.Type = DERBY
AuditTrail.DriverClass = org.apache.derby.jdbc.ClientDriver
AuditTrail.URL = jdbc:derby://localhost/carnot
AuditTrail.Schema =
AuditTrail.User = carnot
AuditTrail.Password = ag
  • Attachment: logs.zip
    (Size: 3.60KB, Downloaded 54 times)

[Updated on: Wed, 03 February 2016 14:50]

Report message to a moderator

Re: How to Deploy Stardust project on Tomcat without Eclipse [message #1722309 is a reply to message #1722232] Thu, 04 February 2016 05:45 Go to previous message
Tanmoy Roy is currently offline Tanmoy RoyFriend
Messages: 41
Registered: September 2013
Member
In your case, JNDI name not found. I guess tomcat is not configure with the audittrail data source. Please refer to document 'Deploying Applications' or 'Tomcat Archetype' section.

-Tanmoy Roy
Previous Topic:Edit 1 element in Structured Data with a sequence
Next Topic:Stardust Portal 4.0,0 Skin problem
Goto Forum:
  


Current Time: Wed Sep 26 06:32:07 GMT 2018

Powered by FUDForum. Page generated in 0.01962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top